View Full Version : Forum Home Enhancements - Member of the Week
choccyclaire
10-03-2009, 10:00 PM
First of all credit goes to StrifleX (https://vborg.vbsupport.ru/member.php?u=178569) who created the SOTW (https://vborg.vbsupport.ru/showthread.php?t=151723) mod where I got the basis for this product.
Description
This mod adds a member of the week table to your forumhome with zero queries.
Features
Member's avatar
Small profile including search posts and threads
Prize and Rating
Link to thread to congratulate winner
Reason user was nominated member of the week
Link to create custom made motw.php page for archive purposes.
(see post #22 for how you can create this) (https://vborg.vbsupport.ru/showpost.php?p=1896939&postcount=22)
Option to NOT show on forumhome - see below on how to add to other templates.
The table can be placed in 4 different locations.
Installation
Upload the attached product via your admincp. No additional template edits required.
Edit options to your liking via MOTW in vBulletin Options.
Other Locations
To place the motw table in other locations throughout your forum, input the following code in your template. (eg. FORUMDISPLAY)
$MOTW
If you want to make it display in certain forums, go into the template FORUMDISPLAY
Find: <if condition="$show['threadslist']">
Add Above: <if condition="$forumid == 1">$MOTW</if>
Change 1 to your forum id.
UPDATES
Click here for the list of updates to mod and screenshots. (https://vborg.vbsupport.ru/showpost.php?p=1894784&postcount=2)
MEMBER OF THE MONTH
Some people have requested this mod to be monthly. See here (https://vborg.vbsupport.ru/showpost.php?p=1897108&postcount=27) to download this.
choccyclaire
10-04-2009, 07:19 PM
Reserved for screenshots and updates.
*UPDATES*
Version 1.1
Option for archive link added to admincp settings.
Version 1.2
Option added in MOTW options to input member's avatar image link in order to include internal avatars.
Cleaned up code.
Version 1.2.1
Includes table collapse.
Version 1.3
Included 'Not on forumhome' location in options. To place the table in another location rather than forumhome add the following code to another template, eg. FORUMDISPLAY.
$MOTW
sebil
10-04-2009, 07:44 PM
good oneeeeee
redlabour
10-04-2009, 08:40 PM
good oneeeeee
Then click install! :cool:
apiasto
10-05-2009, 12:12 AM
good one but same problem avatar doesn't show.
vBlatino
10-05-2009, 01:58 AM
avatar doesn't show, please fix it. and the link for the motw is for ur forum.
choccyclaire
10-05-2009, 02:28 AM
Archive link sorted. Please overwrite.
devlin2010
10-05-2009, 08:09 AM
Only problem is the avatar problem :/ if you can fix that then it would be great :) also seem to have a problem with the profile links?
BucWiLd
10-05-2009, 11:07 AM
is avatar problem fixed?
calvis
10-05-2009, 11:29 AM
Good concept needs expanding.
- Members vote to nominate is the key missing feature.
gorentals
10-05-2009, 03:09 PM
Once Avatar is fixed to use internal and external avatars I will install. This one looks great.
ChopSuey
10-08-2009, 11:39 AM
Wishes that the avatar could show up ;0
-------
Sorry for the bump, this mod is awesome.
choccyclaire
10-08-2009, 03:15 PM
I'm still working on the avatar issue. It will involve a query or two.
choccyclaire
10-08-2009, 09:07 PM
I have avoided extra sql queries for now by adding another option to input the MOTW's avatar image URL. This will now mean internal avatars will show up.
If you don't mind the extra option to add in your admincp MOTW options then please download version 1.2 and overwrite.
ShawneyJ
10-08-2009, 10:02 PM
this is cool, is it possible to have this added inside the whos online box?? its the only place it would look any good on my boards.
thanks.
choccyclaire
10-08-2009, 10:36 PM
this is cool, is it possible to have this added inside the whos online box?? its the only place it would look any good on my boards.
thanks.
I saw your post before you edited lol. I did that request; if you are still interested, scroll up to original posts.
ChopSuey
10-08-2009, 11:20 PM
1.3 should work fine:D
ChopSuey
10-08-2009, 11:26 PM
Op, avatar don't show.
choccyclaire
10-08-2009, 11:31 PM
Have you entered the avatar url in MOTW options after you overwrote?
It needs to be the image location url not the avatar location url.
ShawneyJ
10-09-2009, 12:15 AM
I saw your post before you edited lol. I did that request; if you are still interested, scroll up to original posts.
i edited because my custom page was appearing at the bottom of my forum lol, basically i had the header and navbar repeating its self. but your update worked as i wanted, thanks so much. i now have this hack on its own page. cheers ;)
edit: choccyclaire, can i ask how this archive page works please?
eg: say i write out a member of the week and click submit in admincp MOTW.
then i fill the form out again and click submit, does the newest MOTW appear at the top?
actually this is hard to explain so sorry if im not making sense.
i just cant find an archive template to make the archive php page.
what i did was made a php page in public_html for the template "MOTW" editing and adding the header,navbar and footer into that template and called it mysite/motw.php and put a link on my forum to that page. but as for the archive page im kinda lost on how i would go about making it. sorry maybe a silly question and maybe i have missed something.
maybe you can share how you made your archive page please?
thanks heaps.
vBlatino
10-09-2009, 02:15 AM
1.3 Works fine for me ;D
choccyclaire
10-09-2009, 03:23 AM
To create the archive I have on my website, download the attached php from this post.
Then create a new template called motw_archive.
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions</title>
</head>
<body>
$header
$navbar
<center>
<div style="padding:0px 0px 0px 0px">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
<thead>
<tr>
<td class="tcat" colspan="5" style="text-align:center">
Member Of The Week Archives
</td>
</tr>
</thead>
<tr>
<td align="center" class="thead" border="0">Date Awarded</td>
<td align="center" class="thead" border="0">Member's Avatar</td>
<td align="center" class="thead" border="0">Member's Details</td>
<td align="center" class="thead" border="0">Member's Prize</td>
<td align="center" class="thead" border="0">Member's Notes</td>
</tr>
[B]<tr>
<td align="center" class="alt1" border="0">
<fieldset class="fieldset"><legend>Date</legend>
<div>Sunday 4th October 2009</div></fieldset>
</td>
<td align="center" class="alt2" border="0"><a href="member.php?u=71"><img src="image.php?$session[sessionurl]u=71" border="0" alt="Sarahsaur's Avatar" /></a>
</td>
<td align="center" valign="middle" class="alt1" border="0">
<fieldset class="fieldset"><legend>Profile</legend>
<div><b>Name:</b> <a href="member.php?u=71">Sarahsaur</a></div>
<div><b>Posts:</b> <a href="search.php?$session[sessionurl]do=finduser&u=71">Search Posts</a></div>
<div><b>Threads:</b> <a href="search.php?$session[sessionurl]do=finduser&u=71&starteronly=1">Search Threads</a></div></fieldset>
</td>
<td align="center" valign="middle" class="alt2" border="0">
<fieldset class="fieldset"><legend>Prize</legend>
<div><b>Prize:</b> 100,000 credits</div>
<div><a href="http://www.mjjboard.com/showthread.php?t=11630">Congratulate Member Thread.</a></div></fieldset>
</td>
<td align="center" valign="middle" class="alt1" border="0">
<fieldset class="fieldset"><legend>Reason for Nomination</legend>
<div>For her intelligent contribution to the board.</div></fieldset>
</td>
</tr>
</table>
</div>
</center>
$footer
</body>
</html>
Copy and paste the green code and place underneath previous one each time you have another member of week, taking note to change each red instance to reflect.
ShawneyJ
10-09-2009, 04:21 AM
thanks, works great, i renamed motw.php to motw_archive.php as im already using motw.php ;)
works like a charm.
thanks again :)
youngaussie
10-09-2009, 06:39 AM
is there any way to change it to member of the month?
chick
10-09-2009, 07:01 AM
is there any way to change it to member of the month?
Same here I would like to know this... per week is too fast I would like it per month too. I have not installed until it can be used per month.
devlin2010
10-09-2009, 07:20 AM
Avatar works now :) But still a problem with the Member Details part?The links -View Threads,View Posts,View Profile don't seem to work?
choccyclaire
10-09-2009, 02:23 PM
is there any way to change it to member of the month?
It's just simply a matter of changing all the phrases. I did this for you. :)
Please download the product attached to this post.
Should you wish to put the table on other pages, you will need to input $MOTM instead.
Let me know if it's okay, as I have not tested thoroughly yet.
SVTCobraLTD
10-09-2009, 04:28 PM
Work on 3.6.x? 3.7.x?
Tried to install on 3.6.X and while importing product I get Invalid File Specified
apiasto
10-09-2009, 09:54 PM
good product it has good features but putting a url for avatar is kinda problem.because if someone is using a file from their pc or hosted somewhere else then its hard to use url.is there any way around? like just put the user id and it gets the avatar by itself.because right now i am using another hack and it does that,but i like the features of this one
choccyclaire
10-09-2009, 10:03 PM
The avatar a member uses get uploaded to your server/database regardless where the member got it from. You need to use the forum avatar url link not the original source link.
Doing it another way involves queries which I am still working on.
ChopSuey
10-09-2009, 11:02 PM
I store avatars in the file system, used direct link. Still dont work.
creative-friend
10-09-2009, 11:17 PM
Hmm Thats Really Nice Hack...
choccyclaire
10-09-2009, 11:51 PM
I store avatars in the file system, used direct link. Still dont work.
If you are referring to your homepage link here, I've taken a look. You have still not input the avatar url correctly.
You input: http://www.gamingcube.org/forum/avatars/someone.gif (which is an invalid link)
It should be: http://www.gamingcube.org/forum/customavatars/avatar1_3.gif
ChopSuey
10-15-2009, 09:57 PM
I knew that, just haven't had time to think about the mod. Been too busy.
crkgb
10-16-2009, 03:41 AM
It would be awesome to get something added to user's profile as well ))
VonDoom
10-17-2009, 04:19 AM
This would be a great way to out my favorite forum trolls. ;) Tagged
Arrogant-One
10-19-2009, 02:27 AM
<font face="Georgia">This is a great mod - well done to the creator.
I modified it slightly so it is a Post of the Month Winner award instead of the Member of the Week, but it works perfectly on my vB 3.6.7 forum!</font>
Arrogant-One
10-19-2009, 02:29 AM
To create the archive I have on my website, download the attached php from this post.
Then create a new template called motw_archive.
How do I create a new template?
Drocr
11-14-2009, 10:45 PM
Very nice I would like a plugin alot more one install etc maybe thats how this is
anyway is there a way to make this so it has "Nominate for MOTM" in the postbit and also have it so SOTW box and MOTM box rotate?
Battle_Ring
11-17-2009, 10:29 PM
If there was a way for members to nominate and vote on a member of the week/nonth it would be much better
Skydiver10
01-22-2010, 06:44 PM
Thank you so much for this mod, I have been looking for this since the other one on VB.org has problems and does not have a MOTM archive. Thanks again I will be displaying next month!
Fergal C
04-16-2010, 03:56 PM
Thanks for this great Mod, just what I was looking for.
BlueCheri
08-25-2010, 12:38 PM
Is it working for 4.0.6?
Thanx in advance.
farazfaraz
08-25-2010, 07:24 PM
good
reversedesigns
12-23-2010, 06:09 PM
this would be cool if it worked on vbullitin 4.0 :)
iDHKHCM
08-24-2011, 02:43 AM
agree with most of you also would use it if it were on v4.
vBRiP
10-26-2011, 06:25 PM
Hello, can you replace post count instead of search post: Posts: 1000 instead of Post: search posts
Thanks
tigrattack
11-05-2012, 06:31 PM
Works Great on 3.6.8 :)
I use it for 'VIP Donator of the Month' so I adjusted the MOTW template to suit my needs.
You can also use HTML code in the ACP entries for this mod...to make the Username the color for a certain usergroup it should look like this:
In 'Winner's Username' field:
<font color=x>Username</font>
(x = color you want)
Doing the above will override the 'class="alt1"' for that field.
Or...
If you want the username to be just one color always...
In the MOTW Template find: a href="member.php?u=$vboptions[MOTW_userid]"
After it add: style="color:x"
(x = color you want)
The above is standard HTML, but I thought I'd state it here for easy assistance, hope it helps :)
I was gonna make up a very similar code for my use, but it would have been a template edit and I would have had to edit each of my 20+ skins every month...Thank you for saving me time and headache :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.