vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Disable sign in wanted forums (https://vborg.vbsupport.ru/showthread.php?t=60081)

VBDev 01-12-2004 09:43 PM

in the mps ??? yu sure ?

I'll take a look but this is strange

VBDev 01-12-2004 09:48 PM

oh yes you were right:

in includes/functions_showthread.php

Search

PHP Code:

AND $forum['showsign'

Replace by

PHP Code:

AND ($forum['showsign'] OR THIS_SCRIPT=="private"


Zip updated !!!

Boofo 01-12-2004 10:13 PM

That almost works. Except now you can't stop the sig from showing when you uncheck the Show your signature checkbox. It shows no matter what.

VBDev 01-13-2004 04:08 AM

Hummmm I'll check that tonight cose now I must go to the uni

edit:

do you mean that it shows in the mps even if you uncheck ?

Boofo 01-14-2004 09:56 AM

Yes. It shows in the pms, no matter what, checked or unchecked.

VBDev 01-14-2004 01:28 PM

As I have no mean to test, could you try that:

Delete the last modifications so that now you just have

PHP Code:

AND $forum['showsign'

instead of

PHP Code:

AND ($forum['showsign'] OR THIS_SCRIPT=="private"

And before

PHP Code:

        // get signature
        
if ($post['showsignature'] AND ... 

Add

PHP Code:

if(THIS_SCRIPT=="private")
    
$forum['showsign']=1

But I still find it strange so I hope this will fix :)

eXtremeTim 01-14-2004 02:07 PM

I changed the way this works. It now is for hide signature in a forum not show. This method works 100% with pms and users options to hide sigs and will be defualt show sigs in all forums. I hope this helps all of you that were having problems with how it was working before.

VBDev 01-14-2004 03:47 PM

lol extremtim you made the things in the other way good idea it's lot more simple to think this way :)

I'll attach your attachment file in the first post thx :)

Boofo 01-14-2004 04:24 PM

And it solved the prtoblem. :)

I am attaching another update that will allow you to turn of the signature checkboxes if that forum doesn't allow signatures. No sense in having a checkbox if sigs aren't allowed in that forum, anyway. Check the code, though. I changed showsign to showsigs throughout the code. Made more sense to me. )

eXtremeTim 01-14-2004 05:11 PM

Quote:

Originally Posted by VBDev
lol extremtim you made the things in the other way good idea it's lot more simple to think this way :)

I'll attach your attachment file in the first post thx :)

Im glad to help. :)

Nice little addon boofo.


All times are GMT. The time now is 07:12 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.01976 seconds
  • Memory Usage 1,737KB
  • 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
  • (6)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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