View Full Version : [Request] Admins can have HTML in signatures
What the title says, basically, HTML is enabled for Admins to use in their signatures.
wooolF[RM]
06-30-2002, 09:15 PM
]I have the same request : https://vborg.vbsupport.ru/showthread.php?s=&threadid=40356
it's CLOSE the same, u need HTML enabled for admins, I need IMG tag enabled for admins... :(
Hope someone will help us
Logician
07-01-2002, 05:41 AM
not tested, give it a try:
edit admin/functions.php, find:
if (!isset($sigcache["$post[userid]"])) {
$post[signature]=bbcodeparse($post[signature],0,$allowsmilies);
Replace it as:
if (!isset($sigcache["$post[userid]"])) {
if ($post[usergroupid]==6)
{
$post[signature]=bbcodeparse2($post[signature],1,1,1,1);
}
else
{
$post[signature]=bbcodeparse($post[signature],0,$allowsmilies);
}
it should do the trick for both of your requests
It did the trick very well...it worked, lol thanks :)
Sorry to bring up an old thread - but this is just what I want to do. I tried this code but couldn't get it to work. I want the code:<SCRIPT language=Javascript>
<!--
// Anti-Spam email script thingy
emailname = "dwz";
emailserver = "consoleradar.com";
document.write("<a href='mailto:" + emailname + "@" + emailserver + "'>");
document.write("Contact Us");
document.write("</a>");
//-->
</script> in my sig (to stop spam bots).
Anyway, when I entered this into my sig, it doesn't appear on my posts. if i look at the source, I see:<SCRIPT language=Javascript><br />
<!--<br />
// Anti-Spam email script thingy<br />
emailname = "dwz";<br />
emailserver = "consoleradar.com";<br />
document.write("<a href='mailto:" + emailname + "@" + emailserver + "'>");<br />
document.write("Contact Us");<br />
document.write("</a>");<br />
//--><br />
</script>Does this hack work on 2.2.8?
Logician
11-08-2002, 09:47 AM
nothing wrong with the hack, your javascript code is wrong.. Use this one: (Copy paste)
<SCRIPT language=Javascript>emailname = "dwz";emailserver = "consoleradar.com";document.write("<a href='mailto:" + emailname + "@" + emailserver + "'>");document.write("Contact Us");document.write("</a>");</script>
oops!
That worked...
thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.