View Full Version : Forum Home Enhancements - Members who have visited today.
Paul M
11-15-2008, 10:00 PM
As of 24 Nov 2017 this modification has been withdrawn.
This adds a simple display of all members who have visited the forum - either today (i.e. since the users midnight) or in the last 24 hours.
Note: it is not possible for this hack to count guests.
The main features of the 3.8 version are as follows ;
1. It displays the list on the Forum Home.
2. The list view is collapsable, so you just see the number.
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 were last active.
6. The list is in member name order.
7. The ability to turn it on/off is in the ACP Options.
8. The ability to allow only certain usergroups to view the list is an ACP option (include or exclude groups).
9. An option to record and display the Most Ever Members can be enabled.
10. The switch between Visited Today and Rolling 24 Hours is an ACP option.
11. The listing of members can be suppressed (a simple message is displayed instead).
12. The list of names can be set to be always collapsed on initial view.
(Options are in vBulletin Options > Who has visited today)
To install just unzip the XML and import into vB using the ACP Product Manager.
Template Hook
Please note that this modification uses the following template hook in the FORUMHOME template ;
forumhome_wgo_pos2
This must be present in any customised template/style you are using, otherwise this modification will not display.
History:
v3.8.001 : Initial version for vB 3.8.x
v3.8.002 : Fix Most Ever Display Bug.
Thank you! Just updated this mod. Old version was removed automatically and new was installed without loosing any data.
Edit: The vbadvanced module stops working with this update. The reason is that it uses a different hook location (forum_start instead of global_start). I have changed it to global_start again and the module works. Is it ok to do so?
Paul M
11-17-2008, 09:43 AM
Not really a good idea, it means the code runs on every vb page visited, even though its only ever used/displayed on the Forum Home. I would have thought fixing the VBA module would be better.
PitchouneN64ngc
11-25-2008, 05:59 PM
Thanks for this update, but I've found a little bug in the 'forumhome_start' hook.
The code for displaying the 'Most Ever Members' line is defined and set after the eval of the template, and the part of code is useless. I've edited it to place the eval code after all (before the last } ).
Another thing: in the same piece of code, you have this:
if ($vbulletin->options['wvtmost'])
{
[...]
if ($vbulletin->options['wvtmost'])
{
[...]
}
}
Maybe you can remove one condition ;)
kylek
11-26-2008, 12:24 AM
Thank you, glad to see old favorites for 3.8!!
Medtech
11-26-2008, 03:44 AM
Definately glad to see this one! thanks and works like a charm
Paul M
11-26-2008, 08:51 AM
Thanks for this update, but I've found a little bug in the 'forumhome_start' hook.
The code for displaying the 'Most Ever Members' line is defined and set after the eval of the template, and the part of code is useless. I've edited it to place the eval code after all (before the last } ).
Another thing: in the same piece of code, you have this:
if ($vbulletin->options['wvtmost'])
{
[...]
if ($vbulletin->options['wvtmost'])
{
[...]
}
}
Maybe you can remove one condition ;)
Yes, I know about the most users bug - it was spotted in another of my mods the other day - it affects a number of them and I wont have time to fix them all for a few days.
Thanks for pointing it out tho. :)
Ignore my post. I forget too quickly lately.
beishe8
11-27-2008, 04:59 PM
Could not install because this error message:
The following dependencies were not met:
This product is not compatible with version 3.8.0 Beta 4 of vBulletin. (Compatible starting with 3.6.0 / Incompatible with 3.6.99 and greater)
Paul M
11-27-2008, 05:10 PM
You cannot possibly get that message if you downloaded it from this thread.
beishe8
11-28-2008, 08:16 AM
You cannot possibly get that message if you downloaded it from this thread.
True.
I downloaded and unzipped a 2007 version.
Thanks Paul!
HabbStar
11-30-2008, 04:02 PM
What template would i have to edit to change the image that displays to the left of this mod (at the moment it's the same as 'Users Online'
Paul M
11-30-2008, 05:53 PM
Display_Visitors
As I already wrote, I had problems editing posts. I received a maxloggedin error message, when guest tracking mod was active. I contacted another user, who installed your member tracking mod and had the same error. He said that he "solved" it by commenting out
$vbulletin->datastore->do_fetch('maxloggedin',$errors);
in members who have visited plugin, but he doesn' t know why the problem occured.
I did the same and I don' t seem to receive the error message any more. But since there must be good reason for adding the code, I wanted to ask, if this is a harmless work around for our problem or if we need to find a better solution.
Edit: Correction, I still received the error. Now I commented it out in the guest tracking plugin.
Edit2: Commenting it out in guest tracking makes the most users ever online count (members and guests) and "most guests online over 24 hours" count not working correctly. The values do not get stored any more, so that it always displays the current count with the current time. I use the original code again.
WoodiE
12-08-2008, 10:31 AM
I'm running 3.8 beta 1 and this version does not work with it. I was running a 3.7 version of this mod and it worked w/o issue.
Paul M
12-09-2008, 12:11 PM
Sorry but you need to be more specific than "does not work" since it works fine for me.
Alien
12-09-2008, 07:47 PM
This has since been corrected, yes? :)
https://vborg.vbsupport.ru/showpost.php?p=1673222&postcount=7
Paul M
12-10-2008, 09:23 AM
As it says :)
History:
v3.8.001 : Initial version for vB 3.8.x
v3.8.002 : Fix Most Ever Display Bug.
Alien
12-11-2008, 01:46 AM
Damnit, juggling 2 new twins is playing with my eyesight. ;)
Sorry about the lame question!
WoodiE
12-12-2008, 09:07 PM
Sorry but you need to be more specific than "does not work" since it works fine for me.
Doesn't work as doesn't show up on the forum index page, no data, no table, nothing it's as if I didn't even install it.
Could because I'm running 3.8 beta 1 dunno, either way I just want back to 3.7 version of this mod and it's working fine. I'll wait until vB 3.8 goes final and then try this version again.
Paul M
12-12-2008, 09:33 PM
Most likely you are using a customised forumhome template, missing the template hook.
chooky
12-15-2008, 06:42 AM
I cant see it also, How I can insert the template hook ?
Paul M
12-15-2008, 01:12 PM
Copy them from the standard template, or just revert your custom version.
chooky
12-15-2008, 02:15 PM
thanks for your help, now it works fine.
steve1966
01-08-2009, 05:36 PM
thanks
King Justice
01-10-2009, 01:08 AM
This script isn't working for vB 3.8?
Why?..why isn't it showing?
King Justice
01-10-2009, 01:15 AM
Copy them from the standard template, or just revert your custom version.
What IS the custom template hook?? And where to put it??
King Justice
01-10-2009, 06:53 PM
Still need help please.. :o !
Paul M
01-10-2009, 07:15 PM
Template hooks are a standard part of vb templates.
For example, this is part of the standard Forumhome template, showing the template hook used by this mod.
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse
I cannot support non standard set-ups.
King Justice
01-10-2009, 11:12 PM
What do you mean? I don't know how to get this plugin working..
It worked before I upgraded to 3.8 and now that I upgraded to 3.8 and upgraded the plugin the plugin isn't showing...nor is my new one that displays members who have registered today.
Paul please help me get this working.
What do I need to add/edit and where?...
jupiter5
01-11-2009, 02:04 PM
What do you mean? I don't know how to get this plugin working..
It worked before I upgraded to 3.8 and now that I upgraded to 3.8 and upgraded the plugin the plugin isn't showing...nor is my new one that displays members who have registered today.
Paul please help me get this working.
What do I need to add/edit and where?...
Same problem I have. There is no visited member names even if I reinstall it.
jupiter5
01-11-2009, 02:29 PM
I converted my Forumhome style to original. It appeared again.
bntmofeid
01-11-2009, 03:20 PM
thanks
King Justice
01-11-2009, 10:34 PM
Same problem I have. There is no visited member names even if I reinstall it.
You just have to put this template hook somewhere in forumhome, it really doesn't matter where, as long as it's in the what's going on section:
$template_hook[forumhome_wgo_pos2]
:)
Paul M
01-11-2009, 11:12 PM
It does matter where you put it, otherwise it may not display properly.
topmedic
01-12-2009, 09:00 PM
I have the following modes on " What's Going On?"
Members currently using Flashchat:
Total guests that have visited the forum today:
Total members that have visited the forum today:
... in that order.
Is it possible for me to rearrange them so they appear like below?
Total members that have visited the forum today:
Total guests that have visited the forum today:
Members currently using Flashchat:
Thanks.
Paul M
01-13-2009, 09:24 AM
You would need to play with execution orders and possible the hooks used.
yotsume
01-13-2009, 06:20 PM
With your 3.8x version of this mod you seem to have removed a option you had in previous version to run the code on all pages. When you removed this it seems that other importnat mods no longer work. For instance there is a vba mod that calls your mod so we can see who has visited today in a nice vba block. This no longer works.
Can you offer a way to get this fixed? It is found here: VBA Members who have visited (http://www.vbadvanced.com/forum/showthread.php?t=24229)
I have also asked the developer of that mod to try and update. Can he is you removed the run code on all pages option???
Code Option (You removed this option?) Change this if you want this modifications code to run on all vb pages, not just the forum homepage. Run Code on all pages
Paul M
01-13-2009, 10:01 PM
Yes, that has been removed. I dont use VBA so I cant help you.
yotsume
01-13-2009, 10:23 PM
Any chance you can sneak that option back in for the 1000s of us that use VBA please! :D
Hi
I'm one of the 1000s :) - but would be happy to help get this resolved. Is the work to put the code back in significant? If so, I'll have a go tackling from the vBA module side...
Cheers!
Paul M
01-14-2009, 07:21 AM
I would guess that if you change the hook that Members who have visited (2) uses - to global_start - it will work for you. You will have to do that yourself tho, Im not going to change the mod.
yotsume
01-14-2009, 04:33 PM
I would guess that if you change the hook that Members who have visited (2) uses - to global_start - it will work for you. You will have to do that yourself tho, Im not going to change the mod.
Any chance you would be willing to provide some instructions on how to do this for us? Your mod is great and will only be even that much better when it can be made to work with VBA again.
Thanks!
Paul M
01-14-2009, 06:07 PM
Just edit the hook in the ACP product/plugins inteface.
yotsume
01-14-2009, 08:33 PM
VBA Module Fix Instructions:
Once again PaulM comes through for us!!! THANK YOU! Such and easy fix that did the trick!
Here are simple instructions to get the VBA mod to work with this current version of Paul's mod:
1. From your AdminCP go to: Plugins & Products > Plugin Manager
2. Edit the plugin labeled: Members who have visited (2)
3. Change the Hook Location to: global_start in the drop menu.
4. Save and done! Your vba block will now work!
You can find the vba module for "Recent Visitors" here: [Module] Members who have visited the forum (http://www.vbadvanced.com/forum/showthread.php?t=24229)
armthehomeless1
01-15-2009, 02:40 AM
Great work! Now it works.
Thanks guys :)
Andrew johnson
01-15-2009, 10:32 AM
exellcent - i installed it it looks good
Mases
01-15-2009, 02:54 PM
I have this installed, it replaced the old one, but it is not appearing on my index page.
http://www.zeldadungeon.net/forum/
Should there be a specific code in the ForumHOME or Footer templates?
Any help would be much appreciated.
Paul M
01-15-2009, 04:47 PM
Yes, you must have the default template hooks in your forumhome template.
Mases
01-15-2009, 04:52 PM
Got it working thanks.
One thing I've noticed in the past.
It will count two days combined when determining the 'most users ever online'. Usually on Tuesday-Wednesday.
On Wednesday when I look at the forum, I'll see it says most uesrs ever online 90 today. But then count, and only see like 70 users there. It's counting users from yesterday.
Does anybody else get this issue?
C138 Kaysone
01-15-2009, 07:03 PM
can we have some screenshots?
Mases
01-15-2009, 07:24 PM
I think it seems to be working now.
I had that problem before but I've since changed to the 24hour cycle rather than the day ending at Midnight. As far as I can see, things seem to be running smoothly at this point. I'll surely report anything that seems unusual.
I have a problem in which "Members who have visited" is being displayed twice. The code is being pushed into the template twice, because if you try to collapse the bottom entity then in turn it will collapse the top one.
Does anyone know how I can fix this problem?
kellyandmark04
01-17-2009, 06:29 PM
My time is off in mine it is saying most users ever online was 4 minutes ago at 8pm and it's not even 2pm yet and keeps changing times any help???
I also noticed my times are off at the bottom of my forum, but are set correctly in the date time options so it's not the hack, but still any help will be appreciated.
Paul M
01-18-2009, 11:54 AM
I have a problem in which "Members who have visited" is being displayed twice. The code is being pushed into the template twice, because if you try to collapse the bottom entity then in turn it will collapse the top one.
Does anyone know how I can fix this problem?
Try it using the default vb style, if its ok then you have a customised style issue.
dmknights
01-18-2009, 01:43 PM
*Installed*
Simon Lloyd
01-18-2009, 02:38 PM
I haven't downloaded this mod yet, and i have just been trying to create a simple hit counter that will count how many MEMBERS have visited a page, it works but not just for members, so, i was wondering Paul, could this mod be made to only show in certain pages (i have 3 custom pages/templates) and show the stats/hits for that particular page?
I want to be able to count how many Members visit my custom pages, this will tell me if they are popular or not and whether i should develop those ideas further or get rid of them depending on their use.
What do you think?
Try it using the default vb style, if its ok then you have a customised style issue.
I do have a customized style, but when I view my default style I have the same problem.
Paul M
01-18-2009, 05:25 PM
Sorry, cannot tell you anything without admin access to your forum.
juverol
01-19-2009, 03:41 PM
Thank you man ;)
OllieT
01-19-2009, 08:46 PM
Try it using the default vb style, if its ok then you have a customised style issue.
Yeah, i'm using a customized style and it doesn't appear but works fine for my default.
Could you please advise what i have to edit?
Many thanks.
OllieT
01-19-2009, 08:51 PM
Sorry, don't worry i worked it out
dt_truck11
01-19-2009, 10:39 PM
paul it seems like ppl are having the same problem with customized templates. perhaps u should make a note in your post about this and provide the hook too. just a suggestion tho
Simon Lloyd
01-20-2009, 03:43 AM
Thats gotta be the easiest mod i have ever installed!
TheArve
01-21-2009, 10:07 PM
Thanks for this,, really appreciate ur time taken,
CHeers
thearve
dbirosel
01-30-2009, 02:29 AM
Is there a screenshot of this mod?
helmica
01-30-2009, 04:16 AM
hi all,
i install this mod but this problem i want it above the threads area
can anyone help me for that
thanks in advance for your help
Basit
01-30-2009, 09:12 PM
Hello,
I have installed it but it is not showing on forum: http://www.hallagulla.com/urdu
[note: I am still use style 3.7.x]
Do I need to do manual changes in style / template ?
Thanks,
Paul M
01-31-2009, 10:11 AM
No template changes are needed (unless you have a custom style, then you may need to do something).
Jon Tolzien
02-01-2009, 05:45 AM
go to admin cp > Styles and Templates > Style manager > current style > edit template > forum home template > forumhome_no_post_1 or something. As for moving the bar up their, I don't know where the member bar goes, but if you know that part. You got the second half of the answer.
irantk
02-02-2009, 11:12 AM
not work
DrivinMissDaisy
02-03-2009, 03:45 AM
Installed and works fine. Of course I am using Default setup.
davew
02-03-2009, 08:36 AM
Worked First Time, works perfectly - Thank you very much!
And installed into Dark Galzorian and Crastel styles too, no additional effort required!
GreasySpoon
02-05-2009, 07:49 PM
It would be great if you could add an option to cache the list for a period of time, to save the huge query.
Greets
dai-kun
02-08-2009, 03:28 AM
$template_hook[forumhome_wgo_pos2]
This is the exact code you need to add into your FORUMHOME template.
reitube
02-08-2009, 01:33 PM
Hi Paul,
I use XCache for datastore and I observe after every restart of mysqld the statistics for "most users ever" is gone. Is that a normal behaviour when using XCache?
Regards, Knut
Paul M
02-08-2009, 04:31 PM
Nope. I use Xcache as well (as do many others) and have no such issue.
Stifmeister2
02-08-2009, 08:31 PM
Wow, I can't believe I didn't notice this 3.8 version sooner...
Anyway, I have vBulletin 3.8.1 and I've succesfully run v3.7.004 version of this mod to date... Are there any new features in v3.8.002 (compared to v3.7.004)? Should I upgrade?
Paul M
02-09-2009, 04:34 PM
Not really, you can continue to run the old version if you wish.
rizelim
02-13-2009, 03:54 PM
thanks!
Loki12
02-14-2009, 11:05 AM
My "Most members online over 24 hours" seems to have resetted today ... losing the previous record.
Loki12
02-14-2009, 11:54 AM
My "Most members online over 24 hours" seems to have resetted today ... losing the previous record.
I know why, it's because I have installed the AJAX Who's Online (https://vborg.vbsupport.ru/showpost.php?p=1743709&postcount=20). Damn.
Paul M
02-14-2009, 01:39 PM
Yep, that mod will break a few ME counts.
pipibunny
02-17-2009, 04:38 AM
The first, I uninstall this mod
The second, I replace $template_hook[forumhome_wgo_pos2] into Forum Home
The Third, I reinstall this mod
=> It's Work.
Thank you.
tgmorris
02-17-2009, 01:27 PM
For those interested, the updated module for vBadvanced 3.1 may be found here (http://www.vbadvanced.com/forum/showthread.php?t=33815).
Dreamgun
02-18-2009, 02:25 PM
uh, my forums I recently reopened for some reason has received the following stats:
Most users ever online was 11, 1 Day Ago at 01:55 PM.
The most members online in one day was 12, 1 Day Ago.
Can anyone make sense or this to me - how there is one member difference?
Paul M
02-18-2009, 05:51 PM
They are entirely different things, the top one is the totel members and guests online at any one time, the bottom one is the total members (only) that signed in over a day.
john2k
03-07-2009, 07:55 PM
Is there any option to make the text: "Total members that have visited the forum in the last 24 hours: ###" to be a link that points to another page which lists all the member names instead of listing the usernames on the forum index?
Or maybe just an easy way to make that change?
Prisoner
03-07-2009, 07:59 PM
It seems that there is a glitch in it somehow.
Yesterday, my new forum www.centextalk.com, seemed to max out at 120. It hit that number early in the evening, then I saw new members joining after this time, but the max didn't increase.
Does that make sense?
Paul M
03-07-2009, 09:18 PM
Is there any option to make the text: "Total members that have visited the forum in the last 24 hours: ###" to be a link that points to another page which lists all the member names instead of listing the usernames on the forum index?
No, there is no such option.
It seems that there is a glitch in it somehow.
Yesterday, my new forum www.centextalk.com, seemed to max out at 120. It hit that number early in the evening, then I saw new members joining after this time, but the max didn't increase.
Does that make sense?
Yes it does, its to do with users being in different timezones.
Prisoner
03-07-2009, 09:45 PM
I think I get it. It has to do with the setting in the User Control Panel?
When I transferred the users in, it set everybody to GMT. I saw in the code for the mod that it reads their last action.
That makes perfect sense. Being a Central Texas Forum, I have a few from outside the area, but not many.
Thanks!
barbarb
03-08-2009, 03:04 AM
Thanks!
Audax666
03-13-2009, 10:34 AM
Hi,
one of my favorite plugins. Simple but helpful.
Maybe someone can help me out.
I searching for the place in the code, where the links to the User profiles are generated.
I'm close but didn't get it.
In the template "display_visitors" there is a variable $whotoday where the links are built.
But I couldn't find the place, where it comes from.... :(
ch1nkayy
03-15-2009, 03:18 PM
------------------
https
03-16-2009, 06:20 AM
This hack working in original vb style but did not work in my other style.I try to edit style and put "forumhome_wgo_pos2" in other styles FORUMHOME .please help me :(
Paul M
03-16-2009, 07:55 AM
Help you how ? I cannot edit your template for you.
SlackerAPM
03-16-2009, 06:31 PM
I'm having a bit of a problem installing this. When I import the product it only seems to get so far in the install process before stopping. The last message I get on screen is "( Replacing : Version 3.8.002 ; Revision 1.6 )."
I'm really not sure if it's something I'm doing wrong or if it's something to do with old code/databases etc.
Paul M
03-16-2009, 07:47 PM
For some reason, I have seen the odd server trip up on the sleep command - try editing the xml file and remove/comment out the sleep commands, then try again.
SlackerAPM
03-16-2009, 08:09 PM
That did the trick, thanks very much :up:
https
03-20-2009, 06:34 AM
This hack working in original vb style but did not work in my other style.I try to edit style and put "forumhome_wgo_pos2" in other styles FORUMHOME .please help me :(
Help you how ? I cannot edit your template for you.
When i add "forumhome_wgo_pos2" in second VB style , it's shown as text not a variable.
Paul M
03-20-2009, 01:48 PM
Its not literally just that text, see post #76
Welshy2008
03-22-2009, 07:02 PM
I think I get it. It has to do with the setting in the User Control Panel?
When I transferred the users in, it set everybody to GMT. I saw in the code for the mod that it reads their last action.
That makes perfect sense. Being a Central Texas Forum, I have a few from outside the area, but not many.
Thanks!
I believe this is the same problem as I have, details here. (http://www.vbulletin.com/forum/showthread.php?t=303524)
What exactly, do I have to do to correct this please?
Paul M
03-23-2009, 07:39 PM
Nothing, there is no issue with that code.
Makaveli007
03-24-2009, 12:00 AM
took me a minute to get it all working on the different styles...good to go now. thanks
Gnappy
03-24-2009, 09:52 AM
Thx dude for this hack :)
Welshy2008
03-24-2009, 03:10 PM
I believe this is the same problem as I have, details here. (http://www.vbulletin.com/forum/showthread.php?t=303524)
What exactly, do I have to do to correct this please?
Nothing, there is no issue with that code.
Any Ideas as to how it is like it is please Paul?
(Psychic hat on please :)).
Paul M
03-24-2009, 04:07 PM
No, Im not even sure what your issue is exactly, are you saying it is constantly resetting, or just reset once ? If the latter then thats just something that can happen.
Welshy2008
03-24-2009, 04:17 PM
When I used your mod on my 3.6.8 version is worked great.
When I upgraded to 3.8.1 PL1, it reset itself back to the figure that was shown on the first month of my forum being open. (really Low).
The figure, from then til now was high, and it doesn't reflct the true "most ever members online in 24hrs".
Paul M
03-24-2009, 07:45 PM
Sorry, but your still not making this clear. Did it just reset once ?
Welshy2008
03-25-2009, 08:13 AM
It has set back to the result that was there the second month of the forum being open.
that was a low figure. We have 'smashed' that record many times and when I used your Mod on my 3.6.8, it worked perfectly, and was updating everytime that taotal users' figure was beaten.
No more though. I would like it to work. :(
Paul M
03-25-2009, 08:45 AM
Nothing can reset it to a specific figure. If it has reset once then it will increase again each time you beat the previous total. If it is constantly resetting then you have some code somewhere that is not compatible with 3.8.
Single resets are rare, but can happen if the datastore got corrupted, it has happened here once (a few months ago).
Welshy2008
03-25-2009, 09:41 AM
It hasn't updated with the new "Higher" totals Paul.
Any idea how/what I can do to sort thiss out Please?
Like you say - It is probably a code compatibility problem somewhere.
Paul M
03-25-2009, 02:52 PM
Sorry, I cant help with forum specific issues, I just dont have the time.
mijordan23
03-26-2009, 10:02 PM
thanks for the hack :up:
Megatr0n
03-30-2009, 05:02 PM
Hi Paul,
I'm having an issue here which, has cropped up for the first time since the clocks went forward here in England.
The stats showing how many users visited my forum today is only correct when logged in but when logged out it's subtracting the overall stat tally by 2. I only noticed this issue today and it's the same issue for your other hack "Memebrs who have posted today".
I've identified the users which, are not being recorded but can't work out any reason why they shouldn't be. 2 of them are new users if that helps.
Any ideas?
Paul M
03-30-2009, 10:04 PM
I would imagine your default timezone (used by guests) is wrong, check your forum time when logged out.
Megatr0n
03-30-2009, 10:13 PM
I would imagine your default timezone (used by guests) is wrong, check your forum time when logged out.
What settings would I need to check?
Date and Time Options?
SlackerAPM
03-31-2009, 07:35 PM
I'm having a problem where a user can see the Top 5 Stats box but each table just has "Loading..." in it. He's tried with Firefox and Safari and has refresh every which way he can but still gets the error. I've had no trouble using any of those browsers but have encountered some trouble with Google Chrome. Is there anything really obvious that could be causing this?
marcut
03-31-2009, 08:04 PM
How do you get it to show how many guests? (for exmaple, it will say 300 people visited today. 200 members 100 guests. and it will list the members, not guests)
Paul M
03-31-2009, 09:52 PM
Date and Time Options?
Yes.
I'm having a problem where a user can see the Top 5 Stats box but each table just has "Loading..." in it. He's tried with Firefox and Safari and has refresh every which way he can but still gets the error. I've had no trouble using any of those browsers but have encountered some trouble with Google Chrome. Is there anything really obvious that could be causing this?
Sorry, but not sure what this has to do with this modification :confused:
Brandon Sheley
03-31-2009, 09:53 PM
just updated this from the 3.7 version :p
SlackerAPM
03-31-2009, 10:21 PM
Sorry, but not sure what this has to do with this modification :confused:Apologies, had two windows open and typed in the wrong one!
Zacaretas
04-23-2009, 04:01 AM
Sorry to bump this back up, but I just wanted to say that this is a great mod.
Installed and working on 3.8.2
afgboy
04-23-2009, 08:26 AM
hello,
i import the xml into vb and change into the phrases the german translation...
now there is a mistake, but i dont find it...
look here
www.sch?lerhh.de
the date and the users from yesterday...can someone help me?
(sry my english is bad)
nomoreturn
04-24-2009, 08:22 AM
Installed works great thanks
How can I see the new user per day? Has it got this option?
mokujin
04-24-2009, 05:03 PM
How can I see the new user per day? Has it got this option?
Search for Mod "Members Registered Today"
RocCityDad
04-24-2009, 06:36 PM
$template_hook[forumhome_wgo_pos2]
This is the exact code you need to add into your FORUMHOME template.
does it matter where you put this? beginning? the end? somehwer in the middle?
Yes this works well, ok here's were you need to put the hook, go to your adminCP, on the left under styles&templates click style manager. Make sure you choose the correct skin to work with so if your running a custom skin click that! Next from the drop down box that shows all style items choose edit templates, navigate to forum home templates. Then click forum home ...........find the code as shown below and drop your hook intel exactly below 'end logged in users'.
</tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
<tr>
I hope this helps someone out there.:up:
sbsforum.us
04-28-2009, 03:28 PM
Installed and using
Thanks
Charlie98902
04-29-2009, 12:34 AM
I found a bug I think. After X amount of user come online they aren't marked with the HTML mark-up I use. See Pic...... All those that are not Black are registered users.
http://img242.imageshack.us/img242/4742/usersonline.png (http://img242.imageshack.us/my.php?image=usersonline.png)
SwollenCranium
04-29-2009, 12:36 AM
I posted a big ass pic
1356px ? 192px ????
Good God man .. stop the madness.
DPtheGod
04-29-2009, 02:52 AM
Wait, question! Where do I put " forumhome_wgo_pos2 " to make it show up on my forum? I put it in the forumhome template, but I did not see it show up. I tried " $forumhome_wgo_pos" and nothing showed up. :S
kyrenator
05-03-2009, 03:33 PM
thank you! nice hack
masterweb
05-08-2009, 07:47 PM
Really thanks for this mod. Installed and working :D
adom7
05-12-2009, 08:30 AM
Nice work, installed
mporemski
05-19-2009, 08:08 AM
Is there a german language translation available?
Thanks
Michael
DeviantFlash
05-23-2009, 12:59 PM
Am I allowed to define the usergroups that visited ie banned members or members awaiting confirmation dont show up?
For example I would like only three groups in my forum to display instead of the six groups that I have.
Paul M
05-23-2009, 01:14 PM
Nope, there is no such option.
DeviantFlash
05-23-2009, 01:23 PM
Ok. Thanks.
wired420
05-24-2009, 06:16 AM
Awesome plugin. Keep up the good work. :D
it's not apperaing on my new skin how do i make it appear?
4nawadir.com
05-27-2009, 06:00 PM
Nice mod,
Installed
Paul M
05-27-2009, 06:35 PM
it's not apperaing on my new skin how do i make it appear?
any help?
As the main post says, you need to make sure the template hook is present.
cspears22
05-27-2009, 09:42 PM
Thank you very much!
aakhan136
05-28-2009, 03:03 PM
thanks
jazzyname
05-30-2009, 04:30 AM
nice
*installed*
shinng
06-01-2009, 04:18 AM
simple and useful info. installed.
|Jordan|
06-10-2009, 12:42 AM
Does this add any extra queries? Are stats updated on every page view or via cron every "x" minutes ?
Paul M
06-10-2009, 02:38 PM
It runs a simple select query on the forum homepage.
Kuimera
06-20-2009, 07:46 AM
thank you
SirHappy
06-20-2009, 03:30 PM
thx. works in 3.8.3.
theforumplace
06-20-2009, 08:59 PM
Installed.
Thanks.
kalisekj
06-22-2009, 03:52 PM
Please Help I have Upgraded to the new version and now This is no longer showing up at the bottom of my forum home page. grrrr This is the second Mod I have upgraded in past 24 hrs that has done completely away with the stats.
Paul M
06-22-2009, 04:05 PM
Read the main post (template hooks).
kalisekj
06-22-2009, 06:06 PM
ok I am far from a programmer, can someone give me the English Novice version, where do I put forumhome_wgo_pos2? I tried adding it to forumhome template with and without a $, to no avail it never showed up. Since I just upgraded from an earlier version everything should still be in place, or so I assumed.
I appreciate all your help in this matter. :D
Paul M
06-22-2009, 06:10 PM
See post #130 in this thread.
kalisekj
06-22-2009, 06:25 PM
Paul M , You are the Best Thank You I had the hook there just not the complete syntax line. Its working fine now. WooHoo!
g0dfather1984
06-22-2009, 09:17 PM
Thank you, Paul. Greatly appreciated.
HastleGames
07-03-2009, 06:57 PM
The option of excluding usersgroups not working
I put the id # 3 and select the option Exclude List, but still shows me these users in the mod
https://vborg.vbsupport.ru/attachment.php?attachmentid=101476&stc=1&d=1246651446
https://vborg.vbsupport.ru/attachment.php?attachmentid=101477&stc=1&d=1246651446
Paul M
07-03-2009, 09:16 PM
Thats because you are misunderstanding the option. It means members of usergroup 3 cannot see the modification, not that they are excluded from the display list.
HastleGames
07-03-2009, 09:40 PM
Oh sorry a thanks for the reply, but is it possible? how?
Paul M
07-04-2009, 09:20 AM
No, there is no such ability in the mod. I may think about it when I have to upgrade it for vb4.
HastleGames
07-04-2009, 08:22 PM
well, I change the sentecias "SQL" to deal with it, adding
and `usergroupid` <> 3
as follows:
SELECT * FROM ".TABLE_PREFIX."user FORCE INDEX (lastactivity)
WHERE lastactivity > $cutoff and `usergroupid` <> 3 ORDER BY username
chuckhodson
07-12-2009, 12:36 AM
Cool thanks installed. .. .
Bob_R
07-13-2009, 02:05 AM
Can I change this
forumhome_wgo_pos2
to
forumhome_wgo_pos3
Paul M
07-13-2009, 08:27 AM
Yes, if you really want to.
stevetank
07-17-2009, 10:08 AM
Nice one thanks.
:)
Hi, I get a database error when I try to import the XML on the "Importing Product, Please Wait..." bit.
Database error in vBulletin 3.8.3:
Invalid SQL:
DELETE FROM product WHERE productid = 'paulm_wvt_38';
MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, August 5th 2009 @ 12:07:46 PM
Error Date : Wednesday, August 5th 2009 @ 12:07:53 PM
Script : http://www.tvfantalk.com/admincp/plugin.php?do=productimport
Referrer : http://www.tvfantalk.com/admincp/plugin.php?do=productadd
:(
Paul M
08-05-2009, 06:18 PM
I would guess you have a very low timeout value, and its timing out on the index creation. Did you try it again ?
Yeah, I've tried it about 5-6 times now.
robdawg
08-21-2009, 04:52 PM
Is there anyway to reset the most logged in value to 0?
corsacrazy
08-21-2009, 09:49 PM
how can i change the outputted html i cant find a template with the info and phrases? i also want to change the image which is used and where it links... help
Paul M
08-22-2009, 08:40 AM
Display_Visitors is the template.
Look in the xml file to find all the phrase names.
Medtech
09-02-2009, 01:18 AM
Thanks, works great!! :D:D
villor
09-02-2009, 01:13 PM
good job
kalemisj
09-02-2009, 02:52 PM
thank you guys
Mark as installed
SuperGLS
09-07-2009, 04:41 PM
Installed. Working good on 3.8.4. Thanks!
designBox
09-08-2009, 10:11 AM
Unfortunately, I have a huge customized forum and this mod won't work for me (have to insert the hook in the footer template). Is there any alternative or plan to allow the hook being inserted elsewhere than on FORUMHOME?
Thanks anyway for the great mod.
robdawg
09-08-2009, 06:57 PM
I know I posted this before, but I need to know the answer.
The most members online over 24 hours was XXXX
How do I reset the the XXXX value to 0?
Thanks.
Paul M
09-08-2009, 08:57 PM
There is no method to do this.
You could try messing directly with the datastore, but thats not something id advise unless you really know what you are doing. Other than that, you would need to run some code to reset it.
robdawg
09-08-2009, 10:28 PM
If you can tell me the table name and what column to search on, I can find and update that row to change it back to 0.
Thanks.
Paul M
09-09-2009, 10:23 AM
Im afraid its not that simple, which is why I said you really need to know what you are doing.
The data is stored in the Datastore (table), as part of a serialised array, in the maxloggedin row.
robdawg
09-09-2009, 03:55 PM
Change this line in the manage plugin area in the admin:
if ($totaltoday > intval($vbulletin->maxloggedin['maxvisitors']))
To the following:
if ($totaltoday < intval($vbulletin->maxloggedin['maxvisitors']))
Let the page run once and then changed it back. haha. Ghetto work around, I know but it reset a bad count to the current number which is what I wanted.
Smitty
09-09-2009, 04:17 PM
Nice script change! Thanks for sharing!
I had to change mine once in the database when a hoard of spiders practically doubled the count. I didn't want members wondering about the number being a real number. I don't mind playing around in a database, but your script change would have been about as quick and easy.
I'll backup what Paul said: "You could try messing directly with the datastore, but thats not something id advise unless you really know what you are doing." If you're not comfortable diving into a database and understand its relational schema, you better watch out. You can easily hose the whole database.
Paul M
09-09-2009, 05:25 PM
Change this line in the manage plugin area in the admin:
if ($totaltoday > intval($vbulletin->maxloggedin['maxvisitors']))
To the following:
if ($totaltoday < intval($vbulletin->maxloggedin['maxvisitors']))
Let the page run once and then changed it back. haha. Ghetto work around, I know but it reset a bad count to the current number which is what I wanted.
Yep, that was option 2. :)
You could try messing directly with the datastore, but thats not something id advise unless you really know what you are doing. Other than that, you would need to run some code to reset it.
cuphongle
09-17-2009, 05:10 PM
Yes this works well, ok here's were you need to put the hook, go to your adminCP, on the left under styles&templates click style manager. Make sure you choose the correct skin to work with so if your running a custom skin click that! Next from the drop down box that shows all style items choose edit templates, navigate to forum home templates. Then click forum home ...........find the code as shown below and drop your hook intel exactly below 'end logged in users'.
</tr>
</tbody>
<!-- end logged-in users -->
$template_hook[forumhome_wgo_pos2]
</if>
<tbody>
<tr>
I hope this helps someone out there.:up:
it sure did
thanks
princeedward
09-21-2009, 08:56 AM
great and thanks Paul...my vb3.8.4 is updated...;):up:
Simon Lloyd
09-21-2009, 02:56 PM
Paul, im using the 3.7 version on a 3.8.4, it works perfect (or at least seems to) do i need to upgrade to this one?
Paul M
09-21-2009, 06:41 PM
Nope, there is no need to upgrade.
Simon Lloyd
09-22-2009, 07:30 AM
Thanks for that, one other question, i currently use username html (in usergroups) and for some members i have some text that shows on hover, unfortunately on hover i now cannot see the last time logged in as your mod does is there something i can add in the usergroup markup to display the last logged in time? as i thought it was a great feature - but i want both :)
Paul M
09-22-2009, 10:42 AM
Nope, you cant have both, if you add a title in the html markup it will override the title added by the mod.
princeedward
09-22-2009, 07:57 PM
hi paul....i notice that guest can't view this to my forum...did i missed somethig here?
MagicThemeParks
09-23-2009, 11:10 AM
Another flawless install. Thanks Paul :up:
Paul M
09-23-2009, 11:38 AM
hi paul....i notice that guest can't view this to my forum...did i missed somethig here?
What usergroups can view is one of the options you need to set.
phonexpo
09-24-2009, 04:12 PM
Yes this works well, ok here's were you need to put the hook, go to your adminCP, on the left under styles&templates click style manager. Make sure you choose the correct skin to work with so if your running a custom skin click that! Next from the drop down box that shows all style items choose edit templates, navigate to forum home templates. Then click forum home ...........find the code as shown below and drop your hook intel exactly below 'end logged in users'.
</tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
<tr>
I hope this helps someone out there.:up:
Thank you.
Installed
Paul M
09-24-2009, 04:58 PM
Having seen this posted a couple of times, I feel I should point out its actually slightly incorrect, the actual hook position should be as below ;
</tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
<tr>
Note its after the </if>
princeedward
09-24-2009, 06:49 PM
What usergroups can view is one of the options you need to set.check everything and set what has to be set Paul....but i myself as guest can't really view it....same as the Currently Active Users too....but to the default vb skin style is okay i mean this mod is showing but also the currently active users is missing
:confused:hmmmm
dengbej
09-24-2009, 06:56 PM
thanks so much.
Paul M
09-24-2009, 06:57 PM
check everything and set what has to be set Paul....but i myself as guest can't really view it....same as to the default vb skin style...maybe there is something conflict from the other mod? on that place?
Ive never known anything to conflict with this.
There is nothing more i can tell you without access to your forum, I could be guessing forever.
XVISION
09-24-2009, 07:07 PM
thanks ...perfect
Gav-n-Tn
09-27-2009, 06:55 PM
I just can't make it work. It's ther but there is no option in the adminCP that shows it or any way to control it.
Paul M
09-27-2009, 09:25 PM
According to the system here, you haven't downloaded it. Where did you get it ?
Not Downloaded
tarot
10-08-2009, 11:49 AM
Has anyone else run into a problem with this hack and a disappearing style chooser?
enginethatcan't
10-10-2009, 03:57 PM
Downloaded, uploaded, enabled, check usergroup permissions and it's not showing, suggestions?
enginethatcan't
10-10-2009, 06:50 PM
fixed
placed the hook wrong in forum home
SamirDarji
10-13-2009, 06:32 PM
Anyone have any problems when upgrading to Patch Level 1 on 3.8.4?
phonexpo
10-13-2009, 08:32 PM
Nope, mine is working fine.
-Patrick
Paul M
10-13-2009, 11:08 PM
PL1 has no effect on this at all.
SamirDarji
10-14-2009, 03:14 AM
PL1 has no effect on this at all.I didn't think it would, but thank you for the confirmation. :) Makes it a little less stressful to make the changes.
PikeyXB
10-14-2009, 09:01 PM
I am running 3.8.4 Patch Level one, but I installed the Mod last night and was already updated to P1.
Only problem I have is the mouseover function doesn't work, supposed to show the time visited when hovering over the username, but mine displays the membergroup (Administrator, Mod, member etc)
Not sure what is going on there???
Paul M
10-14-2009, 09:48 PM
Thats because you have set that in your usergroup markup html - it overrides the mod.
oxygenthief
10-18-2009, 10:39 PM
Hi,
I'm new to forums, and I need more instructions on how to install. Where is ACP Product Manager?
I cant seem to find it. Im runnig version 3.8.3
Thanks in advance
Paul M
10-18-2009, 10:50 PM
ACP = Admin Control Panel.
oldlock
10-18-2009, 10:58 PM
Wrong place - disregard
oxygenthief
10-19-2009, 12:10 AM
I can't see a Product Manager in my ACP. Could it be called something else?
Paul M
10-19-2009, 08:46 AM
I think its called something like "Plugins & Products" :)
oxygenthief
10-19-2009, 09:34 AM
Thank Paul.
I have hit another problem:
I don't have a hook template called, forumhome_wgo_pos2
I have a few starting with forumhome but non that match the above.
Can anyone tell me what to do next?
Cheers
oxygenthief
10-19-2009, 10:23 AM
ok had a look through the code and had a try at entering it. I have the settings as:
Product - vBulletin
Hook Location - forumhome_start
Title - Who has visited
Execution Order - 5
It saves but does not work on the forum. No errors or anything just does not appear.
Anyone know what I have done wrong?
Thanks
Paul M
10-19-2009, 11:31 AM
There is no requirement to start editing the code, and doing so will most likely break it. Undo your changes.
If you dont have the template hook then you must manually add it. Either do a compare with the default vb template to see where it goes, or look back in this thread for the posts about it (try round about post #189).
oxygenthief
10-19-2009, 07:17 PM
I have not edited the code. Just copied and pasted from the download. I have done the above, but still cannot get it to work.
I still dont have the forumhome_wgo_pos2 option.
The modified FORUMHOME template now looks like this:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
<if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
</table>
<!-- / guest welcome message -->
<br />
</if>
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->
<br />
$ad_location[ad_forumhome_afterforums]
<br />
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>
$template_hook[forumhome_wgo_pos1]
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
<tr>
$template_hook[forumhome_wgo_pos2]
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
$template_hook[forumhome_wgo_stats]
</div>
</td>
</tr>
</tbody>
$template_hook[forumhome_wgo_pos3]
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&day=$today&sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
$template_hook[forumhome_wgo_pos4]
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
$template_hook[forumhome_wgo_pos5]
</table>
<br />
<!-- end what's going on box -->
<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_contains_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_contains_no_new_posts]</td>
</tr>
<if condition="$vboptions['showlocks']">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont"> $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</if>
</table>
</td>
<if condition="!$show['guest']">
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- / icons and login code -->
$footer
</body>
</html>
I'm still unsure what I have done wrong, and apologise for being a pain.
Cheers
Paul M
10-19-2009, 08:37 PM
TBH, I dont know what you have done, or what you are doing.
I have not edited the code. Just copied and pasted from the download.
Copied and pasted what ? where ?
The information you posted was this ;
ok had a look through the code and had a try at entering it. I have the settings as:
Product - vBulletin
Hook Location - forumhome_start
Title - Who has visited
Execution Order - 5
What does this mean exactly if you havent been editing code ?
I still dont have the forumhome_wgo_pos2 option.
The template you posted has it in twice ! - a bit of a mess.
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
<tr>
$template_hook[forumhome_wgo_pos2]
<tbody>
<tr>
As best I can tell, the stuff in red should not be there.
oxygenthief
10-19-2009, 08:54 PM
TBH, I dont know what you have done, or what you are doing.
Copied and pasted what ? where ?
The information you posted was this ;
What does this mean exactly if you havent been editing code ?
This is the options I selected when I added the plugin, through the plugin manager.
I have deleted the text you have highlighted in red and still nothing.
I'm assuming that when the text is added into the template, that then activates the forumhome_wgo_pos2 option which I select as the hook location?
If so, I'm still not getting the forumhome_wgo_pos2 option in the hook locations.
Cheers
Paul M
10-19-2009, 10:27 PM
You dont add anything in the plugin manager, unless you are creating your own.
The instructions are quite clear ;
unzip the XML and import into vB using the ACP Product Manager
This is all you do.
oxygenthief
10-19-2009, 10:44 PM
Ok
Thats what I tried first yesterday. I have just tried again:
This is what I'm doing:
User CP> Plugins and products> Manage products> Add/import products
I have unzipped the file and placed it into 'EITHER upload the XML file from your computer' section. When I click import I'm then given the 'No file uploaded and no local file found.' message.
Am I doing the correct procedure?
Cheers
oxygenthief
10-20-2009, 09:45 PM
Can any one help?
Cheers,
Paul M
10-20-2009, 10:04 PM
I have unzipped the file and placed it into 'EITHER upload the XML file from your computer' section. When I click import I'm then given the 'No file uploaded and no local file found.' message.
Depends on what you mean by "placed it" into that section.
You must click on the "Browse" button next to that section, and navigate to the unzipped file, then click on Import.
If that gives the error you mention then you have a server issue uploading files, which I cannot help with.
Im now going away on holiday, so I wont see this thread again for over a week.
SamirDarji
10-21-2009, 03:01 AM
To install any plugin that has an xml file.
Download the xml file.
Go to your admincp-->Plugins & Products-->Manage Products-->[Add/Import Product]
Then use the first option "EITHER upload the XML file from your computer" and use the "Browse" button to find the xml file you downloaded. Once the file is properly selected, click on Import. Then proceed to configure the plugin and then check its operation.
YISRAEL
10-22-2009, 02:35 PM
Familiar but thank you
Saviour
10-25-2009, 01:45 PM
Can this be coded with a conditional to prevent Banned members from appearing? If so, what is the correct procedure for coding this mod to allow for this?
Thanks, in advance...
Jobe1986
10-25-2009, 10:59 PM
Odd question, but why doesn't this mod use:
$user['musername'] = fetch_musername($today);
in the forumhome_start plug-in so it doesn't have to go and find the user name markup itself?
Personally I think this would be a nice addition to the mod. At least that way other mods can use the fetch_musername hook and it actually have effect in this mods output.
Paul M
10-29-2009, 12:52 PM
Because it doesnt need to use it :)
The information is read as part of an existing read, and also in an existing cache, therefore the extra overhead that fetch_musername() adds is unnecessary.
Skydiver10
10-29-2009, 07:43 PM
Thanks for this mod Paul!! :)
Jobe1986
10-31-2009, 02:00 AM
Because it doesnt need to use it :)
The information is read as part of an existing read, and also in an existing cache, therefore the extra overhead that fetch_musername() adds is unnecessary.
But at the cost of not allowing OTHER mods to use the fetch_musername hook to change the musername
Also, for the record (from the afore mentioned fetch_musername, where $user is passed TO the function, using the SAME caches):
$user['musername'] = $vbulletin->usergroupcache["$displaygroupid"]['opentag'] . $username . $vbulletin->usergroupcache["$displaygroupid"]['closetag'];
Paul M
10-31-2009, 03:32 PM
I'm well aware how the function works ;)
As for the hook, no one has found that to be an issue in over 4 years.
I will not be changing this version (or any of the 3.x versions). However, I will consider it for the 4.0 version.
forumtester
11-02-2009, 01:35 PM
Just a quickie.
It says in the info that you can change the mode from today to last 24 hrs in the acp.
I must be a bit of an idiot because I can't see any option for changing between the two. Could someone just point me in the right direction.
Paul M
11-02-2009, 03:10 PM
(Options are in vBulletin Options > Who has visited today) :) .
forumtester
11-02-2009, 06:56 PM
You Da Man!!
And a fellow brit....good lad
Adam H
11-02-2009, 08:10 PM
Hey paul what code would i need to edit to change the time period , i.e instead of 24 hours changing it to a week or something
Paul M
11-02-2009, 08:17 PM
A week ??
You would change 86400 to however many seconds you want - but be aware that you also need to change phrases, and the 'hover' timestamp becomes somewhat meaningless.
Adam H
11-02-2009, 08:23 PM
A week ??
You would change 86400 to however many seconds you want - but be aware that you also need to change phrases, and the 'hover' timestamp becomes somewhat meaningless.
Ok great , where would the 86400 be located ? sorry havent looked into this at all.
One of my admins want it done on a small dead forum that i dont work on since ive left it to him to manage i said id find out how to do it for him
Adam H
11-03-2009, 12:35 PM
Ok great , where would the 86400 be located ? sorry havent looked into this at all.
One of my admins want it done on a small dead forum that i dont work on since ive left it to him to manage i said id find out how to do it for him
Dont worry i was being stupid after a long day , sorted it now :)
gutterfox
11-04-2009, 09:12 AM
hi, i've a problem with this hack, my forum dispaly:
Total members that have visited the forum in the last 24 hours: %1$s 61
in bold underlined the error. how i can fix it?
Paul M
11-04-2009, 10:57 AM
Thats generally caused by a customised phrase, make sure you dont have a customised [english] translation.
lalelu
11-06-2009, 08:13 PM
Hi,
is it possible to remove the 'hover' timestamp?
Thanks,
lalelu
imsick
11-09-2009, 06:34 AM
nice job...
**INSTALLED**
Alucard^
11-10-2009, 09:59 AM
Hi, i installed this addon and i have only one problem:
https://vborg.vbsupport.ru/
Do you know what i can do? Thx.
fatdr
11-10-2009, 05:28 PM
thanks ,good
Paul M
11-10-2009, 08:42 PM
Hi, i installed this addon and i have only one problem:
http://img109.imageshack.us/img109/476/whovisited.png
Do you know what i can do? Thx.
You need to edit the Display_Visitors template, you have obviously customised the other sections.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.