miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions /  
 

YouTube BB code

 
 
Page  Page 5 of 5:  « Previous  1  2  3  4  5

Author Guest
~
#61 | Posted: 13 Aug 2009 11:47 
I've tried adding the youtube feature on my board, and it works as an admin, but not as a regular member? Is there something I forgot to do?
It takes the member to an edit message page but doesn't let them really edit anything.

Author samarac
Partaker
#62 | Posted: 13 Aug 2009 11:53 
Additionally, I tried checking the url as mentioned in previous posts, and I'm using the most recent updated instructions.

Author tom322
Active Member
#63 | Posted: 13 Aug 2009 12:19 
It works correctly for all members when I tested it.

Author Paul
Lead Developer 
#64 | Posted: 13 Aug 2009 20:39 
Guest / samarac: I have no clues what you did wrong... may be you pasted the code in the section which is surrounded by "if($admin==1 or $isMod==1)" condition? It should work for all members by default if installed correctly.

Author jontrac
Partaker
#65 | Posted: 30 Oct 2009 01:45 
Installed and tested. It works nicely!

Author astass
Partaker
#66 | Posted: 25 Feb 2010 01:41 
new button

Author ripper
Partaker
#67 | Posted: 11 Jun 2010 13:42 
Please read below...

Author Guest
~
#68 | Posted: 11 Jun 2010 14:02 
It seems that youtube changed something in their code and now "HQ" button disappeared in our embedded videos. It is interesting that when you choose full screen for the video then new HQ settings appear (360p/480p), but in a original window they are gone. Any ideas?

Author Paul
Lead Developer 
#69 | Posted: 12 Jun 2010 03:28 
Ask YouTube :-) I have no ideas.

Author ripper
Partaker
#70 | Posted: 15 Jun 2010 04:51 
Found what was the problem. Earlier in the code we had reduced size of the videos (we changed standard youtube settings) and it used to work fine, until youtube did something. But now it works again when we returned to standard settings of youtube.

Also wanted to ask is it possible to make youtube button visible in the forum only for admin and moderators?

Author Paul
Lead Developer 
#71 | Posted: 15 Jun 2010 08:19 
ripper:
is it possible to make youtube button visible in the forum only for admin and moderators?
The answer is "it's possible".
Under bb_plugins.php you may this condition:

if($user_id==1 or $isMod==1){
$youTubeButton="HTML code for YouTube button";
}
else{
$youTubeButton='';
}
then paste {$youTubeButton} under templates/main_post_form.html instead of a static HTML code.

Author ripper
Partaker
#72 | Posted: 15 Jun 2010 12:59 
Instead of HTML code for YouTube button we put this code:

<a href="JavaScript:paste_strinL(selektion,4,'[youtube='+prompt('URL:','http://www.youtube-url-here')+']','','')" onmouseover="window.status='{$l_bb_youtube}'; return true" onmouseout="window.status=''; return true" onmousemove="pasteSel()"><img src="https://www.minibb.com/forums/img/button_youtube.gif" style="width:23px;height:22px" alt="YouTube URL" title="YouTube URL" /></a>
but it says syntax error.

Author Paul
Lead Developer 
#73 | Posted: 16 Jun 2010 02:51 
Are you experienced in PHP? :-)
You should put backslashes in front of quotes, if you put such text in quotes.

Author Karel
Partaker
#74 | Posted: 11 Feb 2024 21:30 
Would it be possible to update the plugin to support YouTube shorts (with the string "shorts" in the URL)?

Author Paul
Lead Developer 
#75 | Posted: 19 Feb 2024 15:49 
Karel:
Would it be possible to update the plugin to support YouTube shorts?
I've updated the YouTube add-on to have its code adjusted to the current embedding codes of YouTube, this includes Shorts and 'web-share' attribute. I also fixed a couple of bits to make the codes more compatible with earlier ebmedding versions. YouTube makes it truly hard to follow all changes they make!

Shorts will work only via YouTube BB code button. I didn't find their original Embed codes, so it all works via the regular YouTube's embedding algorithm by now.

This update is also available and could be tested on miniBB Demo.

Page  Page 5 of 5:  « Previous  1  2  3  4  5 
Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions /
 YouTube BB code
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