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)

Vile 07-31-2002 05:56 AM

Ok, thanks for the help:)

Thewnagchung 07-31-2002 06:15 AM

Quote:

Originally posted by Knightmare
Ok, thanks for the help:)
no problemo el muchacho ^^

NexDog 08-09-2002 12:21 AM

Can I just run the whole the whole query again to get the users who are active to show? Looks like it would be easiest in phpmyadmin. Can someone paste in the whole query with that edit that was post by FireFly? I'm no mysql expert, can't even tell where the query ends. :D

NexDog 08-09-2002 12:28 AM

Okay, it isn't the query that needs to be changed, just the code. duh.

Anyhow, I just need people active in the last month to qualify. What timestamp can I use in this code:

PHP Code:

WHERE userid<>$daybits[1] AND lastactivity>".[b]time[/b]()-(86400*14)." 


Admin 08-09-2002 07:34 AM

Change 14 to 30 (number of days).

NexDog 08-09-2002 08:51 AM

Yea, but instead of "time", don't I need php code?

Boofo 08-09-2002 09:39 AM

Just change it to what Firefly said and it will work the way you want it to. He's done this once or twice before, I think. :)

Quote:

Originally posted by NexDog
Yea, but instead of "time", don't I need php code?

NexDog 08-09-2002 11:33 AM

Okay...but have some weirdness happening. No name is appearing:

http://www.hostnexus.com/forum/index.php?s=

Under the stats at the top. I just want this working so I can install the main Stats hack.

And Christ. Will some tell me how to get the user online/offline thing happening like it is here? :D

Boofo 08-09-2002 12:02 PM

Are you using this line? I just looked at your code and didn't see it. ;)

Code:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$memberoftheday[userid]"><b>$memberoftheday[username]</b></a>
Quote:

Originally posted by NexDog
Okay...but have some weirdness happening. No name is appearing:

http://www.hostnexus.com/forum/index.php?s=

Under the stats at the top. I just want this working so I can install the main Stats hack.

And Christ. Will some tell me how to get the user online/offline thing happening like it is here? :D


NexDog 08-09-2002 01:48 PM

Yep:

PHP Code:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a>";i:13;s:253:"<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a><br>
The $bbtitle member of the day is <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$memberoftheday[userid]">$memberoftheday[username]</a



All times are GMT. The time now is 06:17 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.01216 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
  • (1)bbcode_code_printable
  • (2)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
  • (2)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