PDA

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


Pages : [1] 2 3 4 5

Paul M
06-09-2005, 10:00 PM
This modification is no longer available or supported.

This adds a simple display of all members who have visited the forum - either today (i.e. since midnight) or in the last 24 hours. Please note that it is not possible for this hack to count guests.

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

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 should 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 hack is now phrased.
8. The ability to turn it on/off is in the ACP Forum Home Options.
9. The ability to allow only certain usergroups to view the list is an ACP option (vBulletin Options > Who has visited today).
10. The switch between Visited Today and Rolling 24 Hours is an ACP option (many seem to miss this actually exists).
11. The listing of members can now be suppressed (a simple message is displayed instead).
12. The list of names can be set to be always collapsed on initial view.

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.01/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.

* Add-ons etc *

* An add-on to display a 'Most ever posters' count is available here (https://vborg.vbsupport.ru/showthread.php?s=&threadid=98887).

* If you want the WVT display on a seperate page - see this post (https://vborg.vbsupport.ru/showpost.php?p=954168) by EvilHawk - now updated to version 4.21.

* There is also a CMPS module (http://www.vbadvanced.com/forum/showthread.php?t=13431) that makes use of this plugin (by tgmorris).


History:

v4.10 : Removed the need to edit the FORUMHOME template.
v4.11 : Hyperlinked display icon to members list. Added vb number formatting to count.
v4.12 : Added ALT tag to above hyperlink.
v4.13 : Fixed problem affecting the most visitors add-on when more than 999 visit in a day.
v4.14 : Added name suppression & always collapsed options.
v4.15 : Updated the install code to only create the index if it doesn't already exist.
v4.16 : Fixed error in new install code (changed DROP to ADD !).
v4.17 : Updated ACP view permission option to take into account secondary groups.
v4.18 : Not publicly released.
v4.19 : Added 'nofollow' attribute to listed usernames.
v4.20 : Minor changes, no update necessary.
v4.21 : Minor changes to settings group, instructions updated.

Chris M
06-09-2005, 11:19 PM
Installed and working fine :)

Satan

Link14716
06-09-2005, 11:32 PM
This isn't working for me. It just shows " Total users that have visited today: 0" and an empty table.

StarBuG
06-09-2005, 11:44 PM
After uploading the xml file I get a white page in the acp.
The plugin can be found in the Plugin Manager and is set to active.

On index.php however there is no change at all. :(

StarBuG

Paul M
06-09-2005, 11:45 PM
After uploading the xml file I get a white page in the acp.
The plugin can be found in the Plugin Manager and is set to active.

On index.php however there is no change at all. :(

StarBuGDid you do the template change ?

Paul M
06-09-2005, 11:46 PM
This isn't working for me. It just shows " Total users that have visited today: 0" and an empty table.Interesting - the code must be running for you to get a zero. Can you provide a link to your site, and a test login if possible. :)

StarBuG
06-09-2005, 11:55 PM
DOH

I thought it was the xml alone :D
I will do the changes after the bug is fixed that I can?t access my templated :(

StarBuG

Link14716
06-10-2005, 12:33 AM
Interesting - the code must be running for you to get a zero. Can you provide a link to your site, and a test login if possible. :)
I have disabled it. It works over 24 hours, just not since midnight.

Link14716
06-10-2005, 12:53 AM
I fixed it by changing this:
$now = TIMENOW - intval($vbulletin->options['hourdif']);
to this:
$now = TIMENOW + intval(($vbulletin->options['timeoffset'] + $vbulletin->options['dstonoff']) * 3600);

Chris M
06-10-2005, 12:59 AM
I've altered it in my plugin code and it still works...

So so far so good ;)

Satan

Paul M
06-10-2005, 01:18 AM
Okay - I applied a slightly different fix (uploaded).

I'll take a proper look tomorrow at the timezone stuff and see which is the best method. :)

volcan
06-10-2005, 01:19 AM
Hi.
I install the hack but the only thing is showing is the "Total users that have visited today:"
but there is nothing in it.
Now I dint install the plugin I dont now where to install it.
Where do I upload it please?
I need a detail instractions please.
Thank you.
Regards.

Paul M
06-10-2005, 01:23 AM
You are running vB 3.5.0 beta ?

TTG
06-10-2005, 02:07 AM
Installed and works fine :)

Paul M
06-10-2005, 02:12 AM
Installed and works fine :)Click install then please. :)

TTG
06-10-2005, 02:20 AM
Click install then please. :)

Done

volcan
06-10-2005, 02:26 AM
no i have the
(vBulletin 3.0.7)

Link14716
06-10-2005, 02:34 AM
Then this isn't the place for you. This hack (and this forum) is for vB 3.5. The vB 3.0.x forums are below these. There are hacks for 3.0.x which will do the same thing.

Paul M
06-10-2005, 02:34 AM
no i have the
(vBulletin 3.0.7)Then you are installing the wrong version - this is the vB 3.5.0 beta version - you want the vB 3.0.7 version, which is here ;

https://vborg.vbsupport.ru/showthread.php?s=&threadid=71533

jpt62089
06-10-2005, 04:46 AM
*fixed*

playstation
06-10-2005, 12:26 PM
Works great.

*clicks install*

ja3
06-10-2005, 01:08 PM
easy to install, easy to use, superb :)

wi11ie1950
06-11-2005, 03:32 AM
Works ok for me.. Click Installed

Svenna
06-11-2005, 02:03 PM
nice job :nervous:

belinea
06-12-2005, 04:24 PM
This Mod doesn´t work.

I see a "Total users that have visited today:" and an empy table.

Paul M
06-12-2005, 05:13 PM
This Mod doesn?t work.

I see a "Total users that have visited today:" and an empy table.I beg to differ, but yes it does. Did you actually do step 3 ?

belinea
06-12-2005, 05:25 PM
I beg to differ, but yes it does. Did you actually do step 3 ?Yes, I did.

Paul M
06-12-2005, 05:27 PM
and have you turned the plugin system on (in the vb options) ?

belinea
06-12-2005, 05:36 PM
and have you turned the plugin system on (in the vb options) ?Yepp, other Plugins works fine. :disappointed:

Paul M
06-12-2005, 06:24 PM
<shrug> It works for me and everyone else - is it listed, and active in the plugin manager.

belinea
06-12-2005, 07:00 PM
I have restarted my Apache. Now it works.

Many thanks for your help.

Paul M
06-12-2005, 07:01 PM
Bizarre is about all I can say to that. :)

You can click on install now ;)

uae
06-13-2005, 04:41 AM
Thank you Paul.

kall
06-13-2005, 05:38 AM
I think you might have an extra </if> in the end of the FORUMHOME addition Paul.

Either that, or you missed it out in the FIND statement.

(Or my first day working after 18 months playing around with vB has reduced my brain to mush, and everything is correct.) :)

Paul M
06-13-2005, 02:00 PM
I think you might have an extra </if> in the end of the FORUMHOME addition Paul.

Either that, or you missed it out in the FIND statement.

(Or my first day working after 18 months playing around with vB has reduced my brain to mush, and everything is correct.) :)
Nope - you were right - an extra if sneaked in on the last upload, now removed. Thanks. :)

OmaniMan
06-13-2005, 08:50 PM
install >>
Great :) >>

neil b
06-14-2005, 09:32 PM
This works well on my board.

mholtum
06-16-2005, 07:05 PM
very nice!
/me installs

havefun
06-17-2005, 06:31 PM
thanks, works fine :)

dreck
06-18-2005, 04:58 PM
*install*

ThePimp
06-19-2005, 03:15 AM
Installed... It worked fine for a while, then it died. Getting a 0 now. Any suggestions other than uninstalling it?

EDIT:
$cutoff = $now - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //

I uncommented that line and it came back up.

smokering
06-19-2005, 04:03 AM
really like this one thank you very easy to install (I am not a coder)and it works perfectly

poolking
06-19-2005, 08:28 AM
installed on Beta 2. :)

Paul M
06-19-2005, 09:52 AM
Installed... It worked fine for a while, then it died. Getting a 0 now. Any suggestions other than uninstalling it?

EDIT:
$cutoff = $now - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //


I uncommented that line and it came back up.You do realise the original version resets each midnight ?

taffy056
06-19-2005, 04:15 PM
Hi,

This is not working for me as yet, I have done all the steps in the instructions, all I get is an empty table. Is this something to do with Hook Location? Does this need to be set at specific one?

thanks

Paul M
06-19-2005, 04:25 PM
The hook location sets itself, are you sure you have plugins enabled ?

taffy056
06-19-2005, 11:35 PM
Hi,

Just redone the plugin and all is working okay now, just need to get used to doing something slightly different from previously.

taffy

ThePimp
06-20-2005, 03:05 AM
You do realise the original version resets each midnight ?

I figured that, however, at the reset, I logged out and in under a few different usernames, and it didn't log it. The rolling list will work just fine though, it's what I was looking for anyhow.

Thanks again.

grundybin
06-20-2005, 03:14 AM
I was looking for it to display users who have logged in since MIDNIGHT (00:00) Free games (http://freeware.info.pl/software.html) on the same day...

Paul M
06-20-2005, 11:39 AM
It works on the members last activity time, which is updated when ever they move from one area of the forum to another, I would have thought logging in updates this as well.

The display is actually calculated before your own activity is updated, so if you logged directly into the homepage, you would actually need to refresh the page before you saw yourself listed.

Chris M
06-20-2005, 01:35 PM
It works on the members last activity time, which is updated when ever they move from one area of the forum to another, I would have thought logging in updates this as well.

The display is actually calculated before your own activity is updated, so if you logged directly into the homepage, you would actually need to refresh the page before you saw yourself listed.
Indeed - I expected it to show me as a user who visited today, but then realised that it had already calculated it, then i refreshed and I appeared ;)

Satan

mangacars
06-20-2005, 02:33 PM
thanks worked perfect

pauloo
06-20-2005, 06:06 PM
THank you Mr Paul !

Johannes de Le?n
06-23-2005, 09:33 AM
Working like a charm here (vB 3.5.0 Beta 2).

kylek
06-24-2005, 06:36 AM
Okay - I applied a slightly different fix (uploaded).

I'll take a proper look tomorrow at the timezone stuff and see which is the best method. :)

I have a problem with the time on this, it seems to reset its midnight time at 9 pm forum time, other than that everything is and works great.

Paul M
06-24-2005, 12:27 PM
I have a problem with the time on this, it seems to reset its midnight time at 9 pm forum time, other than that everything is and works great.What timezone do you have set in your profile ?

Edit: Actually, try the version I have just uploaded (v3.20) - it uses a slightly different TZ calculation.

Roxie
06-24-2005, 11:29 PM
Hmm. I'm getting a blank table as well.

Paul M
06-25-2005, 12:07 AM
Hmm. I'm getting a blank table as well.Can you be more specific, or provide a working link to your site. Also, have you turned the plugin system on (in vb options) ?

Roxie
06-25-2005, 01:23 AM
I'm sorry. I did all the steps in the install. The plugin is active and the system is on. It shows on the bottom of the page, however, the lists does not show any names.

Paul M
06-25-2005, 01:36 AM
I'm sorry. I did all the steps in the install. The plugin is active and the system is on. It shows on the bottom of the page, however, the lists does not show any names.Okay, perhaps I should have been clearer, a blank table does not tell me what I need to know - the bit that says "Total members that have visited today: 2" - what number does it show at the end, after the colon ?

Roxie
06-25-2005, 01:38 AM
It says 0. And there have been many visitors today.
Thanks.

Paul M
06-25-2005, 01:40 AM
Can you please post a link to your site, and confirm that you are using version 3.20.

Paul M
06-25-2005, 02:22 AM
Arrgggg - nevermind - I have just realised I made a stupid mistake on this latest upload (and possibly yesterdays as well) which may explain it. I have forgotten to convert $bbuserinfo to $vbulletin->userinfo on the user tz options. Delete the plugin you have and try the 3.25 version now uploaded. :)

kylek
06-25-2005, 02:40 AM
Thanks Paul M,
Had me there for a minute, uploaded last version and had blank for members visited like Roxie, reuploaded new version and visitor numbers and names are back.

I will see if this new time zone calculation fixes my old problem.

MentaL
06-28-2005, 01:17 PM
gr8



Total users that have visited today: 2688
!!Jin!!, ....2685 membernames removed (MarcoH64).... ~GMkyle~, ~~Cash~~
RaGEZONE : The Ultimate MMOG Resource Statistics

Paul M
06-28-2005, 01:53 PM
um ??

Chris M
06-28-2005, 02:19 PM
um ??
Lol - He posted all those names :p

Satan

Marco van Herwaarden
06-28-2005, 03:19 PM
It was an almost endless list of membernames, i needed to scroll for 5 minutes to get to the end of his post, and i didn't find any usefull information, hence i reduced it a 'bit'.

MentaL
06-28-2005, 05:56 PM
Lol - He posted all those names :p

Satan
^__^


I would use tho if say it only showed the number of members who visted today, rather than just the names or say the number of amount of members who visited today and youc lick the nnumber and boom it opens a window of the member names..

Since i get 4000+ a day my page would be kinda full :ermm:

Paul M
06-28-2005, 06:12 PM
Simply modify the template to show what you want (the list is collapsable as well ...).

flup
06-28-2005, 06:24 PM
Nice

/me clicked install

MentaL
06-28-2005, 06:38 PM
Simply modify the template to show what you want (the list is collapsable as well ...).
Still loads it though in the html and im using stats and i noticed it added an extra 800miliseconds of loading time.

flup
06-28-2005, 06:42 PM
Metalrz;

Try this code instead of the one in the text file:
<!-- Todays active users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayusers')"><img id="collapseimg_forumhome_todayusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayusers].gif" alt="" border="0" /></a>
Total users that have visited today
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_todayusers" style="$vbcollapse[collapseobj_forumhome_todayusers]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Users online today" border="0" /></td>
<td class="alt1" width="100%"><div class="smallfont">$totaltoday Members have visited us today</div></td>
</tr>
</tbody>
<!-- Todays active users -->

