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

heinandar

Quote from: SeMaForo on January 13, 2009, 06:38:39 AM
is it compatible with smf 1.1.7, i've allready done manual installation but it doesnt appears anywhere anything...

Hay SeMaForo , what theme u use? you  need to change Boardindex.template.php (from you use theme). This mod is good work for me. I use SMF 1.1.7 . lol. ;D ;D ;D

SeMaForo

Hi there Heinandar¡¡  ;)
I'm using scribbles (the first one). waht changes sgould i do in boardindex?? thanks vm
Una frase no se gana a un pueblo, ni con un disfrazarse de poeta.

heinandar

Quote from: SeMaForo on January 19, 2009, 03:50:14 AM
Hi there Heinandar¡¡  ;)
I'm using scribbles (the first one). waht changes sgould i do in boardindex?? thanks vm


you need manual install ,

http://custom.simplemachines.org/mods/index.php?action=parse

SeMaForo

Una frase no se gana a un pueblo, ni con un disfrazarse de poeta.

crazygirlsdesign

Quote from: TrueSatan on June 26, 2007, 05:20:10 AM
Firstly the mod needs no changes to the SMF version compatibility as none is listed in its package-info.xml Rider (above) was incorrectly changing the version of the mod not the compatibility versioning.

The installation problems reported by ham1299 are due to coding in the mod (whitespace issues) not version incompatibiity as such.

I'll try to resolve the whitespace issues and post an updated version that will be compatible with newer SMF versions.

EDIT New version below compatible with all versions of SMF from 1.0.8 to 1.1.3 and probably to 1.1.99 though not tested beyond 1.1.3 for obvious reasons.

Package install files updated and read me updated

thank you soo much this works perfect !

garfield2

It doesn't work for version 1.1.8, error report while installing via the Admin panel...

Please help, or update the Mod...

.Vapor


.Vapor


MayorNewton

Hi again!  With your help, everyone, I'm learning more than ever and am 're-creating' my forum (started 2003).  It's great to start to 'comprehend' a bit of what's going on, and to be able to do many things on my own.

My question tonight is...will there be, or is there already, a version of this mod that will work on 1.1.10?  I have it in use now on a forum using 1.1.8, and I love it...but I can't get it to install on my 1.1.10-run forum and work. 

I installed it with the package manager, even though it doesn't say that it's been tested with 1.1.10, and no, it didn't work, as I expected. 

Any way to get this mod ready to work on my forum?  Thank you very much!

Mayor
www.newtcity.com/yabbse/

Blinker

#129
You need to edit the package-info.xml file from the zip. Try this (replace everything in the current file):

<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
  <id>steveinhouston:usersactive24</id>
  <name>Users Active in Last 24 Hours</name>
  <version>1.0</version>
  <type>modification</type>
  <install for="1.0.8 - 1.1.10">
   <readme type="file">readme.txt</readme>
   <modification>install.xml</modification>
  </install>
  <uninstall for="1.0.8 - 1.1.10">
   <modification reverse="true">install.xml</modification>
  </uninstall>
</package-info>


All I've done is add install for and uninstall for details...I hope I got them in the right place.

MayorNewton

Thanks, Blinker.  It's a little 'confusing' to me, but not terribly...I think!  I'm 'assuming' that I take what you wrote here and paste it over the 'package-info.xml file' in the mod's .zip before I download/upload it to my forum with my package manager...am I thinking right, here?

If so, can you tell me what you mean by 'All I've done is add install for and uninstall for details.'  Not sure what that means, or if I even need to know what it means.

If I'm on the right track, if you or someone who knows this stuff can confirm that, Blinker, I'll do this manana (well, later today after I get some more sleep!).  Damn, this stuff is a bit 'addicting.'  Better for ya than drugs, I guess, and at least it's not illegal!  Don't get a lot of sleep, though, as I lay there thinking about different things I want to do with it all!

Anyway, thanks again, Blinker...I'll let y'all know how it goes and if I am able to install/use this great mod.

Mayor
www.newtcity.com/yabbse/

Blinker

Hey Mayor

You are correct, open the zip, open the package-info file, replace it's content with what I posted, zip it up again and then upload that to your server.

Regarding what I added, most package-info files tell SMF which version(s) are OK to install and uninstall the package on.

This mod did not have that information in so for e.g. I added "<install for="1.0.8 - 1.1.10">" to tell it to install on all versions between 1.0.8 (when it was first released) and 1.1.10 (the current version).

MayorNewton

Well, we gave 'er a shot, Blinker...I'm pretty comfortable that I did everything right.  Not 'totally' sure I re-zipped it after I was done...but pretty sure it was.  It was still on my desktop and opened with the list of three items in it...and allowed itself to be uploaded to the server...but when I went to 'apply mod,' I got a blank page in my browser with the URL showing http://www.newtcity.com/yabbse/index.php?action=packages;sa=install;package=usersActiveLast24.zip;sesc=4bedbb4dc799a0bc00c655f2caa3d832

Perhaps the changes you added were in the wrong place?  I only say this because you already said you 'hoped' they were...I wouldn't have a clue.  At least all this stuff doesn't look as 'scary' as it has in the past...that's something, for sure!

I'll wait until I hear from you before doing anything.  Cheers!

Mayor

Blinker

I've edited my earlier post, try again mate. There was a redundant <install> in there.

BTW this mod does work, I know cos I use it myself. Having said that I originally installed on 1.1.6 or 7 I think and it's been along for the ride ever since.

صلاح الدين

this mod not supported smf 2.0 rc1.2 please update it :)

hcfwesker

I know this topic is long gone from support, just didn't see this questioned throughout the topic, and seemed worth asking.

How do you change the list from alphabetical, to time from when they were on.

It looks like this line from the ./Sources/BoardIndex.php

IF(mem.ID_GROUP = 0, mem.ID_POST_GROUP, mem.ID_GROUP)) WHERE lastLogin > '".$time_24hours_ago."' ORDER BY realName ASC", __FILE__, __LINE__);

Would I just change it to something like this?

IF(mem.ID_GROUP = 0, mem.ID_POST_GROUP, mem.ID_GROUP)) WHERE lastLogin > '".$time_24hours_ago."' ORDER BY Date DSC", __FILE__, __LINE__);


Thanx for any help.


hcfwesker

I failed :(

But I know it had to be something in that area.

vicram10

maybe, this form


IF(mem.ID_GROUP = 0, mem.ID_POST_GROUP, mem.ID_GROUP)) WHERE lastLogin > '".$time_24hours_ago."' ORDER BY lastLogin DSC", __FILE__, __LINE__);


hcfwesker

Thanx for suggesting, bud.  It seems like it would work.  But got back an error.  Which id the like where the phrase realName changed to lastLogin.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DSC' at line 5
File: /home/brawldom/public_html/Sources/BoardIndex.php
Line: 444


I just use that box to help me determine my member to staff ratio at differnet parts of the day.  But the MOD listing them in alphabetical order helps me none :D




Advertisement: