But since no one helped me out i went @ it alone and i have fixed several problems and one main problem that was in the other on was that if you added all the numbers togeather it equeled more members than you got but i sorted it now
and on the old on the Author never helped anyone out but here it is now
if you like it and it works great please click the Install Button
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by dadymac ok, installed, the 1 post and 0 post is working fine (gj) but the non-active seems to be really sensitive, and the active thing is really picky, hence of my 300 members, 6 are active, when in truth it should be near like 80 or so at the very least.
d00d the none active memberslist makes users who aint posted for 1 mounth show and the Active list shows everyone else who has posted within 1 mounth
I have installed it, and I have a few comments.
The active members show up as a negative number,
and when I click on a list, it displays from Z-A, and not from A-Z, which has my preference. I changed the DESC to ASC in the memberlist.php code to reflect those changes.
However, users who are set as active, show up on the inactive list too. I can't see what is wrong there though.
Your readme says VBB- but it is vB but that is really besides the point. It works on 2.2.7
Originally posted by xiphoid I have installed it, and I have a few comments.
The active members show up as a negative number,
and when I click on a list, it displays from Z-A, and not from A-Z, which has my preference. I changed the DESC to ASC in the memberlist.php code to reflect those changes.
However, users who are set as active, show up on the inactive list too. I can't see what is wrong there though.
Your readme says VBB- but it is vB but that is really besides the point. It works on 2.2.7
d00d to fix this in the memberlist
find in memberlist.php
Code:
// start 0-poster display hack v1.0 by Wolfe
if ($what=="0-posters") {
$condition.=" AND posts < '1'";
$orderby="DESC";
$direction="";
}
if ($what=="oneposters") {
$condition.=" AND posts < '2' AND posts > '0'";
$orderby="DESC";
$direction="";
}
if ($what=="active") {
$condition.=" AND posts>'0'";
$orderby="lastactivity";
$direction="DESC";
}
if ($what=="inactive") {
$lastmonth = mktime (0,0,0,date("m")-1,date("d"),date("Y"));
$lastmonth2 = date("Y-m-d", $lastmonth);
$condition.=" AND joindate<UNIX_TIMESTAMP('".addslashes(strtolower($lastmonth2))."') AND lastpost<UNIX_TIMESTAMP('".addslashes(strtolower($lastmonth2))."')";
$orderby="lastactivity";
$direction="DESC";
}
// end 0-poster display hack v1.0 by Wolfe
and replace with
Code:
// start 0-poster display hack v1.0 by Wolfe
if ($what=="0-posters") {
$condition.=" AND posts < '1'";
$orderby="username";
$direction="ASC";
}
if ($what=="oneposters") {
$condition.=" AND posts < '2' AND posts > '0'";
$orderby="username";
$direction="ASC";
}
if ($what=="active") {
$condition.=" AND posts>'0'";
$orderby="username";
$direction="ASC";
}
if ($what=="inactive") {
$lastmonth = mktime (0,0,0,date("m")-1,date("d"),date("Y"));
$lastmonth2 = date("Y-m-d", $lastmonth);
$condition.=" AND joindate<UNIX_TIMESTAMP('".addslashes(strtolower($lastmonth2))."') AND lastpost<UNIX_TIMESTAMP('".addslashes(strtolower($lastmonth2))."')";
$orderby="username";
$direction="ASC";
}
// end 0-poster display hack v1.0 by Wolfe