Detach Smileys
1.5 - SP1
This mod is used to bring a popup window for smilies so you can cut down on post page load time.
This mod uses Add Smilies 2.3 to supply smiles for the popup. The mod has admin options including: popup height/width/whether or not there is a popup.
In order to use this mod you need Add Smilies 2.3 installed!
Thanks to Demon Slayer for the Description and Kickboy12 for testing :)
Omario
http://www.clickopedia.com
Sources/Post.pl
~;
~;
if ($detach ne 1){
$i=0;
while($SmilieURL[$i]) {
$yymain .= qq~document.write("$SmilieLinebreak[$i] ");~;
$i++;
}
}
$yymain .= qq~
}
else { document.write("$txt{'215'}"); }
//-->
~;
if ($detach == 1){
$yymain .= qq~
More smilies
~;
}
$yymain .= qq~
Sources/AdminEdit.pl
$color{'fadertext'} = $FORM{'fadertext'} || '#D4AD00';
$color{'hdetach'} = $FORM{'hdetach'} || '400';
$color{'wdetach'} = $FORM{'wdetach'} || '200';
\$color{'fadertext'} = "$color{'fadertext'}"; # Color of text in the NewsFader (news color)
\$color{'hdetach'} = "$color{'hdetach'}";
\$color{'wdetach'} = "$color{'wdetach'}";