Back to vBulletin 3.8 Add-ons

Member of the Week
Mod Version: 1.3, by choccyclaire

vB Version: 3.8.x Rating: (6 votes - 4.50 average) Installs: 66
Released: 04 Oct 2009 Last Update: 09 Oct 2009 Downloads: 510
Not Supported Uses Plugins Auto-Template Re-usable Code  

First of all credit goes to StrifleX who created the SOTW 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)

    Spoiler (click to open)


    To create the archive I have on my website, download the attached php from this post.

    Then create a new template called motw_archive.

    Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    $headinclude
    <title>$vboptions[bbtitle]</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>
    <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&amp;u=71">Search Posts</a></div>
    <div><b>Threads:</b> <a href="search.php?$session[sessionurl]do=finduser&amp;u=71&amp;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/index.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.
    Attached Thumbnails
    Click image for larger version
Name:	motwarchive.jpg
Views:	73
Size:	33.1 KB
ID:	105191  
    Attached Files
    File Type: php motw.php (1.9 KB, 31 views)

    Close
  • 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)
Code:
$MOTW
If you want to make it display in certain forums, go into the template FORUMDISPLAY
Code:
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.

Spoiler (click to open)


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.

    Code:
    $MOTW
Attached Thumbnails
Click image for larger version
Name:	motwss.jpg
Views:	1212
Size:	31.6 KB
ID:	105063   Click image for larger version
Name:	motwass.jpg
Views:	518
Size:	53.7 KB
ID:	105178  

Close


MEMBER OF THE MONTH
Some people have requested this mod to be monthly. See here

Spoiler (click to open)


Quote by youngaussie
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.
Attached Files
File Type: xml product-motm(1.3).xml (11.7 KB, 78 views)

Close
to download this.

Download

File Type: %1$s product-motw(1.1).xml (11.0 KB, 95 downloads)
File Type: %1$s product-motw(1.2).xml (11.3 KB, 45 downloads)
File Type: %1$s product-motw(1.2.1).xml (11.6 KB, 43 downloads)
File Type: %1$s product-motw(1.3).xml (11.7 KB, 362 downloads)


vblts.ru supports vBulletin®, 2022-2024