Pando Bbcode For Icy Phoenix


Goto page 1, 2  Next

Subject: Pando Bbcode For Icy Phoenix
20080108104344xh1
20070812134133kv2





V2.0
-fix the problem when signature is enable





Code: [Download] [Hide] [Select]
##############################################################
## MOD Title: pando bbcode para ice phoenyx
## MOD Author: robincracker http://www.mercado-negro.org.org
## MOD Description: pando bbcode
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 minutes
## Files To Edit: includes/bbcode.php
## language/lang_XXXX/bbcb_mg.js
## templates/mg_themes/bbcb_mg.tpl
## Included Files:
## images/bbcb_mg/images/gif/pando.gif
## images/bbcb_mg/images/gif/pando1.gif
## pando/pando.cs
## pando/pando_script_mn.js
## pando/pandoAPI.js
## pando/cajamn.gif
##
## License: http://opensource.org/licenses/GPL-license.php GNU General Public License v2
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#----[COPY]----
#
images/bbcb_mg/images/gif/pando1.png to images/bbcb_mg/images/gif/pando1.png
images/bbcb_mg/images/gif/pando.png to images/bbcb_mg/images/gif/pando.png
pando/pandoAPI.js to pando/pandoAPI.js
pando/pando_script_mn.js to pando/pando_script_mn.js
pando/cajamn.gif to pando/cajamn.gif
pando/pando.css to pando/pando.css


#
#----[OPEN]----
#
includes/bbcode.php

#
#----[FIND]----
#
'youtube' => array(
'nested' => true,
'inurl' => true,
'allow_empty' => false,
),

#
#----[AFTER ADD]----
#

'pando' => array(
'nested' => true,
'inurl' => true,
'allow_empty' => false,
),

#
#----[FIND]----
#

// FLASH, SWF, VIDEO, REAL, QUICK, STREAM, EMFF, YOUTUBE, GOOGLEVIDEO

#
#----[AFTER ADD]----
#

, PANDO

