vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [VB3 RC3] Member of the day (https://vborg.vbsupport.ru/showthread.php?t=60368)

StuKeR 12-16-2004 06:34 AM

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 :p

thx alot

StuKeR 12-16-2004 06:48 AM

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

Roxie 12-16-2004 07:31 AM

Has anyone installed on 3.0.3?

StuKeR 12-16-2004 08:01 AM

Roxie I've installed on 3.0.3

bigcurt 12-19-2004 03:21 PM

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?

Pixelgrounds 12-19-2004 08:42 PM

i would love a member of the month hack, has anyone done one ?

StuKeR 12-20-2004 08:56 PM

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

But I don't get to make the hack running :'(. always put the ! exclamation mark instead of the user :'(

Malke 12-27-2004 01:45 PM

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.

StuKeR 12-27-2004 06:05 PM

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: ?

T3MEDIA 01-03-2005 09:53 AM

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.

T3MEDIA 01-03-2005 09:57 AM

Quote:

Originally Posted by sully02
Has someone already converted this into a CMPS module? If so, I'd like to see it. If not... I may give it a try, though my PHP is rusty at best.

www.sprnch.com/forums/vbindex.php

T3MEDIA 01-03-2005 10:01 AM

Quote:

Originally Posted by Kentaurus
Just wait for the next member of the day to be generated, I expect then the avatar will be visible.

You need to use $mday[field5], please let me know if that works as expected.

whaaT field 5! didnt know about this baby!

T3MEDIA 01-03-2005 04:41 PM

Quote:

Originally Posted by Kentaurus
Just wait for the next member of the day to be generated, I expect then the avatar will be visible.

You need to use $mday[field5], please let me know if that works as expected.

Darn... doenst work for me????

StuKeR 01-08-2005 08:42 AM

does any one knows how to put the member of the day as a CMPS module?

dacho 01-10-2005 02:52 PM

there is a problem

error in page memberoftheday.php
HTML Code:

Fatal error: Call to a member function on a non-object in /hsphere/local/home/gehenom/forums.dacho.co.il/includes/cron/memberoftheday.php on line 34
line 34 is = $memberOfTheDay = $DB_site->query_first("

Marco van Herwaarden 01-10-2005 07:12 PM

Quote:

Originally Posted by dacho
there is a problem

error in page memberoftheday.php
HTML Code:

Fatal error: Call to a member function on a non-object in /hsphere/local/home/gehenom/forums.dacho.co.il/includes/cron/memberoftheday.php on line 34
line 34 is = $memberOfTheDay = $DB_site->query_first("

Are you running it as a scheduled job from ACP? Or are you just calling the script?

dacho 01-10-2005 07:25 PM

Quote:

Originally Posted by MarcoH64
Are you running it as a scheduled job from ACP? Or are you just calling the script?

just calling the page from CP, like that :
PHP Code:

construct_nav_option($vbphrase['Member_of_the_day'], '../includes/cron/memberoftheday.php''<br />'); 


Marco van Herwaarden 01-10-2005 07:54 PM

Cron files can not be called like that i think, the schedule task mechanism wraps some initialisations around htem.

Just add a new scheduled task pointing at this script, then click run now to test

StuKeR 01-11-2005 05:55 AM

Hi... :'(

There's someone solidary who wants to help me to put the member of the day on a CMPS module... ???

help please because i'm a bit desesperated U_U

thx

dacho 01-11-2005 07:22 PM

someone ?!

StuKeR 01-16-2005 05:15 PM

well I've see that there's some one ho has converted to a CMPS module... the question is... HOW has he done... ?? help please :'(

dacho 01-17-2005 08:51 AM

where is Kentaurus ?
we need help here!!!!

someone

StuKeR 01-17-2005 09:01 AM

I think he want to kill us... :D:D:D:D muahah

dacho 01-21-2005 08:38 AM

probably :(

StuKeR 01-21-2005 08:50 AM

well Is anyone alive?

LadyBeth 01-22-2005 12:30 PM

Can this be used in the following ways?

1. can it be a user of the week
2. based upon a minimum number of posts
3. can admins and moderators be excluded
4. can this be done automatically so there is nothing for the admin to do

Please advise....thanks :)
LB~

StuKeR 01-22-2005 09:10 PM

yes could be

Elfo King 01-23-2005 11:33 AM

Nice Hack...installed!
I need to assign at the "Member of the day" 1 point of reputations, it's possible ?:P

Thx

carolmyt 01-28-2005 06:55 PM

Warning: Newbie question

I love this hack, but I want to make the background transparent. Any advice on how I can do that?

Thanks!

SpanishHarlem 02-13-2005 03:40 AM

Would have been a great hack. I installed it on my forum. It show's me that a member has been chosen in the task manager but for some reason it's not showing up at the top of the forum.

SpanishHarlem 02-13-2005 02:26 PM

Ok I have partly figured this out. Does anyone here know how I can make it so that it show's in all skin's?

Rogue Pan 02-14-2005 11:52 PM

Quote:

Originally Posted by SpanishHarlem
Ok I have partly figured this out. Does anyone here know how I can make it so that it show's in all skin's?



Add the templates to all skins.

Also have one small problem i've noticed. It's set for me to change member of the day at 6:00pm every day. Ever since i had this hack, my DB crashes at 6:00pm every day for a few minutes..Any idea why this hack causes it. I say this hack, because i never had this problem until using this hack.

SpanishHarlem 02-17-2005 10:38 AM

hmmm hopefully someone will know any solution's to this. I added the skin's I do have to the default skin but it seem's for some reason member of the day will only show in default and two other's.

Can you help me so that I can make it so that it will show all skin's.

Please and thank you. :laugh:

jilly 03-09-2005 01:36 AM

Quote:

Originally Posted by carolmyt
Warning: Newbie question

I love this hack, but I want to make the background transparent. Any advice on how I can do that?

Thanks!


Take out this code out of the memberoftheday template to make it transparent - class="tborder"


Take this code out to shrink the space between the lines of info. - cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]"

I also put a font size="1" around the text to make it smaller

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="80%" align="center">
<tr>
<td><img src="$avatarurl"></td>
<td>
<b>Member of the day is: <a target="_top" href="member.php?&u=$mday[userid]">$mday[username]</a>!</b><br/><br/>
Posts: $mday[posts]</span><br/>
Reputation: $mday[reputation]</span><br/>
<if condition="$mday[age]">Age: $mday[age]</span><br/></if>
<br/>
Favorite forum: <a href="forumdisplay.php?f=$mday[forumid]">$mday[forumname]</a>
</td>
</tr>
</table>
<br/>

Polo 03-25-2005 01:19 PM

I'm also interested on using this on the cmps... has anyone accomplish this successfully? i did it, but only the avatar show in the block :( anyone else has tried it?

jilly 03-27-2005 06:32 PM

I would like to add a link in the memberoftheday template to pm the member, so if people want to pm the member of the day they can click right there and send it..

kisersose 03-27-2005 09:36 PM

When will this take effect?????????
i installed this today, and its just a blank box with this....

---------
Emcee of the day is: !

Posts:
Reputation:

Favorite forum:

jilly 04-05-2005 03:13 AM

kisersose - you need to go into scheduled tasks and click 'run now' to start it off and run it the first time - go to admin cp > scheduled tasks > scheduled tasks manager - then look for the name you gave the task, and click the 'run now' button below it.

StuKeR 04-14-2005 08:17 PM

still the same question (for remember propouses only :P )...

Does any one convertered this to a CMPS module? or atleast that it could be showed on the CMPS main page???

I'll be very pleased if anyone could help me

thx

jilly 04-15-2005 08:28 PM

If I wanted to run this more than once on a board, could I do this? For example if I wanted 'member of the day', yet I also wanted 'moderator of the month' - any ideas on what to add or how to do that?


All times are GMT. The time now is 04:17 AM.

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.03548 seconds
  • Memory Usage 1,821KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (9)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
  • (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