Add that one after:
<!-- end logged-in users -->

This will only show the number.

MentaL
06-28-2005, 08:56 PM
Metalrz;

Try this code instead of the one in the text file:
<!-- Todays active users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayusers')"><img id="collapseimg_forumhome_todayusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayusers].gif" alt="" border="0" /></a>
Total users that have visited today
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_todayusers" style="$vbcollapse[collapseobj_forumhome_todayusers]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Users online today" border="0" /></td>
<td class="alt1" width="100%"><div class="smallfont">$totaltoday Members have visited us today</div></td>
</tr>
</tbody>
<!-- Todays active users -->

Add that one after:
<!-- end logged-in users -->

This will only show the number.
ta!!

Paul M
06-28-2005, 11:55 PM
ta!!If the count is all you want, then I suggest you use this cut down plugin as most of the original code is for building the list. :)

Chris M
07-01-2005, 12:03 AM
If the count is all you want, then I suggest you use this cut down plugin as most of the original code is for building the list. :)
Paul - The list has broken on Beta 3 - Fix it :p

Shows up as empty table now :ermm:

Satan

Paul M
07-01-2005, 12:09 AM
Paul - The list has broken on Beta 3 - Fix it :p

Shows up as empty table now :ermm:

Satan
Which list ? It's working fine on my beta 3.

Chris M
07-01-2005, 12:26 AM
This one ;)

Satan

MentaL
07-01-2005, 12:42 AM
This one ;)

Satan
Works fine here bud, i only got that when i didnt active the plugin :rolleyes:


http://forum.ragezone.com/index.php?

Chris M
07-01-2005, 12:47 AM
Works fine here bud, i only got that when i didnt active the plugin :rolleyes:


http://forum.ragezone.com/index.php?
My plugin is active, and it was working when I installed the hack yesterday ;)

It just stopped working for some reason :p

Satan

Paul M
07-01-2005, 01:12 AM
My plugin is active, and it was working when I installed the hack yesterday ;)

It just stopped working for some reason :p

SatanDid you try refreshing the display ? if it's your first visit of the day, your last activity timestamp is updated after the hack runs. :)

If that doesn't work, check your timezone settings, including the server. FYI: I have a little debug plugin that checks the TZ settings, but it's at home, and I'm at work.

Chris M
07-01-2005, 10:23 AM
I know about the "first visit of the day" - I can assure you it is not that ;)

Must be my timezone settings then - I'll fiddle about and see if I can get it to work :ermm:

Satan

Chris M
07-01-2005, 10:24 AM
Aha - Upon further investigation, turning on the DST settings in the vB Options causes this to die :p

Satan

Dream
07-04-2005, 07:35 AM
thanks, pretty cool, working fine

does this get users on the last 24 hours or the current day?

Paul M
07-04-2005, 01:36 PM
does this get users on the last 24 hours or the current day?..
This plugin adds a simple display of all members who have visited the forum 'today' (i.e. since midnight).

<snip>

If you prefer, then there is an option to make this hack display a rolling 24 hours - un-comment the relevant line in the code.
:)

Dream
07-05-2005, 02:43 AM
:P

you could make it so it shows the day

Total users that have visited today (7/4/2005): 10

Paul M
07-05-2005, 07:15 AM
:P

you could make it so it shows the day

Total users that have visited today (7/4/2005): 10

Just change that part of the forumhome template to ;

Total users that have visited today ($datenow) : $totaltoday

:)

Dream
07-08-2005, 09:15 PM
i wonder if this is getting members on the forum since midnight using my gmt settings... say my forum is at gmt -6, and my server is gmt, is the " since midnight users" being taken using gmt -6? it seems its resetting the list at my gmt midnight, but it shows alot of people that im not sure they visited after that

Paul M
07-08-2005, 10:52 PM
I don't quite follow you, but for each user, it should reset at their midnight.

Dream
07-09-2005, 04:36 AM
their midnight? can I change it to the forum midnight?

Cloudrunner
07-09-2005, 10:22 AM
their midnight? can I change it to the forum midnight?
yes, change the line$cutoff = mktime(0, 0, 0, date('m', $now), date('d', $now), date('Y', $now));to read$cutoff = mktime(0, 0, 0, date('m'), date('d'), date('Y'));in the plugin itself. This will set the cutoff time to your forums timeset.

If you do this then you can comment the $tz line and the $now line as they will not be used for this if you go and use the forums time.

Borimikan
07-09-2005, 01:26 PM
Ok I install it... now I have a question, and sorry bcause Im new.... Where the XML file goes to?

Paul M
07-09-2005, 02:40 PM
You upload it as a plugin.

ACP > Plugin System > Download / Upload Plugins

theArchitect
07-16-2005, 12:19 AM
As always great work.

Installed on 3.5.0 beta 4.

ack
07-20-2005, 11:47 PM
Thanks! Worked great. ^_^

Dream
07-21-2005, 04:38 AM
$cutoff = mktime(0, 0, 0, date('m'), date('d'), date('Y'));

uhm that didnt work, this didnt work either

$cutoff = mktime(0, 0, 0, vbdate('m'), vbdate('d'), vbdate('Y'));

there are still members in the list with "last visit" as "yesterday" in their profiles

edit: well I updated my version with the one in this thread and it seems to be working the way I wanted, thanks

Boofo
07-22-2005, 05:03 AM
You do realise the original version resets each midnight ?

If we uncomment the line for 24 hours rolling do we need to comment out the line before it?

Also, does this work according to the user's midnight or the server's?

Paul M
07-22-2005, 11:48 AM
If we uncomment the line for 24 hours rolling do we need to comment out the line before it? No, it simply over-rides the lines above.

Also, does this work according to the user's midnight or the server's?Each users midnight.

Boofo
07-22-2005, 04:21 PM
No, it simply over-rides the lines above.

Each users midnight.

Thank you, sir. Excellent!

Paul M
07-22-2005, 07:12 PM
Just one small point - the two questions are mutually exclusive.

If you uncomment the 24 hr option then obviously the midnight question is irrelevant (or vice versa). :)

Boofo
07-22-2005, 09:29 PM
Just one small point - the two questions are mutually exclusive.

If you uncomment the 24 hr option then obviously the midnight question is irrelevant (or vice versa). :)

Not really. The server time is 6 hours off of my timezone. So knowing if it is set to server midnight or usertime midnight is a relevant question. ;)

cecdah
07-22-2005, 10:30 PM
Installed in two minutes, and working like a charm. Thanks a lot. :)

Neutral Singh
07-24-2005, 02:14 AM
gr8!! ** Aman Clicks Installed **

mvigod
07-25-2005, 07:37 PM
shouldn't the 24 hour roll variable be TIMENOW rather than $now which is what you have? I installed this and it shows all users registered rather than from past 24 hours. Changing this to TIMENOW yields the correct result.

Paul M
07-25-2005, 09:18 PM
shouldn't the 24 hour roll variable be TIMENOW rather than $now which is what you have? I installed this and it shows all users registered rather than from past 24 hours. Changing this to TIMENOW yields the correct result.Indeed it should have been - $now was correct before the last update of the code, when the $now variable was removed - but I forgot to change that 24hr line - it was actually fixed and uploaded yesterday morning - but obviously you wouldn't know this - so thanks for noticing and pointing it out. :)

Boofo
07-26-2005, 09:24 PM
I uncommented the 24 hour roll-over code and it isn't rolling over now like it should. I have 2 vistors from yesterday still showing up and online today.

Paul M
07-26-2005, 10:23 PM
I uncommented the 24 hour roll-over code and it isn't rolling over now like it should. I have 2 vistors from yesterday still showing up and online today.I am assuming you have read the previous post and have the correct version, not the one using $now.

Other than that I don't understand what your problem is. You are bound to see visitors from yesterday since it goes back 24 hours (so at 6pm today, you will have visitors back to 6pm yesterday).

Boofo
07-26-2005, 10:30 PM
I am assuming you have read the previous post and have the correct version, not the one using $now.

Other than that I don't understand what your problem is. You are bound to see visitors from yesterday since it goes back 24 hours (so at 6pm today, you will have visitors back to 6pm yesterday).

I thought it changed at the user's midnight. I am using the latest version 3.31.

Paul M
07-27-2005, 11:23 AM
I thought it changed at the user's midnight. I am using the latest version 3.31.You seem to be confusing two options. It can run in one of two modes.

1. Members who visited today (i.e. from midnight) - which is the default as supplied.

2. Members who visited in the last 24 hours - which requires you to uncomment an extra line.

You appear to have uncommented the line for mode 2, but are expectiing mode 1.

evss
07-27-2005, 02:54 PM
Installed!
thank you.

Boofo
07-27-2005, 07:46 PM
You seem to be confusing two options. It can run in one of two modes.

1. Members who visited today (i.e. from midnight) - which is the default as supplied.

2. Members who visited in the last 24 hours - which requires you to uncomment an extra line.

You appear to have uncommented the line for mode 2, but are expectiing mode 1.

Now that makes more sense. My misunderstanding then. Sorry for the confusion, sir. ;)

h75
07-27-2005, 09:06 PM
*clicks install* *clicks thankyou* :)

FleaBag
07-27-2005, 10:11 PM
Much appreciated hack, and survived the template reverts for RC1. Thanks. :)

Neal-UK
07-28-2005, 11:26 PM
Click install then please. :)

i got a 'invalid thread specified' during install and it's all blank on forumhome although the information is there, just not the members.

Neal-UK
07-28-2005, 11:30 PM
<shrug> It works for me and everyone else - is it listed, and active in the plugin manager.

ignore last, i uploaded it in wrong place, not plugins, works fine!

GrendelKhan{TSU
07-30-2005, 03:03 AM
3.5 RC1 here....no problems.
good stuff :D

<<< clicks INSTALL :) ;)

Chris_D
07-30-2005, 10:28 AM
Looks cool. Nice work :)

* Chris_D clicked Install.

XtremeOffroad
08-02-2005, 10:53 PM
Installed and works fantastic, Well with only 1 member it's hard to tell but in time hopefully the board will grow.
Thanks.

Neal-UK
08-02-2005, 11:43 PM
Installed and works fantastic, Well with only 1 member it's hard to tell but in time hopefully the board will grow.
Thanks.

i'll join and say hello although i have a citroen saxo, does that count?

Snake
08-04-2005, 02:32 PM
Paul this hack is lovely although is it possible to make it view to the administrators only? I really don't want it shown up to the other members except the admins.

Paul M
08-04-2005, 06:31 PM
Paul this hack is lovely although is it possible to make it view to the administrators only?
Just put the template code inside a conditional for usergroup 6.

Snake
08-04-2005, 07:25 PM
I'm not a dumbass but what is that supposed to mean? I have no clue about vBulletin hacking and all that so could you please be a little more definite?

Paul M
08-04-2005, 09:01 PM
You added some template code as part of this hack, surround that code with an IF - like this ;

<if condition="$bbuserinfo[usergroupid] == 6">

(current hack template code)

</if>

wilky49
08-05-2005, 01:46 PM
Nice.

Clicks Install!

Rhoads
08-06-2005, 05:07 PM
Thnx Paul, but I get a error when I upload de file with the Plugin system.

Error : Invalid File Specified

EDIT : GREEN ALARM :rolleyes:

I upload the file with the [Add/Import Product] :dead:

NetRover
08-06-2005, 06:12 PM
<shrug> It works for me and everyone else - is it listed, and active in the plugin manager.

Hi there, I've upgraded from 3.0.7 to 3.5.

I followed instructions and didn't re-do steps 1 and 2.

The template was still showing at the bottom of 3.5 so I knew it was ok so proceeded with the browse in admin CP for the XML file.

It just keeps saying invalid file specified.

I know Paul is away, anyone else had this problem and resolved it?

TTG
08-07-2005, 12:34 AM
Thnx Paul, but I get a error when I upload de file with the Plugin system.

Error : Invalid File Specified

EDIT : GREEN ALARM :rolleyes:

I upload the file with the [Add/Import Product] :dead:

It's not a product .. it's a plugin !

Go to Plugin system >> Dowload / upload plugins >> browse >> import

ThorstenA
08-07-2005, 09:46 AM
There is an error in mail the user gets: "Hello test1, you have got a private message from test1".

Boofo
08-07-2005, 09:51 AM
There is an error in mail the user gets: "Hello test1, you have got a private message from test1".

Are you sure you are in the right thread? What email? ;)

Rhoads
08-07-2005, 10:02 AM
It's not a product .. it's a plugin !

Go to Plugin system >> Dowload / upload plugins >> browse >> import

Yes I now, but I make a mistake, thnx iig

groberthall
08-09-2005, 04:13 PM
ok, I have to be doing something wrong here :)

I have altered the forumhome template and it shows the table and header okay ( but with no number after the colon )

I have installed the plugin and it all says it is installed correctly. plugin is active and plugins are turned on in Vb options.

But table is empty, no number after the colon on the title bar, and when I refresh the page it gives a parse error that disappears so quickly I cannot read it.

If I turn off plugins in options then the parse error does not appear.

Any ideas ?

<edit>
Parse error says
Parse error: parse error, unexpected T_STRING in /home/graham/public_html/index.php(63) : eval()'d code on line 2

groberthall
08-11-2005, 05:43 AM
anyone ?

groberthall
08-13-2005, 07:12 AM
OK, dont know what was going on there but I deleted everything, downloaded it again, uploaded it agin, and it all works fine. Many thanks for the hack.
*pops off to click install*

Magle
08-13-2005, 01:17 PM
Works like a charm! :up:

evesve
08-14-2005, 03:01 PM
You added some template code as part of this hack, surround that code with an IF - like this ;

<if condition="$bbuserinfo[usergroupid] == 6">

(current hack template code)

</if>
Hi!
This is very useful.
I?m not an expert, so I must ask:
If I want more than one usergroupid, what is the code?

Snake
08-14-2005, 03:31 PM
Just add the group ID right next to the number "6".

ie: 6,7,8,9

So the final code will look like:

<if condition="$bbuserinfo[usergroupid] == 6,7,8,9">

Although I am NOT sure so backup your file(s) before proceeding.

evesve
08-14-2005, 04:58 PM
Just add the group ID right next to the number "6".

ie: 6,7,8,9

So the final code will look like:

<if condition="$bbuserinfo[usergroupid] == 6,7,8,9">

Although I am NOT sure so backup your file(s) before proceeding.

THX!
It was TO easy! :nervous:

Mr Chad
08-15-2005, 04:45 AM
Perfect

Snake
08-15-2005, 07:47 AM
No problem. :)

BuRNZau
08-17-2005, 11:59 AM
Love it cheers!

Sleepyk
08-18-2005, 12:13 AM
Invalid File Specified is error i get
\

Greivog
08-18-2005, 08:18 AM
Spot on, thanks

evesve
08-19-2005, 05:49 AM
Is there a code so I can get the visitor in order:
Administrators(6), Moderators(7), Special members(9) and than the others?

socalsoccer
08-21-2005, 11:24 PM
I did all but the second optional step, and is not working. I dont have a 0 either just the table that is colapsible and members today. Plugins are active , as I dont see anywhere to turn them ON like you say. Is it my DST setting like someone mentioned.

Thanks

socalsoccer.com

socalsoccer
08-21-2005, 11:26 PM
pasted this:

<!-- Todays active users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayusers')"><img id="collapseimg_forumhome_todayusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayusers].gif" alt="" border="0" /></a>
Total users that have visited today: $totaltoday
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_todayusers" style="$vbcollapse[collapseobj_forumhome_todayusers]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Users online today" border="0" /></td>
<td class="alt1" width="100%"><div class="smallfont">$whotoday</div></td>
</tr>
</tbody>
<!-- Todays active users -->

socalsoccer
08-21-2005, 11:26 PM
hook location is adminstart the first one.

Paul M
08-21-2005, 11:31 PM
What is the url of your site ?

Paul M
08-21-2005, 11:33 PM
hook location is adminstart the first one.Um - are you saying that the plugin is showing this as it's hook ? [since it's wrong]. If so, I would try deleting it and re-loading the plugin again.

socalsoccer
08-21-2005, 11:37 PM
socalsoccer.com

it selests that hook for you when adding the plugin

socalsoccer
08-21-2005, 11:40 PM
you have to have a plugin location after Vbulletin product in RC2.

socalsoccer
08-22-2005, 10:25 AM
Tryed again but still no 0, just collapsible table. Does this work with RC2?

Paul M
08-22-2005, 12:04 PM
Tryed again but still no 0, just collapsible table. Does this work with RC2?Yep, it works fine. I have uploaded the plugin for you. I can only guess that the xml file you have is corrupted.

Rat1972
08-24-2005, 11:32 AM
Invalid File Specified is error i get
\

Same here...

Paul M
08-24-2005, 01:17 PM
It is a plugin, not a product - you will get that error if you try and upload it as a product (via the product manager).

Rat1972
08-24-2005, 01:45 PM
Stupid of me!
Thanx paul

Xplorer4x4
08-24-2005, 01:48 PM
Thansk Paul. Been using it for awhile now and just realized you updated it to be "Dynamic" (method 2). I would recomend making note of EXACTLY what variable to edit in your main post to save you alot of trouble of explaining which line to delete. Just a thought. ;)

Paul M
08-24-2005, 06:16 PM
Sorry, but I'm a bit confused as to what you are talking about.

Xplorer4x4
08-25-2005, 06:46 AM
The term used for method 2 where it does not reset is called "dynamic" I believe.

As far as the other part, meh forget it, not important.

Now I have problem however. I want to make this dynamic(method 2/Does not reset) so i edited his variable out of the plug in:
//$cutoff = TIMENOW - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //
And it still reset at midnight. Suggestions?

evesve
08-25-2005, 09:29 AM
i edited his variable out of the plug in:
//$cutoff = TIMENOW - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //
And it still reset at midnight. Suggestions?

That was the only edit I did and it works fine!

evesve
08-25-2005, 03:05 PM
Is there a code so I can get the visitor in order:
Administrators(6), Moderators(7), Special members(9) and than the others?

No suggestions?

Paul M
08-25-2005, 04:58 PM
The term used for method 2 where it does not reset is called "dynamic" I believe.

As far as the other part, meh forget it, not important.

Now I have problem however. I want to make this dynamic(method 2/Does not reset) so i edited his variable out of the plug in:
//$cutoff = TIMENOW - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //
And it still reset at midnight. Suggestions?
When you say you edited it out, what do you mean exactly ? All you should do to it is uncomment it, i.e. remove the two slashes at the start, not the whole line.

Paul M
08-25-2005, 05:00 PM
No suggestions?Nope - there is no easy way to sort it like that.

Xplorer4x4
08-25-2005, 05:04 PM
When you say you edited it out, what do you mean exactly ? All you should do to it is uncomment it, i.e. remove the two slashes at the start, not the whole line.

Ohhhhhhhh no wonder it didn't work. :o

Thanks Paul. Goes to UNCOMMENT. :-p

-X

Xplorer4x4
08-26-2005, 04:30 AM
Ok I uncomented the line like you said. I removed the 2 slahses at the begining of the line. It STILL reset.

Any more ideas?

-X

Paul M
08-26-2005, 07:04 AM
Post the first 10 lines of the hack [from your index.php] so I can see what you have actually done.

JoyB
08-29-2005, 08:07 AM
Hi Paul,

This hack was very easy and quick to install and works a treat! Thank you :)

Xplorer4x4
08-29-2005, 09:09 AM
Post the first 10 lines of the hack [from your index.php] so I can see what you have actually done.

