Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Disable User Signature Details »»
Disable User Signature
Version: 1.00, by tnguy3n tnguy3n is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.0.3 Rating:
Released: 12-31-2004 Last Update: Never Installs: 15
 
No support by the author.

Modded by tnguy3n (Thinh Nguyen)
This mod allows admin to disable a user's signature if one violates or abusing forum's signature rule.

File Mod: 3
Queries: 1
Phrases: 3

Installation Time: 3-4 mins

Pls click "INSTALL" if you use it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-04-2005, 04:45 AM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by daFish
Thanks. Got that, but what about the second issue?
it's one bug of this hack, i'll look into it, and make it stuck.
Reply With Quote
  #13  
Old 01-04-2005, 02:27 PM
daFish's Avatar
daFish daFish is offline
 
Join Date: Nov 2002
Location: Germany
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tnguy3n
it's one bug of this hack, i'll look into it, and make it stuck.
Great.
Reply With Quote
  #14  
Old 01-05-2005, 03:44 PM
SternFan SternFan is offline
 
Join Date: Nov 2003
Location: Eastern PA
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by daFish
Thanks. Got that, but what about the second issue?
I got The phrase to show up by manually adding another phrase called allowsig1 with the same text, "Allow Signatures ?" to the Global phrases from the admin CP Phrase Manager. After you add that, edit the admincp/user.php file, and find this:

PHP Code:
print_yes_no_row($vbphrase['allowsig'], 'user[allowsig]'$user['allowsign']); 
With this line:

PHP Code:
print_yes_no_row($vbphrase['allowsig1'], 'user[allowsig]'$user['allowsig']); 
This takes care of both the text display on the admin CP and also the function of being able to update it. The default will now display as "Yes" instead of "No"
Reply With Quote
  #15  
Old 01-05-2005, 04:26 PM
SternFan SternFan is offline
 
Join Date: Nov 2003
Location: Eastern PA
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by daFish
Is it possible to add the function so moderators and super moderators are allowed to use this mod?

Yes, I added it to my mod profile editor, that way only mods that you give profile editing permissions to are able to disable sigs. In the /modcp/user.php file, find:

PHP Code:
print_input_row($vbphrase['icq_uin'], 'user[icq]'$user['icq'], 0); 
And above it insert:

PHP Code:
print_yes_no_row($vbphrase['allowsig1'], 'user[allowsig]'$user['allowsig']); 
Note: this will only work if you have completed the fixes I listed in my thread above.
Reply With Quote
  #16  
Old 01-06-2005, 11:37 AM
daFish's Avatar
daFish daFish is offline
 
Join Date: Nov 2002
Location: Germany
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, i'll take a look into it. Thank you SternFan.
Reply With Quote
  #17  
Old 01-10-2005, 01:34 PM
SternFan SternFan is offline
 
Join Date: Nov 2003
Location: Eastern PA
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by daFish
Excellent, i'll take a look into it. Thank you SternFan.
No problem!
Reply With Quote
  #18  
Old 01-12-2005, 01:27 AM
babolo babolo is offline
 
Join Date: May 2004
Location: California
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok signatues are automatically set to no when a user registers. How can I make it so its not?
Reply With Quote
  #19  
Old 01-25-2005, 04:47 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ SternFan, thanks for the bug fix, but technically, you don't have to add any additional phrase. There's one typo, $user['allowsign'] , which should be $user['allowsig'] .
I updated the instruction, it should work now.

For those who installed and didn't have it worked, open admincp/user.php,
FIND:
Code:
print_yes_no_row($vbphrase['allowsig'], 'user[allowsig]', $user['allowsign']);
REPLACE WITH:
Code:
print_yes_no_row($vbphrase['allowsig'], 'user[allowsig]', $user['allowsig']);
@ babolo , it's possible, but it requires addional hack in register.php file.
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 03:35 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.05286 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete