MyBB Community Forums

Full Version: BBcode for games from PicToGame site
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,
i am trying to put on my forum the games saved on PicToGame site (http://www.pictogame.com/). Something is wrong. This is my actual BBcode:

Regular Expression
\[ptg\](.*?)\[/ptg\]

Replacement
<embed type="application/x-shockwave-flash" quality="high" src="http://data.pictogame.com/gc/gc2.swf" width="440" height="420" allowScriptAccess="never" allowFullScreen="true" flashvars="gameId=$1" name="flashContainer807441246"></embed>

I have saved a game with this gameId: sSwRZ3vPkP2M.
It doesn't work.
Could anyone help me ?
Thanks in advance.

Muzioscevola

P.S. - I am sorry if this isn't the right area for these kinds of requests, but i hadn't find where edit it.
Quote:"http://data.pictogame.com/gc/gc2.swf"

Isn't this where the actual game is displayed? Is this SWF used for EVERY game on the site? Surely not - you need to make sure you make the MyCode to show the correct game... the gameID probably isn't the only thing you need to change...
(2008-10-27, 08:44 AM)Tom.M Wrote: [ -> ]
Quote:"http://data.pictogame.com/gc/gc2.swf"

Isn't this where the actual game is displayed? Is this SWF used for EVERY game on the site? Surely not - you need to make sure you make the MyCode to show the correct game... the gameID probably isn't the only thing you need to change...

Hi Tom.
Yes, the SWF is correct. Usually, in another Forum with phpBB, the only parameter is the gameId and it's all fine.
I have replied the BBcode from the phpBB forum to MyBB, but there is something wrong.
Make a post using that BBCode and view the page source, is the HTML replacement the way it should be?
I've spent the last 20 minutes looking at it.
Your problem is here, the flash container changes along beside the gameid, and therefore cannot fetch the game if the flash container isnt changed along side it.

If you showed me a link to this phpBB forum, I wish to have a look..