Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2002
Posts: 136
Member
Member
Offline
Joined: Jun 2002
Posts: 136
i know this is the 6.3 forum but I seen more people online in this one
We are running 6.2.1 I was wondering has anyone seen a mod where the post count goes down each time the person posts?

We got some people who like to post ***** and wann make there count go down each time the post from now on.

Sponsored Links
Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
Nope, but it isn't so hard to do.

You could, for example, create a new file named "spammers.cgi" and save it in your Members directory, then write the user numbers in it of your little spammers (each on it's own line).

Then, in ubb_new_reply.cgi and ubb_new_topic.cgi find:

# update member file

Above you could add a little check to see if this member matches one of your spammers, something like:

Code
[/code]Find:
Code
</pre></div></div>Immediately after you'll see:<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Replace with:
[code]
That should do the trick.
Uhm, I haven't tested it, and I used UBB v6.3 for reference, but I don't think there are any major differences.

And as always, backup the files before you start modifying! wink

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Just remove that else { $is_spammer = ''; thing, and it should work smile

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
Hahaha, yes.
I think it's time to get some rest. :rolleyes:


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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)