Verfasst: 11.01.2004 20:23
oke as you can see it works now 
i could not get it to work with phpbb206c
in smilie_creator.php i changed
to
to show the smilies in the popup
then i could't see the smilies in the topics
probbably a code change in phpbb206c ??
but i thought why a new bbcode so i let it generate a img bbcode
by changing te folowing in smilie_creator.tpl
into
now it was almost working but it's always showing the same smilie with a different text
so now i had to edit text2schild.php
i added the line just in the beginning
and now it works perfectly

i could not get it to work with phpbb206c
in smilie_creator.php i changed
Code: Alles auswählen
if($mode == "text2schild"){
Code: Alles auswählen
if($_GET['mode'] == "text2schild"){
then i could't see the smilies in the topics
probbably a code change in phpbb206c ??
but i thought why a new bbcode so i let it generate a img bbcode
by changing te folowing in smilie_creator.tpl
Code: Alles auswählen
if(smilie == "standard") var text2form = "[schild=standard fontcolor="+color+" shadowcolor="+shadowcolor+" shieldshadow="+shieldshadow+"]"+text+"[/schild]";
else var text2form = "[schild="+smilie+" fontcolor="+color+" shadowcolor="+shadowcolor+" shieldshadow="+shieldshadow+"]"+text+"[/schild]";
Code: Alles auswählen
if(smilie == "standard") var text2form = "[img]place here your url/text2schild.php?smilie=standard&fontcolor="+color+"&shadowcolor="+shadowcolor+"&shieldshadow="+shieldshadow+"&text="+text+"[/img]";
else var text2form = "[img]place here your own url/text2schild.php?smilie="+smilie+"&fontcolor="+color+"&shadowcolor="+shadowcolor+"&shieldshadow="+shieldshadow+"&text="+text+"[/img]";
so now i had to edit text2schild.php
i added the line just in the beginning
Code: Alles auswählen
$smilie = $HTTP_GET_VARS['smilie'];