Previous Thread
Next Thread
Print Thread
Rating: 5
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
Mod Name / Version: Show Post Count to Admins and Mods only 2.0

Description: Allows the administrator to select whether the Post Count will be displayed on the forum (for each user) and to whom (admins, admins and mods, all, none). Very useful modification if you have users (I have one of them) who don't have anything to do all day and loiter the forum with posts that contain either one laughing graemlin or words of wisdom like "I agree" - so that they can increase their post count.

Working Under: UBB.Threads 6.5

Mod Status: Finished

Any pre-requisites:

Author(s): dimopoulos

Date: 06/01/04

Credits: dimopoulos for original code. adapted to 6.5 by scroungr

Files Altered: showflat.php, templates/default/showflat.tmpl, showthreaded.php, templates/default/showthreaded.tmpl, showprofile.php, templates/default/showprofile.tmpl, showmembers.php, templates/default/showmembers.tmpl, admin/features.php, admin/dofeatures.php, languages/.../admin/features.php, templates/default/admin/features.tmpl
,

New Files: None

Database Altered: No

Info/Instructions: INSTALLATION (9 Steps)

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Attachments

Sponsored Links
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
A different aproach would be to exclude users from having the post count upped

in addpost.php:


// ------------------------
// Up their totalposts by 1
if ($Username != "trouble_maker"){
$Totalposts = $user['U_Totalposts'] + 1;
}


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
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)