Pando Bbcode For Icy Phoenix »  Show posts from    to     

Icy Phoenix


Old Customizations - Pando Bbcode For Icy Phoenix



robin cracker [ Thu 09 Aug, 2007 20:16 ]
Post subject: Pando Bbcode For Icy Phoenix
20080108104344xh1
20070812134133kv2





V2.0
-fix the problem when signature is enable





Code: [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


Zuker [ Thu 09 Aug, 2007 21:50 ]
Post subject: Re: How To Add A Custom Bbcode And Button
robin cracker,

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


robin cracker [ Fri 10 Aug, 2007 18:40 ]
Post 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: [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("$1");</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


robin cracker [ Fri 10 Aug, 2007 18:42 ]
Post 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


Zuker [ Fri 10 Aug, 2007 22:05 ]
Post subject: Re: How To Add A Custom Bbcode And Button
Try to play with bbcode.php, bbcb_mg.tpl and bbcode.js


robin cracker [ Sun 12 Aug, 2007 21:43 ]
Post 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: [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]----
#


Zuker [ Mon 13 Aug, 2007 01:15 ]
Post subject: Re: How To Add A Custom Bbcode And Button
great

moved to customizations


leonidfg [ Fri 17 Aug, 2007 05:07 ]
Post 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?


Zuker [ Fri 17 Aug, 2007 13:48 ]
Post 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"?


robin cracker [ Fri 17 Aug, 2007 17:22 ]
Post 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


-ktm- [ Tue 21 Aug, 2007 13:44 ]
Post subject: Re: Pando bbcode For Icy Phoenix
a little error
#----[AFTER ADD]----
#
|| $tag === 'pando'

is

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


-ktm- [ Tue 21 Aug, 2007 19:04 ]
Post subject: Re: Pando bbcode For Icy Phoenix
another problem
check http://ktmdesignz.com/forum/viewtopic.php?t=3768


robin cracker [ Sun 26 Aug, 2007 08:08 ]
Post 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


Zuker [ Sun 16 Sep, 2007 21:11 ]
Post 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


robin cracker [ Tue 18 Sep, 2007 19:45 ]
Post subject: Re: Pando Bbcode For Icy Phoenix
great . how do you do?


Zuker [ Wed 19 Sep, 2007 01:16 ]
Post subject: Re: Pando bbcode For Icy Phoenix
i change so many files (almost all of them :P) but i need to test it more.


robin cracker [ Tue 08 Jan, 2008 17:49 ]
Post subject: Re: Pando Bbcode For Icy Phoenix
update pando bbcode 2.01


Dimo [ Thu 07 Jan, 2010 16:56 ]
Post subject: Re: Pando Bbcode For Icy Phoenix
No consigo hacerlo funcionar en el Icy Phoenix v. 1.3.0.53

Agradezco toda iluminación

Un abrazo

Dimo


Dimo [ Wed 13 Jan, 2010 00:14 ]
Post subject: Re: Pando Bbcode For Icy Phoenix
Dimo wrote: [View Post]
No consigo hacerlo funcionar en el Icy Phoenix v. 1.3.0.53

Agradezco toda iluminación

Un abrazo

Dimo


Traduction:

I can not get to work on the Icy Phoenix v. 1.3.0.53

I thank all lighting

Un abrazo

Dimo




Powered by Icy Phoenix