PDA

View Full Version : Members who have posted on the forum (Today or last 24 hours).


Paul M
13 Jun 2005, 22:08
This modification is no longer available or supported.

This plugin adds a simple display of all members who have posted in the forum - either today (i.e. since midnight) or in the last 24 hours.

The main features of Version 4.xx are basically the same as previous versions ;

1. It displays the list on Forum Home.
2. The list view is collapsable, so you just see the number of posters.
3. Invisible users are only displayed to those allowed to see them (with a "*")
4. Users who should display as coloured or bold etc will be displayed correctly. (based on the display usergroup)
5. If you 'hover' over a username it will show the time they last posted.
6. The list is in member name order.
7. If you click on a members name it will list their posts.

As well as this - Version 4 is a vB Product and adds the following ;

8. The hack is phrased.
9. The ability to turn it on/off is in the ACP Forum Home Options.
10. The ability to allow only certain usergroups to view the list is an ACP option (vBulletin Options > Forums Home Page Options).
11. The switch between Posted Today and Rolling 24 Hours is an ACP option (many seem to miss this actually exists).

Unzip the XML and import into vB using the ACP Product Manager.

To upgrade from version 4.10 onwards, you need to re-import the product with the overwrite option set to yes. To upgrade from version 4.02 to version 4.10 onwards, you need to uninstall the product and remove the template code in FORUMHOME - then upload the new product. To upgrade from version 3.xx to version 4.xx you need to delete the existing plugin and remove the template code in FORUMHOME - then upload the new product.

* An add-on to display a 'Most ever posters' count is available here (http://www.vbulletin.org/forum/showthread.php?s=&threadid=98887).


History:

v4.10 : Removed the need to edit the FORUMHOME template.
v4.11 : Hyperlinked display icon to todays posts list. Added vb number formatting to count.
v4.12 : Added ALT tag to above hyperlink.
v4.13 : Fixed problem affecting the most posters add-on when more than 999 post in a day.
v4.14 : Updated the install code to only create the index if it doesn't already exist.
v4.15 : Updated ACP view permission option to take into account secondary groups.
v4.16 : Added 'nofollow' attribute to listed usernames.
v4.17 : Minor changes, no update necessary.

Roxie
27 Jun 2005, 03:00
Looks great, but when I hover I don't get the time of their last post.

Paul M
27 Jun 2005, 03:11
Damn - you are correct - a small change missed in the port from 3.0.7.

Fixed and uploaded, just delete the plugin and import the new one.

Roxie
27 Jun 2005, 04:09
Thanks! Works great now.

Loki12
10 Jul 2005, 12:59
Very useful. :) I install!

Gary King
13 Jul 2005, 21:22
Run this through the w3 validator. Fix the & so that it is &, otherwise you get hundreds of XHTML errors.

SHANE-D-PAIN
14 Jul 2005, 01:12
This and the users visited today both stopped working for me when it hit midnight!

They just show 0 and no names now!!!

Chris M
14 Jul 2005, 01:54
Run this through the w3 validator. Fix the & so that it is &, otherwise you get hundreds of XHTML errors.
You and your bloody XHTML compliance :p

And that happens to me sometimes SHANE-D-PAIN :ermm:

Not sure why, but it corrects itself after a few hours...

Satan

Paul M
14 Jul 2005, 03:22
Apart from a few web developers, I have yet to meet a forum admin who cares about XHTML compliance, so no, it's not high on my list of things to worry about - and besides - what "&" ? - there isn't one in this that I can think of.

This and the users visited today both stopped working for me when it hit midnight!

They just show 0 and no names now!!!Um, it's supposed to reset at midnight - until someone posts again after midnight it will show 0.

FYI: Version 3.30 has been uploaded.

Gary King
14 Jul 2005, 15:38
Apart from a few web developers, I have yet to meet a forum admin who cares about XHTML compliance, so no, it's not high on my list of things to worry about - and besides - what "&" ? - there isn't one in this that I can think of.

