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)

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.


All times are GMT. The time now is 04:50 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.01100 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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