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 the forum (Today or last 24 hours). (https://vborg.vbsupport.ru/showthread.php?t=82769)

jokerz 11-06-2005 09:32 AM

Perfectly fine and easy to use. Good job, thanks for sharing :D

Paul M 11-06-2005 12:39 PM

Quote:

Originally Posted by vprp
Is there a way to have the online in past 24 hours list display by itself without the online users box? I used to do this with the old hack when I had to edit the template but can't figure it out now.

1. In FORUMHOME, find where you want this hack to appear, and put a line like this in the template.

PHP Code:

<!-- visitors-today --> 

2. Edit Plugin No.2.

Find ;

PHP Code:

$search_text '<!-- end logged-in users -->'

Change it to this ;

PHP Code:

$search_text '<!-- visitors-today -->'

If necessary, edit the "Display_Visitors" template to suit.

AtoZ 11-08-2005 11:54 PM

Great hack!

I, too, had used an old hack to only display the number. Rather than use the instructions above, I did this... It just seemed simpler to me for what I was trying to accomplish.

1. I added $whodesc $totaltoday to the FORUMHOME template.

2. I opened the Display_Visitors template, and commented it out:
<!-- after <!-- who has visited -->
and
--> before <!-- end who has visited -->

SlipNslide281 11-09-2005 03:55 AM

Works great but why can only certain usergroups see it? I have some usergroups that can see it and some that can't. Unregisterd users can see it too.

Paul M 11-09-2005 05:11 AM

Quote:

Originally Posted by SlipNslide281
Works great but why can only certain usergroups see it? I have some usergroups that can see it and some that can't. Unregisterd users can see it too.

From the feature list (post one) ;
Quote:

9. The ability to allow only certain usergroups to view the list is an ACP option (vBulletin Options > Forums Home Page Options).

mikehawk 11-09-2005 06:13 AM

Works great.

/me installs.

Snake 11-09-2005 10:29 AM

Hey Paul, have you figured out my request yet?

Paul M 11-09-2005 05:04 PM

What request ?

admin0 11-09-2005 06:37 PM

Installed and works great

joeychgo 11-09-2005 06:46 PM

Thanks Paul - installed on all my 3.5 forums -- again :)


All times are GMT. The time now is 03:55 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.01489 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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