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
 Classifieds MOD - Show New Ads
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rpainter
Junior Member

USA
153 Posts

Posted - 26 September 2005 :  20:17:12  Show Profile  Visit rpainter's Homepage
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  Show Profile
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
Go to Top of Page

rpainter
Junior Member

USA
153 Posts

Posted - 28 September 2005 :  13:06:42  Show Profile  Visit rpainter's Homepage
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
Go to Top of Page

TonyB7
Junior Member

USA
267 Posts

Posted - 28 April 2006 :  22:38:02  Show Profile  Send TonyB7 an AOL message  Send TonyB7 a Yahoo! Message
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.
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 30 April 2006 :  05:07:40  Show Profile
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
Go to Top of Page

TonyB7
Junior Member

USA
267 Posts

Posted - 01 May 2006 :  20:09:37  Show Profile  Send TonyB7 an AOL message  Send TonyB7 a Yahoo! Message
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.
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 1.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07