Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
[VB3 RC3] Member of the day Details »»
[VB3 RC3] Member of the day
Version: 1.00, by Kentaurus Kentaurus is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-16-2004 Last Update: Never Installs: 136
 
No support by the author.

Tested in 3.0.1

This hack lets you "elect" a member of the day (member of any period of
time actually, but defaults to member of the day).

The member of the day is someone randomly picked from all the users in
your forum that have certain amount of posts the day before, that have
visited the forum and that have at least 50 posts and 10 reputation. You
can also change that values.

By default it appers in top of the forumhome. It is a nice way for members
of the forum to get to know each other.

Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.

Show Your Support

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

Comments
  #42  
Old 03-09-2004, 06:24 AM
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good hack
Reply With Quote
  #43  
Old 03-09-2004, 07:51 AM
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Btw, does anyone know how to modify the hack to display the member's avatar, even if the avatar is from the database and not custom (currently only custom uploaded avatars are shown).
Reply With Quote
  #44  
Old 03-20-2004, 09:21 PM
brandy's Avatar
brandy brandy is offline
 
Join Date: Mar 2004
Location: Florida
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed the hack - it is nice, but isn't the user's profile image supposed to display? It isn't displaying. Am I wrong?
Brandy
Reply With Quote
  #45  
Old 03-21-2004, 02:09 PM
brandy's Avatar
brandy brandy is offline
 
Join Date: Mar 2004
Location: Florida
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by brandy
I installed the hack - it is nice, but isn't the user's profile image supposed to display? It isn't displaying. Am I wrong?
Brandy
Another question, how can I add a custom profile field to display in the memberoftheday? I tried various things, but can't figure it out.

Thanks much!
Brandy
Reply With Quote
  #46  
Old 04-22-2004, 11:21 PM
will_lean will_lean is offline
 
Join Date: Apr 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to also call the users avatar(default one if you use it) to be displayed along with the info?

Code:
$memberOfTheDay = $DB_site->query_first("SELECT user.userid,user.username,user.posts,user.reputation,user.birthday
im assuming itd be more or less adding the extra avatar or profile tables to the above query?


could this also be possible for what brandy is looking for?
i.e adding in the profile feild table to the query.

this hack is very cool thanks alot!
Reply With Quote
  #47  
Old 04-29-2004, 08:09 PM
fridayweb's Avatar
fridayweb fridayweb is offline
 
Join Date: Jun 2002
Location: F13 Headquarters
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice feature. I would like to add the info of "join date" next to their posts. I can see where to put things, but I'm not sure the exact language to create a new variable of $mday[join]. Could anyone help me out? :squareeyed:
Reply With Quote
  #48  
Old 05-03-2004, 05:45 PM
JagFan JagFan is offline
 
Join Date: Jul 2002
Location: Arizona
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack! Thanks..installed and working great.
Reply With Quote
  #49  
Old 05-09-2004, 03:10 AM
brandy's Avatar
brandy brandy is offline
 
Join Date: Mar 2004
Location: Florida
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got "member of the day" at my site www.doggiedoor.com/forums/ and I have it set up so that only the moderators are elected (did this by restricting all other usergroups). We've had it up for about a month now, I've got 15 moderators that it chooses from, and a few have never been chosen.

Note: They DO meet the requirements I have set up, as in posted at least once, posted and logged in in the last 30 days, have a reputation over 99.

I can't seem to figure out why they would be passed over? They are feeling neglected, apparently they've been waiting for their turn to no avail.
Any clues?
Brandy
Reply With Quote
  #50  
Old 05-09-2004, 03:33 AM
Odoin's Avatar
Odoin Odoin is offline
 
Join Date: Jun 2002
Location: Whos your Jim Bob?
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could it just be the luck of the draw? It you look at many things that use random numbers it seems sometimes a few numbers do not come up as much as others... I donno :ermm:
Reply With Quote
  #51  
Old 05-09-2004, 11:23 AM
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by will_lean
Is it possible to also call the users avatar(default one if you use it) to be displayed along with the info?
That is what I am looking for, too. Looks like Kentaurus hasn't visited this thread for the past two months though
Reply With Quote
Reply

Thread Tools

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 02:10 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.05149 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete