php forum
php mysql forum
php mysql smarty
 
Topic Options
#285803 - 07/16/05 07:42 PM User List limited by post count
Magle Offline
Journeyman

Registered: 12/22/03
Posts: 109
Loc: Denmark
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.<br /><br />A mod like this (for 6.5) would be greatly appreciated <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
my forum: Magle International Music Forums

Top
#285804 - 07/24/05 05:10 AM Re: User List limited by post count [Re: ]
Magle Offline
Journeyman

Registered: 12/22/03
Posts: 109
Loc: Denmark
Just an update. I've decided to try to hire someone to do the mod here
_________________________
my forum: Magle International Music Forums

Top
#285805 - 07/28/05 01:28 AM Re: User List limited by post count [Re: ]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
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') &amp;&amp; ($user['U_Status'] != 'Administrator')){<br />	$ShowOnlyActiveUsers = " AND U_TotalPosts &gt; 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. 

Top
#285806 - 07/28/05 06:02 AM Re: User List limited by post count [Re: domain123]
Magle Offline
Journeyman

Registered: 12/22/03
Posts: 109
Loc: Denmark
Thank you so much Anno!! That's exactly what I was looking for and it works perfectly! <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
my forum: Magle International Music Forums

Top
#285807 - 07/29/05 06:13 PM Re: User List limited by post count [Re: ]
Sjoerd_ Offline
Lurker

Registered: 07/29/05
Posts: 4
Thx I also use this..
_________________________
Geld Lenen - Lenen Zonder BKR

Top


Top Posters Last 30 Days
AllenAyres 83
Gizmo 29
sirdude 25
Zarzal 23
blaaskaak 12
swebs 6
willing 5
Who's Online
2 Registered (Djuma, Gizmo), 47 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
User Authentication Class
by sirdude
54 minutes 29 seconds ago
Multiple Identity Detector
by Myke
Today at 05:45 AM
FlashChat with UBB.Threads 7.0.2
by Gizmo
Today at 12:30 AM
Nice Ajax Chat
by Thelockman
07/06/08 09:07 AM
[7.x] UBB.Post Templates v0.1
by sirdude
07/05/08 12:48 PM
Team UBBDev Rides Again!
by AllenAyres
07/04/08 10:56 PM
[7.3.x] ubb.links
by AllenAyres
07/03/08 06:15 PM
New Mods
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
Newest Members
nunny, lpzie, DoubleDutch, ryzilla, M4D
13305 Registered Users

 

 

 
fusionbb message board php hacks