vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Signatures on/off per member (https://vborg.vbsupport.ru/showthread.php?t=41411)

Smoothie 07-24-2002 03:37 AM

didn't work. img sig shows for a user that isn't allowed, and didn't have one before.

Xenon 07-24-2002 10:03 AM

the query:
[sql]UPDATE user SET isallowedsig=0[/sql]

no it has an effect on using signatures complete!
you didn't say anything about just disable img use in sigs

Boofo 07-24-2002 10:20 AM

Is there a way to make it not allow ANY signature if enabled, no matter what is in it?

Quote:

Originally posted by Xenon
the query:
[sql]UPDATE user SET isallowedsig=0[/sql]

no it has an effect on using signatures complete!
you didn't say anything about just disable img use in sigs


Xenon 07-24-2002 10:28 AM

that's what i said.
it just enebles or disables signatureuse for users completly

Quote:

Originally posted by Boofo
Is there a way to make it not allow ANY signature if enabled, no matter what is in it?



Boofo 07-24-2002 10:45 AM

Oh, Ok, I'm sorry. I guess I misunderstood what Smoothie was talking about with the images then. :) This is what I wanted anyway. :)

Quote:

Originally posted by Xenon
that's what i said.
it just enebles or disables signatureuse for users completly



Smoothie 07-24-2002 05:51 PM

Xenon-

Sorry about that! But, i just tried again, and with the allow sig set to 0 in the admin cp under edite user, the user is still able to use a signature. I think I have understood what this does, but as far as i can tell, it still allows any kind of signature, text, or img code.

Xenon 07-24-2002 06:12 PM

@smoothie: try to apply the changes i told boofo for editpost to to also at newreply.php:
after
PHP Code:

 $signature=iif(trim($signature)=="yes",1,0); 

add:
PHP Code:

if(!$bbuserinfo[isallowedsig]) $signature=0

seems i have forgotten this line ;)

Boofo 07-24-2002 08:29 PM

Does this go in WITH the change you told me or instead of the changes?

Quote:

Originally posted by Xenon
@smoothie: try to apply the changes i told boofo for editpost to to also at newreply.php:
after
PHP Code:

 $signature=iif(trim($signature)=="yes",1,0); 

add:
PHP Code:

if(!$bbuserinfo[isallowedsig]) $signature=0

seems i have forgotten this line ;)


Chris M 07-24-2002 08:33 PM

As well as...

Satan

Boofo 07-24-2002 08:42 PM

I added the code to newthread.php, also. :)


All times are GMT. The time now is 01:42 AM.

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.01115 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete