![]() |
Thank you for this hack. :)
Up the thread a way it was asked Quote:
Thank You! |
Quote:
|
Brilliant Hack.
Would it be possible to move the feature in which when you hover over the username the last time they were online comes up? Could I move that somehow? Thanks for your time. |
Quote:
|
Quote:
|
Quote:
Change ; PHP Code:
PHP Code:
|
Thankyou for the very quick reply. :) Keep up the great work. I shall click install now. :D
Thanks again. |
I have a bit of an oddity occuring!
When I have for example, 50 users who have visited so far today, certain members are only seeing 20 (example) as having visited. Guests and most other members (as far as I'm aware) are seeing the correct number of 50. Any ideas why certain members would see different numbers than everyone else? There are no 'invisible' (*) members or special usergroups involved. Thanks. |
Maybe they have different timezone settings in their profiles ?
|
Quote:
Thanks. |
Quote:
Great hacks anyway thanks :-) |
Quote:
|
Quote:
|
Quote:
|
Thanks Paul works well, I've used some other versions but this is the easiest to see. I like the time "alt"
|
hi Paul great mod,
I have had it running perfect up to last night - I did the 3.0.5 upgrade and it doesn't show who's been on line today, just a blank box no entries I'm new to v-bulletin - do you have any ideas what might need to be changed to get it working again thanks in advance |
Quote:
btw - you are not showing as having installed this - please click install. |
Sorry Paul - I must have forgot to click 'Install'
I checked the new 'index.php' file and it didn't seem to have the line // ### LOGGED IN USERS ######################################### This is where I got stuck - it had that line in my 3.0.3 version index.php but doesn't seem to have it in the new 3.0.5 version the code for the forum home template is in and shows the box for the users who visited today but as I don't know where to mod the index.php file as it doesn't have the 'LOGGED IN USERS line hope this clarifies it a bit Cheers |
Quote:
|
I just installed this mod with vb 3.0.5 and it works great. I made some changes and I am posting what I did if you want to have an option that does not require altering the index.php.
1 : create a php file called whos.online.today.php with the following and upload to the root of the forum. : PHP Code:
2: Go to the style manager. Open the style you want to edit. In the common template section goto the phpinclude_start box and enter : Code:
ob_start(); 3: Follow your instructions for replacing the code in the Forumhome template. Done. Works like a charm for me. Thanks for your work. I hope I don't offend you by posting what I did. I would like to know since I dont play in vB a lot whether anything I did would open a security hole. |
Quote:
|
I got this error after editing the files.
Parse error: parse error, unexpected '\"', expecting ']' in /home/rpboards/public_html/forum/index.php(420) : eval()'d code on line 201 |
That would suggest you made a mistake in the template update.
|
Installed and working perfectly - thanks, this was one of the easiest modifications/hacks I've used. :D
|
I see someone else has made a variation of this, I did also and I will share it here. Basically, I like the idea of it showing how many users are online today but not the names on my forumhome, I want that in a new page. The other modification for this does this but has never worked on my site, the numbers were different when you clicked on it. So I made it so this will work in a new page.
Create a new php page called online_today.php add all of the following code to it and save: PHP Code:
Create a new template called online_today PHP Code:
Now in your FORUMHOME template find: PHP Code:
PHP Code:
|
Quote:
Nope I didn't. Not good.. lol thanks for the headsup |
ERICGTR can u make this into a module for vbadvanced CMPS as i see you make alot of modules for CMPS
|
Quote:
:nervous: |
Thanks Paul, just installed works perfect! :)
|
Quote:
You may want to consider adding a conditional to your phpinclude_start template to only run that query when the page selected is forum home or your new WWOL page. As it is that code runs on every page loaded whether it's used or not. Just a little optimization suggestion. :) |
Quote:
|
yah a nice botom ceneter block would be sweet i hope paul will give u the go ahead cause a few people were asking in the thread his hack is awsome and it woukd be sweet to have it work on the CMPS.
|
Quote:
|
Okay, here it is in a collapsable module. Upload onlinetoday.php file to your modules directory and create a new template called adv_portal_onlinetoday and copy the context of adv_portal_onlinetoday.txt into it.
Create a new module Module Title: Total Online Today Module Identifier: (leave blank) File to Include: onlinetoday.php OR Template to Include: (leave blank) Templates Used: adv_portal_onlinetoday Test this out, it works okay for me but for some reason whenever I create a new module it shows up on my forumhome at the bottom in a center block no matter where I tell it do display, that may just be me though. |
Thanks, I have updated the main post with a note pointing to your module. :)
|
Thanks.. I just now noticed that someone else posted a module for the other hack for this lol. Oh well, hope I didn't reinvent the wheel with this, besides your mod works on my site :)
|
Quote:
Paul - sorry m8 for not getting back to you earlier - yes it is there - and it works a treat again it must have been me - or something to do with my set up - picking up something from a cache - or just simply 'user interface problems' :rolleyes: Anyway - cheers for a great and easy to use hack |
Good job, installed/
|
eric for some reason its not showing up for me.
|
Quote:
|
All times are GMT. The time now is 07:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|