![]() |
Quote:
Code:
if(isset($WWU002activityPoints)){ |
Well, I got the activity to show up on my Welcome block thanks to everyone's help here....
Would it be possible to integrate this with usergroup promotions? I am trying to find a way to only allow active users the ability to post in the free classifieds (photopost classifieds) which is integrated with vbulletin usergroups... For example.... only people who maintain a 20% activity level would be included in a custom usergroup, and if their activity falls below this, they drop out of the usergroup until their activity increases to the set level again....... I now require XX amounts of posts to be able to use the classifieds, but find people just post junk until they reach this level and then stop contributing... This feature would take care of that problem.... I know this might be asking a lot....but i am willing to hire someone to do this if it is possible within reason.... Anyone? I think this would be an awesome feature that coule be used in many ways. I also would not have to keep it to myself if someone wants to code it and share it on my dime. Thanks, Lance |
At one point, I had started work on such a system, but I accidentally wiped it out. The biggest issue is with demotions. A user's activity only gets updated when they visit or when their posts or profile is viewed. This means that it's possible to come back after a month of inactivity and have the old usergroup untill the next time promotions are run. It is, of course, possible to just do activity for everyone at once, however the process would be very server intensive, which is why I do it the way it is now.
Glad to hear that you got it sorted out on your own; sorry I hadn't gotten the chance to look into it for you yet. |
Quote:
If promotion/demotion can be added to this hack I?ll install it. In any case, excellent hack :) |
Quote:
OOps.... reading it again, I guess it would be the activity you would want to run a scheduled update for? and then promotions? Thanks Again, Lance |
in my post_legacy graphic... under longevity, it says this:
"User has been a member for 76114f the board's existence....etc.." Why does it say "76114f"???? shouldnt that be a variable of some kind, i followed the instructions, but it still says it... sometimes it says another large number, but basically it seems like i left a variable out or something, any ideas???? NEVERMIND, fixed! thanks! |
Quote:
I set the code as a plugin in global_start hook and used the variable "$user[activity]" in my template but just only gives me 0% anyone know why it doesnt work? |
Answered my own question.
|
I installed the file as it said. It shows up as active and it shows up in the admin control panel also. but I dont see anything on the forum. Any help. Im very new at this.
|
Quote:
help, this doesnt work when i use $user[activity] in my template.. it just spits out "0"...... i did everything requested above.. anyone help please! |
All times are GMT. The time now is 09:16 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:
|