php forum
php mysql forum
php mysql smarty
 
Topic Options
#285899 - 08/03/05 10:41 AM Finished-[6.5] User List Display Limited by Post Count 1.0
Magle Offline
Journeyman

Registered: 12/22/03
Posts: 109
Loc: Denmark
Mod Name / Version: User List Display Limited by Post Count 1.0 <br /> <br />Description: Users and Guests (if allowed to see the user list), will only see members with a certain minimum post count. Moderators and Administrators still have access to the full list. <br /> <br /> <br />Working Under: UBB.Threads 6.5 <br /> <br />Mod Status: Finished <br /> <br />Any pre-requisites: None <br /> <br />Author(s): Anno <br /> <br />Date: 08/03/05 <br /> <br />Credits: <br /> <br />Files Altered: showmembers.php <br /> <br />New Files: none <br /> <br />Database Altered: no <br /> <br />Info/Instructions:
Code:
 <br /> 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; 9 "; <br />} <br /> <br /> <br />Search for: <br />   $andlike <br /> <br />Insert below: <br />   $ShowOnlyActiveUsers <br /> <br />(this appears in 2 places with no other code on the same line (as $andlike), insert in both places) <br /> <br />'9' determines the miminum number of posts to be shown, this can be changed to any desired value. If set to 0 only members with 1 or more posts will be shown. 
<br /> <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />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.

Top
#285900 - 08/05/05 11:47 AM Re: Finished-[6.5] User List Display Limited by Post Count 1.0 [Re: ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
danke! <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top


Moderator:  Ian_W 
Who's Online
0 registered (), 23 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Today at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
Yesterday at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks