View Full Version : [RELEASE v2] 0-Posters, active posters, inactive posters display hack.
DEMOLiTiON
08 Jul 2001, 20:19
Hello,
This hack will display members that have 0 posts, or are inactive, or are active in the memberlist.
(members that are longer than one month registered, and haven't been posted for a month will be displayed)
Tested on php 4.0.4pl1 and vB 2.0.1
I am still trying to make a hack to display the top 10 thread starters, if somebody can make this, please reply.
01. memberlist.php
Find,
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Under it add,
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
02. open index.php
Find,
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Under it add,
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
03. open your forumhome template, and place this code somewhere.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
04. done
AS_Eagle_1
08 Jul 2001, 22:29
Nice Hack,
If u wanna see it visit our Board (http://www.as2001.f2s.com/board/index.php)
(its on f2s till our webserver is rdy for php4)
i've translate it in german but u can see it working.
but there ist a small error in your code:
<A HREF="memberlist.php?s=$session[sessionhash]&what=lamers">$nonposters 0-posters</A> |
it must be:
<A HREF="memberlist.php?s=$session[sessionhash]&what=0-posters">$nonposters 0-posters</A> |
sorry for my bad english
greets
AS_Eagle_1
(Sascha)
DEMOLiTiON
08 Jul 2001, 23:08
lol, forgot that sorry :D
btw, how did you do that clan listing in your memberlist?
AS_Eagle_1
08 Jul 2001, 23:37
this clan listing is verry simple.
i've greated a user profile field and make it as a necesarry field.
then i've added a new colume in the memberlist template and added in the memberlistbit
<td bgcolor="#DFDFDF" align="center"><normalfont>$userinfo[field5]</normalfont></td>
[field5] must be replace with the id of the userfield.
if u wanna show the content of this field in the posts under the usrs name like location read this thread:
http://www.vbulletin.com/forum/showthread.php?s=&threadid=10240&highlight=profile+field+%24userinfo
DEMOLiTiON
08 Jul 2001, 23:44
cool thnx :)
stefanh3
20 Jul 2001, 05:17
Maybe you'de like to combine it with my activity rate hack posted some time ago:
http://www.vbulletin.com/forum/showthread.php?threadid=19227
this could be a nice hack to add to my board..
thx
ShadowTech
23 Jul 2001, 01:52
One small bug I noticed ... the Active users also counts the Non-Active in the total number.
I dunno if it is just me.. so someone else who installed this .. add up the 3 numbers (0-posters, Active + Non active) and see if it's the same as your total registered members.
I tried changing the
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
but it still didn't give me the right number for Active - inactive. All the original code is doing i removing the 0-posters from the total registered to get active.. so if a board has a lot of inactive members that have at least posted one.. you'll get some numbers that add up to a lot higher than total registered.
Again.. it's just a small bug.. but would be great to see a fix.
Sinclair
27 Jul 2001, 13:08
I´ve modified this hack, now it shows users with one post.
01. memberlist.php
find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
under it add
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
02. index.php
find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
under it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
03. forumhome template
find:
<A HREF="memberlist.php?s=$session[sessionhash]&what=0-posters">$nonposters 0-posters</A> |
<A HREF="memberlist.php?s=$session[sessionhash]&what=active">$activemembers active members</A> |
<A HREF="memberlist.php?s=$session[sessionhash]&what=inactive">$inactive non-active members</A>
under it add:
<A HREF="memberlist.php?s=$session[sessionhash]&what=oneposters">$oneposters Users with one post</A>
Originally posted by ShadowTech
One small bug I noticed ... the Active users also counts the Non-Active in the total number.
I dunno if it is just me.. so someone else who installed this .. add up the 3 numbers (0-posters, Active + Non active) and see if it's the same as your total registered members.
I tried changing the
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
but it still didn't give me the right number for Active - inactive. All the original code is doing i removing the 0-posters from the total registered to get active.. so if a board has a lot of inactive members that have at least posted one.. you'll get some numbers that add up to a lot higher than total registered.
Again.. it's just a small bug.. but would be great to see a fix.
I'm having the same problem. :(
Clueless
18 Aug 2001, 21:50
How do you reset this hack for a new month ??
I mean i've just been setting the board up and installed this hack and it shows 9 of my members as 0-posters ??? which i need to reset it to so 0 0-posters ???????
Originally posted by FireFly
I'm having the same problem. :(
Yea.
I'm having the problem with the active + inactive != total
i changed the calculation to this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and it seems to work, that is, inactive+active=total
DarkManX_19
14 Oct 2001, 20:41
would it be possible to add the number of users that have been banned or restricted???
erm well its not working right because some of the inactive members are in the active members screen aswell someone help :D
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.