Author |
Topic  |
|
RipRapRob
Starting Member
Denmark
9 Posts |
Posted - 19 February 2004 : 05:43:42
|
Hi all.
Just implemented Poll Mod Version 2.0.7 on Snitz Forum 3.4.04 yesterday.
Everything went smooth, except for the ACTIVE TOPICS part, wich ended op, being formatted the wrong way.
It seems to me, that everyone implementing Poll Mod Version 2.0.7 on Snitz Forum 3.4.04 must expierince the same problem, but I couldn't find a thread on it, anywhere in this forum.
So I thought I would start a thread, saving others the work of finding the reason for the bad formatting (a table not looking right, content being placed in the wrong cells).
According to the "READ_ME_FIRST.txt":
"FAQ Q: Ok, I setup the database fields, what now? A: Then you need to add the Poll Mod code to your forum files. Every .asp file in the zip has code that needed to be added to your forum files. The code is clearly commented with '############# Poll Mod ############## at the begining of the code and '############################## at the end of the code. Just copy and paste it into your forum files and you're done."
But in "active.asp" there is a number of lines NOT marked as "Poll Mod" wich should be added to the "active.asp" file in your forum.
From the Poll active.asp: Lines from 499 to 588 (aprox.) should replace lines 480 to 527 (aprox.) in active.asp in your forum.
NOTE: Line numbers may be different in your files - be carefull!
And off course >> I take no responsibility for the information above, except for: It worked for me 
/Rob
|
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 19 February 2004 : 19:09:24
|
No. Don't add code to your active.asp page that is not marked as being part of the poll mod. Part of that code that is missing from the active.asp page was taken out in the 3.4.04 version. That's why the 2 files would be slightly different. |
Support Snitz Forums
|
 |
|
RipRapRob
Starting Member
Denmark
9 Posts |
Posted - 21 February 2004 : 06:26:14
|
But if i don't, the table in active.asp is formatted the wrong way, with information being displayed in the wrong cells!
Am I the only one with this problem?
/Rob |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 21 February 2004 : 09:38:36
|
Just post a link to a txt version of your active.asp page and I will look it over for you. |
Support Snitz Forums
|
 |
|
RipRapRob
Starting Member
Denmark
9 Posts |
Posted - 25 February 2004 : 17:06:25
|
Thank you very much.
http://www.rob.dk/_download/active.txt
I'm not 100% sure, this is the last version before I found the error.
Look at lines 497 to 541. In the Poll mod, the linenumbers are 499 to 549, and the lines are NOT the same, and NOT marked as part of the Poll-mod.
And if used, without modification, it's displayed wrong.
So I've basically replaced active.asp lines 497 to 541 with lines 499 to 549 from the Poll mod active.asp.
/Rob |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 26 February 2004 : 00:16:09
|
Looking at your file, and comparing it to the poll mod active.asp version, the poll mod code is ok.
When I compared your file to the active.asp page that comes with the Snitz Forums 3.4.04 version, there is a lot of extra code, (that is not part of the poll mod) that is in your file.
This extra code is what is causing the html formating problems in your file. If you didn't add any extra code, apart from the poll mod, in your active.asp file, I suggest you use the active.asp file that came with the snitz forums, and re-add the poll mod code to the file. But only add the code that is marked out as the poll mod. Nothing more. |
Support Snitz Forums
|
 |
|
RipRapRob
Starting Member
Denmark
9 Posts |
Posted - 26 February 2004 : 19:01:55
|
I've downloadet the Forum code again, and compared it to the Poll-code:
In the Poll mod, active.asp, the line numbers 499 to 624, is NOT the same as the original Snitz forum active.asp linenumbers 480 to 574 and they are NOT marked as "Poll Mod", except for 3 lines.
I've solved my problem 'the right way' this time:
I took the linenumbers 589 to 591 from the Poll Mod active.asp and added only these 3 lines to my active.asp (between lines 559 and 560), and ignoring all the othere differencies in lines 499-624/480-574.
/Rob |
Edited by - RipRapRob on 26 February 2004 19:02:46 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 26 February 2004 : 20:07:10
|
Glad you got it working "the right way" this time.  |
Support Snitz Forums
|
 |
|
RipRapRob
Starting Member
Denmark
9 Posts |
Posted - 29 February 2004 : 05:33:52
|
Thansk again.
Guess I got confused that the Poll-mod code was 'wrong' (ie. thought the files would be identical APART from the Poll-mod).
/Rob |
 |
|
|
Topic  |
|