Um, it's supposed to reset at midnight - until someone posts again after midnight it will show 0.

FYI: Version 3.30 has been uploaded.
Put it this way. It isn't a big deal to add 3 characters to remove 100+ errors.

Are you certain there isn't a & in your code? Willing to bet on it? :p

Paul M
14 Jul 2005, 18:20
Perhaps you could point out where it is then, bacause I can't see one.

Gary King
15 Jul 2005, 15:03
In the Members Who Have Posted Today for the forumhome_start hook,

$posttoday .= "<a href='search.php?do=finduser&u=$today[userid]' title='$wrdate' >";

Notice the & ;)

Paul M
15 Jul 2005, 17:44
Well there you go then - you can fix your own now. :)

I'll alter my local source for when I next upload an update, no one else seems worried atm, so no hurry.

richard4339
28 Jul 2005, 23:45
I installed it, and it works GREAT. Thanks =)

XtremeOffroad
02 Aug 2005, 05:13
Clicks Install. My brand spankin new board will be hacked/plugged to death at this rate.

slank
30 Sep 2005, 21:18
slanky installs too ;)

Anette
01 Oct 2005, 13:05
Thanks! :-D

Redclan
01 Oct 2005, 14:33
Thats not bad at all. Love it, www.bahamascope.net

csidlernet
05 Oct 2005, 05:03
/me installs

Paul M
06 Oct 2005, 03:20
Now converted from a 'Plugin' to a 'Product' which means ;

* The hack is phrased.
* The ability to turn it on/off is an option in the ACP.
* The ability to allow only certain usergroups to view the list is an ACP option.
* The switch between Visited Today and Rolling 24 Hours is an ACP option (many seem to miss this actually exists).

If you are happy with it working as is - then obviously there is no requirement to upgrade - I will still support the old version (though I will strongly urge you to upgrade in most cases). If you wish to upgrade then you will need to delete the existing plugin, upload the new product, and replace the template code with the new version.

Vampyre
16 Oct 2005, 18:25
Now converted from a 'Plugin' to a 'Product' which means ;

* The hack is phrased.
* The ability to turn it on/off is an option in the ACP.
* The ability to allow only certain usergroups to view the list is an ACP option.
* The switch between Visited Today and Rolling 24 Hours is an ACP option (many seem to miss this actually exists).

If you are happy with it working as is - then obviously there is no requirement to upgrade - I will still support the old version (though I will strongly urge you to upgrade in most cases). If you wish to upgrade then you will need to delete the existing plugin, upload the new product, and replace the template code with the new version.

Thanks, Paul. :)

Paul M
24 Oct 2005, 01:31
Version 4.10 uploaded.

This version removes the need to edit the FORUMHOME template.

To upgrade from version 3.xx to version 4.10 you need to delete the existing plugin and remove the template code in FORUMHOME - then upload the new product. To upgrade from version 4.xx to version 4.10 you need to uninstall the product and remove the template code in FORUMHOME - then upload the new product.

* An add-on to display a 'Most ever posters' count is also available here (http://www.vbulletin.org/forum/showthread.php?s=&threadid=98887).

dirtycrow
24 Oct 2005, 01:45
thanks. :)

divided_by_fear
25 Oct 2005, 12:19
love the plugin but one thing... if you run this through the w3 validator you get one error...

here is code

<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" border="0" /></td>

here is the only change...

<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="" border="0" /></td>

not trying to be picky or nothing just figured the one code makes it show no errors...

reteep
25 Oct 2005, 13:49
The update worked great, thanks a lot Paul!

funinthesun
02 Nov 2005, 14:59
Installed. Thanks

P.S Do you think it would be possible to put a "most ever users that posted in 24 hours" or a "most ever users who visted in 24 hours" the same as the "most ever users online" is? Just a thought but no biggie :)

