Author |
Topic |
|
leesh695
Junior Member
101 Posts |
Posted - 19 February 2008 : 17:33:45
|
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
|
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 !! |
|
|
leesh695
Junior Member
101 Posts |
Posted - 21 February 2008 : 07:41:35
|
Im a little confused I think,
but did you not give me the lines where the poll mod is inserted? |
|
|
thermal_seeker
Junior Member
United Kingdom
430 Posts |
Posted - 21 February 2008 : 08:44:00
|
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 !! |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 21 February 2008 : 10:14:31
|
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
|
|
|
leesh695
Junior Member
101 Posts |
Posted - 21 February 2008 : 16:41:29
|
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 |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 21 February 2008 : 17:44:05
|
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
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
|
leesh695
Junior Member
101 Posts |
Posted - 21 February 2008 : 18:19:02
|
Thank you |
|
|
leesh695
Junior Member
101 Posts |
Posted - 22 February 2008 : 12:23:31
|
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. |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 22 February 2008 : 17:20:48
|
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
|
|
|
leesh695
Junior Member
101 Posts |
Posted - 25 February 2008 : 19:43:58
|
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 |
|
|
leesh695
Junior Member
101 Posts |
Posted - 05 April 2008 : 08:32:36
|
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 |
|
|
|
Topic |
|