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)

soul__stealer 12-29-2006 07:08 AM

Had this on an old site and loved it. Re-Installed on a different site.

Clicked Install :)

darkobg 12-29-2006 06:44 PM

<font color="Lime">updated!</font>

thx Paul

rareclownfish 12-29-2006 07:36 PM

Hey Paul, is there away to make this info show up in a Module on phpportals?
Thanks

Paul M 12-29-2006 10:39 PM

No idea, I have never heard of phpportals.

rareclownfish 12-30-2006 01:59 AM

Quote:

Originally Posted by Paul M (Post 1147230)
No idea, I have never heard of phpportals.

Sorry vbportal.

Maur?cioSB 12-30-2006 03:19 PM

Just upgraded and working fine (vBul. 3.6.4)

TheWhite 12-30-2006 07:12 PM

like i said many times before can't you merge your 2 seperate vb hacks -> guest and member visits? all phpbb boards do this so it would be nice to have it on a VB board as well. :)

Paul M 12-30-2006 11:15 PM

Quote:

Originally Posted by rareclownfish (Post 1147320)
Sorry vbportal.

Well I still can't answer you, I don't use any portals so I don't know the details of how they work.

Quote:

Originally Posted by TheWhite (Post 1147670)
like i said many times before can't you merge your 2 seperate vb hacks -> guest and member visits? all phpbb boards do this so it would be nice to have it on a VB board as well. :)

Sorry, but the answer is 'no' - it is much easier for me to maintain them separately.

Spinball 12-31-2006 10:18 AM

When there are thousands of members visiting every, the demand on resources is a bit high. Yes there are two distinct advantages in this hack for me:
1) if the number of members visited today is displayed, it impresses potential advertisers and new members
2) members wanting to know whether other members have visited the forums today can see that information (it's particularly useful for traders who are wanting to know if other members are ignoring their PMs/posts)

Can I please make a request? Could we have an option to just show the totals on the home page without doing the long query to retrieve all the members? So just retrieve the count and display it. And then if the user clicks the display of the count, the list of members opens in a new page?

This way both objectives above are achieved without having to retrieve all the members from the database every time the forum home is displayed.
Thanks for your attention.

Paul M 12-31-2006 12:44 PM

To display the total you would still need to run the query (to count the records) - so nothing much would really be gained - and since this also adds an index to the user table, the query is not very intensive anyway.

If you have a slave SQL server (as many bigger sites do) then the latest versions (4.37 onwards) will run the query against that as well.

Spinball 12-31-2006 02:22 PM

We have a server just for SQL. Do you mean a secondary 'slave' server to that? I don't know how that works. Or how MySQL would use it.
Wouldn't doing a SELECT COUNT() be quicker than a SELECT USER. And ordering it by the user name would definitely put extra load on the SQL server since it would have to create a temporary table, wouldn't it?

Ok, it's now 5pm and we have nearly 7,000 members having visted today. It's too many to put on the home page.
A separate page would be very useful, though.

steven s 01-01-2007 12:50 PM

I need to add a legend to the beginning of the list of usernames.
SupporterMemberNew Member • Unconfirmed • Banned

The places I used put it in the wrong place.
Were would I add this?

PS. Supporter is supposed to be red, member blue. But vB is showing them as Green???

dragonhart 01-02-2007 07:19 PM

thank you so much:)

Shazz 01-02-2007 08:34 PM

It was either this hack or the guests one on the update.
It took off the errors when the page was finished loading
Now the page runs smooth

Shankoty 01-02-2007 11:26 PM

After i add the Who visted today [hack] ..... i see this

http://img505.imageshack.us/img505/6572/errorrw4.jpg

and i want to see who vist my forum today like this one


http://img226.imageshack.us/img226/2329/fixedne4.jpg

so can anyone tell me what the best solution ???

Paul M 01-02-2007 11:49 PM

There is something wrong with your usergroup markup html.

Shankoty 01-03-2007 09:28 AM

so what should i do ??
if u know any steps please tell me

iam still new at vBulletin Board

Viper007Bond 01-03-2007 12:26 PM

I am unable to get the display to load collapsed or even be toggleable after updating.

Paul M 01-03-2007 05:37 PM

Have you customised the template, you will need to revert it if you have.

Wordplay 01-03-2007 09:29 PM

thank you!

A0007 01-05-2007 02:43 AM

