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)

Kentaurus 02-05-2004 02:26 AM

Quote:

Originally Posted by Boofo
kentaurus, can you look at post 25 here and see if you can figure out why this is doing that, please, sir? ;)

Yes, you are right. Fixed. In memberoftheday.php

find this:
Code:

  if ($year > $date[2] AND $date[2] != '0000')
change it to:
Code:

  if ($year > $date[2] AND $date[2] != '0000' AND $date[2])
file updated also

KuraFire 02-05-2004 08:02 AM

Quote:

Originally Posted by gmarik
This is great - It could be used on KuraFire's Journal hack as well (hint, hint)

Only if he would turn this into a Module for the Modules Manager, though. :)

Kentaurus 02-05-2004 08:32 AM

Quote:

Originally Posted by KuraFire
Only if he would turn this into a Module for the Modules Manager, though. :)

But first I would need an explanation of what is that modules manager.....
Anyway... I am expecting HTL 1.1 before any other hack, I am not releasing HTL hacks until I can make the .txt from there... it is really bothersome to do both an HTL and a TXT

rinkrat 02-14-2004 06:53 PM

I'm getting this, do I need to wait for the cron to run or something?

Kentaurus 02-14-2004 10:21 PM

Quote:

Originally Posted by rinkrat
I'm getting this, do I need to wait for the cron to run or something?

Wait for the cron or run it yourself at the admin control panel, it needs to be run at least once for the information to be generated.

KuraFire 02-15-2004 09:42 AM

Quote:

Originally Posted by kentaurus
But first I would need an explanation of what is that modules manager.....
Anyway... I am expecting HTL 1.1 before any other hack, I am not releasing HTL hacks until I can make the .txt from there... it is really bothersome to do both an HTL and a TXT

read http://everythingvb.com/showthread.php?t=28 for an explanation on what the Modules Manager is :) (I'm not gonna cut-paste all that here)

and HTL 1.1 will come, I hope soon but I dunno how soon.. it's so much work :(

rinkrat 02-18-2004 05:42 PM

They are asking what they get for being MOTD. How can I rig it to give the member of the day 5000 reputation points?

Kentaurus 02-29-2004 05:51 PM

Quote:

Originally Posted by rinkrat
They are asking what they get for being MOTD. How can I rig it to give the member of the day 5000 reputation points?

Isn't that a lot? Oh anyway.

In the memberoftheday.php

Look for this:

Quote:

$memberOfTheDay['forumname'] = $favoriteForum['title'];
replace it with:

Quote:

$DB_site->query("UPDATE ".TABLE_PREFIX."user SET reputation=reputation+5000 WHERE userid=".$memberOfTheDay[userid]."");

$memberOfTheDay['forumname'] = $favoriteForum['title'];


Trunks ssj4 03-05-2004 01:02 PM

it is easy to change it to Member of the month? :rolleyes:

Kentaurus 03-06-2004 08:58 PM

Quote:

Originally Posted by Trunks ssj4
it is easy to change it to Member of the month? :rolleyes:

Sure. Just set your cron job to run monthly instead of daily.


All times are GMT. The time now is 06:44 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.01798 seconds
  • Memory Usage 1,744KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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