![]() |
vBa CMPS - Member of the Day
This adds Kentaurus' "Member of the Day" to your vBa CMPS. I take no credit for his hack whatsoever. You must have his hack installed for this to work.
- Added function to show default avatar for users with no selected avatar. - Added link to member's Usernotes (in template). - Added like to member's Friends [vBBuddies hack] (in template). 1. Edit global.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Add code: PHP Code:
3. Add a new module: Module Title: Member of the Day Template to Include: member Place it wherever you like (left, center, right) That's it. |
There are a few different ways to display this of course. I'll include a few of my own (see attachments):
Center Module: PHP Code:
PHP Code:
PHP Code:
|
Nice Module
*Marboosh.Net Clicks Install thanks |
Nice :) thank you restless :)
|
been having issues with this hack since I have the welcome pannel hack installed :ermm:
also, change this: PHP Code:
|
Quote:
|
|
it the avatar bit that's messing up the welcome panel?
|
Quote:
the member of the month avatar goes to the welcome pannel at the top... and my avatar is in the "member of the month" block... |
I installed that hack just to see what was up. I got it working fine. i tested it with an avatar and with no avatar.
in global.php I changed PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
For some reason the 'memberoftheday' template remains uncached, it's added to the special templates and global templated...I can manually add it to each page, but isn't there an easier way??
|
Quote:
|
Quote:
edit- solved, and off course my own stupid mistake ;) (vba cmps has some globaltemplates as well in global.php and I added them to that) |
Hey Restless,
The hack stops functioning when I move the avatars to be stored as files, instead of the being in the database...I think the line below should point to the custom avatar path if that's used... PHP Code:
|
Quote:
|
Before modifying global.php, did you try adding "memberoftheday" to the "Templates to be included" section of the module?
|
avatar icon is not showing up in CMPS. I have followed all instructions exactly. Shows the no avatar.gif. User does have customer avatar.
|
I figured it out. Thanks.
|
Quote:
|
Quote:
|
I have a small problem on this. Instead of showing the member of the day's avatar it shows the avatar of the person logged in. Can anyone tell me what might be wrong?
|
could this be changed a little bit to be a "featured forum" instead of the member, i have 840 forums and a featured one would be cool, i have it hard coded right now.
www.ureside.com |
does it works on 3.5.1 ? cause I try to modify the global.php and I don't find anything similar to replace with this code...
any idea please? thx |
how do you change the text color in that block? cant find it... my forums are dark grey and the hack's letters are black,makes it really hard to see this.
|
All times are GMT. The time now is 04:45 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:
|