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

Paul M 02-22-2008 06:09 PM

You are in a different timezone to guests.

Robbey 02-22-2008 11:51 PM

Quote:

Originally Posted by Paul M (Post 1448850)
You are in a different timezone to guests.

All times are GMT -5. The time now is 08:49 PM.

My time is 8:49

Grintaci 02-23-2008 11:15 AM

Quote:

Originally Posted by EvilHawk (Post 1158063)
WVT display on a seperate page (updated to version 4.40)

Thanks friend,

The hack is very good - CONGRATULATIONS - :up:

I translate this hack for the portuguese brazilian for use in my forum, you like, I send the translation for portuguese BR for you ok?;)

Best regards...

vigape 02-23-2008 12:13 PM

A good mod, installed and trying

Marka Ragnos 02-24-2008 01:37 PM

Thanks, installed!

jscieza 03-08-2008 11:43 AM

Hi Paul,

I have a question and hope you can help me ;)

It's possible to display the information of members who has visited today only for certain usergroups? I want to have this enabled for my moderators and not for the users because my forum home page has a lot of subforums and a list of the members who has visited today (in my case, more than 60) just increases the scroll bar so it generates to new users the idea of that forum is loaded of subforums and I think it isn't a good at all.

If possible, in which part of the code may I add the conditional to only display it for some usergroups?

Thank you very much for your time... and your patience :D

Take care!

Jonathan.

Paul M 03-09-2008 01:58 AM

You would need to modify the SQL in plugin No.2 - adding a check for usergroupid.

Code:

SELECT * FROM ".TABLE_PREFIX."user FORCE INDEX (lastactivity)
WHERE lastactivity > $cutoff AND usergroupid IN (5,6,7) ORDER BY username


jscieza 03-09-2008 02:54 AM

Thank you very much Paul! ;)

Thomas P 03-12-2008 08:48 AM

Great hack :)

Users are sorted alphabetically, will turning this off (removing the ORDER BY statement) improve performance as it is possible with the stock-vb settings?

Paul M 03-12-2008 05:17 PM

Im sure it would in theory, Id defy anyone to notice the difference other than by scanning the SQL statistics (unless maybe you had thousands of visitors per day).

Thomas P 03-13-2008 04:46 PM

Thanks, we do have indeed ;)

rnixon 03-14-2008 09:12 AM

Many thanks!

eZ--eZ 03-14-2008 10:08 PM

can we have this for vb 7 please...

Thanks a lot...

yinyang 03-15-2008 12:56 AM

Quote:

Originally Posted by eZ--eZ (Post 1464902)
can we have this for vb 7 please...

Thanks a lot...

yes, and with a cherry...

SAWASCI 03-15-2008 07:10 AM

not working with 3.7.0 b 5. but if will i change min and max version in xml file to 3.7.0.. maybe work but i m afraid of db errors..is it possible ??

please update this product poul M

Thomas P 03-15-2008 11:13 AM

Test it on a testing forum ;)

Paul M 03-15-2008 11:15 AM

Quote:

Originally Posted by eZ--eZ (Post 1464902)
can we have this for vb 7 please...

Thanks a lot...

Quote:

Originally Posted by yinyang (Post 1465017)
yes, and with a cherry...

Quote:

Originally Posted by SAWASCI (Post 1465191)
not working with 3.7.0 b 5. but if will i change min and max version in xml file to 3.7.0.. maybe work but i m afraid of db errors..is it possible ??

please update this product poul M


Maybe all you people should actually look first before posting :)

This was released for vb 3.7 well over two months ago.

yinyang 03-15-2008 03:27 PM

Quote:

Originally Posted by Paul M (Post 1465301)
Maybe all you people should actually look first before posting :)

This was released for vb 3.7 well over two months ago.

Man... well, at least i'm consistent. My wife says the same thing.... "Maybe you should actually look first before poking...." :eek::erm:

THANKS!