I am confused as to exactly what you want? If you mean the first 10 lines of the hack istelf:
// ############### Paul M - Who has visited today v3.31 #################
$tnow = date('YmdHis',TIMENOW - $vbulletin->options['hourdiff']);
$cutoff = TIMENOW - (substr($tnow,8,2)*3600 + substr($tnow,10,2)*60 + substr($tnow,12,2));
$cutoff = TIMENOW - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //
$todaysusers = $vbulletin->db->query_read("
SELECT userid, lastactivity, options, username, user.usergroupid, displaygroupid,
groupa.opentag as opentaga, groupa.closetag as closetaga, groupb.opentag as opentagb, groupb.closetag as closetagb
FROM " . TABLE_PREFIX . "user as user
LEFT JOIN " . TABLE_PREFIX . "usergroup as groupa ON(user.usergroupid = groupa.usergroupid)

Paul M
08-29-2005, 10:08 AM
I am confused as to exactly what you want? If you mean the first 10 lines of the hack istelf:
// ############### Paul M - Who has visited today v3.31 #################
$tnow = date('YmdHis',TIMENOW - $vbulletin->options['hourdiff']);
$cutoff = TIMENOW - (substr($tnow,8,2)*3600 + substr($tnow,10,2)*60 + substr($tnow,12,2));
$cutoff = TIMENOW - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //
Yep, that's what I wanted to see. There is nothing wrong with it, and there is no way that can reset at midnight. It will display a rolling 24 hours.

Xplorer4x4
08-29-2005, 06:19 PM
Yep, that's what I wanted to see. There is nothing wrong with it, and there is no way that can reset at midnight. It will display a rolling 24 hours.

I wish that was the case. :( As I said it is resetting at midnight.I tried your method for 2 nights and it didn;t work so i had tried doing some edits. I have this code here installed, so let me give it a shot again tonight. It is possible I made a mistake the last time, but I really don't see how.

Paul M
08-29-2005, 06:41 PM
Are you sure you haven't put the code in twice or something (or installed the plugin more than once) ?

The last line in what you posted is "$cutoff = TIMENOW - 86400" which quite simply is the current time - 86400 seconds (24 hours). There is simply no way it can do anything else.

BamaStangGuy
08-30-2005, 08:05 AM
I seem to be having a problem...

If I am logged in as an admin I see 6 people have visited today...

If I log out and view it as a guest... just 3 people have visited today...

What is going on here?

I have reuploaded the xmp file and recopied the template code and it still does it. Regular members also see 3 people, while I see 6

JoyB
08-30-2005, 08:11 AM
Perhaps the other three members are in invisible mode which would explain why you can't see them if you've viewing as a guest? :)

Xplorer4x4
08-30-2005, 10:40 AM
Are you sure you haven't put the code in twice or something (or installed the plugin more than once) ?

The last line in what you posted is "$cutoff = TIMENOW - 86400" which quite simply is the current time - 86400 seconds (24 hours). There is simply no way it can do anything else.

I really couldn;t tell you exactly where the problem lied, all I knwo is that I deleted the plug in. I reinstalled it. I uncomented the // variables and it apears to be working just fine now.

And to the post baove, when you are logged in as an admin, check to see if the names that are disapearing have an * next to them.

Paul M
08-30-2005, 03:12 PM
I seem to be having a problem...

If I am logged in as an admin I see 6 people have visited today...

If I log out and view it as a guest... just 3 people have visited today...

What is going on here?

I have reuploaded the xmp file and recopied the template code and it still does it. Regular members also see 3 people, while I see 6Are you referriing to actual people listed (in which case see the posts above) or the actual count shown (in which case you have different timezone settings to the others).

BamaStangGuy
08-30-2005, 04:19 PM
Ok it was timezones :)

Sorry its a new board and I was the first user. I guess I was the only one stuck on GMT and then I changed it to GMT -6 after that but didnt catch my own profile

haha oops

Anette
08-31-2005, 02:12 PM
Installed and working fine :)



Jupp work just fine!

sajjid
09-01-2005, 08:17 PM
it is very nice hack i have installed but one thing i think would look better is where it says total users visted today the bottom maybe it would be better suited if changed to total members visited today, because if you think lot more guests visit therefore that cannot be totol users.
if its ok with you paul i have edited the forumhome template.

Paul M
09-01-2005, 08:45 PM
You can edit the text to what you like. :)

ryuuchida
09-02-2005, 11:41 AM
Thanks very much for this hack. Couldn't get easier than this to install. :)

GoNz00
09-04-2005, 01:27 PM
installed and working great thanks.

1 question..

is there anything i can change in the code to make the box collapsed as default ?

thanks :)

Andreas
09-04-2005, 04:47 PM
Code optimization (?) suggest:

forumhome_complete

// ############### Paul M - Who has visited today v3.31 #################
$vbulletin->templatecache['forumhome_loggedinuser'] = str_replace('href=', 'title=\"$wrdate\" href=', $vbulletin->templatecache['forumhome_loggedinuser']);
$tnow = date('YmdHis',TIMENOW - $vbulletin->options['hourdiff']);
$cutoff = TIMENOW - (substr($tnow,8,2)*3600 + substr($tnow,10,2)*60 + substr($tnow,12,2));
//$cutoff = TIMENOW - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //
$todaysusers = $vbulletin->db->query_read("
SELECT userid, usergroupid, membergroupids, lastactivity, options, username FROM " . TABLE_PREFIX . "user
WHERE lastactivity > $cutoff ORDER BY username
");

$totaltoday = 0;
while ($loggedin = $vbulletin->db->fetch_array($todaysusers))
{
$totaltoday++;

if (fetch_online_status($loggedin))
{
$loggedin['musername'] = fetch_musername($loggedin);
$wrdate = vbdate($vbulletin->options['timeformat'], $loggedin['lastactivity']);
eval('$whotoday .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
}
}
unset($loggedin);
$whotoday = substr($whotoday, 2);
$db->free_result($todayusers);
// ############# End of Who has visited today ###############

BamaStangGuy
09-04-2005, 05:19 PM
Why change from start to complete?

When I use that code it still shows the number of people that vistsed today correctly, but it only lists me by username and no one else.

Ex. Total Users Visited Today: 121

and I am the only one listed, no one else.

Andreas
09-04-2005, 05:21 PM
$vbulletin->templatecache['forumhome_loggedinuser'] = str_replace('href=', 'title=\"$wrdate\" href=', $vbulletin->templatecache['forumhome_loggedinuser']);

That's the Reason.

BamaStangGuy
09-04-2005, 05:22 PM
$vbulletin->templatecache['forumhome_loggedinuser'] = str_replace('href=', 'title=\"$wrdate\" href=', $vbulletin->templatecache['forumhome_loggedinuser']);

That's the Reason.

Edited my post with feedback on the change

evesve
09-04-2005, 06:00 PM
Is there a code so I can get the visitor in order:
Administrators(6), Moderators(7), Special members(9) and than the others?

I?ll try again....

I change the code in the plugin to:
FROM " . TABLE_PREFIX . "user as user
LEFT JOIN " . TABLE_PREFIX . "usergroup as groupa ON(user.usergroupid = groupa.usergroupid)
LEFT JOIN " . TABLE_PREFIX . "usergroup as groupb ON(user.displaygroupid = groupb.usergroupid)
WHERE lastactivity > " .$cutoff. " ORDER BY usergroupid, username
");
now I see the users order by usergroups.
There must be an easy way to set the usergroups in order 6,7,9,2,1
??????????????

Paul M
09-04-2005, 09:08 PM
Code optimization (?) suggest:

forumhome_complete

What you have to remember is that my hacks are written for Cable Forum and released here afterwards simply to share them - they run the way they do mostly for specific reasons - and this runs on forumhome_start for a reason. :)

I guess it also depends on what you mean by 'optimization' - using those functions may reduce the code in the hack slightly, but the functions themselves have a lot of code in them, much of which is not necessary to this hack. It is also generic code I use elsewhere, and would require me to load things like functions_bigthree.php.

So, while I thank you for your suggestion - I don't intend to make any changes atm - but I will look at it to see if any of your changes/ideas would suit me in the future, especially when I convert my hacks from plugins to products (at which point I will phrase them as well) - in fact you are the second person to use a trick which I indend to look at to avoid the template edit. :up:

@BrentWilson - while you are free to use the above suggestion - I will not support it, as it's not my code - sorry.

Paul M
09-04-2005, 09:09 PM
There must be an easy way to set the usergroups in order 6,7,9,2,1Feel free to suggest one. :)

