Welcome, Guest. Please Login or Register.
November 27, 2024, 09:36:12 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Language Specific User Help  |  Español  |  bug con smilie « previous next »
Pages: [1] Reply Ignore Print
Author Topic: bug con smilie  (Read 2812 times)
cortocircuito
Noobie
*
Posts: 14


I'm a llama!

bug con smilie
« on: March 18, 2002, 11:41:05 PM »
Reply with quote

bueno tengo un error en mi foro con este smilie  :-\
:-/en vez de aparecer la imagen aparece el codigo.
como soluciono esto..he leido acerca de esto y es verdad que este  codigo da problemas.
en Subs.php
esta el codigo:
bastaria cambiar el codigo no mas por ejemplo por este :-S  
// Instead we use:
      $smiliesfrom = array("::)", ">:(", ">:D", ":)", ";)", ':D', ';D', ':(', ':o', '8)', ':P', '???', ':-[', ':-X', ':-*', ":\'(",':-\\',"^-^","O0");
      //  :-/ :-* :'(
      $smiliesto = array('rolleyes', 'angry', "evil", "smiley", "wink", 'cheesy', 'grin', 'sad', 'shocked', 'cool', 'tongue', 'huh', 'embarassed', 'lipsrsealed', 'kiss', 'cry','undecided','azn','afro'); // You'll get the idea
pero veo ke hay otros codigos cual cambio??
« Last Edit: March 18, 2002, 11:45:20 PM by cortocircuito » Logged
Shoeb Omar
Disciple of Joe
YaBB God
*****
Posts: 1420


The shrub demands war. I don't. The world doesn't.

ICQ - 69234983clickopedia@hotmail.com WWW
Re:bug con smilie
« Reply #1 on: March 19, 2002, 12:56:46 AM »
Reply with quote

for any english users i think i can translate this! :o

corto is saying that oon his board instead (en vez) of his smilies showing up.. the code for them is.. :(

he has posted the code he has in his subs.php to parse the smilies and it looks correcto to me..

sorry for the horrible tangent  :-[
Logged

"If we all practice an eye for an eye, pretty soon the whole world will be blind" - Gandhi

We need to start listening to advocates of peace in oder to advance society. We have not grown from the prehistoric barbarians we once were.  Will society ever mature?
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:bug con smilie
« Reply #2 on: March 19, 2002, 09:48:22 AM »
Reply with quote

es un problema con "magic quote" the aviso que tienes que hacer si he visitado tu foro pa probarlo!

mediman

btw: thx @omario *gg*
« Last Edit: March 19, 2002, 10:15:58 AM by mediman » Logged

mainComm Dev Team
Shoeb Omar
Disciple of Joe
YaBB God
*****
Posts: 1420


The shrub demands war. I don't. The world doesn't.

ICQ - 69234983clickopedia@hotmail.com WWW
Re:bug con smilie
« Reply #3 on: March 20, 2002, 02:00:53 AM »
Reply with quote

hehe - i was bored ;)
Logged

"If we all practice an eye for an eye, pretty soon the whole world will be blind" - Gandhi

We need to start listening to advocates of peace in oder to advance society. We have not grown from the prehistoric barbarians we once were.  Will society ever mature?
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:bug con smilie
« Reply #4 on: March 20, 2002, 11:39:28 AM »
Reply with quote

es un problema con magic_quotes_gpc has lo siquiente

abre ubbc.js y busca
function undecided() {
   AddTxt=" :-\\";
   AddText(AddTxt);
}

y cambia en
function undecided() {
   AddTxt=" :-/";
   AddText(AddTxt);
}

ahora cambia el codigo tambien en subs.php y funciona!

mediman
Logged

mainComm Dev Team
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Language Specific User Help  |  Español  |  bug con smilie « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.043 seconds with 21 queries.