News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Users Active in Last 24 Hours

Started by steve in houston, October 06, 2006, 08:37:45 PM

Previous topic - Next topic

TrueSatan

If you look at index.english.php the mod adds to that the following:

$txt['users_online_last24'] = 'Users Active in Last 24 Hours';

If you would translate
QuoteUsers Active in Last 24 Hours
for me, and post it here, I will make a new package that includes a French part so that the package would also alter index.french.php...you can also alter that file for yourself adding the line above but with the French translation in place. I think that is the only translation needed...unless you know otherwise.

john34516

i have this mod. i want to show and how many quest and Spiders visit my site the last 24hours

how i can do that?

TrueSatan

Your request isn't related to the proper functioning of this mod...if you wish for a different mod you will either have to code it for yourself or ask on the requests forum for somebody to code it for you.

jazzgirlzz

If u all will go and find the updated mod in the middle of this thread it will work........

Lil Eazy-E

I Was Trying To Install This Feature But Nothing Happened.

But After Reading Each Post I Figured Out That This Mod Won't Work For My Version.

I'm Using Powered by SMF 1.1.4 | SMF © 2006, Simple Machines LLC

So My New Question Is Will There Be A New Working Mod That Will Work With My 1.1.4 Version?

Please Let Me Know

Thanks


TrueSatan

The version I posted previously works without problems in SMF 1.1.4 but, like almost all mods, it installs only into the SMF default theme and only into an English language forum...manual installation into any other theme is needed...please see previous postings for details, as regards translation please also see previous postings for details.

Mod updated to reflect its working in SMF 1.1.4 and has been tested...it will work in any 1.1.x SMF forum.

Additional derivative mods I've made at the request of other members also updated and supplied below...users active last 48 hours and users active last hour.

All three mods support SMF 1.1.x provisos as per the original one.

elliatt

I have tried 5 times to install this on SNF 1.1.4 and 4 times it has not worked.

I have no other Mods installed and am using the default skin/theme.

I've replaced the BoardIndex.php, BoardIndex.template.php, index.english.php
with fresh and unaltered copies. I receive the below infromation prior to installation but it tells me it installed correctly after but nothing show up.

I am using the file   usersActiveLast24(B).zip

Any suggestions?

TrueSatan

Please use the search function as you would have found that this question has been asked and answered previously.

Reasons for this have nothing to do with this mod...they can range from safe mode being enabled on your server when it should not be to need for you to make a "temp" directory CHMOD to 777 or 775 in your packages directory to need to use the Cleanup Permissions in the SMF Package Manager to set all your files to CHMOD 777 or 775 (777 or 775 depending upon the peculiarities of your hosting.)

Please search for "modification parse error".

dxyy

Is there a way for this mod to include hidden users?

At least have a count of the hidden users logged in that day?
It would be nice to also include the number of guests, but I understand that's not the original purpose of this mod.

Thanks in advance. :)

elliatt

For a variety of reasons I installed and then needed to uninstall this package.

While the forum says the uninstall was successful a portion of the package still shows up at the bottom of the forum and anytime someone enters the forum it generates a page of errors.


How do I eliminate this problem? I don't think I can simply overwrite the BoardIndex.template.php because I have 2 other mods installed.

Screen shots are below of the error being generated as well as the remnants that display on the forum.

dxyy

Elliatt, I suggest using the mod parser. You can then upload the mod and select the relevant options (1.1.4 and uninstall etc)

Later you can check each of the files and remove any code that wasn't properly cleaned.

I think that should solve your problem, but admittedly I am not an expert. ;)

netridge

has this mod work for everyone who has tried to install it?

dxyy

Quote from: netridge on December 20, 2007, 06:48:55 AM
has this mod work for everyone who has tried to install it?
Yes, it worked for me, why is it not working for you?


TrueSatan

If the version you used was the latest one I posted to this topic it is compatible with SMF 1.1.4 and if your files have already been altered by other mods then many mods won't install automatically...in such cases you need to do a manual install.

For details of manual installations please read:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

http://www.simplemachines.org/community/index.php?topic=34526.0

The following may also prove helpful:

http://modparser.dev.dansoftaustralia.net/

Mirror of the last link:

http://www.smfhacks.com/smf-package-parser.html

netridge

#95
I will give this mod another try. I used the one you listed as an attachment.

I tried putting this mod you have listed with the one that has a (B) through the mod parser and i get this error

parseArchive(): No package-info.xml in this mod! Is it corrupted?

TrueSatan

The package I provided is fine but the Package Parsers both seem to be having problems and the one on SMF Helper is out of action right now too so you'll have to use the links I gave you for manual installation advice or wait until the Package Parsers have been fixed.

netridge

#97
Installed,
I get two erros in my log
8: Undefined index: users_online_last24
File: /home/XXX/public_html/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 435

8: Undefined index: users_online_last24
File: /home/XXX/public_html/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 431

on top of this "Users logged in in the last 24 hours" its not showing, at least the wording part is not. It shows the users. take a look
http://www.webmasterwidget.com

Update -
When you logged out, you can see the wording users in the last 24 hours, but when you are logged in all you see is the users.. is that how its suppose to work.

TrueSatan

No, that's not how it's supposed to work and you seem to either have preexisting problems on your forum or to have a conflict with another mod...I've not seen these errors in any previous install and, unfortunately, when you see "eval" as part of an error it is telling you that the error isn't in the file specified but in another file that has caused the specified file to fail to work...so it's a problem to track down the actual problem.

Unfortunately you may need to forego use of this mod or to rebuild your forum from a fresh set of initial files to solve this issue...you could do this on a test forum adding this mod first then seeing if/when it failed so as to pinpoint a conflict while you add other mods one at a time.

netridge

#99
Hmm i thought it was just a conflict with another mod? or that i have to make edits to the boardindex.template.php...


I will take a look, I think its a conflict with another mod, since I have made a few edits to the template myself.


and the error only appears when one of the admins are logged in weird  :-\

Advertisement: