PDA

View Full Version : Pando integration in vb


trbrack
05-15-2007, 05:45 AM
Pando (http://www.pando.com/) works a lot like yousendit and rapidshare except you download a client side app to run it from your machine. Pando is also offered as a plugin to many different IM's so I don't think it would be that hard to implement into VB. They also have guides and what not for server integration here:

http://developers.pando.com/ - you have to email them and get approved for the server integration manuals.

This would be a great plugin to send big files straight to VB. It could be available right next to the upload attachments function.

This would just serve as a great way to upload big attachments to VB as the current attachment upload tool lacks a progress bar among other things. You could also possibly upload directly to VB without even being on the site...

totomix
01-29-2008, 08:08 PM
I find this bbcode for pando, Isn't good than smf but better than a link

Build a php file and upload in your server forum id whit image button
rte-pando.png http://www.hebergement-images.com/05/1177700556_rte-pando.png
pando.php

<?php

/*
Titre : Pando BBCode
Ann?e : 2007
Version du logiciel : Pando 1.8.5.1
Auteur : phcorp
Site Web : pour vBulletin-Ressources.com
MSN/Mail : ph_corp@yahoo.fr
*/

/*
On r?cup?re les donn?es envoy?es par la m?thode GET
*/
$query = $_SERVER["QUERY_STRING"];

/*
On nettoie la cha?ne et on corrige les donn?es modifi?es automatiquement par vBulletin
*/
$query = str_replace( "%20", "", $query );
$query = str_replace( "&amp;", "&", $query );
$query = str_replace( "key=", "", $query );
$query = str_replace( "id=", "", $query );
$query = str_replace( "tt=", "", $query );
$query = str_replace( "embedId=", "", $query );

/*
On extrait les donn?es contenues dans la cha?ne
*/
$var_1 = explode( "?", $query );
$var_2 = $var_1[1];
$var_3 = explode( "&", $var_2 );
$id = $var_3[0];
$key = $var_3[1];
$tt = $var_3[2];
$embedId = $var_3[3];

/*
On construit les variables qui vont servir ? construire le code
*/
$lien = 'http://cache.pando.com/soapservices/SendToWeb?action=swf&packageId='.$id.'&key='.$key.'&tt='.$tt.'&embedId='.$embedId;

/*
On imprime le code
*/
print 'document.write(\'<object width="300" height="88"><param name="movie" value="'.$lien.'"></param><param name="allowScriptAccess" value="always"></param><param name="wmode" value="transparent"></param><embed type="application/x-shockwave-flash" src="'.$lien.'" width="300" height="88" wmode="transparent" allowScriptAccess="always"></embed></object>\');';

?>

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 :
http://cache.pando.com/soapservices/Package/exemple.pando?id=exemple&key=exemple&tt=exemple

Description : The Pando BBCode
Button Image : rte-pando.png

> Save

That' all