vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Two basic "How to" questions: cookie path and who's online (https://vborg.vbsupport.ru/showthread.php?t=193756)

dolphin678 10-16-2008 07:25 AM

Two basic "How to" questions: cookie path and who's online
 
1. cookie path: how can I set up my cookie path so that someone logging on using www.xyz.com won't need to log in again when they click a link http://xyz.com (without the www) and vice versa.

2. i want the default listing on "currently active users/who's online" to be 50 users per page not 20 - how can I change that?

Dismounted 10-16-2008 08:36 AM

1. That is not cookie path, but cookie domain. Set the cookie domain to ".xyz.com".
2. Which page are you referring to exactly?

dolphin678 10-16-2008 08:42 AM

On the Main Index at the bottome there is a "What's Going On" section and in that a "currently active users" link - the default is 20 users per page when listing - I would like it to be 50 users per page (as default - I know it can be manually reset each time)

Lynne 10-16-2008 03:24 PM

Quote:

Originally Posted by dolphin678 (Post 1646215)
On the Main Index at the bottome there is a "What's Going On" section and in that a "currently active users" link - the default is 20 users per page when listing - I would like it to be 50 users per page (as default - I know it can be manually reset each time)

I think that is hard coded into the page. Go to includes/functions_online.php and look at the function sanitize_perpage and where it says "$default = 25". But that value is actually superseeded by 'maxthreads' in the call to it in online.php around line140. 'maxthreads' which is the "Maximum Displayed Threads Before Page Split". So, you can change that value in the vboptions or modify that line of code.


All times are GMT. The time now is 08:16 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.03063 seconds
  • Memory Usage 1,713KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete