View Full Version : Active Hack
zajako
02-19-2002, 10:00 PM
This hack places whether each member is an active member or not. If they are active then it says Active member, if not then it say s non active member. of cource you can change the text. This hack is pretty simple but it is my first and I woul like many people to give me feed back so I have confidence to post more hacks I do.
any ways here is the hack.
nafae
02-20-2002, 09:45 AM
sounds neat, any screenshots we can see?
Jawelin
02-20-2002, 10:40 AM
Which parameter makes a user active or not ?
Thnx
TWTCommish
02-20-2002, 03:21 PM
It looks like it's based on some combination of posts, posts per day, recent posts, etc. Somethin' like that. :)
zajako
02-20-2002, 03:30 PM
The paramaters to change for activeness.
// the 2 is how many posts per day to make there activeness go down.
$activeness= $postsperday / 2;
that will change there activeness. The more they post the longer they can go without posting.
on my board I use a very edited rpg hack with many cool features ( I have uploaded this to the rpg hack page by knoman), so I used this coding to make it label people with 0 hp as dead. thus in the same way you label people as inactive.
here is an ex
Kumaro
02-20-2002, 07:50 PM
nice hack, i installed it.
Psychdrone
02-21-2002, 01:56 AM
I like!
Dose this add a queiry to every post, or just one?
zajako
02-21-2002, 02:04 AM
hmm It is a post bit edit so it would be all. I am kinda new at doing this though so its hard for me to tell you an exact answer on that. But it does load fairly quickly never the less. I f you want to check it out on my pages, its a little different cause I edit the crap out of my postbit but it is a similar concept.
http://www.twistedfate.tk
or for a direct forums link
http://www2.fate-fx.com/tf/forums/index.htm (my domain is being domain squatted)
also it is mandatory reg becuase I have things related to my game called Twisted Fate, so I had to extend the agreement. I really don't care much about the members count.. also on mine newbies have the title newborn instead of dead (non-active). If you want me to update my hack to do that I will but it is pretty simple. just let me know if that is wanted. :}
Kumaro
02-21-2002, 08:32 PM
I get an error when trying to acess my admin CP after I uploaded the new functions.php
Parse error: parse error in /usr/local/psa/home/vhosts/forums.411hype.com/httpdocs/admin/functions.php on line 247
Fatal error: Call to undefined function: getuserinfo() in /usr/local/psa/home/vhosts/forums.411hype.com/httpdocs/admin/sessions.php on line 327
zajako
02-22-2002, 04:29 AM
ill look at that when I get home..Im at work now..
EDIT anyone else getting this error??
did you find the problem yet..?
Also did you have any problems with other hacks messing with this one?
wooolF[RM]
03-17-2002, 08:16 AM
got the same problem here... exactly the same
zajako
03-17-2002, 09:36 PM
errrg ill fix this when i get time....I am very short on time recently.....
ZiRu$
03-19-2002, 01:32 AM
have you fixed it?
SaintDog
03-19-2002, 03:04 AM
Try following the instructions in the below and tell me what happens, I think I fixed it.
Or find & change:
$activedis = "(Active-Member)"
to
$activedis = "(Active-Member)";
zajako
03-24-2002, 07:37 PM
Thank you very much SaintDog. I had a slight typo and forgot a semi colon. A very ez but bad mistake in php. It worked fine on mine cause i used a moded version of this I made customly for my site Thus I did not forget the semi colon....
inetd
03-25-2002, 06:08 AM
zajako, you a few could not change the hack. In hack vbStats the quantity active, non-active users is displayed. How to make so that activity it was defined as well as in Active Hack.
PLEASE :)
This code from vbStats
// Active/Non?
$snonposters=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM user WHERE posts=0');
$nonposters=$snonposters['users'];
$activemembers=$numbermembers-$nonposters;
$activityrate=sprintf("%.2f",(1000*$activemembers/$numbermembers));
zajako
03-28-2002, 03:50 PM
the active hack does not relate to the activity level or active and non-active in vb stats if that is what your talking about.
inetd
03-28-2002, 04:15 PM
I not have it in a kind. I ask to make hack which showed how many all active/non-active users and activity level. And it was determined how is determined in yours Active Hack. Please!
inetd
04-06-2002, 04:52 AM
zajako, please help me. My request is very important for me.
zajako
04-07-2002, 01:03 AM
I woulkd, but I am currently very busy working on my sites custom hacks.. sorry.
aLuCaRD
08-06-2002, 11:07 PM
Installed it, is there a way of making it multi "layered"..?
I tried obvious stuff with more then 2 sets of readings.
Maybe something like < 74 & > 50 could say something else..? Just a wonder..? :)
zajako
08-25-2002, 10:07 PM
im not quite sure exactly what you mean..
Limpkinw
08-27-2002, 08:12 PM
I think he means users in different % brackets of "activeness" would have a different ActiveState.
10% Dead Fish
20% Cold Turkey
....
90% Post-o-Matic
Something like that (I Assume).
Anyways I am a fairly active user on my forum and it shows me as non-active what exactly is determining this?
Limpkinw
08-30-2002, 02:14 AM
Anyone? :)
zajako
08-31-2002, 05:49 PM
its determined by your ppd.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.