vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [Request] Admins can have HTML in signatures (https://vborg.vbsupport.ru/showthread.php?t=40480)

N9ne 06-30-2002 08:39 PM

[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/showthrea...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

N9ne 06-30-2002 09:26 PM

I'm sure someone will :)

Logician 07-01-2002 05:41 AM

not tested, give it a try:

edit admin/functions.php, find:

PHP Code:

if (!isset($sigcache["$post[userid]"])) {
                
$post[signature]=bbcodeparse($post[signature],0,$allowsmilies); 

Replace it as:
PHP Code:

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

N9ne 07-01-2002 06:31 PM

It did the trick very well...it worked, lol thanks :)

DWZ 11-08-2002 12:36 AM

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:
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:
Code:

<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)

PHP Code:

<SCRIPT language=Javascript>emailname "dwz";emailserver "consoleradar.com";document.write("<a href='mailto:" emailname "@" emailserver "'>");document.write("Contact Us");document.write("</a>");</script


DWZ 11-08-2002 08:56 PM

oops!

That worked...

thanks!


All times are GMT. The time now is 02:42 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00994 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete