Detach Smileys
1.5
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
Also, Mr. Sharky, please make sure you have modifymessage and instantmessage.pl modified ;)
Omario
http://www.clickopedia.com
Sources/Post.pl
$txt{'72'}:
EOT
if ($detach ne 1){
$i=0;
while($SmilieURL[$i]) {
print qq~document.write("$SmilieLinebreak[$i] ");~;
$i++;
}
}
print << "EOT";
}
else { document.write("$txt{'215'}"); }
//-->
EOT
if ($detach == 1){
print << "EOT";
More smilies
EOT
}
print <<"EOT";
Sources/InstantMessage.pl
EOT
if ($detach ne 1){
$i=0;
while($SmilieURL[$i]) {
print qq~document.write("$SmilieLinebreak[$i] ");~;
$i++;
}
}
print << "EOT";
}
else { document.write("$txt{'215'}"); }
//-->
EOT
if ($detach == 1){
print << "EOT";
More smilies
EOT
}
print <<"EOT";
Sources/ModifyMessage.pl
EOT
if ($detach ne 1){
$i=0;
while($SmilieURL[$i]) {
print qq~document.write("$SmilieLinebreak[$i] ");~;
$i++;
}
}
print << "EOT";
}
else { document.write("$txt{'215'}"); }
//-->
EOT
if ($detach == 1){
print << "EOT";
More smilies
EOT
}
print <<"EOT";
Sources/Admin.pl
$color{'fadertext'} = $FORM{'fadertext'} || '#FFFFFF';
$color{'hdetach'} = $FORM{'hdetach'} || '400';
$color{'wdetach'} = $FORM{'wdetach'} || '200';
\$color{'fadertext2'} = "$color{'fadertext2'}"; # Color of text in the NewsFader (news color)
\$color{'hdetach'} = "$color{'hdetach'}";
\$color{'wdetach'} = "$color{'wdetach'}";