vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to turn off users viewing forums while still showing users online? (https://vborg.vbsupport.ru/showthread.php?t=322623)

Mattwhf 05-13-2016 01:31 AM

How to turn off users viewing forums while still showing users online?
 
Hi everyone,

On my forum http://forumweb.hosting I wanted to turn off users viewing forums under each forum section but when I did this, it also turned off users online in What's Going On?

how to just off users viewing forums but still showing everthing at What's Going On?

Thank you

MarkFL 05-13-2016 01:45 AM

1 Attachment(s)
If you are talking about removing this:

https://vborg.vbsupport.ru/attachmen...1&d=1463110912

Then try adding the following selector to your "additional.css" template:

HTML Code:

.userviewing {
        display: none;
}


Mattwhf 05-13-2016 02:30 AM

Quote:

Originally Posted by MarkFL (Post 2570660)
If you are talking about removing this:

https://vborg.vbsupport.ru/attachmen...1&d=1463110912

Then try adding the following selector to your "additional.css" template:

HTML Code:

.userviewing {
        display: none;
}


I know it is possible to hide with CSS but it is still consuming hosting resource if it is not turned off from vBulletin codes.

As i knew, if I enable users viewing forums then it can require more server resource hence I wanted to off this.

MarkFL 05-13-2016 02:49 AM

You would likely have to edit a core .PHP file then.

Kane@airrifle 05-13-2016 07:18 AM

Nevermind

Mattwhf 05-14-2016 11:14 PM

Quote:

Originally Posted by MarkFL (Post 2570662)
You would likely have to edit a core .PHP file then.

Can you do that?

or can we have an easier way by creating a plugin to split this into 2 different parts?


All times are GMT. The time now is 01:13 AM.

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.01067 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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