vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Members who have visited today (with last 24 hours option). (https://vborg.vbsupport.ru/showthread.php?t=71533)

Paul M 02-28-2005 09:31 AM

Hi jozo1 - I notice that you (and smokering, and a few odd others) have not clicked the "Install this Modification" link (just above the download link).

Being new to the site I expect you are not really aware of this - but clicking on this adds you to a list of people who have the hack installed - which helps the writer see how many people have the code, and also allows you to receive any notes sent out about updates. Please could you spare 30 seconds to do this - thanks.

KanyeWest 03-01-2005 06:14 PM

paul please help im stupid i dontn o how to read it to make 24 hours help help

Paul M 03-01-2005 06:27 PM

Sorry but I don't see what else I can tell you - the hack clearly tells you to uncomment a line to switch to the rolling 24 hours - I don't see how I could make it any plainer than it already is.

eva01_ 03-01-2005 06:37 PM

i think the instructions are pretty simple don't see what your problem is o_O

KanyeWest 03-01-2005 07:43 PM

Quote:

Originally Posted by Paul M
Sorry but I don't see what else I can tell you - the hackclearly tells you to uncomment a line to switch to the rolling 24 hours- I don't see how I could make it any plainer than it alreadyis.

see i haev add i dont understand like most people i dont no if i shoulduncomment the line before and after and which line im sorry

do i take out this line .? please highlite in quote in ur post what line i shold take out im sorry im stupid llol
PHP Code:

$now TIMENOW ;
require_once(
'./includes/functions_misc.php');
$cutoff vbmktime(000vbdate('m'$nowfalsefalse), vbdate('d'$nowfalsefalse), vbdate('Y'$nowfalsefalse));
//$cutoff = $now - 86400 ;  // Uncomment this line if you want a rolling 24 hours display.
$todaysusers $DB_site->query("SELECT userid, lastactivity, options, username, opentag, closetag
FROM " 
TABLE_PREFIX "user as user
LEFT JOIN " 
TABLE_PREFIX "usergroup as usergroup ON(user.usergroupid = usergroup.usergroupid)
WHERE lastactivity > " 
.$cutoff" ORDER BY username" ); 


Paul M 03-01-2005 07:54 PM

I'm really not sure if this is a wind up ....

Which bit of " uncomment this line " are you finding hard to understand ?

(apart from which, only one line is commented out anyway).

and you should not be quoting the hack for all to see either.


If you really don't understand it then I suggest you either find someone to install it for you, or don't bother. I cannot help you any further.

eva01_ 03-01-2005 07:56 PM

just take out the "//" in
Code:

//$cutoff = $now - 86400 ;
since // means comment after

KanyeWest 03-01-2005 08:10 PM

i dont wanna piss off paul eva can u please help me out of desperasion i no im very stupid but i cant help it my aim is idenonfire or pm me pelase thanks
my site is idenonfire.com

KanyeWest 03-01-2005 08:22 PM

wow thank you eva helped me out and thanks paul for helpin me im just stupid

well thanks again works like a charm

Vampyre 03-02-2005 03:30 AM

Work like a charm!!
Thanks for the nice work, Paul M. :)


All times are GMT. The time now is 02:58 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.01425 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
  • (1)bbcode_php_printable
  • (1)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