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)
-   -   Who was online today [available in english & german] (https://vborg.vbsupport.ru/showthread.php?t=34014)

Mystics 01-13-2002 04:31 PM

Quote:

Originally posted by TELEK
Ok, I did everything in the instructions, and nothing happened. I did the one on the seperate page. Anyways, nothing changed on the main page, and if I go to onlinetoday.php, it is just a blank white page.
Have you adjusted the existing templates and created the new templates? Seems so, if you don't have done that :rolleyes:

TELEK 01-13-2002 04:50 PM

yeah, I did

genial 01-13-2002 05:17 PM

Quote:

Originally posted by Lionel
Does this only count members or can it count guests too?
the current release count only members.

i will release a new version of this hack in the near future, which counts members and guests. guests will be differentiated through their ip, that means two guests with the same ip will be counted as one guest and a guest with different ips (surfing the web through a proxy-server) will be counted as more guests.

Lionel 01-13-2002 05:25 PM

Quote:

Originally posted by genial
the current release count only members.

i will release a new version of this hack in the near future, which counts members and guests. guests will be differentiated through their ip, that means two guests with the same ip will be counted as one guest and a guest with different ips (surfing the web through a proxy-server) will be counted as more guests.

Great because it can only look good when you display more. :D

TELEK 01-13-2002 05:25 PM

OK, I figured out how to work it, kind of. I don't understand what templates are, and how template sets work. The reason why it wasn't working was because the style set I was using, had the template set Hyren Village selected, and the templates I made for the hack were in default template set. But when i switch my style to default, the layout changes. Should I put those templates you make (for the hack) in every template set?

Mystics 01-13-2002 05:29 PM

Quote:

Originally posted by TELEK
Should I put those templates you make (for the hack) in every template set?
Yes! If you want to use the hack in every of your styles! But if you never use the default template set, you only have to insert the hack into your "Village"-Style-Templates.

Erwin 01-13-2002 05:38 PM

Hi genial,

Iinstalled the updated code. No way of knowing if it does work until tonight, but it looks like it's working. The numbers did change.

Just one IMPORTANT NOTE for potential installers:

Remove the "color" variable from the first code change if you do NOT have the color hack installed (or whatever that color variable is for) - otherwise your index.php will not work as you will get a database error! :)

Will let you know if there are any problems. Thanks!

Erwin 01-13-2002 05:46 PM

On second thoughts, I don't think the updated code is working. On the "visitors who have visited today" I am seeing members who was on definitely yesterday according to my timezone, and not since. I think you are using the DEFAULT timezone for VB - not the server one, but the default one, not the member's own timezone.

Server time zone: GMT -6
VB default: GMT 0
My timezone: GMT +10

Instead of using GMT -6 which was what it was using, it is now using GMT 0 (I think).

Anyone else with the same problem?

genial 01-13-2002 09:25 PM

Quote:

Originally posted by Erwin Loh
Just one IMPORTANT NOTE for potential installers:

Remove the "color" variable from the first code change if you do NOT have the color hack installed (or whatever that color variable is for) - otherwise your index.php will not work as you will get a database error! :)
uups sorry, i overlooked this. :o

i have fixed this little mistake in the posted code. ;)

i will check the fix for the timezone problem tomorrow, if i find time for. :D

DarkReaper 01-14-2002 01:50 AM

Cool. :)

http://www.seriouscommunity.com

Installed there earlier today :)


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