Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2001
Posts: 34
Member
Member
Offline
Joined: Oct 2001
Posts: 34
OK, here is another idea. I don't know if this has already been done or not, so it may not be a new idea for you people. I have some members on my board (v5.47e) that instead of having a few words or lines as their signature, they insist on including a short novel instead.

Is there a way to limit the number of characters to a signature?

Thanks in advance...

Sponsored Links
Joined: Feb 2001
Posts: 108
p2k Offline
Member
Member
Offline
Joined: Feb 2001
Posts: 108
Try this, hopefully it will do what you need it to do.

open up ubbmisc.cgi

search for:

Code
code:

Change COLS=25 to COLS=1 and ROWS=3 to ROWS=1

peetwokewl4u!

Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
All that will do is make the text box for entering the sig smaller....which might put some users off...but will in no way limit what they can put there.

I have the "Limit Signature Length" installed on a couple boards...it simply limits the number of characters allowed in the sig. It has it's good points and bad..but it works(ish)!! smile

I've uploaded it here:

Sig Limit Hack

Credit info is located inside the text file...it is NOT mine to claim...not defend. smile I could not find this in the database here...I'll see about getting it added. I might have missed it though! smile

Joined: Oct 2001
Posts: 34
Member
Member
Offline
Joined: Oct 2001
Posts: 34
Thanks Vipermad,

I did get the script to work however, there were a few differences.
Where I had to look for this in ubbmisc.cgi

Code
code:

I couldn't find it at all. I found two occurrences of this:

Code
code:

And placed this underneath at both occurrences:

Code
code:

I then went to the General Setting in the control panel and set the character limit. I know it wont change any of the character limits in the existing sig's, but it works for new members and existing members updating their profile.

Thanks...


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)