Paul M
02 Nov 2005, 19:30
P.S Do you think it would be possible to put a "most ever users that posted in 24 hours" or a "most ever users who visted in 24 hours" the same as the "most ever users online" is? Just a thought but no biggie :)Assuming I understand this correctly, see the main post, near the bottom, it links to an add-on for this.

funinthesun
03 Nov 2005, 01:15
Oh sorry, I've just realised how that sounded. D'oh! What I meant was in the box 'currently active users' it says "most users ever online was..." and I was wondering if you could somehow put similar text for the "total members that have visted the forum" so that in the box it would say 'most ever users that visited the forum in 24 hours were...' I hope that makes more sense!? It really isn't a big deal. :)

Paul M
03 Nov 2005, 02:02
Sorry, I'm not following at all.

This is a members who have posted hack, there is a seperate members who have visited hack.

Cedric_FP
03 Nov 2005, 04:46
Nice hack. Thanks.

funinthesun
03 Nov 2005, 17:15
Lol, don't worry, I was only suggesting a little add on for both hacks but it really doesn't matter as it wasn't a big thing to change :)

lsgworldl
04 Nov 2005, 08:31
nice installed on my new forum I am setting up

smsmasters
04 Nov 2005, 13:14
How do you move this below " Total members that have visited the forum in the last 24 hours" block?

Thanks

funinthesun
04 Nov 2005, 13:18
I would also like to know how to do that. Thanks :)

smsmasters
04 Nov 2005, 13:26
I assume you have to edit:

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

What template shall I change it to?

smsmasters
04 Nov 2005, 17:06
Bump, thanks :)

Paul M
04 Nov 2005, 17:56
Bump, thanks :)After [less than] four hours, are you joking ?

smsmasters
04 Nov 2005, 22:49
Can you please tell me how to move this below " Total members that have visited the forum in the last 24 hours" block?

Thanks very much Paul M ;)

Paul M
05 Nov 2005, 03:54
There is no facility (currently) in vb3.5 to determine what order plugins are run, it is based on their installation order. Basically they will be displayed in the order that you installed them. The quickest way therefore would be to uninstall the 'last visited product' and then re-install it.

smsmasters
05 Nov 2005, 12:54
Thanks for the tip Paul M, it worked! :nervous:

Moya
15 Nov 2005, 07:36
It is not working for me. I couldn't see it anywhere.

Paul M
15 Nov 2005, 10:51
Do you use a custom style ?

(The homepage link in your profile links to a broken forum ...)

Moya
15 Nov 2005, 17:15
Do you use a custom style ?

(The homepage link in your profile links to a broken forum ...)


Oh I am running on a test site. Here is the link

http://www.aotrangmongmo.com/vb35/

Paul M
15 Nov 2005, 17:36
You have read this bit I take it ?

10. The ability to allow only certain usergroups to view the list is an ACP option (vBulletin Options > Forums Home Page Options).
Guests are not in the default view list.

Moya
15 Nov 2005, 17:40
You have read this bit I take it ?


Guests are not in the default view list.


I put 0 in both

Who Posted - Groups allowed to View

Who Visited - Groups allowed to View

and enable both

Who Visited - Enable

Who Posted - Enable

Paul M
15 Nov 2005, 17:53
Can't help you further without an admin login, I can't think of any reason they would not show.

Moya
15 Nov 2005, 18:03
Can't help you further without an admin login, I can't think of any reason they would not show.


Uhmm let's me uninstall and install both of them and test it out.

Thanks

Rickie3
29 Nov 2005, 12:04
i love it thankyou *installed*

MustangLisa
15 Jan 2006, 05:08
Very cool, thanks!

forumsoup.com
07 Feb 2006, 23:29
I put this on my site, love it, and clicked installed. Thanks!

Mark.B
10 Feb 2006, 21:14
There is no facility (currently) in vb3.5 to determine what order plugins are run, it is based on their installation order. Basically they will be displayed in the order that you installed them. The quickest way therefore would be to uninstall the 'last visited product' and then re-install it.
I'm having the same issue, but regardless of what I do to uninstall and reinstall the order won't change.

