![]() |
Not sure if anyone has answered this anywhere... but I've added this to my vba cmps.
Here how i did it (I have no idea if this is the BEST way to do it): 1. Edit global.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Add code: PHP Code:
Module Title: Member of the Day Template to Include: member Place it wherever you like (left, center, right) That's it. |
you can see this in action here: http://www.vagrantcafe.com/index.php?
this is my code for my memberoftheday template: PHP Code:
|
Quote:
I have created a couple test members, and just posted several threads for each. $restrictedGroups = "0"; $posts = 0; $lastactivity = 90; $lastpost = 30; $reputation = 0; $days = 7; $privateForums = "0"; When I run the scheduler, I get that "Couldn't elect a member of the day, not enough members" any ideas? |
I got it to work, I was having the problem because this is a test forum, and I only have about 7 members listed. Since the hack wouldn't allow you to 'repeat' member of the day for at least 7 days, that is why I would get the error.
I just decreased it to 1 day and it worked finally. Now to install on the real forum!! |
Has support for this hack stopped?
I did finally get everything working, and got it to work on my CMPS page. But was wondering if some other features could be added? Is it possible to display the users profile image? (I think that question was asked before, but I didn't see an answer) Or how about also displaying their signature? I hope the creator of this hack is still around! Thanks in advance Chris. |
Quote:
|
Quote:
If you really want it just input the variables using the hacks syntax. |
I'm not really sure what you mean by input the 'vairables using the hacks syntax' I'm new to this, could you give me an example of what you mean?
Thanks Chris. |
I've just noticed something, it seems that it selects a new user whenever you refresh the screen?
I've checked the scheduler and it's only suppose to run on the 23rd hour of each day. Anyone know why it would be selecting a new one, everytime the page is refreshed or opened? Also, I'm still not sure what I would need to do add the profile pic? Chris. |
Quote:
|
All times are GMT. The time now is 11:14 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:
|