Thanks ! cool mod :cool: :lick: :banana: :bunny: :up: :bunny: :bunny: :bunny: :banana: :banana: :banana:
https://vborg.vbsupport.ru/https://vborg.vbsupport.ru/https://vborg.vbsupport.ru/
:bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny:
:bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny:
:bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny: :bunny:

masterme 01-06-2007 11:55 AM

Nice feature this. Looks a bit sad with that single user which is me, but still.
Installed ofcourse!

farooqaaa 01-06-2007 03:37 PM

This is nice ;). Installing the latest version.

Limerick 01-08-2007 06:38 PM

Hello all,
Hello Paul,

I'd like to know if it is possible to display users in chronological order of visiting time instead of alphabetical order?

Thank you.

Limerick 01-08-2007 06:57 PM

Quote:

Originally Posted by Paul M (Post 1144883)
You would need to alter the sql in the plugin.

Sorry, I didn't see this answer before posting my question just above.

But in which way should we "alter the sql in the plugin"? :confused:

Paul M 01-08-2007 09:46 PM

Chage the order by from username to dateline.

Limerick 01-09-2007 05:50 PM

Quote:

Originally Posted by Paul M (Post 1154023)
Chage the order by from username to dateline.

Well, well, well... and could you just explain to me how to do that :o

I'm really not a coder and it's a bit strange for me :(

aciurczak 01-09-2007 07:03 PM

Quote:

Originally Posted by Limerick (Post 1154753)
Well, well, well... and could you just explain to me how to do that :o

I'm really not a coder and it's a bit strange for me :(


Go into the file with a text editor, and you should see a SQL statement that has an order statement in it. It will say something like "ORDER BY USERNAME" as the last clause of the SQL statement. Change the text USERNAME to DATELINE or WHOREAD.DATELINE, and resave the file, perhaps under a new name. Then when you upload the product via the vBulletin product manager, point to your new edited file.

Limerick 01-09-2007 07:05 PM

I tried to change username by dateline and I had the following

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                SELECT * FROM user
                WHERE lastactivity > 1168297200 ORDER BY dateline;

MySQL Error  : Unknown column 'dateline' in 'order clause'
Error Number : 1054


Limerick 01-09-2007 07:08 PM

I have the same with WHOREAD.DATELINE

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                SELECT * FROM user
                WHERE lastactivity > 1168297200 ORDER BY WHOREAD.DATELINE;

MySQL Error  : Unknown column 'WHOREAD.DATELINE' in 'order clause'


aciurczak 01-09-2007 07:15 PM

change it to "ORDER BY lastactivity"

Limerick 01-09-2007 07:18 PM

You're right !!! :D

Thank you very much. Finally, it was not so difficult :o

Cybershaolin 01-09-2007 07:20 PM

Nice mod. I would love to see a add-on:

The maximum (record) number of members who visited on one day is: 2418 on 03-04-2006 at 11:59 p.m.

Something like that, a little bit like we already have for the users actually connected...

aciurczak 01-09-2007 07:24 PM

Quote:

Originally Posted by Cybershaolin (Post 1154832)
Nice mod. I would love to see a add-on:

The maximum (record) number of members who visited on one day is: 2418 on 03-04-2006 at 11:59 p.m.

Something like that, a little bit like we already have for the users actually connected...

Does this not give you what you're looking for? With it you can have a "most ever" for users who have logged in, guests, and even chatters.

Cybershaolin 01-09-2007 08:29 PM

Oh Thanks. That works. I did not see that one. :)

TheWhite 01-10-2007 04:30 AM

Quote:

Originally Posted by Cybershaolin (Post 1154832)
Nice mod. I would love to see a add-on:

The maximum (record) number of members who visited on one day is: 2418 on 03-04-2006 at 11:59 p.m.

Something like that, a little bit like we already have for the users actually connected...

here's the mod your looking for. :)

https://vborg.vbsupport.ru/showthread.php?t=122425

Cybershaolin 01-10-2007 04:59 AM

This was already answered before my last post but thanks anyway. :)

Antivirus 01-10-2007 09:32 PM

very nice (schwing!)

Goodspeed 01-11-2007 09:41 AM

I've just upgraded to the latest version 4.39 and after that the total number of people visited forum today not showing anymore... Any suggestions? Thank you!

Paul M 01-11-2007 05:32 PM

Revert the display_visitors template.


All times are GMT. The time now is 03:43 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.02084 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
  • (2)bbcode_code_printable
  • (8)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