[2.0.21] Google Video

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!
21
70%
Very Good
3
10%
Good
3
10%
Fair
0
No votes
Poor
3
10%
 
Total votes: 30

bassbox
Registered User
Posts: 59
Joined: Tue Jul 04, 2006 11:35 am
Contact:

Post by bassbox »

Hey, i finally crashed my board related to my bbcode ... )= :oops:
plz take a look at http://leaver.de/gvideo-und-youtube-bbc ... t-t71.html (some bbcode like youtube wont work ... and if u try to use the last 3bbcodes they insert the wrong tags etc ...
here my bbcode.tpl and .php files:

bbcode.tpl
bbcode.php
ppphhhppp
Registered User
Posts: 56
Joined: Thu Jan 19, 2006 2:14 am

Post by ppphhhppp »

hi all =)

perldude- sweet mod.. finally its out ;)

bassbox- when i press your tag buttons, they add the correct tags in the post.


finally- a lil off topic, but not really.. :

my last 3 bbcode buttons add wrong tags... the buttons are from left to right: hide, youtube, google.

all the info is displayed correctly in the code display and teh functions work perfectly too..

but

only [hide] tags come into post when i press any of the 3 buttons - i have to add tags manually :S

anybody in the same boat?

many thanks und viele grüsse :D
bassbox
Registered User
Posts: 59
Joined: Tue Jul 04, 2006 11:35 am
Contact:

Post by bassbox »

yeah, the problem with the wrong tags , could i correct by myself ...
had to change the order in postingbody.tpl ..

but , the DYK + MOD + Youtube bbcodes just show up as they are posted ( but there is no videoplayer or something like that :-/

there were the same problem wit GVIDEO, but after adding youtube code, gvideo works fine ?? but youtube still doesn't ! *cry
abumslife
Registered User
Posts: 192
Joined: Thu Apr 10, 2003 8:26 pm

Post by abumslife »

i added this mod and all i'm getting is the url to show, not the video

http://www.netmisfits.com/board/viewtop ... 3005#33005

thanks for the help
bassbox
Registered User
Posts: 59
Joined: Tue Jul 04, 2006 11:35 am
Contact:

Post by bassbox »

same here (look above ur post :P )
spideyh2003
Registered User
Posts: 8
Joined: Wed Jul 19, 2006 9:00 am

Re: Google Internationalization

Post by spideyh2003 »

perldude69 wrote: Ok folks,

The last fix worked well. It had one glitch though. If more than one google video was embedded in the same post, it only displayed the first one.
The following change seems to fix this problem. It also takes into account google.video.co.uk videos for those in the UK. People using other international versions of google video, please test and let me know how things go. :-)

Here is the new regular expression. (filter) for the file: includes/bbcode.php

Code: Select all

   

// [GVideo]GVideo URL[/GVideo] code..
$patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/videoplay\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
$replacements[] = $bbcode_tpl['GVideo'];

note, the only change is that com from video.google.com is replaced with [A-Za-z0-9.]{2,5}




--Perldude69



works like a charm!!!! Thanks for this wonderful MOD!!!! now I have both YouTube and Google Video working..... next is BOLT!
bassbox
Registered User
Posts: 59
Joined: Tue Jul 04, 2006 11:35 am
Contact:

Post by bassbox »

bassbox wrote: yeah, the problem with the wrong tags , could i correct by myself ...
had to change the order in postingbody.tpl ..

but , the DYK + MOD + Youtube bbcodes just show up as they are posted ( but there is no videoplayer or something like that :-/

there were the same problem wit GVIDEO, but after adding youtube code, gvideo works fine ?? but youtube still doesn't ! *cry


still having this rly sucking problem )= and i can't find anything which seems to fix this ...

bbcode.tpl.txt
bbcode.php.txt

