Author |
Topic |
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 28 June 2005 : 08:31:13
|
The mod we're talking about is available to download here.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 28 June 2005 : 10:29:38
|
quote: Originally posted by tribaliztic
Is it possible to store the total amount of time each user has spent on the forums?
It would be possible to tweak active users to do that, since the time for each visit is already kept by the mod. No need to use session for it, if you have the mod installed and as long as the changes I'm referring to are made. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 28 June 2005 : 10:30:51
|
quote: Originally posted by eviljoker7075
So which mod are you referring to, please posty a link so i am absolutely sure...
I take it none of you can see the problem?
Did you even read my previous post? You have the file there, you just made some mistake while adding the mod. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 28 June 2005 : 11:20:43
|
Sorry, Rui, that was my fault misleading him, I missed that post.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
eviljoker7075
Junior Member
United Kingdom
166 Posts |
Posted - 28 June 2005 : 12:12:06
|
Thanks - so what error did I make? Or at least where should I be looking? I have checked the line it refers to but not having any luck with that.
And if there should be a link in the stats box why is there no <a href anywhere in the code? |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 28 June 2005 : 12:15:32
|
quote: Originally posted by ruirib
Have you added changed inc_func_common.asp as explained in the readme file for the mod? I would say the 'chkAUPermissions' function is missing from inc_func_common.asp.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
eviljoker7075
Junior Member
United Kingdom
166 Posts |
Posted - 28 June 2005 : 12:33:52
|
I will try adding the changed inc_func_common.asp file, but are you sure I have used that mod? I have forgotten which mod I used and am not sure if it was this one as some of the stuff in the readme looks new... How can I tell which one I used? |
|
|
eviljoker7075
Junior Member
United Kingdom
166 Posts |
Posted - 28 June 2005 : 12:37:40
|
Well I tried it, but now I get re-directed back to default.asp!!
are you sure we are on about the same mod? |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 28 June 2005 : 12:59:23
|
You should kno,w not me. Compare the download you have with the one in the link posted by Shaggy. Anyway, I would guess that having two mods with the same function names is not that likely... |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
eviljoker7075
Junior Member
United Kingdom
166 Posts |
Posted - 28 June 2005 : 14:41:36
|
im not sure - I was working on two - when one didn't work I moved to the other... but I don't remember which order it was in... I'm sure I used the one on Snitzbitz in the end...
and with all due respect when making an active users mod "active_users.asp" seems like a logical file name |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 29 June 2005 : 05:50:05
|
quote: Originally posted by ruirib
quote: Originally posted by tribaliztic
Is it possible to store the total amount of time each user has spent on the forums?
It would be possible to tweak active users to do that, since the time for each visit is already kept by the mod. No need to use session for it, if you have the mod installed and as long as the changes I'm referring to are made.
Thanks, I was going along the line with Shaggy and didn't think it was possible, but now I know it is. I'll have a look at this.
|
/Tribaliztic - www.gotlandrace.se -
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 29 June 2005 : 05:53:11
|
I guess I would keep two different counts: the one made by the mod, now, which keeps the time spent in the current session, and I would add that time to a field in the members table. It needs some care while doing it, but can be done. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 29 June 2005 : 06:32:26
|
I never said it wasn't possible, Tribal', just that the times would be out if the member didn't logout. Grabbing the time from the active users table would alleviate this problem somewhat but not solve it thanks to the config option that allows you to set the timeout for active users. The higher you set this timeout, though, the more innacurate the times will be.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
Topic |
|