Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Maximum Characters Of user Signature Details »»
Maximum Characters Of user Signature
Version: 1.00, by mem mem is offline
Developer Last Online: Nov 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-30-2002 Last Update: Never Installs: 6
 
No support by the author.

Hack description : Allow you to set maximum characters of users signature.

## Note :
## 1. Install this Hack will have some changes of your database, please backup your database, php files &
## templates whitch are goning to be edit!!
## 2. We "DO NOT" take any responsibility if that cause you any damage !!
## 3. Author has tested in localhost with Vbulletin 2.2.4 only, if you are using different version of
## vBulletin & you install this hack successful and works find, please reply a message to where you
## download this file, and tell other people whitch version of vBulletin can install this hack.

Show Your Support

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

Comments
  #2  
Old 03-31-2002, 04:34 AM
Marshalus's Avatar
Marshalus Marshalus is offline
 
Join Date: Nov 2001
Location: Lawrence, KS
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"We" talk in the third person huh Nice hack!
Reply With Quote
  #3  
Old 04-03-2002, 11:56 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ummm example please?
Reply With Quote
  #4  
Old 10-04-2002, 07:23 AM
fridayweb's Avatar
fridayweb fridayweb is offline
 
Join Date: Jun 2002
Location: F13 Headquarters
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone tried this on 2.2.6 or 2.2.8?
Reply With Quote
  #5  
Old 04-15-2003, 04:29 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

work fine in 2.3.0

However, there's a small note:
in the install_signaturemaxchars.php file, there's a install db section:

Code:
// ###################### Start install db #######################
if ($action=="db") {

  doformheader("$installer","done");
  maketableheader("Modifying your database");
  $DB_site->query("INSERT INTO setting VALUES (NULL,8,'Maximum Characters Of Signature','signaturemaxchars','100','The maximum number of characters that you want to allow in users signature. Set this to 0 to disable it.','',15)");
  maketableheader("Add signaturemaxchars....Success!");
  maketableheader("Adding Template error_maxsignature ");
  $DB_site->query("INSERT INTO template (templateid,templatesetid,title,template) VALUES (NULL,'1','".addslashes(error_maxsignature)."','The signature text that you have entered is too long. Please shorten it to \$signaturemaxchars\ characters long.')");
  maketableheader("Add Template....Success!");

  doformfooter("done","",2);
  #echo "<p><b>Finish $hackname $hackversion installation,".makelinkcode("Next Step ==>","$installer.php?s=$session[sessionhash]&action=done").".</b></p>";

In this case, the templatesetid for error_maxsignature is 1.
If your templatesetid is different, correct it or add into your current templateset.
Reply With Quote
  #6  
Old 05-17-2003, 11:54 PM
ga.net ga.net is offline
 
Join Date: Jan 2003
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to uninstall this hack??
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:05 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.06550 seconds
  • Memory Usage 2,245KB
  • Queries Executed 19 (?)
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)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (5)postbit
  • (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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete