is there any code people can not add more then 1 image
Started on the old forum in May 2009 · view the original in the archive · old links redirect here
bijaybd wrote: hey bro its working fine just need to edit the text thats all anyways do you know enable disable code for smiley how to user will able to enable disable there smiley so that they will not get any smiley
Just code it yourself heres a sketch
function getsmilies($sid){ $usr = mysql_fetch_array(mysql_query("SELECT dissml FROM ibwf_users WHERE uid='".uidfromsid($sid)."'"));
if($usr[0]=='1'){ ////Run the code that str_replaces text to smilies }else{ ///return the original text as is }
}