#
#----[FIND]----
#
if( ($tag === 'flash') || ($tag === 'swf') || ($tag === 'video') || ($tag === 'ram') || ($tag === 'quick') || ($tag === 'stream') || ($tag === 'emff') || ($tag === 'mp3') || ($tag === 'youtube'

#
#----[AFTER ADD]----
#
|| $tag === 'pando'

#
#----[FIND]----
#

elseif ($tag === 'youtube')
{
$html = '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/' . $content . '" /><embed src="http://www.youtube.com/v/' . $content . '" type="application/x-shockwave-flash" width="425" height="350"></embed></object><br /><a href="http://youtube.com/watch?v=' . $content . '" target="_blank">Link</a><br />';
}
#
#----[AFTER ADD]----
#CAMBIAR ,TU URL, POR LA URL DEL FORO
elseif ($tag === 'pando')
{
$html = '<LINK REL=STYLESHEET TYPE="text/css" HREF="TUURL/pando/pando.css" >
<script src="TUURL/pando/PandoAPI.js" type="text/javascript"></script>
<script src="TUURL/pando/pando_script_mn.js" type="text/javascript"></script>
<script>showPackage("' . $content . '");</script>';
}
#
#----[OPEN]----
#

language/lang_XXXX/bbcb_mg.js

#
#----[FIND]----
#

s_ram_insert =

#
#----[AFTER ADD]----
#

s_pando_insert = 'Por favor ingrese el IM link del pando';
s_pando_insert_tip = 'pando IM';

#
#----[FIND]----
#
s_flash_h_error =

#
#----[AFTER ADD]----
#

s_pando_insert_error = 'No haz ingresado el IM link';

#
#----[FIND]----
#

s_marqd_help =

#
#----[AFTER ADD]----
#

s_pando_help = 'Ingrese el IM link: [pando]pandoIM link[/pando]';


#
#----[FIND]----
#

'[wave]','[/wave]',

#
#----[AFTER ADD]----
#

'[pando]','[/pando]',

#
#----[FIND]----
#

function BBCram()
{
var FoundErrors = '';
var enterURL = prompt(s_ram_insert ,s_url_insert_tip);
if (!enterURL)
{
FoundErrors += s_file_insert_error;
}
if (FoundErrors)
{
alert(s_gen_error + FoundErrors);
return;
}
var ToAdd = "[ram]"+enterURL+"[/ram]";
PostWrite(ToAdd);
}

#
#----[AFTER ADD]----
#

function BBCpando()
{
var FoundErrors = '';
var enterURL = prompt(s_pando_insert, s_pando_insert_tip);
if (!enterURL)
{
FoundErrors += s_pando_insert_error;
}
if (FoundErrors)
{
alert(s_gen_error + FoundErrors);
return;
}
var ToAdd = "[pando]"+enterURL+"[/pando]";
PostWrite(ToAdd);
}

#
#----[OPEN]----
#

templates/mg_themes/bbcb_mg.tpl

#
#----[FIND]----
#

<a href="javascript:BBCflash()"><img border="0" src="{BBCB_MG_IMG_PATH}flash{BBCB_MG_IMG_EXT}" name="flash" type="image" onMouseOver="helpline('flash')" alt="L_BBCB_MG_FLSH}" title="{L_BBCB_MG_FLSH}" class="bbimages" /></a>

#
#----[AFTER ADD]----
#

<a href="javascript:BBCpando()"><img border="0" src="{BBCB_MG_IMG_PATH}pando{BBCB_MG_IMG_EXT}" name="pando" type="image" onMouseOver="helpline('pando')" alt="pando" title="pando" class="bbimages" /></a>

#
#----[END]----
#




hello i searh in google but don find any to add a custom bbcode in phoenix and button to appear in post like youtube , anyone can tell me how to do this thanks

enjoy it
Support spanish and for othr cms
http://www.toppando.mercado-negro.o...id=1&pid=1#pid1

Last edited by robin cracker on Tue 08 Jan, 2008 17:47; edited 2 times in total

icybbcode 2.01.zip
Description: pando bbcode icyphoenyx 2.01 
Download
Filename: icybbcode 2.01.zip
Filesize: 21.98 KB
Downloaded: 288 Time(s)

Subject: Re: How To Add A Custom Bbcode And Button
robin cracker,

witch bbcode u want to be inside posting as a button?

Subject: Re: How To Add A Custom Bbcode And Button
Zuker wrote: [View Post]
robin cracker,

witch bbcode u want to be inside posting as a button?

well is this code
Code: [Download] [Hide] [Select]
<LINK REL=STYLESHEET TYPE="text/css" HREF="Turl/pando.css" >
<script src="url/PandoAPI.js" type="text/javascript"></script>
<script src="Turl/pando_script_mn.js" type="text/javascript"></script>
<script>showPackage("> <script>showPackage("$1");</script><");</script>

to show a box like
20070808134216dz7

the files pando api, pando script and pando.css is in the zip is amod to smf but work with other forums but i dont know how add a bbcode in phoenix


pando bbcode final.zip
Description:  
Download
Filename: pando bbcode final.zip
Filesize: 42.92 KB
Downloaded: 312 Time(s)

Subject: Re: How To Add A Custom Bbcode And Button
no em habia percatado que tenias la bandera de argentina, veras es que lo qu deseo es agregar un bbcode que trabaje usando lsos cript que adjunte arriba, pero no se que archivos debo modificar para agregar ese codigo y al usar la etiqueta muestre el resultado como se ve en la magen

Subject: Re: How To Add A Custom Bbcode And Button
Try to play with bbcode.php, bbcb_mg.tpl and bbcode.js ;)

Subject: Re: How To Add A Custom Bbcode And Button
solve it thaks download the goear bbcode and modify to my bbcode,
20070812134044qd4
20070812134133kv2

attacht the pandobbcode


Code: [Download] [Hide] [Select]
##############################################################
## MOD Title: pando bbcode para ice phoenyx
## MOD Author: robincracker http://www.mercado-negro.org.org
## MOD Description: pando bbcode
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 minutes
## Files To Edit: includes/bbcode.php
## language/lang_XXXX/bbcb_mg.js
## templates/mg_themes/bbcb_mg.tpl
## Included Files:
## images/bbcb_mg/images/gif/pando.gif
## images/bbcb_mg/images/gif/pando1.gif
## pando/pando.cs
## pando/pando_script_mn.js
## pando/pandoAPI.js
## pando/cajamn.gif
##
## License: http://opensource.org/licenses/GPL-license.php GNU General Public License v2
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#----[COPY]----
#
images/bbcb_mg/images/gif/pando1.png to images/bbcb_mg/images/gif/pando1.png
images/bbcb_mg/images/gif/pando.png to images/bbcb_mg/images/gif/pando.png
pando/pandoAPI.js to pando/pandoAPI.js
pando/pando_script_mn.js to pando/pando_script_mn.js
pando/cajamn.gif to pando/cajamn.gif
pando/pando.css to pando/pando.css


#
#----[OPEN]----
#
includes/bbcode.php

#
#----[FIND]----
#
'youtube' => array(
'nested' => true,
'inurl' => true,
'allow_empty' => false,
),

#
#----[AFTER ADD]----
#

'pando' => array(
'nested' => true,
'inurl' => true,
'allow_empty' => false,
),

#
#----[FIND]----
#

// FLASH, SWF, VIDEO, REAL, QUICK, STREAM, EMFF, YOUTUBE, GOOGLEVIDEO

#
#----[AFTER ADD]----
#

, PANDO

#
#----[FIND]----
#
if( ($tag === 'flash') || ($tag === 'swf') || ($tag === 'video') || ($tag === 'ram') || ($tag === 'quick') || ($tag === 'stream') || ($tag === 'emff') || ($tag === 'mp3') || ($tag === 'youtube'

#
#----[AFTER ADD]----
#
|| $tag === 'pando'

#
#----[FIND]----
#

elseif ($tag === 'youtube')
{
$html = '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/' . $content . '" /><embed src="http://www.youtube.com/v/' . $content . '" type="application/x-shockwave-flash" width="425" height="350"></embed></object><br /><a href="http://youtube.com/watch?v=' . $content . '" target="_blank">Link</a><br />';
}
#
#----[AFTER ADD]----
#CAMBIAR ,TU URL, POR LA URL DEL FORO
elseif ($tag === 'pando')
{
$html = '<LINK REL=STYLESHEET TYPE="text/css" HREF="TUURL/pando/pando.css" >
<script src="TUURL/pando/PandoAPI.js" type="text/javascript"></script>
<script src="TUURL/pando/pando_script_mn.js" type="text/javascript"></script>
<script>showPackage("' . $content . '");</script>';
}
#
#----[OPEN]----
#

language/lang_XXXX/bbcb_mg.js

#
#----[FIND]----
#

s_ram_insert =

#
#----[AFTER ADD]----
#

s_pando_insert = 'Por favor ingrese el IM link del pando';
s_pando_insert_tip = 'pando IM';

#
#----[FIND]----
#
s_flash_h_error =

#
#----[AFTER ADD]----
#

s_pando_insert_error = 'No haz ingresado el IM link';

#
#----[FIND]----
#

s_marqd_help =

#
#----[AFTER ADD]----
#

s_pando_help = 'Ingrese el IM link: [pando]pandoIM link[/pando]';


#
#----[FIND]----
#

'[wave]','[/wave]',

#
#----[AFTER ADD]----
#

'[pando]','[/pando]',

#
#----[FIND]----
#

function BBCram()
{
var FoundErrors = '';
var enterURL = prompt(s_ram_insert ,s_url_insert_tip);
if (!enterURL)
{
FoundErrors += s_file_insert_error;
}
if (FoundErrors)
{
alert(s_gen_error + FoundErrors);
return;
}
var ToAdd = "[ram]"+enterURL+"[/ram]";
PostWrite(ToAdd);
}

#
#----[AFTER ADD]----
#

function BBCpando()
{
var FoundErrors = '';
var enterURL = prompt(s_pando_insert, s_pando_insert_tip);
if (!enterURL)
{
FoundErrors += s_pando_insert_error;
}
if (FoundErrors)
{
alert(s_gen_error + FoundErrors);
return;
}
var ToAdd = "[pando]"+enterURL+"[/pando]";
PostWrite(ToAdd);
}

#
#----[OPEN]----
#

templates/mg_themes/bbcb_mg.tpl

#
#----[FIND]----
#

<a href="javascript:BBCflash()"><img border="0" src="{BBCB_MG_IMG_PATH}flash{BBCB_MG_IMG_EXT}" name="flash" type="image" onMouseOver="helpline('flash')" alt="L_BBCB_MG_FLSH}" title="{L_BBCB_MG_FLSH}" class="bbimages" /></a>

#
#----[AFTER ADD]----
#

<a href="javascript:BBCpando()"><img border="0" src="{BBCB_MG_IMG_PATH}pando{BBCB_MG_IMG_EXT}" name="pando" type="image" onMouseOver="helpline('pando')" alt="pando" title="pando" class="bbimages" /></a>

#
#----[END]----
#


ice phoenyx pando bbcode.zip
Description:  
Download
Filename: ice phoenyx pando bbcode.zip
Filesize: 42.82 KB
Downloaded: 286 Time(s)

Subject: Re: How To Add A Custom Bbcode And Button
great ;)

moved to customizations

Subject: Re: How To Add A Custom Bbcode And Button
Hi!

This mod post by "robin cracker" also works to make a HIDE BBCode button?

Subject: Re: Pando bbcode For Icy Phoenix
leonidfg wrote: [View Post]
Hi!

This mod post by "robin cracker" also works to make a HIDE BBCode button?


what do you mean by "works to make a hide bbcode"?

Subject: Re: How To Add A Custom Bbcode And Button
leonidfg wrote: [View Post]
Hi!

This mod post by "robin cracker" also works to make a HIDE BBCode button?

maybe this part
#----[OPEN]----
#

templates/mg_themes/bbcb_mg.tpl

#
#----[FIND]----
#

<a href="javascript:BBCflash()"><img border="0" src="{BBCB_MG_IMG_PATH}flash{BBCB_MG_IMG_EXT}" name="flash" type="image" onMouseOver="helpline('flash')" alt="L_BBCB_MG_FLSH}" title="{L_BBCB_MG_FLSH}" class="bbimages" /></a>

#
#----[AFTER ADD]----
#

<a href="javascript:BBCpando()"><img border="0" src="{BBCB_MG_IMG_PATH}pando{BBCB_MG_IMG_EXT}" name="pando" type="image" onMouseOver="helpline('pando')" alt="pando" title="pando" class="bbimages" /></a>

#
#----[END]----
#

try replace pando by hide

Subject: Re: Pando bbcode For Icy Phoenix
a little error
#----[AFTER ADD]----
#
|| $tag === 'pando'

is

#----[AFTER ADD]----
#
|| ($tag === 'pando' ) )

Subject: Re: Pando bbcode For Icy Phoenix
another problem
check http://ktmdesignz.com/forum/viewtopic.php?t=3768

Subject: Re: Pando Bbcode For Icy Phoenix
es correcto hay algunos detalls por corregir, desafortunadamente ando orto de tiempo, revisare el script haber si hay algo que hay que cambiar

Subject: Re: Pando bbcode For Icy Phoenix
robin cracker wrote: [View Post]
es correcto hay algunos detalls por corregir, desafortunadamente ando orto de tiempo, revisare el script haber si hay algo que hay que cambiar


check this topic

http://www.eddb.com.ar/viewtopic.php?p=31695#p31695 (second page)

it's fine there, right? i think i 've fixed it :D

Subject: Re: Pando Bbcode For Icy Phoenix
great . how do you do? :mryellow:

Goto page 1, 2  Next

Page 1 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.2066s (PHP: 12% SQL: 88%)
SQL queries: 12 - Debug Off - GZIP Enabled