Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-07-2005, 11:31 PM
CrazyLady CrazyLady is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default ... change everyone's user profile to NOT show signatures.

My board is running slow because of everyone's elaborate signatures. I want to change the default to being able to view a persons signature to NO, including guests. Then once that is changed, those who do want to see them can go to their usercp and make the change back. I find I have a lot of members who are clueless in this respect and making this change, especially for guests could make a HUGE difference.

thanks for your input.

--------------------------
Ok, I have set the registration options to NOT show signatures for new users and I edited my postbit and put the if statement to only allow members to see signatures, in turn disabling guests from seeing signatures.
Code:
<if condition="$show['member']">  
  <if condition="$post['signature']">
  <!-- sig -->
   <div>
    __________________<br />
    $post[signature]
   </div>
  <!-- / sig -->
  </if>
<else />
</if>
Now, I need to know what MYSQL command to change all pre-existing members profile options from show signatures to NOT show signatures. I have looked in the MYsql database, but cannot find it nor am I entirely sure as to what command to type in. Your help would be appreciated.

thanks
Reply With Quote
  #2  
Old 09-09-2005, 02:15 PM
stuie_b stuie_b is offline
 
Join Date: Jul 2005
Location: Newcastle, UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The attached script should do it all for you (it worked when i created it)

simply put the remove_sig.php file into the admincp folder and run

hope it helps
Attached Files
File Type: zip Remove Sig.zip (1.2 KB, 8 views)
Reply With Quote
  #3  
Old 09-09-2005, 02:37 PM
CrazyLady CrazyLady is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, however I don't want to remove their signatures, I want to change their option settings from "show signatures" to NOT to show signatures.
Reply With Quote
  #4  
Old 09-09-2005, 07:53 PM
stuie_b stuie_b is offline
 
Join Date: Jul 2005
Location: Newcastle, UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry for the bad choice of words it doesn't actually remove the sig it simply changes there options to turn it off.

stuie b
Reply With Quote
  #5  
Old 03-16-2007, 07:54 AM
SnitchSeeker's Avatar
SnitchSeeker SnitchSeeker is offline
 
Join Date: Sep 2004
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really like this thread. I have had some of the same problems. I was wondering if there was a way to change the script so it only removes siggies (changes view option) for users in a specific user group (in my case "members").
Reply With Quote
  #6  
Old 03-17-2007, 02:35 AM
Damian's Avatar
Damian Damian is offline
 
Join Date: Jan 2005
Location: Kentucky
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CrazyLady View Post
Thanks, however I don't want to remove their signatures, I want to change their option settings from "show signatures" to NOT to show signatures.
You can do this from your Admin Control Panel.
AdminCP -- Maintenance--> Execute SQL Query --> Automatic Query --> From the drop down menu, select: Off - Display Signatures.

Your config.php must be set to allow your user ID to run queries from the AdminCP.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04142 seconds
  • Memory Usage 2,225KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete