![]() |
Number of threads you have viewed (I think)
|
Quote:
YOU CAN EDIT THIS CODE AS YOU LIKE. It's produces a number of how active that user is on your forum.:( :) |
what is how active?
I installed it and it didnt post anything next to glamour in profile rc3 |
Quote:
|
This hack is really good. I really like it. You can use it as a activity level. It's very simple to customize. How you want to customize it. Look here
2*$userinfo[posts]+$personal0[personalviews] In this equation it will take the total number of posts the user has times it by 2 and add the total of views the user has. So if that user has 10 posts and has viewed 50 threads his activity level would be at 70. You can make it so it divides by 100 to use smaller numbers. Only thing missing is replies which would be nice. Ok I came up with this little add-on. There are two types of installations. People who use tubedoggs User started X threads hack do this: ***Go to member.php and find Code:
$startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'"); Code:
$personal0 = $DB_site->query_first(" ***open member.php and find Code:
eval("\$birthday = \"".gettemplate("getinfo_birthday")."\";"); Code:
$startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'"); |
Ah so it's like an Activity Index number sort of thing, which gives credits for posts and views.
Thats quite nice I think. Not sure if I could be bothered to install it though!! |
Ah, I see - thanks! Since I disabled views I'm not sure I could use this!
|
Even if you've disabled views they are still counted as far as I know.
What I would like to know is if this hack is backwards compatible. I'm not sure there is anything recording views per person at the moment so I'm not sure how my current members can get an activity index based on what they have done in the past rather than what they do after the hack is installed. |
Quote:
|
ah well if you've actually removed it from the code as opposed to just not displayi it then it wouldn't !
|
All times are GMT. The time now is 05:55 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|