Author |
Topic |
GauravBhabu
Advanced Member
4288 Posts |
Posted - 19 November 2001 : 03:16:05
|
quote:
The portal is not working right for online users. but everything else is fine. I'm not at home to look at the code right now.
If you are talking about the Guest Count or member count on pages other than default.asp, it is intentional. Whatever page you are showing or want to show the active user count just insert the following statement under the case sttatement for that page in inc_activeusers.asp
bActiveUserCount = true
For example look at statements on Line 72-74 on inc-activeusers.asp
Case "default.asp" strOnlineLocation = strOnlineLocation & "Forums" bActiveUserCount = true
in case of HUWR portal you might want to add the following Case statements Case "default_category.asp" strOnlineLocation = strOnlineLocation & "Default Categories" bActiveUserCount = true Case "portal_content.asp" strOnlineLocation = strOnlineLocation & "Portal Content" bActiveUserCount = true
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Edited by - GauravBhabu on 19 November 2001 03:17:00 |
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 19 November 2001 : 04:03:59
|
I'm getting the following error on default.asp:
Microsoft JET Database Engine error '80040e07'
Data type mismatch in criteria expression.
/yap/inc_activeusers.asp, line 186
I just replaced my active users with the one from the zip, so its exactly the same...
---- -Eric (da_stimulator) Stims Snitz Test area Snitz Mod Resource PHP Script Center -Quality PHP Scripts |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 19 November 2001 : 04:18:01
|
If the datatype of the new fields in the database is integer or long integer change it to text/varchar. Proprties for the new Fields should be set to required - No null AllowZeroLength Yes
Read Page 1 of this topic. It is discussed earlier.
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Edited by - GauravBhabu on 19 November 2001 04:19:59 |
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 19 November 2001 : 04:20:30
|
well here's the thing, I used the dbs to set up the file. I dont have access on my computer nor a 3rd party program of any sort to edit the database - so I'm relying on Huw's setup program to do this - which I dont know how to do what your asking.
---- -Eric (da_stimulator) Stims Snitz Test area Snitz Mod Resource PHP Script Center -Quality PHP Scripts |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 19 November 2001 : 04:23:36
|
Contents for dnbs file. It will drop the table and create it again
Upgrade ActiveUsers:WhoIsInside [DROP] ONLINE [END] [CREATE] ONLINE
UserID#varchar(100)#NULL# UserIP#varchar(40)#NULL# DateCreated#varchar(100)#NULL# LastDateChecked#varchar(100)#NULL# CheckedIn#varchar(100)#NULL# LastChecked#varchar(100)#NULL# M_BROWSE#memo#NULL# insFORUMID#varchar(10)#NULL# insTOPICID#varchar(10)#Null# [END]
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Edited by - GauravBhabu on 19 November 2001 04:24:13 |
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 19 November 2001 : 04:31:04
|
The server is up, I can ping it with no problem. HTML pages are working, just not ASP pages. |
|
|
suhern
Junior Member
186 Posts |
Posted - 19 November 2001 : 08:31:21
|
I installed in successfully (?) but when I used two computer to logon I an only see one name - ie the login name of the viewing computer only. You can see it here
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 19 November 2001 : 08:37:11
|
You mean logged on with same name from both computers. I checked your site without logging. It changed the number of guests.
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Edited by - GauravBhabu on 19 November 2001 08:38:18 |
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 19 November 2001 : 08:37:52
|
suhern - if both computers are on a network or behind the same firewall, the IP's will either be the same or in the same range, that may be causing it.
G - great! it worked, thanks :)
---- -Eric | Mod Resource | Test Area "A program is a device used to convert data into error messages." http://phpscriptcenter.com -Quality PHP Scripts |
|
|
suhern
Junior Member
186 Posts |
Posted - 19 November 2001 : 08:40:03
|
quote:
suhern - if both computers are on a network or behind the same firewall, the IP's will either be the same or in the same range, that may be causing it.
G - great! it worked, thanks :)
---- -Eric | Mod Resource | Test Area "A program is a device used to convert data into error messages." http://phpscriptcenter.com -Quality PHP Scripts
You r right it is the firewall. thanks
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 19 November 2001 : 08:41:41
|
I have used this Mod to dislay whoisInside virtually on every page. It can even track if anyone is on Admin Pages. I have not done this so far, But I am 100% sure about it.
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 19 November 2001 : 11:56:03
|
quote:
I have used this Mod to dislay whoisInside virtually on every page. It can even track if anyone is on Admin Pages. I have not done this so far, But I am 100% sure about it.
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
I agree with GauravBhabu, it is quite simple to add this on ANY page once you have it running... For the record I've been using this mod for about 2 months and it has totally changed the way I use my forum. I have become quite the stalker following people in topics they are reading or purposely staying in a topic to get someones attention and other stuff like that. It is one of my coolest additions...
____________ dayve http://www.nineinchnailz.com/forum |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 19 November 2001 : 12:29:58
|
Like I said earlier, I have put in one statement in inc_top.asp and now I can always see if anyone is in admin section.
May be it should be called WhoisWhere.
I am thinking of packing it in a comprehensive MOD, I am already using following Mods all merged together Active Users TitleBar Text WhoisInside/WhoisWhere NavigationBuilder
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Edited by - GauravBhabu on 19 November 2001 12:39:09 |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 19 November 2001 : 12:58:48
|
quote:
May be it should be called WhoisWhere.
since it was not packaged when I installed it, it was coined with the name Big Brother Mod. The only reason we even gave it a name was because in the Personal Settings MOD there is an option to turn it off so it needed a name.
____________ dayve http://www.nineinchnailz.com/forum |
|
|
Topic |
|