|
|
Joined: Mar 2001
Posts: 172
Member
|
Member
Joined: Mar 2001
Posts: 172 |
I've seen this hack before, I think on spawn's site before it went to "elite" or something, but now can't find it in database or anywhere else.
So can anyone come up with the quick code for this or post the hack if they have it?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Can you explain this hack? I've never heard of it before.
|
|
|
|
Joined: Mar 2001
Posts: 172
Member
|
Member
Joined: Mar 2001
Posts: 172 |
It's a pretty simple concept... When a user starts a new topic, they enter a headline/title or whatever you want to call it in the Subject: field.
The hack was to get rid of annoying headlines that people start with a normal letter like "how do I fix this?", it would automatically fix it to "How do I fix this?".
Basically it would capitalize every first letter entered in the Subject: field. It'd come in handy for us since I try to keep all topic headlines neat, and fixing it all manually is a pain in the ass.
|
|
|
|
Joined: Apr 2001
Posts: 57
Member
|
Member
Joined: Apr 2001
Posts: 57 |
Use "ucfirst".
In postings.cgi FIND this: $StatsLine = "A||$Notes||0||$UserName||$TopicSubject||||$MsgIcon||";
Add BEFORE it $TopicSubject=ucfirst($TopicSubject);
I think that should work.
|
|
|
|
Joined: Mar 2001
Posts: 172
Member
|
Member
Joined: Mar 2001
Posts: 172 |
Ah treszoks, another excellent hack, works like a charm. Thanks a million!
|
|
|
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.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|