Code: Select all
$EMBB_widths = array(''
Code: Select all
$EMBB_widths = array(''
xconeticx wrote: Hi, I want to install this mod, put I don't have the quote ofon my bbcode.php please someone helpCode: Select all
$EMBB_widths = array(''
eviL<3 wrote: DennizZ: All BBCode MODs require "Mutli BBCode" mod to be installed![]()
Code: Select all
[GVideo]http://video.google.com/videoplay?docId=-7989728179614729587[/GVideo]
Code: Select all
[GVideo]http://video.google.com/googleplayer.swf?docId=-7989728179614729587[/GVideo]
Code: Select all
$patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/videoplay\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
$replacements[] = $bbcode_tpl['GVideo'];
Code: Select all
$patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/videoplay\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
$replacements[] = $bbcode_tpl['GVideo'];
$patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/googleplayer.swf\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
$replacements[] = $bbcode_tpl['GVideo'];
mpekas wrote: Got a fresh phpbb, installed EasyMOD and used it to install:
Multiple BBCode MOD
BBCode Buttons Organizer
Google Video Mod
YouTube Video BBCode
When i tried to test it, youtube worked fine, while GVideo was just displaying the address enclosed in [GVideo] [/GVideo], like the mod wasn't even there.
I changed "com" to what someone suggested in here, still no luck...
...then i figured out that the 'Link' that i used to get the test video, doesnt give a link that is compatible with the [GVideo] bbcode.
Working bbcode:Bad bbcode:Code: Select all
[GVideo]http://video.google.com/videoplay?docId=-7989728179614729587[/GVideo]
Code: Select all
[GVideo]http://video.google.com/googleplayer.swf?docId=-7989728179614729587[/GVideo]
Now is there a way to make the gvideo mod to work with both of the above bbcodes.
It kinda makes sense, since you get that link from the gvideo mod, so it should work with it... no? ;p
Anyway, it does work if i modify the code:to:Code: Select all
$patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/videoplay\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is"; $replacements[] = $bbcode_tpl['GVideo'];
...but it should be done in one line and i really don't know how to do it ;pCode: Select all
$patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/videoplay\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is"; $replacements[] = $bbcode_tpl['GVideo']; $patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/googleplayer.swf\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is"; $replacements[] = $bbcode_tpl['GVideo'];
Code: Select all
$patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/[videoplay|googleplayer.swf]{2,16}\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
Code: Select all
$patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/[videoplay|googleplayer.swf]{9,16}\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
This page contains both secure and nonsecure items.
Do you want to display the nonsecure items?
Code: Select all
// [email]user@domain.tld[/email] code..
$patterns[] = "#\[email\]([a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si";
$replacements[] = $bbcode_tpl['email'];
Code: Select all
// [youtube]YouTube URL[/youtube] code..
$patterns[] = "#\[youtube\]http://(?:www\.)?youtube.com/watch\?v=([0-9A-Za-z-_]{11})[^[]*\[/youtube\]#is";
$replacements[] = $bbcode_tpl['youtube'];
// [GVideo]GVideo URL[/GVideo] code..
$patterns[] = "#\[GVideo\]http://video.google.com/googleplayer\.swf\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
$replacements[] = $bbcode_tpl['GVideo'];
// [GVideo]GVideo URL[/GVideo] code..
$patterns[] = "#\[GVideo\]http://video.google.com/videoplay\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
$replacements[] = $bbcode_tpl['GVideo'];
Code: Select all
$text = preg_replace($patterns, $replacements, $text);
Code: Select all
$text = str_replace("http://www.youtube.com/", "https://example.com/lounge/youtube/", $text);
$text = str_replace("http://video.google.com/videoplay", "https://example.com/lounge/googleplayer.swf", $text);
$text = str_replace("http://video.google.com/", "https://example.com/lounge/", $text);
Code: Select all
RewriteEngine On
RewriteBase /
RewriteRule ^lounge/googleplayer\.swf(.*)$ http://video.google.com/googleplayer.swf$1 [L]
RewriteRule ^lounge/youtube/(.*)$ http://www.youtube.com/$1 [L]
Code: Select all
<!--[if lt IE 7]>
<span id="ie7">Please Upgrade:
<a href="http://www.microsoft.com/windows/ie/downloads/default.mspx?mg_id=10013">IE 7!</a>
<a href="http://www.mozilla.com/en-US/">FF!</a></span>
<![endif]–>
Genocaust wrote: Hi! So, I've installed Multi BBCode, the BBCode Button Organizer, GVideo, WoW ItemStats ([item] [/item]), and YouTube mods.
Yet...I have no buttons for any of the above (GVideo, WoW ItemStats, YouTube).
I've browsed through every page in this thread, and most all of the ones in the YouTube thread and can't find anything wrong with my installations.
All of the mods work fine if I type their BBCodes into a post, 100% fine, I just don't have any buttons to click and am at a loss as to why when all my files appear ok!
So...Thanks for any help that can be offered
edit:
Upon going to send a PM to someone I noticed I do indeed have my buttons! However, only in the PM screen, still not in regular forum posting and replies...The plot thickens!![]()