[2.0.19] Youtube Video BBCode

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
125
64%
Very Good
23
12%
Good
21
11%
Fair
5
3%
Poor
21
11%
 
Total votes: 195

User avatar
srm99
Registered User
Posts: 97
Joined: Thu Nov 02, 2006 4:02 am

Post by srm99 »

I WANT TO THIS MOD BUT IT SAYS U NEED TO DO

THIS

Author Notes:
## You must have Multiple BBCode MOD installed for this to work.
## Get it here: http://www.phpbb.com/phpBB/viewtopic.php?t=74705


BUT LINK DO NOT WORK


and i have latest php 2.0.22 will it work

User avatar
srm99
Registered User
Posts: 97
Joined: Thu Nov 02, 2006 4:02 am

Post by srm99 »

ok i got both mods have installed them youtube works fine but all my quote code list img url buttons dont work and i cannot highlite text with mouse only shift and arrows work help please

User avatar
srm99
Registered User
Posts: 97
Joined: Thu Nov 02, 2006 4:02 am

Post by srm99 »

dont worry i found the prob it all works great thanks guys

a question can u change something to get putinfile and photobucket videos aswell

User avatar
srm99
Registered User
Posts: 97
Joined: Thu Nov 02, 2006 4:02 am

Post by srm99 »

anybody as i know googal has been done

User avatar
srm99
Registered User
Posts: 97
Joined: Thu Nov 02, 2006 4:02 am

Post by srm99 »

ok i installed googal as well

the youtube works fine but the googal looks like its going to work the it comes up a blank post .

i can uplode any part u might want to look at

here is what i mean there are 3 posts here no image

http://www.3d-downunder.com/test%20plat ... .php?p=9#9

is this supported by anyone anymore

User avatar
srm99
Registered User
Posts: 97
Joined: Thu Nov 02, 2006 4:02 am

Post by srm99 »

bumped

User avatar
srm99
Registered User
Posts: 97
Joined: Thu Nov 02, 2006 4:02 am

Post by srm99 »

heres one mod

Code: Select all

	$bbcode_tpl['url3'] = str_replace('{URL}', '\\1', $bbcode_tpl['url']);
	$bbcode_tpl['url3'] = str_replace('{DESCRIPTION}', '\\2', $bbcode_tpl['url3']);

	$bbcode_tpl['url4'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']);
	$bbcode_tpl['url4'] = str_replace('{DESCRIPTION}', '\\3', $bbcode_tpl['url4']);

	$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
        $bbcode_tpl['youtube'] = str_replace('{YOUTUBEID}', '\\1', $bbcode_tpl['youtube']);
        $bbcode_tpl['youtube'] = str_replace('{YOUTUBELINK}', $lang['youtube_link'], $bbcode_tpl['youtube']);      
        $bbcode_tpl['photobucket'] = str_replace('{photobucketID}', '\\1', $bbcode_tpl['photobucket']);
        $bbcode_tpl['photobucket'] = str_replace('{photobucketLINK}', $lang['photobucket_link'], $bbcode_tpl['photobucket']);        
        $bbcode_tpl['GVideo'] = str_replace('{GVIDEOID}', '\\1', $bbcode_tpl['GVIDEO']);
        $bbcode_tpl['GVideo'] = str_replace('{GVIDEOLINK}', $lang['GVideo_link'], $bbcode_tpl['GVideo']);

	define("BBCODE_TPL_READY", true);

	return $bbcode_tpl;
}


the next

Code: Select all

	// [email]user@domain.tld[/email] code..
	$patterns[] = "#\[email\]([a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si";
	$replacements[] = $bbcode_tpl['email'];

        // [youtube]YouTube URL[/youtube] code..
        $patterns[] = "#\[youtube\]http://(?:www\.)?youtube.com/watch\?v=([0-9A-Za-z-_]{11})[^[]*\[/youtube\]#is";
        $replacements[] = $bbcode_tpl['youtube'];

        // [photobucket]YouTube URL[/photobucket] code..
        $patterns[] = "#\[photobucket\]http://(?:www\.)?photobucket.com/watch\?v=([0-9A-Za-z-_]{11})[^[]*\[/photobucket\]#is";
        $replacements[] = $bbcode_tpl['photobucket'];
   
         // [GVideo]GVideo URL[/GVideo] code..
        $patterns[] = "#\[GVideo\]http://video.google.com/videoplay\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
        $replacements[] = $bbcode_tpl['GVideo'];


	$text = preg_replace($patterns, $replacements, $text);

	// Remove our padding from the string..
	$text = substr($text, 1);



can someone check it pritty please

thekingz
Registered User
Posts: 12
Joined: Mon Jan 22, 2007 5:08 am

Post by thekingz »

#-----[ FIND ]---------------------------------
#
# NOTE - the full line to look for is:
# make_jumpbox('viewforum.'.$phpEx);
#
make_jumpbox(


#
#-----[ AFTER, ADD ]---------------------------------
#
Multi_BBCode();

I don't get this....
Can someone explain how that exact line should be? It says, after make_jumpbox(Multi_BBCode();? I don't get this... can someone fix it for me. thx

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Post by RMcGirr83 »

Code: Select all

make_jumpbox('viewforum.'.$phpEx); 
Multi_BBCode();

bigheads
Registered User
Posts: 1
Joined: Mon Jan 22, 2007 6:37 pm

Post by bigheads »

Hi, first of all I want to thank the author for making youtube videos in phpbb forum pages possible. Great work.

I read the first 10 pages of this thread but I still got a question.

Is there a way to let those buttons only appear in a certain forum. I got a forum that needs only [youtube] links in the off-topic section.

Thanks in advance

Helitown
Registered User
Posts: 140
Joined: Mon Jul 17, 2006 10:39 pm
Contact:

Multiple BBcode Mod

Post by Helitown »

Hi folks,
I like to install this mond and the instructions said I need to have the Mulitple BBcode Mod first. When I used the link provided in the instruction (below) - it no longer exists! Can anybody shed some lights on this?

http://www.phpbb.com/phpBB/viewtopic.php?t=74705

Thanks

User avatar
srm99
Registered User
Posts: 97
Joined: Thu Nov 02, 2006 4:02 am

Post by srm99 »

try this its in page 3 of this thread

http://www.phpbb.com/phpBB/viewtopic.php?t=145513

JCinDE
Registered User
Posts: 2
Joined: Wed Sep 01, 2004 7:03 pm

Post by JCinDE »

This doesn't seem to be specifically mentioned in the thread. If it is and I missed it, then I apologize for repeating it.

The mod as installed leaves a white background behind the player. If you have a dark color scheme on your forum, this can be a bit ugly. To fix it, modify the bbcode.tpl for your theme and add wmode="transparent" to the embed tag for YouTube.

Bureaucrat
Registered User
Posts: 65
Joined: Wed Oct 11, 2006 3:38 am

Post by Bureaucrat »

Code: Select all

#
#-----[ FIND ]---------------------------------
#
$EMBB_widths = array(''
whats the fix if this line is missing from bbcode.php? :?

GaDo
Registered User
Posts: 63
Joined: Sat Jul 31, 2004 8:50 am

Post by GaDo »

Hi.

I DONT WANT TO INSTALL Multi BBCode 1.4.0c, because i install hide (aka lockdown) mod and i cant install this multi bbcode mod

Any Chances to install youtube bbcode mod ??.

EDIT: SOLVED. thanks :)

Post Reply

Return to “[2.0.x] MOD Database Releases”