I have even tried uninstalling both and reinstalling the opposite way round, but the who's posted still shows above the who's visited.

Paul M
10 Feb 2006, 21:36
Well like it says, atm vb does not provide any ability to change the order that plugins run, it's basically random (as in the order mysql supplies the records from the database). There is nothing I can do about that.

Mark.B
10 Feb 2006, 21:50
Well like it says, atm vb does not provide any ability to change the order that plugins run, it's basically random (as in the order mysql supplies the records from the database). There is nothing I can do about that.
No problem Paul...I'll live with it. It does illustrate a disadvantage with the fancy plug in system...lovely as it is for installing hacks, there's no substitute for being able to play around in the template. :)

Great hacks though Paul.....fantastically written and work perfectly!

Tralala
19 Feb 2006, 18:30
Cool hack, thanks!

/Clicks INSTALL


Two issues:
- I notice this only works if I also have "Display Logged in Users?" set to YES. That is, if the "Currently Active Users" grid isn't set to show, then neither does this, regardless of it's settings. Would like for them to be independent of each other.

- I have a 3rd party skin, and while this hack works fine, the white box doesn't extend all the way to the right. Is there a way for me to edit a template so it displays properly? I can upload a screenshot if it will help.


Thanks for the cool hack!

Paul M
19 Feb 2006, 21:50
It's designed to be displayed with the currently active users display and cannot be easily seperated. A screenshot won't really help, I/people would need access the page to view the html. I'm not much of an html expert so I may or may not know the answer.

CongTuDepTrai
25 Feb 2006, 19:43
can you add the number of post the made today? because your mod only display the members who post, not the number of post they made

Paul M
25 Feb 2006, 20:25
Nope, sorry, that's not going to be added.

BabyNameAddict
09 Mar 2006, 03:47
Beautiful!!!!!

Nokia Plus
09 Mar 2006, 07:44
Great Work !

Instaaled :)

erinys
10 Mar 2006, 08:44
thanks for this mod, worked flawless :)

Gizmo5h1t3
17 Apr 2006, 13:41
update installed,works like a charm

csidlernet
21 Apr 2006, 12:14
tyvm

Paul M
21 Apr 2006, 13:09
tyvmLOL, It took me a minute to work that one out. :)

GlobalFusion
11 May 2006, 13:45
*installed*

Dr.Viggy
15 May 2006, 03:36
*installed

Dr.Viggy
15 May 2006, 03:42
*installed

Paul M
15 May 2006, 03:51
*installedTwice as well, must be good ;)

redlabour
08 Jun 2006, 17:50
Will it work in the Future with vBulletin 3.6 (http://www.vbulletin.com/forum/showthread.php?t=187654) ?

Paul M
10 Jun 2006, 20:05
I have no idea if it will work on 3.6 as I haven't even seen 3.6 code yet. If it does it does, if it doesn't then a 3.6 version will eventually be available.

Please note that this applies to most of my 3.5 releases. :)

Lottis
28 Jun 2006, 07:53
I have this hack in 3.6.0 beta and it works.
Only bugger is, that i have to run a count in the user titel the get it to include
admin and moderators to the list of who has posted.

Paul M
28 Jun 2006, 09:53
I don't really understand what you mean by that.

Lottis
30 Jun 2006, 09:38
Sorry, Paul M. I am terribel to explain in english.
I will try again.
This mod, works. But it wont count in admins and supermoderator.
So i have to update counters every day, to make it registered that admin and mods have been posting.

Paul M
30 Jun 2006, 18:10
There is a setting to control who can view the list - but there is nothing to exclude anyone from the count.

jplg
19 Jul 2006, 23:24
Most users ever online was...
does it belong to this hack? cause on my site it hasnt been updated since 06-30-2006
where is it a wrong setting in the Admin cpanel?

