The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Limiting the size of the user signature
Sorry about the last post, I actually have Version 2.3.0 and I'm wondering if there's anything I can do to limit the size of the user's signatures. Any help would be great, thanks.
|
#2
|
||||
|
||||
there are some hacks around which will help you with this issue.
I'm sure you'll find em with the Searchfunction |
#3
|
||||
|
||||
I recently created an unpublished hack where I limit the users' signatures to 10 lines and 2000 characters max. My forums have very high traffic and I could not afford to make this a real time hack. Instead I added a shadow signature field to the user table and put a copy of the possibly truncated signature in the shadow at the time when the user edits his/her signature. The shadow signature is the one that I display in the threads.
The reason for the shadow is to prevent the users from losing data in the sig by doing a merciless truncation. Let me know if this hack is of use to anyone and I will release it. |
#4
|
||||
|
||||
hmm Zzed, why don't you do it like i did here on vb.org.
Whenever someone submists an invalid sig, within the usercp, he get's an errormessage containing the sig rules. that way he doesn't loose any data, and also you don't have to change the db structure |
#5
|
||||
|
||||
Quote:
But my other reason for doing it the way I did stems from my laziness. I didn't want to code any intermediate error screens to enforce the sig guidelines. |
#6
|
||||
|
||||
Yes, it's unpublished
hehe, that's the advantage of several admins, erwin made some good bbcodes which i used within the error msg to display. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|