|
Page 1 of 1
|
Dimo
Joined: October 2009
Posts: 82
Location:
|
BBCode De Pando Para Icy Phoenix V. 1.3.0.53
En español:
Hola familia Icy Phoenix:
No consigo hacer funcionar el BBCode de Pando en el Icy Phoenix v. 1.3.0.53
Quería decirte que tengo problemas para poner el BBCode de Pando al Icy Phoenix 1.3.0.53 y ya no se que hacer, te adjunto el post donde expongo mi problema...
Sitio donde explico mi problema
Agradezco toda iluminación.
Gracias por vuestra atención y disculpad las molestias.
Dimo
En Inglés:
Hello family Icy Phoenix:
I can not run the Pando BBCode in Icy Phoenix v. 1.3.0.53
I wanted to say that I have trouble putting Pando BBCode to Icy Phoenix 1.3.0.53 and no longer do you herewith the post where I discuss my problem ...
Site where I explain my problem
I appreciate any enlightenment.
Thank you for your attention and apologize for the inconvenience.
Dimo
Last edited by Dimo on Sun 17 Jan, 2010 15:41; edited 1 time in total |
#1 Wed 13 Jan, 2010 00:22 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
KasLimon
Joined: November 2006
Posts: 494
Location: Madrid (Spain)
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
MG, it's not a video BBCode
It's more or less like torrent links...
Dimo, the link doesn't work... I read the topic in JW some time before he he but I don't have much time for supporting...
http://www.januweb.com/foro/botones...f32-vt4163.html
I don't understand what doesn't work... If you could be more specific
Greets!
____________ Gabriel Anca
|
#3 Sun 17 Jan, 2010 11:37 |
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7191
Location: Borgo San Michele
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
I thought it was a Video BBCode... I'm sorry!
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#4 Sun 17 Jan, 2010 12:44 |
|
Dimo
Joined: October 2009
Posts: 82
Location:
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
En español:
Hola KasLimon es cierto que el BBCode de Pando aparece en la lista de botones pero no se ejecuta el Pando como dice en el post
http://www.icyphoenix.com/viewtopic.php?t=2602
Probé introduciendo los parámetros que en este post nos decía su autor, a él le funciona pero a mí no. Yo tengo la última versión de Icy Phonenix.
Gracias por vuestra atención y disculpad las molestias
Espero respuesta vuestra lo más pronto posible
Un abrazo
Dimo
En Inglés:
Hello KasLimon is true that Pando BBCode appears in the list of buttons but not running the Pando as it says in the post
http://www.icyphoenix.com/viewtopic.php?t=2602
I tried entering the parameters in this post the author told us, to him it works but not me. I have the latest version of Icy Phonenix.
Thank you for your attention and apologize for the inconvenience
I hope your response as soon as possible
Best regards
Dimo
|
#5 Sun 17 Jan, 2010 15:48 |
|
KasLimon
Joined: November 2006
Posts: 494
Location: Madrid (Spain)
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
Since the customization is placed in "Old Customizations" forum, this means the mod shouldn't work fine on latest Icy Phoenix versions.
In order to install the mod, you need to know that language/lang_XXX/bbcb_mg.js has been moved to templates/common/js/bbcb_mg.js and templates/mg_themes/bbcb_mg.tpl has been moved to templates/default/bbcb_mg.tpl.
Have you modified the files that way?
Greets!
____________ Gabriel Anca
|
#6 Mon 18 Jan, 2010 14:04 |
|
Dimo
Joined: October 2009
Posts: 82
Location:
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
Since the customization is placed in "Old Customizations" forum, this means the mod shouldn't work fine on latest Icy Phoenix versions.
In order to install the mod, you need to know that language/lang_XXX/bbcb_mg.js has been moved to templates/common/js/bbcb_mg.js and templates/mg_themes/bbcb_mg.tpl has been moved to templates/default/bbcb_mg.tpl.
Have you modified the files that way?
Greets!
No, I did well, I'll try and if not I'll give you my FTP details for you to do the tests.
|
#7 Mon 18 Jan, 2010 18:19 |
|
KasLimon
Joined: November 2006
Posts: 494
Location: Madrid (Spain)
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
It's not necessary, just let me test the mod on a local Icy Phoenix forum and I'll tell you what's wrong
____________ Gabriel Anca
|
#8 Tue 19 Jan, 2010 09:13 |
|
Dimo
Joined: October 2009
Posts: 82
Location:
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
En español:
El archivo con raiz en ...templates/mg_themes/bbcb_mg.tpl no es igual al ...templates/common/js/bbcb_mg.js y tengo problemas para encontrar algunos de los parámetros que tengo que introducir en el documento, os adjunto la tabla con los parámetros a modificar:
Para ...templates/common/js/bbcb_mg.js
#
#----[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);
}
#
Para ...templates/mg_themes/bbcb_mg.tpl
?
En Inglés:
The root file in ...templates / mg_themes / bbcb_mg.tpl is not equal to ...templates / common / js / bbcb_mg.js and I have trouble finding some of the parameters I have to make to the document, I attached table with the parameters to modify:
For ...templates / common / js / bbcb_mg.js
#
#----[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);
}
#
For ...templates / mg_themes / bbcb_mg.tpl
?
|
#9 Tue 19 Jan, 2010 09:37 |
|
KasLimon
Joined: November 2006
Posts: 494
Location: Madrid (Spain)
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
Ok, undo all the changes you've maid to your forum (changes related with this mod), and do this:
- Download and upload the files located here (official mod post)
- Do the following modifications
##############################################################
## MOD Title: pando bbcode para ice phoenyx
## MOD Author: robincracker http://www.mercado-negro.org.org
## Adapted to last Icy Phoenix Version by KasLimon
## MOD Description: pando bbcode
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 minutes
## Files To Edit: includes/bbcode.php
## templates/common/js/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, FLV, VIDEO, REAL, QUICK, STREAM, EMFF, YOUTUBE, GOOGLEVIDEO
#
#----[IN-LINE FIND]----
#
GOOGLEVIDEO
#
#----[IN-LINE AFTER, ADD]----
#
, PANDO
#
#----[FIND]----
#
if(($tag === 'flash') || ($tag === 'swf') || ($tag === 'flv') || ($tag === 'video') || ($tag === 'ram') || ($tag === 'quick') || ($tag === 'stream') || ($tag === 'emff') || ($tag === 'mp3') || ($tag === 'youtube') || ($tag === 'googlevideo'))
#
#----[IN-LINE FIND]----
#
($tag === 'youtube') ||
#
#----[IN-LINE AFTER, ADD]----
#
($tag === 'pando') ||
#
#----[FIND]----
#
$html = '<object width="' . $width . '" height="' . $height . '"><param name="movie" value="http://www.youtube.com/v/' . $content . $color_append . '" /><embed src="http://www.youtube.com/v/' . $content . $color_append . '" type="application/x-shockwave-flash" width="' . $width . '" height="' . $height . '"></embed></object><br /><a href="http://youtube.com/watch?v=' . $content . $color_append . '" target="_blank">Link</a><br />';
#
#----[AFTER ADD]----
#
}
elseif ($tag === 'pando')
{
$html = '<link rel="stylesheet" type="text/css" href="'.IP_ROOT_PATH.'pando/pando.css" >
<script src="'.IP_ROOT_PATH.'pando/PandoAPI.js" type="text/javascript"></script>
<script src="'.IP_ROOT_PATH.'pando/pando_script_mn.js" type="text/javascript"></script>
<script>showPackage("' . $content . '");</script>';
#
#----[OPEN]----
#
templates/common/js/bbcb_mg.js
#
#----[FIND]----
#
var Td = 0;
#
#----[AFTER ADD]----
#
s_pando_insert = 'Por favor ingrese el IM link del pando';
s_pando_insert_tip = 'Pando IM';
s_pando_insert_error = 'No has ingresado el IM link';
s_pando_help = 'Ingrese el IM link: [pando]pandoIM link[/pando]';
#
#----[FIND]----
#
'[wave]','[/wave]',
#
#----[AFTER ADD]----
#
'[pando]','[/pando]',
#
#----[FIND]----
#
Quote = 0;
}
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/default/bbcb_mg.tpl
#
#----[FIND]----
#
<a href="javascript:BBCflash()"><img src="{BBCB_MG_IMG_PATH}flash{BBCB_MG_IMG_EXT}" name="flash" onmouseover="helpline('flash')" alt="L_BBCB_MG_FLSH}" title="{L_BBCB_MG_FLSH}" class="bbimages" /></a>
#
#----[AFTER ADD]----
#
<a href="javascript:BBCpando()"><img src="{BBCB_MG_IMG_PATH}pando{BBCB_MG_IMG_EXT}" name="pando" onmouseover="helpline('pando')" alt="pando" title="pando" class="bbimages" /></a>
#
#----[END]----
#
That's it
____________ Gabriel Anca
|
#10 Tue 19 Jan, 2010 10:55 |
|
Dimo
Joined: October 2009
Posts: 82
Location:
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
Ok, undo all the changes you've maid to your forum (changes related with this mod), and do this:
- Download and upload the files located here (official mod post)
- Do the following modifications
##############################################################
## MOD Title: pando bbcode para ice phoenyx
## MOD Author: robincracker http://www.mercado-negro.org.org
## Adapted to last Icy Phoenix Version by KasLimon
## MOD Description: pando bbcode
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 minutes
## Files To Edit: includes/bbcode.php
## templates/common/js/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, FLV, VIDEO, REAL, QUICK, STREAM, EMFF, YOUTUBE, GOOGLEVIDEO
#
#----[IN-LINE FIND]----
#
GOOGLEVIDEO
#
#----[IN-LINE AFTER, ADD]----
#
, PANDO
#
#----[FIND]----
#
if(($tag === 'flash') || ($tag === 'swf') || ($tag === 'flv') || ($tag === 'video') || ($tag === 'ram') || ($tag === 'quick') || ($tag === 'stream') || ($tag === 'emff') || ($tag === 'mp3') || ($tag === 'youtube') || ($tag === 'googlevideo'))
#
#----[IN-LINE FIND]----
#
($tag === 'youtube') ||
#
#----[IN-LINE AFTER, ADD]----
#
($tag === 'pando') ||
#
#----[FIND]----
#
$html = '<object width="' . $width . '" height="' . $height . '"><param name="movie" value="http://www.youtube.com/v/' . $content . $color_append . '" /><embed src="http://www.youtube.com/v/' . $content . $color_append . '" type="application/x-shockwave-flash" width="' . $width . '" height="' . $height . '"></embed></object><br /><a href="http://youtube.com/watch?v=' . $content . $color_append . '" target="_blank">Link</a><br />';
#
#----[AFTER ADD]----
#
}
elseif ($tag === 'pando')
{
$html = '<link rel="stylesheet" type="text/css" href="'.IP_ROOT_PATH.'pando/pando.css" >
<script src="'.IP_ROOT_PATH.'pando/PandoAPI.js" type="text/javascript"></script>
<script src="'.IP_ROOT_PATH.'pando/pando_script_mn.js" type="text/javascript"></script>
<script>showPackage("' . $content . '");</script>';
#
#----[OPEN]----
#
templates/common/js/bbcb_mg.js
#
#----[FIND]----
#
var Td = 0;
#
#----[AFTER ADD]----
#
s_pando_insert = 'Por favor ingrese el IM link del pando';
s_pando_insert_tip = 'Pando IM';
s_pando_insert_error = 'No has ingresado el IM link';
s_pando_help = 'Ingrese el IM link: [pando]pandoIM link[/pando]';
#
#----[FIND]----
#
'[wave]','[/wave]',
#
#----[AFTER ADD]----
#
'[pando]','[/pando]',
#
#----[FIND]----
#
Quote = 0;
}
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/default/bbcb_mg.tpl
#
#----[FIND]----
#
<a href="javascript:BBCflash()"><img src="{BBCB_MG_IMG_PATH}flash{BBCB_MG_IMG_EXT}" name="flash" onmouseover="helpline('flash')" alt="L_BBCB_MG_FLSH}" title="{L_BBCB_MG_FLSH}" class="bbimages" /></a>
#
#----[AFTER ADD]----
#
<a href="javascript:BBCpando()"><img src="{BBCB_MG_IMG_PATH}pando{BBCB_MG_IMG_EXT}" name="pando" onmouseover="helpline('pando')" alt="pando" title="pando" class="bbimages" /></a>
#
#----[END]----
#
That's it
Yes, sir you are the best. Works fine to see when I tell my mom, hehe (Si, señor, eres el mejor.)
Now, my problem, is that the pando box I can not to center in the posts. But that is a lesser evil. (Ahora, mi problema, es que no puedo centrar la cajita pando en los posts.)
mi web
Sincere thanks
Very very Kisses
Dimo
Pdta.: Are you not Spanish?
|
#11 Tue 19 Jan, 2010 11:49 |
|
KasLimon
Joined: November 2006
Posts: 494
Location: Madrid (Spain)
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
Yes, I'm from Madrid, but since this is an English forum, I prefer to speak in English To let others with the same problem as you understand what I'm saying.
I'm not sure if you can centre the pando block... Just try this:
Open includes/bbcode.php
Find $html = '<link rel="stylesheet" type="text/css" href="'.IP_ROOT_PATH.'pando/pando.css" > Replace with $html = '<center><link rel="stylesheet" type="text/css" href="'.IP_ROOT_PATH.'pando/pando.css" > Find <script>showPackage("' . $content . '");</script>'; Replace with <script>showPackage("' . $content . '");</script></center>'; I'm almost sure it won't work... And I saw pando API files are encoded, so it's impossible for me to edit it...
Have you tried align properties??, I mean
Greets!
____________ Gabriel Anca
|
#12 Tue 19 Jan, 2010 16:35 |
|
Dimo
Joined: October 2009
Posts: 82
Location:
|
Re: BBCode De Pando Para Icy Phoenix V. 1.3.0.53
Definitivaisamente eres the best developer
I love you KasLimon, I like a son your.
Dimo
|
#13 Tue 19 Jan, 2010 16:55 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
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
|
|
|
|