o0Hubba0o
22 Jul 2006, 05:00
There is a setting to control who can view the list - but there is nothing to exclude anyone from the count.

I'm using 3.6 rc1 and it only shows registered members, it will not show mods, super mods, admin. Not sure about the custom user groups yet though. So there may not be something to exclude anyone, but it will need to be updated for 3.6, probably after it goes gold, but sooner would be nice. ;)

If I do a "Update User Titles and Ranks" in the update counters section under maintenance it will then add me to the list of posters.

SnickersTK
22 Jul 2006, 12:51
I need help with something unrelated.

<If member has not posted the past 24 hours>

X

<else />

blaaaah

</if>

Can anyone re-write this to something working?

Paul M
22 Jul 2006, 14:37
If you have a modification request then please start a new thread in the requests forum, not post in this support thread. Thanks.

Paul M
22 Jul 2006, 16:19
I'm using 3.6 rc1 and it only shows registered members, it will not show mods, super mods, admin. Not sure about the custom user groups yet though. So there may not be something to exclude anyone, but it will need to be updated for 3.6, probably after it goes gold, but sooner would be nice. ;)I looked into this today - it is a bug in 3.6 itself - the lastpost field is not being updated for mods/admins. Logged in the bug tracker.

o0Hubba0o
22 Jul 2006, 16:54
I looked into this today - it is a bug in 3.6 itself - the lastpost field is not being updated for mods/admins. Logged in the bug tracker.
Cool, thanks for checking into it. :)

Emmy2
22 Jul 2006, 23:38
To install this hack, follow the install instructions in the zip file.
I downloaded and unzipped the file but there is no install instructions included as stated above. All that was there was the xml file. Am I missing something?

o0Hubba0o
23 Jul 2006, 00:13
I downloaded and unzipped the file but there is no install instructions included as stated above. All that was there was the xml file. Am I missing something?
No it's not there, but if I remember right all you have to do is upload the xml file and you're set.

Paul M
23 Jul 2006, 04:16
I downloaded and unzipped the file but there is no install instructions included as stated above. All that was there was the xml file. Am I missing something?Nope, I missed updating the first post when I removed the instructions file.

It should say this (and now does) ;

Unzip the XML and import into vB using the ACP Product Manager.

Lottis
23 Jul 2006, 09:03
I looked into this today - it is a bug in 3.6 itself - the lastpost field is not being updated for mods/admins. Logged in the bug tracker.
Oh, im glad that it just wasent in my place.;)
I have RC2 now, and it still doesent count other that regular members. ;)

Paul M
23 Jul 2006, 12:38
My bug report got closed as a duplicate, so it was already known about.

Emmy2
23 Jul 2006, 15:34
Thanks so much, installed and working.

Emmy2
24 Jul 2006, 01:54
I really like this mod a lot and am aiming to use it to encourage members to post (ie. the reward is to get their name in the list). In that vein, I am using the members who posted today (since midnight) option and changed the wording to "Members Who Have Joined The Discussions Today". The names are currently displayed alphabetically I see, and I can see the total number going up as people post, but I can't tell WHO has recently posted for the first time since my numbers are relative high (62) and it being an alphabetical display the new name gets buried amongst all the other names. Long story short, is there some way to tweak this to display the names in the order of when people joined in the discussions? In other words, in the order of the time of their first post today? To sort of mimic how one joins a chatroom and how you can see people coming in. This would be an incentive to members to see their name added to the end of the list when they first post, and other members would benefit by being able to scan to the end of the list to see who has posted most recently for the first time. It's just an idea that occurred to me, no idea if it's possible or not.

Again, really great mod! I love it!

WeArab
07 Aug 2006, 10:44
Hello,

Great add-on, thank you!

When VB 3.6.0 would be supported?

Paul M
07 Aug 2006, 13:01
When VB 3.6.0 would be supported?
http://www.vbulletin.org/forum/showthread.php?t=122422