The Arcive of vBulletin Modifications Site. |
|
Maximum Characters Of user Signature Details »»
|
|||||||||||||||||||||||||
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
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
"We" talk in the third person huh
Nice hack!
|
|
#3
|
||||
|
||||
|
ummm example please?
|
|
#4
|
||||
|
||||
|
Anyone tried this on 2.2.6 or 2.2.8?
|
|
#5
|
||||
|
||||
|
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. |
|
#6
|
|||
|
|||
|
Is there a way to uninstall this hack??
|
![]() |
|
|