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-23-2006 06:37 PM

I suggest you upload the file you are actually using in your CMPS so I can see the code.

headrat 02-23-2006 07:00 PM

Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat smallfont" style="font-weight: bold;"><a style="float: $stylevar[right]" href="#" onclick="return toggle_collapse('forumhome_$mods[filename]')"><img id="collapseimg_forumhome_$mods[filename]" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomtopic].gif" width="15" height="15" border="0" alt="Collapse/Expand" /></a>$vba_options[portal_blockbullet] Visitors Today: $totaltoday</td>
</tr>
</thead>
<tfoot style="display: none;"><tr><td></td></tr></tfoot>
<tbody id="collapseobj_forumhome_$mods[filename]">
<tr style="$vbcollapse[collapseobj_forumhome_randomtopic]">
<td class="$getbgrow">
<!-- Todays active users -->
$whotoday
<!-- Todays active users -->
</td>
</tr>
</tbody>
</table>
<br />


Paul M 02-24-2006 04:08 PM

No, not the template, the (php) file.

headrat 02-25-2006 04:57 AM

Well, I'm on 3.0.6 because if I upgrade I'm not sure how to keep all my "hacks", but when I uncomment the line for the $cutoff in the php file it shows ALL of my users in the box. Can you help me on that one?

Paul M 02-25-2006 05:52 AM

Change the uncommented line to this ;

PHP Code:

$cutoff TIMENOW 86400 // Rolling 24 Hours Display // 


headrat 02-25-2006 09:44 AM

Uh, nope, that didn't do anything but send it back to showing all my users. I'm not sure what the comment line after the code was supposed to do, since it is just a comment line. ??? Any other guesses.

Paul M 02-25-2006 05:22 PM

It's not a guess.

Sorry, but without access to your files etc I can't really help you as I can't figure out how you have things set-up and what code you are running. BTW, the comment is exactly that, nothing more.

headrat 02-26-2006 07:37 AM

that's what I thought, it was just a comment. I got the module working, but would like to see it changed to a rolling 24hr deal instead of just showing today, but this is still a good hack. Thanks.

zephy 04-16-2006 12:16 PM

Cheers PeM :)

Ohiosweetheart 07-29-2006 02:08 AM

Paul will this work with 3.6? If not, are you going to update it?

please?


All times are GMT. The time now is 03:00 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.01990 seconds
  • Memory Usage 1,732KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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