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

   User List limited by post count to Del.icio.us Add to del.icio.us
  Digg User List limited by post count Digg it
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 12
Gizmo 10
S7ARBVCK 2
blaaskaak 2
Cambridge 1
Murphdog 1
MattUK 1
Who's Online
0 Registered (), 25 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
BeyondCompare v3.00
by blaaskaak
09/05/08 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks