NTLDR
09 Jan 2004, 23:42
Show Only Active/Certain Usergroups In Member Count
Details:
Author: NTLDR
Version: 1.0.1
Requested by: kie (here) and xtremeathlonxp (here).
Description: This hack will alter the member count shown on the forums home page to exclude certain usergroups or only include members with X posts. PLEASE NOTE: the member count will only alter to effect the new totals when the stats update, ie when a new user registers.
Changes to make:
In includes/functions_databuild.php find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with (if you only want to exclude certain groups) (replace X and Y with the usergroupids to exclude):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
or Replace with (if you only want to show members with X posts) (replace W with the number of posts a user must have):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
or Replace with (for both of the above):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Please click install if you use this hack :)
Details:
Author: NTLDR
Version: 1.0.1
Requested by: kie (here) and xtremeathlonxp (here).
Description: This hack will alter the member count shown on the forums home page to exclude certain usergroups or only include members with X posts. PLEASE NOTE: the member count will only alter to effect the new totals when the stats update, ie when a new user registers.
Changes to make:
In includes/functions_databuild.php find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with (if you only want to exclude certain groups) (replace X and Y with the usergroupids to exclude):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
or Replace with (if you only want to show members with X posts) (replace W with the number of posts a user must have):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
or Replace with (for both of the above):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Please click install if you use this hack :)