vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - Member of the Week (https://vborg.vbsupport.ru/showthread.php?t=224555)

choccyclaire 10-03-2009 10:00 PM

Member of the Week
 
1 Attachment(s)
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.

choccyclaire 10-04-2009 07:19 PM

1 Attachment(s)
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

sebil 10-04-2009 07:44 PM

good oneeeeee

redlabour 10-04-2009 08:40 PM

Quote:

Originally Posted by sebil (Post 1894798)
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

Quote:

Originally Posted by jaycob (Post 1896839)
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

Quote:

Originally Posted by choccyclaire (Post 1896855)
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

1 Attachment(s)
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.

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

Quote:

Originally Posted by youngaussie (Post 1897000)
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

1 Attachment(s)
Quote:

Originally Posted by youngaussie (Post 1897000)
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
Code:

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

Quote:

Originally Posted by ChopSuey (Post 1897342)
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/cust.../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

Quote:

Originally Posted by choccyclaire (Post 1896939)
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


All times are GMT. The time now is 06:18 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
  • Page Generation 0.01305 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete