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)

Paul M 06-29-2008 10:49 AM

There is no need to post the same question in multiple threads. The answer is the same as in the Display members who have registered.

carwash 07-02-2008 01:53 PM

I get an error with it displayed twice. I uninstalled and tried to reinstall but I still get this problem:

I've looked in the template and its only there once. What is causing this?

Edit: I fixed it. I uninstalled the product and then removed the code that remained in the forumhome template. Reinstalling it after this solved the problem!

vitrag24 07-02-2008 11:07 PM

is this mod do similer work like this?

Paul M 07-03-2008 08:23 AM

That does a similar thing yes.

OsideRida06 07-10-2008 08:29 AM

Installed! Thanks for the great hack!

tekguru 07-10-2008 09:15 AM

Again been looking for this for ages - installed!

mcyates 07-13-2008 04:29 PM

How can I change the font size of the username? I want it to be 12 pixels.

mcyates 07-13-2008 04:32 PM

Display_Visitors

Done it, using the above template.

Cheers

mcyates 07-13-2008 07:48 PM

I have a profile field which shows a crest (logo) of the team the member supports. Is it possible to show the field on the list of members that are shown on this hack?

Paul M 07-13-2008 09:17 PM

Assuming I understood you - edit the "Display_Visitors_User" template.

mcyates 07-14-2008 11:08 AM

I created a userfield option where people select there team from a dropdown in the usercp and they then have a crest (little logo) to the right of there name. To get this to work I was told I had to create a plugin but didn't know how, so someone on here done it for me, the plugin is this:

Product: vbulletin
hook location: forumhome_loggedinuser
title: football crests
Plugin PHP Code: $online_userinfo = fetch_userinfo($loggedin['userid']);

And of the forumhome_loggedinuser the code for the template is:

Code:

<if condition="$show['comma_leader']">, </if>$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]"><if condition="$online_userinfo[field15]"><img src="images/crests/$online_userinfo[field15].gif" border="0" /></if>$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
As you can I had to add this to get it to work:

Code:

<if condition="$online_userinfo[field15]"><img src="images/crests/$online_userinfo[field15].gif" border="0" /></if>
If you can let me know how to get the icons showing on this hack It would be very much appreciated.

Below is the link to my football crests modification:
https://vborg.vbsupport.ru/showthrea...ootball+crests

Thanks

Captain Tycoon 07-19-2008 08:23 PM

How can i add the avatar of the members beside their name? and Is it possible to only display a certain amount of members? e.g. the last 10 members who visited the forum.

masterweb 07-20-2008 10:06 AM

Installing and running withour problems. Thanks for sharing it with us :D

punk23 07-20-2008 10:16 AM

Love it!

One prob for me though....

I have a template issue that I am sure is simple to fix but as I am not a coder, where would I look to fix it please? I really want to use this mod.

Paul M 07-20-2008 12:02 PM

I would guess you need to edit the Display_Visitors template, but its impossible to say from just a screenshot.

punk23 07-20-2008 08:38 PM

Yes, I completely agree. Is there anywhere I can paste the code to be looked at?

Paul M 07-21-2008 09:45 PM

You can post it in a code/html block, but that doesnt mean I'll be able to help you. :)

Spank 07-27-2008 02:53 AM

Hi installed the mod working. Was quick and easy thanks and is working fine, thank you.

Is it possible to change or remove the whos_online.gif? It looks a little strange having the same image twice so close together.

cdoyle 07-29-2008 01:15 AM

I installed this on my test forum, worked great.
Now trying to install it on my real forum and I'm getting the following error when I import.

When I browse to the file, and then click on upload I get the following.

No file uploaded and no local file found.

any ideas?

chief thunder 07-31-2008 10:37 AM

I have had this mod installed for a little while and just noticed that my count is off.

Notice it says the most visitors online in one day was 19 'today' and today just started as it is about 0700 and have had only 3-visitors so far.

I am running 3.7.2 and have had this installed since 3.7.0

Is there any other area that I should have upgraded or looked at?
Not sure what is wrong
Thanks
Jill

Zidane007nl 08-01-2008 09:21 PM

Nice mod. I'm using it for a long time now, but never clicked installed... :erm:
Just upgraded and clicked installed.

Paul M 08-02-2008 06:19 PM

Quote:

Originally Posted by chief thunder (Post 1588233)
I have had this mod installed for a little while and just noticed that my count is off.

Notice it says the most visitors online in one day was 19 'today' and today just started as it is about 0700 and have had only 3-visitors so far.

I am running 3.7.2 and have had this installed since 3.7.0

Is there any other area that I should have upgraded or looked at?
Not sure what is wrong
Thanks
Jill

This has been covered before - its simply due to members being in different timezones, you will catch-up with the '19' as your day progresses.

Spank 08-02-2008 06:31 PM

Is there a way to get a list in time order of the members that visited?

For example on myBB when you click on members who visited today

it displays the a list of members that had visited in the last 24 hours and the time they were last active.

Member A - 10.43
Member B - 10.15
Member C - 9.58
etc.

chief thunder 08-03-2008 12:09 AM

Quote:

Originally Posted by Paul M (Post 1590035)
This has been covered before - its simply due to members being in different timezones, you will catch-up with the '19' as your day progresses.

Thanks!

Merjawy 08-03-2008 06:50 PM

Nice hack,, thanks

I noticed it'll only displays on forumhome and not any other page no matter what settings I choose.

I'm using 3.7.0

Paul M 08-04-2008 11:17 PM

Thats correct.

susieblue 08-05-2008 04:39 PM

hi there

is there a version of this that is compatible with vb ver 3.7.2 please? i tried to install it and it gave database errors and said its not compatible with this version.

thanks

susie

Spank 08-05-2008 04:50 PM

I have it installed on 3.7.2 without any problems.

holwebs 08-05-2008 05:16 PM

I installed it today on 3.7.2 & it worked fine. :up:

Paul M 08-05-2008 07:02 PM

Quote:

Originally Posted by susieblue (Post 1592000)
is there a version of this that is compatible with vb ver 3.7.2 please? i tried to install it and it gave database errors and said its not compatible with this version.

This is compatible with all 3.7.x versions.

Bellinis 08-06-2008 06:23 AM

Quote:

Originally Posted by Paul M (Post 1590035)
This has been covered before - its simply due to members being in different timezones, you will catch-up with the '19' as your day progresses.

Having the same issue.
Installed this yesterday and at the end of the day it said "The most members online in one day was 307, Today."

Today (new count), it still says "The most members online in one day was 307, Today." (in stead of "Yesterday". All my members are in the same timezone...
How come? :)

BTW, thanks for this lovely mod!

mcyates 08-06-2008 01:09 PM

Quote:

Originally Posted by mcyates (Post 1574947)
I created a userfield option where people select there team from a dropdown in the usercp and they then have a crest (little logo) to the right of there name. To get this to work I was told I had to create a plugin but didn't know how, so someone on here done it for me, the plugin is this:

Product: vbulletin
hook location: forumhome_loggedinuser
title: football crests
Plugin PHP Code: $online_userinfo = fetch_userinfo($loggedin['userid']);

And of the forumhome_loggedinuser the code for the template is:

Code:

<if condition="$show['comma_leader']">, </if>$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]"><if condition="$online_userinfo[field15]"><img src="images/crests/$online_userinfo[field15].gif" border="0" /></if>$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
As you can I had to add this to get it to work:

Code:

<if condition="$online_userinfo[field15]"><img src="images/crests/$online_userinfo[field15].gif" border="0" /></if>
If you can let me know how to get the icons showing on this hack It would be very much appreciated.

Below is the link to my football crests modification:
https://vborg.vbsupport.ru/showthrea...ootball+crests

Thanks

I take it this isn't possible then?

Bellinis 08-07-2008 06:38 AM

Quote:

Originally Posted by Paul M (Post 1590035)
This has been covered before - its simply due to members being in different timezones, you will catch-up with the '19' as your day progresses.

I just don't get it. Our highest count was two days ago, yesterday it was saying "Today" for the WHOLE day (so it didn't catch up!) and today it's telling us that the highest count was yesterday.

Looks like the script is 24 hours behind.
How do we resolve/reset this?

Thanks

Paul M 08-07-2008 10:39 AM

Sorry, but its not 24 hours behind.

I cannot comment on your inistallation as I have no access to your forum, but I would guess you have at least one member in a different timezone.

Ash Ketchum 08-08-2008 05:14 PM

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?

Ash

SABRSox 08-08-2008 10:15 PM

Is there a way to specify which alternating color this product uses? Right now, on my board, it's not using the one I'd prefer.

Paul M 08-09-2008 12:05 PM

Alternating colour ?

Chimpie 08-11-2008 02:57 PM

Any chance we can get a report emailed to us/the admin of who logged in for the day added to this mod?

Paul M 08-11-2008 04:49 PM

Nope, no chance.

SABRSox 08-12-2008 12:17 AM

Quote:

Originally Posted by Paul M (Post 1594725)
Alternating colour ?

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.


All times are GMT. The time now is 12:40 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.01709 seconds
  • Memory Usage 1,819KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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