Author |
Topic  |
|
rpainter
Junior Member
 
USA
153 Posts |
Posted - 26 September 2005 : 20:17:12
|
Is there a way to have new ads, or even the last few added, show up on the active topics page? Thanks.
|
Rusty Painter Learn to Cook REAL BBQ SCBBQtalk.com Monkey Boy's BBQ Sauce
|
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 26 September 2005 : 23:09:06
|
I have done something like this at: www.sportsfish.com.au
You will see the last few ads on the side of the pages. |
Cheers, David Greening |
 |
|
rpainter
Junior Member
 
USA
153 Posts |
Posted - 28 September 2005 : 13:06:42
|
Well...as I am no ASP guru, I made a copy of active.asp and named it active2.asp. I then copied all of classifieds.asp and replaced the WriteFooter in active.asp with all of that code. I then just removed the first half of the code that displays the All Forums...Classifieds, and the first table that shows the categories. So, all I am left with is the 15 Most Recent Ads table right under the active topics. You can take a look at it here: http://www.scbbqtalk.com/forum/active.asp
I'm sure that there is a better way to do this, but it is all I could come up with. Now if I could just have subscription notification when a new ad is placed... |
Rusty Painter Learn to Cook REAL BBQ SCBBQtalk.com Monkey Boy's BBQ Sauce
|
 |
|
TonyB7
Junior Member
 
USA
267 Posts |
Posted - 28 April 2006 : 22:38:02
|
I sure wish someone would sum up how to do this for the terminally helpless coders among us.
It would probably be best if it was a separate file ('classifieds_5mostrecent.asp') that could be included in Site Integration, active.asp, forum.asp, default.asp, etc. |
 |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 30 April 2006 : 05:07:40
|
It is possible to do, and I did it for the Sports Fish Australia website. I can not share that code, as I was paid to do it, and as far as I am concerned about it, Neil from the Sports Fish Australia website owns that code now. It was quite easy to do when you start to look at it. |
Cheers, David Greening |
 |
|
TonyB7
Junior Member
 
USA
267 Posts |
Posted - 01 May 2006 : 20:09:37
|
Seems like it should be, but I get a series of errors no matter what I try. I managed to slice and dice classifieds.asp to where by itself it displays the 5 most recent ads, but when I INCLUDE that in eg active.asp up pops 'const redefined' errors. If I remove the INCLUDES from 5mostrecent.asp, I get other weird errors.
|
 |
|
|
Topic  |
|