The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
Tested in 3.0.1
This hack lets you "elect" a member of the day (member of any period of time actually, but defaults to member of the day). The member of the day is someone randomly picked from all the users in your forum that have certain amount of posts the day before, that have visited the forum and that have at least 50 posts and 10 reputation. You can also change that values. By default it appers in top of the forumhome. It is a nice way for members of the forum to get to know each other. Info for hackers: You may modify, improve, upgrade, redistribute this hack, include it in another hack or yours or translate it provided you do it free of charge and you distribute it in www.vbulletin.org at least, there is no need to pm me asking for permission Some portions of the code are (c) Jelsoft Enterprises Ltd. Show Your Support
|
Comments |
#122
|
||||
|
||||
![]()
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. |
#123
|
||||
|
||||
![]()
you can see this in action here: http://www.vagrantcafe.com/index.php?
this is my code for my memberoftheday template: PHP Code:
|
#124
|
|||
|
|||
![]() 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? |
#125
|
|||
|
|||
![]()
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!! |
#126
|
|||
|
|||
![]()
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. |
#127
|
||||
|
||||
![]() Quote:
|
#128
|
||||
|
||||
![]() Quote:
If you really want it just input the variables using the hacks syntax. |
#129
|
|||
|
|||
![]()
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. |
#130
|
|||
|
|||
![]()
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. |
#131
|
||||
|
||||
![]() Quote:
|
#132
|
||||
|
||||
![]() Quote:
PHP Code:
|
#133
|
|||
|
|||
![]()
Ya I ran the query, but just to make sure I tried to run it again, and it said that it already existed.
I also noticed that it doesn't do it on every refresh, it seems to be more random. One time you may be able to refresh the screen 10 times in a row, and it stays the same. Then the next time you open the page, and refresh it changes on the first try. |
#134
|
|||
|
|||
![]() Quote:
I did just noticed something with the sig, not sure if this can be fixed or not, On the current member it shows as this [COLOR=Black [SIZE=1 BMWBoard [/SIZE [/COLOR I had to remove some brackets in this post to make it look the way it does on my member field. You can really see what I'm talking about at www.caraudiocentral.net Is there anyway to make it display correctly? Thanks again for your help. |
#135
|
||||
|
||||
![]() Quote:
Sounds like you have the time to run cron incorrectly set..... |
#136
|
||||
|
||||
![]() Quote:
This has nothing to do with the code or this hack itself but with cmps as the software is outside of the forum index so any link like say "navbar" have to be fully inputed along with smileys and BB code. The user who is currently member of the day is using BBcode which is currently not recognized by your cmps. You need to go to vbadanced.com and research getting that to work. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|