ErolALP 03-17-2008 11:07 PM

Thanks Paul M

AbercrombieAron 03-19-2008 02:21 PM

Wonderful job :)

manutdvn 03-19-2008 02:59 PM

I got a problem when install this mod. You can see my attachment. The number of member who visit my forum does not show.

My version is 3.6.8. Please tell me how can I fix this.

Thank you.

Paul M 03-19-2008 04:37 PM

You have not translated the phrase properly (you are missing the {1} at the end of it).

manutdvn 03-19-2008 05:06 PM

Quote:

Originally Posted by Paul M (Post 1468829)
You have not translated the phrase properly (you are missing the {1} at the end of it).

Thank you. Great! But how can I delete this line: The most members online in one day was {1}, {2}? I can not edit this, it is blank.

Paul M 03-19-2008 05:14 PM

What do you mean "blank" ?

manutdvn 03-19-2008 05:36 PM

Quote:

Originally Posted by Paul M (Post 1468861)
What do you mean "blank" ?

It means I can not edit it. It shows a text box without phrase.

Paul M 03-19-2008 06:45 PM

Sorry but I dont understand.

JFYI, I am on holiday as of later tonight so I probably wont see any reply for a week or more.

J105C 03-19-2008 07:01 PM

Installed and working nice. Thanks again bro! :up:

manutdvn 03-19-2008 07:03 PM

Quote:

Originally Posted by Paul M (Post 1468958)
Sorry but I dont understand.

JFYI, I am on holiday as of later tonight so I probably wont see any reply for a week or more.

Sorry my bad English. I mean please tell me how can I remove that line.

Al Gregory 03-19-2008 09:59 PM

easiest thing ever to install :)

myers1984 03-21-2008 01:35 AM

Hi guys.
I have noticed on some forums who use this plugin that celebrities who visit the site are red in color where everyone else is in blue.
And the admins / mods are in dark blue how do you do this does anyone know ?

wtfsoccerdude 03-21-2008 04:44 PM

How do I enable the displaying of guests visited in the last 24 hrs? I added the group Id but still It doesn't show it :?

falconKing 03-22-2008 03:01 AM

I installed the mod, but it is not visible anywhere :( although I can see it activited from vBulletin Options. Does anyone know why???!!!

antiekeradio 03-22-2008 04:51 PM

Quote:

Originally Posted by myers1984 (Post 1470299)
Hi guys.
I have noticed on some forums who use this plugin that celebrities who visit the site are red in color where everyone else is in blue.
And the admins / mods are in dark blue how do you do this does anyone know ?

settable in usergroup options.

molieman 03-22-2008 05:32 PM

Quote:

Originally Posted by antiekeradio (Post 1471736)
settable in usergroup options.

What version are you talking about, I don't see it in 3.7 :confused:

themajor 03-24-2008 12:13 AM

dying to have this in VB 3.7

Boofo 03-24-2008 01:49 AM

The I suggest using the 3.7 version of this that Paul released. ;)

MrEyes 03-27-2008 09:46 PM

Installed, working all good

However I have one quick question, in order to get this to integrate with some other mods on my site, I have set the "Code Option" to "Run Code on all pages". Does this mean that the SQL queries that are required to populate the data is executed on every single page view within the forum, or just pages that use that data?

Paul M 03-28-2008 01:26 AM

Every page view (hence "all pages").

MrEyes 03-28-2008 09:25 AM

Ahhhh might have to rethink my implementation of this then

It isn't healthy for DB usage if the SQL is called for every single page view regardless of whether the data is displayed.

Paul M 03-28-2008 03:17 PM

Well that depends on how busy your site is - its a simple sql select on an indexed database, unless you have a very busy site then its not really going to affect anything - however, it is an option you should think about and not just use for the sake of it.


All times are GMT. The time now is 04:20 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.02411 seconds
  • Memory Usage 1,796KB
  • 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
  • (12)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
  • (40)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