Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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
  #82  
Old 12-16-2004, 06:34 AM
StuKeR StuKeR is offline
 
Join Date: Nov 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I've installed as the TXT says but instead of put $memberoftheday on the forum template I put it on the CMPS template... (the unique diference) but when I try to run the scheduled task it says this...

Warning: main(): open_basedir restriction in effect. File(/includes/cron/memberoftheday.php) is not within the allowed path(s): (/home/motos/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/motos/public_html/foro/admincp/cronadmin.php on line 56

Warning: main(/includes/cron/memberoftheday.php): failed to open stream: Operation not permitted in /home/motos/public_html/foro/admincp/cronadmin.php on line 56

Fatal error: main(): Failed opening required '/includes/cron/memberoftheday.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/motos/public_html/foro/admincp/cronadmin.php on line 56

so I open the cronadmin.php to see if there's a mistake and I don't see anything wrong...

if any one knows how to repair this disaster... I would be very congratulated

thx alot
Reply With Quote
  #83  
Old 12-16-2004, 06:48 AM
StuKeR StuKeR is offline
 
Join Date: Nov 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aRG, I' so stupid, I forgotten the dot before /includes/cron/memberoftheday.php.

well I've just made it run but now appears ! as a member of the day.

When I executed the task it said this

log_cron_action("Member of the day elected: $memberOfTheDay[username]", $nextitem); ?>?>

and now I coudn't run the task again because it says
Couldn't elect a member of the day, not enough members

I've configurated the file for, anybody could be member of the day (for proposes only) but as I said before apears ! instead of the name of one of the forum...

is that correct???

thx
Reply With Quote
  #84  
Old 12-16-2004, 07:31 AM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone installed on 3.0.3?
Reply With Quote
  #85  
Old 12-16-2004, 08:01 AM
StuKeR StuKeR is offline
 
Join Date: Nov 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Roxie I've installed on 3.0.3
Reply With Quote
  #86  
Old 12-19-2004, 03:21 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I want to make this a MEMBER OF MONTH. Does the box show up every day or just that one day where it picks a member? I just want it to be there for that one day.

Also I dont use the reputation system if I set the permissions to 0 for that than that will be off right?
Reply With Quote
  #87  
Old 12-19-2004, 08:42 PM
Pixelgrounds Pixelgrounds is offline
 
Join Date: May 2004
Location: uk
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i would love a member of the month hack, has anyone done one ?
Reply With Quote
  #88  
Old 12-20-2004, 08:56 PM
StuKeR StuKeR is offline
 
Join Date: Nov 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pixelgrounds just select Month by Month and the hack will select the user of the month .

But I don't get to make the hack running :'(. always put the ! exclamation mark instead of the user :'(
Reply With Quote
  #89  
Old 12-27-2004, 01:45 PM
Malke Malke is offline
 
Join Date: Jan 2004
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Suker... there's probably noone matching the description. Maybe you should change nr of posts etc requier. The same thing happened to me when I changed the reputation value by mistake.
Reply With Quote
  #90  
Old 12-27-2004, 06:05 PM
StuKeR StuKeR is offline
 
Join Date: Nov 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Malke
Suker... there's probably noone matching the description. Maybe you should change nr of posts etc requier. The same thing happened to me when I changed the reputation value by mistake.
hi, there's no mistake with the requier, cause I'f the template runs on the forumhome it works well. I try to modify the $memberoftheday for the new $adv_portal_memberoftheday on the index.php but I don't get to make it run...

there's someone as an angel who wants to help me :ermm: :ermm: ?
Reply With Quote
  #91  
Old 01-03-2005, 09:53 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NTLDR
Would be nice to see proper permissions for the forums. Good to see some use of the datastore and the cron system here.
NTLDR are you still alive????

HEY I hucked this up on my site. AWSOME have a mouse over and all that. really cool. Just how would I put a dont have avatar image up if they dont have one? that part is needed cuz some dont have.

Thanks.
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 01:23 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.05833 seconds
  • Memory Usage 2,302KB
  • 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
  • (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
  • (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