Author |
Topic  |
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 07 August 2008 : 08:49:27
|
he means add it to topic.asp not post.asp< |
 |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 07 August 2008 : 10:37:48
|
My own versions of these have had so many changes that they're like minefields, you have to step pretty carefully if you don't want things to blow up on you.< |
 |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 07 August 2008 : 16:21:33
|
When I added the scrollbox mod to my test site, it worked in the post.asp (which is the preview) and did not not work in the topic.asp (after posting it).quote: Originally posted by leatherlips
Classicmotorcycling, did the scrollmod not work for you either on your test site?
I then done some basic check to see what maybe missing between post.asp and topic.asp. I started with the includes and the only difference was the inc_func_posting.asp, so tried it, and it worked.
I have broken down what is required out of the inc_func_posting.asp to get it working, which is the following posted in topic.asp:
Post that code in the first part of the asp after the includes listed above (after removing the inc_func_posting.asp include) and the <% piece of code. I hope that this helped. < |
Cheers, David Greening |
 |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 07 August 2008 : 16:57:43
|
but topic.asp doesn't use the CleanCode function, it is only used when editing.< |
 |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 07 August 2008 : 17:51:18
|
The mod must be using the clean code function to operate and it was the only way I could get it to work on 3.4.06< |
Cheers, David Greening |
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 08 August 2008 : 07:51:29
|
let me reiterate.
TOPIC.asp SHOULD NOT BE USING CLEANCODE
CleanCode is used when putting data into textboxes etc when editing them, topic.asp does not have ANY editable fields and should not therefore be using CleanCode at all, if you are displaying data from the db then you should use FormatStr not CleanCode, they both have the opposite effect.
Cleancode turns html into code tags, Formatstr turns Code Tags into html.< |
 |
|
Topic  |
|