Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 2003
Posts: 107
Journeyman
Journeyman
Joined: Dec 2003
Posts: 107
Hi, I'd like an option to limit the users that are shown in the user list to members whom have made a certain minimum number of posts. It would be nice though if administrators and moderators could still see the full list. This way only active users (with a minimum post count I definbe) will show up in the list, and that way I also avoid all the spammers signing up just to put their link in the list for search engines to see.

A mod like this (for 6.5) would be greatly appreciated

Sponsored Links
Joined: Dec 2003
Posts: 107
Journeyman
Journeyman
Joined: Dec 2003
Posts: 107
Just an update. I've decided to try to hire someone to do the mod here

Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
Code
 In showmembers.php<br /><br />Search for:<br /><br />// --------------------------------------------------<br />// Grab the total number of users out of the database<br /><br /><br />Insert above:<br />if ( ($user['U_Status'] != 'Moderator') && ($user['U_Status'] != 'Administrator')){<br />	$ShowOnlyActiveUsers = " AND U_TotalPosts > 10 ";<br />}<br /><br /><br />Search for:<br />	$andlike<br /><br />Insert below:<br />	$ShowOnlyActiveUsers <br /><br />(this appears in 2 places, insert in both places)<br /><br />'10' is the miminum number of posts to be shown. 

Joined: Dec 2003
Posts: 107
Journeyman
Journeyman
Joined: Dec 2003
Posts: 107
Thank you so much Anno!! That's exactly what I was looking for and it works perfectly!

Joined: Jul 2005
Posts: 3
Lurker
Lurker
Offline
Joined: Jul 2005
Posts: 3
Thx I also use this..

Sponsored Links

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
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 254
Joined: January 2000
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
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,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
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-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)