Pando BBCode
French Version ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
Bonjour à tous,
je vous présente le BBCode Pando, celui-ci permet d'afficher le Widget Flash à partir de l'IM Link sur son forum...
version VBulletin : http://www.vbulletin-ressources.com/forum/showthread.php?t=4999&page=2
version InvisionPower Board : http://forums.invisionpower.fr/downloads-file359.html
English Version ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hello all,
I present the BBCode Pando to you, it makes it possible to post Widget Flash starting from IM Link on your forum…
Instructions :
Create a file pando.php :
<?php
/*
Title : Pando BBCode
Year : 2007
Software version : Pando 1.9.1.0
Author : phcorp
MSN/Mail : ph_corp@yahoo.fr
*/
/*
Recover the data sent by the method GET
*/
$query = $_SERVER["QUERY_STRING"];
/*
Clean the chain and Correct the data modified automatically by vBulletin
*/
$query = str_replace( "%20", "", $query );
$query = str_replace( "&", "&", $query );
$query = str_replace( "key=", "", $query );
$query = str_replace( "id=", "", $query );
$query = str_replace( "tt=", "", $query );
$query = str_replace( "embedId=", "", $query );
/*
Extract the data contained in the chain
*/
$var_1 = explode( "?", $query );
$var_2 = $var_1[1];
$var_3 = explode( "&", $var_2 );
$id = $var_3[0];
$key = $var_3[1];
/*
Print the code
*/
print 'document.write(\'<object width="300" height="88"><param name="movie" value="http://cache.pando.com/soapservices/SendToWeb?action=swf&packageId='.$id.'&key='.$key.'&embedId='.$id.'&baseUrl=http://cache.pando.com/soapservices/SendToWeb"></param><param name="allowScriptAccess" value="always"></param><param name="wmode" value="transparent"></param><embed type="application/x-shockwave-flash" src="http://cache.pando.com/soapservices/SendToWeb?action=swf&packageId='.$id.'&key='$key'&embedId='.$id.'&baseUrl=http://cache.pando.com/soapservices/SendToWeb" width="300" height="88" wmode="transparent" allowScriptAccess="always"></embed></object><a href="http://cache.pando.com/soapservices/Package/package.pando?id='.$id.'&key='.$key.'"></a>\');';
?>
upload pando.php & rte-pando.png (
) on the root of your forum.
Admin CP > Custom BB Codes > Add New BB Code
Title : Pando BBCode
Tag : pando
Replacement : <script type="text/JavaScript" src="pando.php?link={param}"></script>
Example :[pando]http://cache.pando.com/soapservices/Package/exemple.pando?id=example&key=example&tt=example[/pando]
Description : The Pando BBCode
Button Image : rte-pando.png
> Save
Instructions :
Create a file pando.php :
<?php
/*
Title : Pando BBCode
Year : 2007
Software version : Pando 1.9.1.0
Author : phcorp
MSN/Mail : ph_corp@yahoo.fr
*/
/*
Recover the data sent by the method GET
*/
$query = $_SERVER["QUERY_STRING"];
/*
Clean the chain and Correct the data modified automatically by vBulletin
*/
$query = str_replace( "%20", "", $query );
$query = str_replace( "&", "&", $query );
$query = str_replace( "key=", "", $query );
$query = str_replace( "id=", "", $query );
$query = str_replace( "tt=", "", $query );
$query = str_replace( "embedId=", "", $query );
/*
Extract the data contained in the chain
*/
$var_1 = explode( "?", $query );
$var_2 = $var_1[1];
$var_3 = explode( "&", $var_2 );
$id = $var_3[0];
$key = $var_3[1];
/*
Print the code
*/
print 'document.write(\'<object width="300" height="88"><param name="movie" value="http://cache.pando.com/soapservices/SendToWeb?action=swf&packageId='.$id.'&key='.$key.'&embedId='.$id.'&baseUrl=http://cache.pando.com/soapservices/SendToWeb"></param><param name="allowScriptAccess" value="always"></param><param name="wmode" value="transparent"></param><embed type="application/x-shockwave-flash" src="http://cache.pando.com/soapservices/SendToWeb?action=swf&packageId='.$id.'&key='$key'&embedId='.$id.'&baseUrl=http://cache.pando.com/soapservices/SendToWeb" width="300" height="88" wmode="transparent" allowScriptAccess="always"></embed></object><a href="http://cache.pando.com/soapservices/Package/package.pando?id='.$id.'&key='.$key.'"></a>\');';
?>
upload pando.php on the root of your forum.
Admin CP > Custom BB Codes > Add New BB Code
Custom BBCode Title : Pando BBCode
Custom BBCode Description : The Pando BBCode
Custom BBCode Example :[pando]http://cache.pando.com/soapservices/Package/exemple.pando?id=example&key=example&tt=example[/pando]
Custom BBCode Tag : pando
Use Option in tag? : No
Switch option around? : No
Custom BBCode Replacement :<script type="text/JavaScript" src="pando.php?link={param}"></script>
Insert into the editor's 'Insert Special' menu? : Yes
Enter 'option' dialogue text :
Enter 'content' dialogue text : Please enter a Pando url
> Save
@+
phcorp
This is very cool! I'm
This is very cool! I'm promoting this to the site home page!
- Laird Popkin, CTO, Pando Networks