Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Problem with Poll & Logged in users
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

leesh695
Junior Member

101 Posts

Posted - 19 February 2008 :  17:33:45  Show Profile
Hey,

I seem to be getting a problem when using these 2 mods together.

All seems fine until you try and display a topic on the front page of the forum,

When you do this you either get an error (which i will try to recreate later)

Or it will just display a single random user in the "users who are logged in section.

The 2 conflicting mods are Logged in users who are active V3.3

and

Poll Mod V2.0.8

A txt version of my default can be found on http://www.hwaronecity.info/default.txt as im sure I have just made an error in installing somewhere.

Thanks in advance

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 20 February 2008 :  07:20:24  Show Profile
I think you may have added too much code to default.asp

lines 789-794, 760-765, 442-444,379-381 and the addition to 216.

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 21 February 2008 :  07:41:35  Show Profile
Im a little confused I think,

but did you not give me the lines where the poll mod is inserted?
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 21 February 2008 :  08:44:00  Show Profile
If I am correct there is only one piece of code in default.asp for the poll mod. Those other entries should be for another file?

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 February 2008 :  10:14:31  Show Profile
The extra poll mod code is adding a New Poll icon to the default.asp page. It's not part of the poll mod, but I am guessing was adding in after.

I see nothing wrong with your file and until you do tell us the error or problem you are getting, then can't do much to help. The error will allow us to help you better. The problem might not even be in the default.asp file.

Support Snitz Forums
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 21 February 2008 :  16:41:29  Show Profile
Microsoft VBScript runtime error '800a0009'

Subscript out of range: 'i'

/forum/forum/default.asp, line 1112

Appears in the section where it normally displays the active users. Also if i click the error it brings my profile most of the time.

Another problem I have is that, it always says the highest ever users online is 1

Edited by - leesh695 on 21 February 2008 16:44:11
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 February 2008 :  17:44:05  Show Profile
Seems there is a problem with logged in users part of the mod, that displays the current users online. Don't know much about that mod. You could look over the code changes for that mod for the default.asp file and see if you might have made any changes to that part of the code.

Or if you could direct me to where to get the mod so I can look over the install instructions and see if your code is ok.

Are you saying the problem didn't happen until you installed the poll mod?
Seems this error comes up only when you are the only person logged on. Correct? Cause I'm not getting the error on your forum and there are 3 persons on it now.

Support Snitz Forums
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 February 2008 :  17:48:23  Show Profile
After a quick search, seems a lot of users having similar or same problems with the Logged in users mod.
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=65228

So I'm safe to say it's not the poll mod.

But no one has the solution to it as yet. Let me download it, test it and give you a fix for it.

Support Snitz Forums
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 21 February 2008 :  18:19:02  Show Profile
Thank you
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 22 February 2008 :  12:23:31  Show Profile
Yeh, It only become a problem when you put a poll on the forum front page.

With "show featured poll" on it just picks a single (what seems to be random) user and says they online.

Sometimes, it brings that error I cant understand what causes the error and what just cause's the above.

But yeh, both work fine aslong as show featured poll is off.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 22 February 2008 :  17:20:48  Show Profile
In the topic I posted above, the reply made by shaggy should fix the error you getting when turning on the featured poll mod.

Still working on getting the highest user count feature to work.

Support Snitz Forums
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 25 February 2008 :  19:43:58  Show Profile
Thanks, I will look into applying the fix now

Edit: Yeh that worked, just the highest user count problem now.

Edited by - leesh695 on 25 February 2008 19:54:53
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 05 April 2008 :  08:32:36  Show Profile
Right,

Ive tried and tried things I thought that where working, but now im sure ive solved it,

In the database the HIGHEST_ACTIVE_USERS_COUNT is a text value, I changed it to int (11) and it works now
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07