Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Just need a simple mod....
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Comicozzi2
Starting Member

13 Posts

Posted - 09 April 2004 :  22:39:20  Show Profile
I need a mod that allows me to publish the 10 newest topics of a selected catagory or forum on the front page of the site. Real simple, nothing fancy, just the top 10 topics of that forum and ability for people to click it go to the forum. I need this to be able to work from any page in the site, not within the forums themselves.

Any suggestions?

thanks,

Comicozzi2
Starting Member

13 Posts

Posted - 09 April 2004 :  22:41:17  Show Profile
here is my page
http://forums.sixgunner.com

But I want to pull into here http://www.sixgunner.com

they are on two different servers, the forums is on a dedicated server and the rest is on a dedicated server.

Thanks!
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 09 April 2004 :  22:48:24  Show Profile  Visit muzishun's Homepage
While I don't know how to code what you're looking for, I'm pretty sure I've seen something like it at Snitz Bitz. Also, just for future reference. This forum is for MODs that have been completed. If you are looking for a MOD, you'll have better luck in the MOD Add-On Forum (W/O Code).

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

Comicozzi2
Starting Member

13 Posts

Posted - 10 April 2004 :  02:53:57  Show Profile
thank you sir, I have not found anything that simple! Everything else is a portal or site integration mod..

Sorry about posting in the wrong spot!

Have a good easter.
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 10 April 2004 :  04:02:47  Show Profile
Do you mean something like this: Outside the Forum

or this one: Inside the Forum using the News mod that you can search on in these forums, but I can give you what I have.

or there is this one I did other one Outside the Forum based on the RSS feed mod.

Send me an email from my Contact Form


Cheers,

David Greening
Go to Top of Page

kmedlin
Starting Member

14 Posts

Posted - 13 April 2004 :  11:40:35  Show Profile  Visit kmedlin's Homepage
All you need to do is write the appropriate SQL query...

So you'd open up a new recordset on the page you want to display the "latest 10"

That recordset would simply select the topic titles and order them by date descending (newest to oldest)

then...

you'd enter that information in a table on your page.

then...

you'd use a few lines of code to loop through it 10 times...

ie

if NOT rs.BOF AND rs.EOF AND coun=10 then

tablecode of the row you want to repeat

count = count + 1
end if


in this way you loop through your recordset, write it to the page, and create more table rows "on the fly" by setting the maximum count. Really really simple actually. I just don't have the time to write out the entire code for ya.

Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 13 April 2004 :  17:15:11  Show Profile
Why not try the Simple Slash Mod ?
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 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07