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 07-08-2005 08:24 PM

Quote:

Originally Posted by SlipNslide281
Installed and looks great. But one question. Where do I add the Phrases:

NOW CREATE THE FOLLOWING PHRASES:
******************************
last_online_at_x / Last online at {1}
******************************
active_users_today / Number of Active Users Today
******************************
most_users_ever / Most users ever online on a day was {1} on {2}.
******************************
already_visited_today / The following members have already visited the forums today

Um, there are no such instructions in this hack ???

Jon Matcho 07-09-2005 01:18 PM

Just FYI, to get this to work in vBadvanced 2.0 I needed to set the Use Module Shell Template to NO. After that, everything worked great.

Thanks!

Paul M 07-09-2005 02:38 PM

Quote:

Originally Posted by Jon Matcho
Just FYI, to get this to work in vBadvanced 2.0 I needed to set the Use Module Shell Template to NO. After that, everything worked great.

Thanks!

Okay, thanks for sharing this. :up:

GamTrak 07-12-2005 12:26 AM

Hi, I got the following error when modifying the template. Please advise.

The following error occurred when attempting to evaluate this template:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /usr26/home/gamtrak/public_html/GamTrakForum/includes/adminfunctions_template.php(3096) : eval()'d code on line 192

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


Thanks

Edit: Now I can not load my main page. Please help.

http://www.gamtrak.com/GamTrakForum/index.php

Paul M 07-12-2005 12:46 AM

The usual reason is missing the </if> in step 2.

In fact, a couple of others have had this problem because they had other template mods installed - so the </if> that's part of the "find" in step 2 was not there, but they replaced the block anyway - and added the extra </if> in the replacement.

I did change the instructions to try and stop people tripping over this, but somewhere along the line the old instructions crept back in. I have reloaded the clearer instructions for you to try (sorry, I had to zip the text file due to the annoying new rule).

Paul M 07-12-2005 12:58 AM

Quote:

Originally Posted by GamTrak
Edit: Now I can not load my main page. Please help.

http://www.gamtrak.com/GamTrakForum/index.php

Hmm, okay - obviously you continued despite the warning.

My guess is you inserted an extra enf-if.

Try looking for this
Code:

<!-- Todays active users -->
</if>

and remove the hilighted </if>.

If that fails, PM me a copy of your forumhome template.

GamTrak 07-12-2005 01:00 AM

Hi, yes I messed up as I'm new at this. I'll send you the file now.

Thanks for your help as I'm in panic mode. hehe :D

NetRover 07-13-2005 10:58 PM

Hi there, I had this working fine but since upgrading to 3.0.7 my stats are blank unless I uncomment the 24hr rolling line.

When I first re-installed the hack it was working until 12.00 and then nothing even after an hour of members in and out.

I preferred it before the upgrade with the 24hr stats.

As I installed ok last time I can't think where things might have gone wrong. I've redone the forum home template and index.php but no luck yet.

hope you can help

Paul M 07-14-2005 01:13 AM

Sorry but I'm confused as to what your problem actually is.


Quote:

my stats are blank unless I uncomment the 24hr rolling line
and

Quote:

I preferred it before the upgrade with the 24hr stats
Seem to me to suggest you want, and have, the rolling 24 hr display ????

COBRAws 07-14-2005 03:36 AM

is there a way for just showing a number and not all members? What I want is to log all visits (members and guests) and show up a number, like:

Online the last 24Hrs: 848 users

sorry for the question.


All times are GMT. The time now is 09:09 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.01703 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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