vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Member of the Day! (https://vborg.vbsupport.ru/showthread.php?t=34779)

Boofo 02-20-2003 01:59 PM

Good job! Looks great!

BTW, what is the "boardstat.php hack"? I must have missed that one. :)

suzannev 02-20-2003 02:07 PM

Here is the link:

Boardstat link

Your signature sounds like me at the mall with my kids, I tell my 2 sons (13 and 10) not to walk with me, I don't want anyone to think I am that old. :eek:

Boofo 02-20-2003 02:20 PM

Thank you for the link. ;)

Congratulations on surviving teenagers. :) I have a 5 year old and 3 months old twins (all boys) and 2 grown boys (21 and 22) and I'm not sure I'll survive it all. I think that's why I adopted the signature. :) (But I wouldn't trade any of them for the world).

mheinemann 02-21-2003 07:40 PM

Quote:

Originally posted by Boofo


Just changing RAND() to RAND(NOW()) will do the same thing with less code and you don't have to do the $seed= part of it. That's what NOW does automatically. :)

Thanks for the tip. :)

Mike Gaidin 02-21-2003 07:50 PM

Quote:

Originally posted by mheinemann
Let me know if it works for you.
Looks like it works fine. Thanks for the help. :)

Boofo 02-21-2003 08:05 PM

Quote:

Originally posted by mheinemann


Thanks for the tip. :)

You're very welcome. ;) I found this tip at the mysql site and it seems to make a difference.

Rose 03-06-2003 04:11 PM

:) Thanks Firefly for the hack. And many thanks to Boofo whose previous posts (see page nine) have helped get it working for me.

[high]* Rose pounces on install[/high]

Rose 03-06-2003 08:34 PM

Outta curiosity - If I wanted to limit the usergroups that are eligible for the Member of the Day, I'd simply plug in the appropriate numbers as shown below, right? I mean, the below will pull members from usergroups 5,6,7, & 2, right?

PHP Code:

    $newmember=$DB_site->query_first("SELECT userid,username
                                        FROM user
                                       WHERE userid<>
$daybits[1]
                                         AND (usergroupid=5
                                          OR usergroupid=6
                                          OR usergroupid=7
                                          OR usergroupid=2)
                                       ORDER BY RAND()
                                       LIMIT 1"
); 


Boofo 03-06-2003 08:48 PM

Yes. ;)

Rose 03-06-2003 08:53 PM

:) I knew you'd be to my rescue. Thanks, Boofo!


All times are GMT. The time now is 09:43 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.02025 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (3)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