BamaStangGuy
09-04-2005, 09:21 PM
What you have to remember is that my hacks are written for Cable Forum and released here afterwards simply to share them - they run the way they do mostly for specific reasons - and this runs on forumhome_start for a reason. :)

I guess it also depends on what you mean by 'optimization' - using those functions may reduce the code in the hack slightly, but the functions themselves have a lot of code in them, much of which is not necessary to this hack. It is also generic code I use elsewhere, and would require me to load things like functions_bigthree.php.

So, while I thank you for your suggestion - I don't intend to make any changes atm - but I will look at it to see if any of your changes/ideas would suit me in the future, especially when I convert my hacks from plugins to products (at which point I will phrase them as well) - in fact you are the second person to use a trick which I indend to look at to avoid the template edit. :up:

@BrentWilson - while you are free to use the above suggestion - I will not support it, as it's not my code - sorry.

I realize that I was giving feedback to Kirby on his code.

I am still using yours.

Paul M
09-04-2005, 10:09 PM
I realize that I was giving feedback to Kirby on his code.

I am still using yours.Ah okay, my misunderstanding, sorry. :)

BamaStangGuy
09-05-2005, 12:51 AM
Ah okay, my misunderstanding, sorry. :)

Not a problem man :)

okc
09-05-2005, 03:00 AM
Great hack - could you tell me how to remove the link to the users so that there name only appears, but does not give a link to that member?

Andreas
09-05-2005, 03:40 AM
I guess it also depends on what you mean by 'optimization' - using those functions may reduce the code in the hack slightly, but the functions themselves have a lot of code in them
That's the reason why I marked it with a '?' :)
The way I did it is close to how vBulletin itself does it, and I assume that way is optimized for Performance, although it might have more Code.
But on the other Hand, the Query gets a Bit lighter as it does not invlove joins.
Although there is less code to eval().
But as said, I am not sure if this has an impact on Performance - it was just a thought :)

okc
09-05-2005, 03:44 AM
Kirby - do you happen to know the answer to my question above regarding providing only usernames & no links to the users who have visited? thx

Andreas
09-05-2005, 03:52 AM
That's easy - just edit the Plugin Code so it does not create Links.

okc
09-05-2005, 03:57 AM
I know it's here in the index.php, but how exactly do I change it - thx for your help:

$whotoday .= "<a href='member.php?u=$today[userid]' title='$wrdate' >";
if ($today['visible'] == 2)
{
$whotoday .= $today['opentag'].$today['username'].$today['closetag']."</a>*, ";
}
else
{
$whotoday .= $today['opentag'].$today['username'].$today['closetag']."</a>, ";

BamaStangGuy
09-05-2005, 05:04 AM
Why are you looking in idex.php to modify a plugin?

Open your Plugin Manager and remopve the hyperlink code around the name

evesve
09-05-2005, 02:30 PM
There must be an easy way to set the usergroups in order 6,7,9,2,1
Feel free to suggest one. :)

Maybe,
from my old asp-world :nervous: :
if usergroupid= 6 then
list_order= 1
elseif usergroupid=7 then
list_order=2
end if
=======
......order by list_order , username

or one more field in vb3_usergroups ("list_order")where I can put my usergroups in MY order and use that table in sql :nervous:

php is not the best part of me but I will learn!

What would you do without our crazy suggestions? :alien:

okc
09-05-2005, 03:28 PM
Why are you looking in idex.php to modify a plugin?

Open your Plugin Manager and remopve the hyperlink code around the name

I don't have a plug-in manager - I have 3.07 vB - unless I'm missing something. I'm almost positive modifying the index.php will do it. Any help in this regard?

Paul M
09-05-2005, 06:43 PM
But as said, I am not sure if this has an impact on Performance - it was just a thought :)Indeed, which is why I thanked you for the suggestion. :)

Paul M
09-05-2005, 06:45 PM
I don't have a plug-in manager - I have 3.07 vB - unless I'm missing something. I'm almost positive modifying the index.php will do it. Any help in this regard?You are in the wrong topic - this is the vb 3.5.0 plugin version, you want this ;

https://vborg.vbsupport.ru/showthread.php?s=&threadid=71533

Paul M
09-05-2005, 06:48 PM
Maybe,
from my old asp-world :nervous: :
if usergroupid= 6 then
list_order= 1
elseif usergroupid=7 then
list_order=2
end if
=======
......order by list_order , username

or one more field in vb3_usergroups ("list_order")where I can put my usergroups in MY order and use that table in sql :nervous:

php is not the best part of me but I will learn!

What would you do without our crazy suggestions? :alien:Hmm, all looks very complicated and I don't know if it would work (I'm not sure I even follow it). I can say with certainty that it's not going to get added, as only one person has asked about it. :)

evesve
09-05-2005, 07:14 PM
Hmm, all looks very complicated and I don't know if it would work (I'm not sure I even follow it). I can say with certainty that it's not going to get added, as only one person has asked about it. :)
they will come!! :cool:

Thanks anyway!! :up:

Zelda-King
09-05-2005, 07:21 PM
Running fine on 3.5 RC2. :)

Thanks for sharing!

Mikecp421
09-05-2005, 07:28 PM
i am new to vb but a long time code editor of my phpbb forum, which I just upgraded. Step 2 & 3 confuse me. How do I do the sql querie? Is it just like phpbb? And what do I do with the xml file?? Thanks alot!

Mikecp421
09-05-2005, 08:17 PM
forget it, I installed this one for 3.0.8 which didn't have the index.php mod. I got it working thanks to Paul M's signature!

Paul M
09-05-2005, 09:13 PM
First time I've ever known a signature install something, but hey .. :up: :)

Daniel
09-05-2005, 10:02 PM
I get invalid file specified...

Paul M
09-05-2005, 10:17 PM
Upload it as a plugin, not a product. :)

Daniel
09-05-2005, 10:20 PM
Ok, I'll try it. Thanks.

evesve
09-11-2005, 01:07 PM
Just add the group ID right next to the number "6".

ie: 6,7,8,9

So the final code will look like:

<if condition="$bbuserinfo[usergroupid] == 6,7,8,9">

Although I am NOT sure so backup your file(s) before proceeding.

Now I have used that code, but it wont work.

I have tryed other like ';' etc but nothing helps.

Other tip?

<if condition="$bbuserinfo[usergroupid] == 6"> is no problem!

BamaStangGuy
09-11-2005, 02:08 PM
Now I have used that code, but it wont work.

I have tryed other like ';' etc but nothing helps.

