vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Members who have visited today. (https://vborg.vbsupport.ru/showthread.php?t=165960)

Corndog235 08-12-2008 12:45 AM

Thanks for the 3.7 port :)

Paul M 08-12-2008 01:49 PM

Quote:

Originally Posted by SABRSox (Post 1596605)
In the style options, there are alternating colors for tables. Normally I override that by changing the div class to something like "alt3" or whatever name I choose, but I can't find a place to force a div class on this product.

Everything this displays is done via its own templates, just edit them as required.

dianna 08-13-2008 04:10 PM

Sweet thanks!!!

Sym0n 08-19-2008 09:57 AM

Quote:

Originally Posted by Ash Ketchum (Post 1594176)
I recently had a buch of bots attack my forum, and the counter went WAY up there... Is there any way to reset this through the mod or SQL Query?

I've had the same thing. I know this mod doesn't use the same record in datastore as 'Most users ever online'.

Paul can you let me know which table and record your mod is storing it's information in please, specifically the 'Most members online in a day'?

*Edit - Scrap that. I'm thick lol. It is the same 'maxloggedin' record in the datastore table, just at the end.

Thanks

Sy

Gatorade 08-19-2008 10:24 AM

Just awesome thank you!

Jhonnyf 08-20-2008 12:45 AM

how to restar the counter?

thank you

Paul M 08-20-2008 11:06 PM

No easy way.

Jhonnyf 08-20-2008 11:33 PM

Quote:

Originally Posted by Paul M (Post 1603372)
No easy way.

not a simple SQL sentence?

Sym0n 08-21-2008 06:36 AM

Nope, well saying that depends on what you want to reset. If you wanted to reset the counter to 0 with todays date then yes a simple SQL query on datastore to change the value to 0 with todays date then the following:
Code:

UPDATE datastore SET data = 'a:4:{s:9:"maxonline";i:0;s:13:"maxonlinedate";i:1219276801;s:15:"maxvisitorsdate";i:1219276801;s:11:"maxvisitors";i:0;}
(I think, so double check it before you run it and don't blame me if it wrecks your DB lol)

However if you want to reset the max users online figure with a date in the past you'd need to change that query so that the bits in red fit your criteria. To calculate the date in unix time I've used this online calculator.

Anyway further details, written by someone who has a clue of what they are talking about, can be found HERE.

Sy

Paul M 08-21-2008 09:03 AM

Dont run that query as is, it will cause a lot of damage as it as it doesnt specifically reference the maxloggedin record, but even if it did - running it will wipe out other dates/values stored in that record.

Like I said, there is no easy way. Most things can be done if you have the knowledge and experience.


All times are GMT. The time now is 09:15 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.01443 seconds
  • Memory Usage 1,735KB
  • 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
  • (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