plz some1 look at my 2files and correct them or tell me what i have to look for :(
hfdhfd
Registered User
Posts: 2
Joined: Tue Aug 24, 2004 12:12 am

Post by hfdhfd »

Hi thanks for this mod, I installed it and also found troubles with only showing the URL, but when I applied you're latest modifications it finaly worked.

Great job.
abumslife
Registered User
Posts: 192
Joined: Thu Apr 10, 2003 8:26 pm

Post by abumslife »

i've changed it to this

Code: Select all

// [GVideo]GVideo URL[/GVideo] code..
$patterns[] = "#\[GVideo\]http://video.google.[A-Za-z0-9.]{2,5}/videoplay\?docid=([0-9A-Za-z-_]*)[^[]*\[/GVideo\]#is";
$replacements[] = $bbcode_tpl['GVideo'];
and i still get nothing

http://www.netmisfits.com/board/viewtop ... 4685#34685
zjcznix
Registered User
Posts: 2
Joined: Tue Aug 01, 2006 4:17 pm
Location: Trinidad and Tobago
Contact:

WTFFFFFFFFFFFFFFFFFFF

Post by zjcznix »

in the posting.php file this peice of code does not exist

Code: Select all

$EMBB_widths = array('','60','60') ; 
WHY?? is it cuz i am using phpbb 2.0.21? the code also does not exist in the bbcode.php file

i am trying to install the you tube video mod, but its asking me to search for certain peices of code that does not exsist :(
<zacisyahu><Bouyakasha!!>
zjcznix
Registered User
Posts: 2
Joined: Tue Aug 01, 2006 4:17 pm
Location: Trinidad and Tobago
Contact:

hmmmm

Post by zjcznix »

I was looking for this video,
Thank you very much.

EDIT:
====
Works great except for this step:


#
#-----[ FIND ]---------------------------------
#
$EMBB_widths = array(''

#
#-----[ IN-LINE FIND ]---------------------------------
#
array(''

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'60'

#
#-----[ FIND ]---------------------------------
#
$EMBB_values = array(''

#
#-----[ IN-LINE FIND ]---------------------------------
#
$EMBB_values = array(''

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'GVideo'


I haven't installed the above because i can't find $EMBB_values = array(" but without this the MOD still does his job.
But i don't see a new button with new reply/topic.


same here, except, i havent gottn anything installed :([/code]
<zacisyahu><Bouyakasha!!>
e-mo
Registered User
Posts: 90
Joined: Tue Oct 01, 2002 2:54 pm

Re: WTFFFFFFFFFFFFFFFFFFF

Post by e-mo »

Hi there...

I got it working! :)

you dont see these lines maybe because you havent done the multi bbcode yet. you need to do that first in order to do the gvideo or youtube mod.

e-mo
zjcznix wrote: in the posting.php file this peice of code does not exist

Code: Select all

$EMBB_widths = array('','60','60') ; 
WHY?? is it cuz i am using phpbb 2.0.21? the code also does not exist in the bbcode.php file

i am trying to install the you tube video mod, but its asking me to search for certain peices of code that does not exsist :(
...with great power...comes great responsibilities...

Looking help for this Mod Problem: http://www.phpbb.com/community/viewtopi ... &start=165
e-mo
Registered User
Posts: 90
Joined: Tue Oct 01, 2002 2:54 pm

Re: Code Debug

Post by e-mo »

I somehow fix that problem..both links are working fine for me...and even in one thread.
check out this link..this is my test forum: http://avnhan.100webspace.net/phpBB3/vi ... hp?p=21#21

however, I do have another problem..and did email you already perldude69. The attachements in my mail is without the GVideo...but after the GVideo...the problem is still the same..so if you want..I can send you also the one with GVideo.

e-mo
perldude69 wrote: Ive looked over your code untill my eyes have crossed. I can't find anything wrong with it. As you have seen, Ive registered with your forum and tested it myself. It simply doesn't work.

I will keep looking, but maybe some others out there in the phpBB community can lend a hand too. Have you posted your situation over at the YouTube mod page?

Lets get some help here. :!:

--Perldude69
...with great power...comes great responsibilities...

Looking help for this Mod Problem: http://www.phpbb.com/community/viewtopi ... &start=165
Bhang
Registered User
Posts: 3
Joined: Thu Aug 10, 2006 12:04 am
Location: Outside the net.
Contact:

Post by Bhang »

Jedimaster has done an internet 1st!

Jedimaster wrote the code to embed google video & youtube video into phpbb forums! All should praise the Jedimaster and sacrafice an old 586 PC in his name! I shall add many mouces with no third button to the sacraficial 586 and summon the representative of the God of Code and deliver my praise to the Jedimaster through this emissary!

All hail the master of code - JEDIMASTER!

a.k.a. PearlDude69

Image
Third Eye VisionXPatriotic Dissent

The root word of patriot is RIOT.
Bhang
Registered User
Posts: 3
Joined: Thu Aug 10, 2006 12:04 am
Location: Outside the net.
Contact:

Post by Bhang »

Image

www.wachadoo.com

www.wachadoo.com/forum

Enjoy!

The truth hurts but you must find it!

We are about to enter the PHOTON BELT. Purge of all poisons before it is too late. Photons are the stuff of thought and imagination! Random particles that just pop into existence as if from nothing....

the mayans knew...

2012.

Fallen angels...

prometheus...

back engineering...

welcome to the underworld!
Third Eye VisionXPatriotic Dissent

The root word of patriot is RIOT.
Post Reply

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