Other tip?

<if condition="$bbuserinfo[usergroupid] == 6"> is no problem!

<if condition="in_array($bbuserinfo[usergroupid], array(17,15,4,2,1,3))">

Replace the numbers with your numbers you want

evesve
09-11-2005, 03:32 PM
<if condition="in_array($bbuserinfo[usergroupid], array(17,15,4,2,1,3))">

Replace the numbers with your numbers you want
thanks!
Now it works! :up:

Brandon Sheley
09-11-2005, 11:58 PM
Click install then please. :)


i did, works like a charm, thx for porting it :)

artonex
09-12-2005, 08:24 PM
installed and working fine on vb3.5 rc3 :)

thanks for the nice addon.

xXxCalibur
09-14-2005, 12:34 AM
Working great ....thanks!! :)

nhuhuu
09-20-2005, 08:58 AM
thanks ! but my working is not good !
http://www.nhipsongtuoitre.net/forums/index.php?styleid=1 <-- even default styles ... can talk about that ! how to it work :(

Paul M
09-20-2005, 09:25 AM
thanks ! but my working is not good !
http://www.nhipsongtuoitre.net/forums/index.php?styleid=1 <-- even default styles ... can talk about that ! how to it work :(Sorry but your site says "Powered by: vBulletin Version 4.0.9" which is clearly made up. I cannot help you unless you tell me what version of vB you are really using.

Brimstone
09-20-2005, 02:35 PM
Does anyone have this mod for vBulletin v3.0.8? I love the feature, but haven't upgraded to 3.5 yet.

Thank you, in advance!!

Brim

Paul M
09-20-2005, 09:14 PM
Click on the "view my hacks" link in my signature and you will find the 3.0.x version listed.

SlipNslide281
09-22-2005, 03:56 PM
Installed and working fine :)

Satan

Awesome, and very easy to install. Instructions are great.

d3fuse
09-23-2005, 02:58 AM
Ok, I am stumped. I'm new to using the vB3.x.x software and am curious on how to install this plugin. Do I copy the contents of the XML file into the big textbox? If so, what do I set the 'Hook Location' to and what do I set the 'Title' to? Thanks

Paul M
09-23-2005, 09:40 AM
Nope - you use the upload/download plugins section.

d3fuse
09-23-2005, 05:09 PM
Thanks. I feel stupid for not seeing that...haha. Sad thing was...I was on that page before.

loonytune15
09-27-2005, 12:22 PM
installs.

nhuhuu
09-28-2005, 05:13 AM
Sorry but your site says "Powered by: vBulletin Version 4.0.9" which is clearly made up. I cannot help you unless you tell me what version of vB you are really using.
Sorry :) Just fun only :) i know i wrong when edit Version of Vbulletin :devious:
I used Version : 3.5.0 RC3
thanks Man

Paul M
09-28-2005, 05:22 AM
Either you haven't installed the plugin, or you have it (or the plugin system) disabled.

TMAC
09-29-2005, 07:40 AM
Thanks Paul "Installed"

TMAC
09-29-2005, 07:44 AM
anyway to make this viewable by admins only?

Rukas
09-29-2005, 09:47 AM
Can I make it so that it is collapsed by default? We get thousands of users and this would stretch the page out a lot.

Paul M
09-29-2005, 11:26 AM
anyway to make this viewable by admins only?https://vborg.vbsupport.ru/showpost.php?p=749513&postcount=123

Can I make it so that it is collapsed by default? We get thousands of users and this would stretch the page out a lot.https://vborg.vbsupport.ru/showpost.php?p=741813&postcount=473

southernlady
09-29-2005, 01:36 PM
Btw, I upgraded to Gold last night and this works in 3.5 Gold. Liz

henken
09-29-2005, 06:20 PM
Works like a charm Paul. Thank you :)

Ncturnal
09-29-2005, 06:48 PM
Noob question...

(remember to add your table prefix to 'user' if you use one)

How would I know?

Thanks in advance.

FreeFox
09-29-2005, 08:24 PM
Hello Everybody here,

How can i do the step 3 ??

Please advice :)

Ncturnal
09-29-2005, 08:26 PM
Hello Everybody here,

How can i do the step 3 ??

Please advice :)

Go to Plugin System - Download/Upload Plugins, scroll to the bottom to the Import Plugins section.

FreeFox
09-29-2005, 08:32 PM
Ncturnal,

Thank you for your reply, and everything is OK now.

require make Plugin on and i made it By switching the system.

Is that right ?

Debate
09-29-2005, 08:43 PM
Members-visited-today i just did the things it says but i need help.

how do i get to the install/upload page to install this??

Debate
09-29-2005, 08:52 PM
ho;/;/ do u in$tall thi$ and upload it too?

FreeFox
09-29-2005, 08:57 PM
Debate,

From your adminCP >>Plugin System - Download/Upload Plugins, scroll to the bottom to the Import Plugins section .

Regards,

Ericsson
09-30-2005, 07:45 PM
Mines just blank: http://www.thenokiasite.com :(

Devil Woman
09-30-2005, 07:57 PM
Same here, installed this once before on an earlier 3.5.0 worked fine have nosw installed it same way on 3.5.0 gold and it's just blank doesn't seem to update even though people have been online

Paul M
09-30-2005, 09:11 PM
Same here, installed this once before on an earlier 3.5.0 worked fine have nosw installed it same way on 3.5.0 gold and it's just blank doesn't seem to update even though people have been online
Mines just blank: http://www.thenokiasite.com :(The plugin is either not loaded, corrupted, not enabled - or the whole plugin system is turned off (by default the 3.5 plugin system is turned off).

Billspaintball
10-01-2005, 09:28 AM
Damm that was easy :)

Just upgraded to 3.5 and this is the first plugin I have installed.

Love it!

Pramodinfo
10-01-2005, 06:32 PM
Thanks for the Plugin, Works Very Gud No Problem in vb 3.5.0 :)

karrerax
10-01-2005, 11:53 PM
Thanks for plugin!
Installed in 3.5 Gold and Working fine. :nervous:

Roody
10-02-2005, 03:53 PM
Thanks for plugin!
Installed in 3.5 Gold and Working fine. :nervous:

Anyone know how I can make this show up at the top of my forums as opposed to the bottom?

Thx

southernlady
10-02-2005, 04:01 PM
Maybe instead of the FORUMDISPLAY template, put it on the navbar template below here:
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

And above here:
<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]"

That's where I have my hurricane banner. Liz

Roody
10-02-2005, 04:20 PM
Maybe instead of the FORUMDISPLAY template, put it on the navbar template below here:
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

And above here:
<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]"

That's where I have my hurricane banner. Liz

That works, but it pulls them out of the frame they are in when they are below. Im guessing thats close, but I need to start somewhere else in the code. Any ideas?

buffness
10-02-2005, 07:55 PM
tried the install, fallowed steps 1 and 3 and I have no number showing up or members showing up even though there are members oline. anyone have an answer?

Paul M
10-02-2005, 08:36 PM
turn the plugin system on ?