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

Paul M 06-12-2005 10:00 PM

Members who have posted on the forum (Today or last 24 hours).
 
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.


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 06-27-2005 01:00 AM

Looks great, but when I hover I don't get the time of their last post.

Paul M 06-27-2005 01:11 AM

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 06-27-2005 02:09 AM

Thanks! Works great now.

Loki12 07-10-2005 10:59 AM

Very useful. :) I install!

Gary King 07-13-2005 07:22 PM

Run this through the w3 validator. Fix the & so that it is &, otherwise you get hundreds of XHTML errors.

SHANE-D-PAIN 07-13-2005 11:12 PM

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 07-13-2005 11:54 PM

Quote:

Originally Posted by Gary King
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 07-14-2005 01:22 AM

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.

Quote:

Originally Posted by SHANE-D-PAIN
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 07-14-2005 01:38 PM

Quote:

Originally Posted by Paul M
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 07-14-2005 04:20 PM

Perhaps you could point out where it is then, bacause I can't see one.

Gary King 07-15-2005 01:03 PM

In the Members Who Have Posted Today for the forumhome_start hook,

PHP Code:

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

Notice the & ;)

Paul M 07-15-2005 03:44 PM

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 07-28-2005 09:45 PM

I installed it, and it works GREAT. Thanks =)

XtremeOffroad 08-02-2005 03:13 AM

Clicks Install. My brand spankin new board will be hacked/plugged to death at this rate.

slank 09-30-2005 07:18 PM

slanky installs too ;)

Anette 10-01-2005 11:05 AM

Thanks! :-D

Redclan 10-01-2005 12:33 PM

Thats not bad at all. Love it, www.bahamascope.net

csidlernet 10-05-2005 03:03 AM

/me installs

Paul M 10-06-2005 01:20 AM

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 10-16-2005 04:25 PM

Quote:

Originally Posted by Paul M
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 10-23-2005 11:31 PM

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.

dirtycrow 10-23-2005 11:45 PM

thanks. :)

divided_by_fear 10-25-2005 10:19 AM

love the plugin but one thing... if you run this through the w3 validator you get one error...

here is code

Quote:

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

Quote:

<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 10-25-2005 11:49 AM

The update worked great, thanks a lot Paul!

funinthesun 11-02-2005 12:59 PM

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 11-02-2005 05:30 PM

Quote:

Originally Posted by funinthesun
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 11-02-2005 11:15 PM

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 11-03-2005 12:02 AM

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 11-03-2005 02:46 AM

Nice hack. Thanks.

funinthesun 11-03-2005 03:15 PM

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 11-04-2005 06:31 AM

nice installed on my new forum I am setting up

smsmasters 11-04-2005 11:14 AM

How do you move this below " Total members that have visited the forum in the last 24 hours" block?

Thanks

funinthesun 11-04-2005 11:18 AM

I would also like to know how to do that. Thanks :)

smsmasters 11-04-2005 11:26 AM

I assume you have to edit:

Code:

$search_text = '<!-- end logged-in users -->';
What template shall I change it to?

smsmasters 11-04-2005 03:06 PM

Bump, thanks :)

Paul M 11-04-2005 03:56 PM

Quote:

Originally Posted by smsmasters
Bump, thanks :)

After [less than] four hours, are you joking ?

smsmasters 11-04-2005 08:49 PM

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 11-05-2005 01:54 AM

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 11-05-2005 10:54 AM

Thanks for the tip Paul M, it worked! :nervous:


All times are GMT. The time now is 11:40 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.01324 seconds
  • Memory Usage 1,820KB
  • 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
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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