Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Member of the Week Details »»
Member of the Week
Version: 1.3, by choccyclaire choccyclaire is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 10-03-2009 Last Update: 10-08-2009 Installs: 66
Uses Plugins Auto-Templates
Re-useable Code  
No support by the author.

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)
  • 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
Quote:
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.

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

Download Now

File Type: xml product-motw(1.1).xml (11.0 KB, 93 views)
File Type: xml product-motw(1.2).xml (11.3 KB, 43 views)
File Type: xml product-motw(1.2.1).xml (11.6 KB, 41 views)
File Type: xml product-motw(1.3).xml (11.7 KB, 360 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-09-2009, 02:15 AM
vBlatino vBlatino is offline
 
Join Date: Oct 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.3 Works fine for me ;D
Reply With Quote
  #23  
Old 10-09-2009, 03:23 AM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/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.
Attached Images
File Type: jpg motwarchive.jpg (33.1 KB, 0 views)
Attached Files
File Type: php motw.php (1.9 KB, 30 views)
Reply With Quote
  #24  
Old 10-09-2009, 04:21 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, works great, i renamed motw.php to motw_archive.php as im already using motw.php
works like a charm.
thanks again
Reply With Quote
  #25  
Old 10-09-2009, 06:39 AM
youngaussie youngaussie is offline
 
Join Date: Mar 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there any way to change it to member of the month?
Reply With Quote
  #26  
Old 10-09-2009, 07:01 AM
chick's Avatar
chick chick is offline
 
Join Date: Aug 2006
Location: PI Land
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by youngaussie View Post
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.
Reply With Quote
  #27  
Old 10-09-2009, 07:20 AM
devlin2010 devlin2010 is offline
 
Join Date: Aug 2009
Location: UK
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #28  
Old 10-09-2009, 02:23 PM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by youngaussie View Post
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, 77 views)
Reply With Quote
  #29  
Old 10-09-2009, 04:28 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Work on 3.6.x? 3.7.x?


Tried to install on 3.6.X and while importing product I get
Code:
Invalid File Specified
Reply With Quote
  #30  
Old 10-09-2009, 09:54 PM
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #31  
Old 10-09-2009, 10:03 PM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08747 seconds
  • Memory Usage 2,355KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete