Print Page | Close Window

Newest 10 posts...

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22712
Printed Date: 29 March 2026 at 3:12am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Newest 10 posts...
Posted By: creation cafe
Subject: Newest 10 posts...
Date Posted: 16 February 2007 at 9:13pm
Hi, I don't really understand .asp at all but have managed to work out how to contain my forum in tables etc and sort out navigation. I would like to have the latest 10 forum posts showing on my front page outside the forum (within a template..) Is there a way of doing this, I'm using an access db.
 
Thanks
 
Ade



Replies:
Posted By: MrMellie
Date Posted: 19 February 2007 at 2:55pm
Have you tried searching this forum for a solution...? Wacko
 
Hint: it's approx 7 topics below this on the front page.


Posted By: creation cafe
Date Posted: 19 February 2007 at 5:03pm
I tried to use all of them in here and i keep getting errors... like i said, i'm not great with asp
 
tnx


Posted By: creation cafe
Date Posted: 19 February 2007 at 5:06pm
the one approx 7 below this post gives me this error...
 

Microsoft VBScript runtime error '800a01a8'

Object required

/forum/default.asp, line 795

which is this line...
 
rsCommon.Open strSQL, adoCon


Posted By: Shaun
Date Posted: 20 February 2007 at 3:07am
I'd just like to add, that I've spent the last few nights using every example given on these forums for the last 10 posts / topics too.

Closest I got yet was MrM's from his thread (at least the table and column headers displayed).. BUT I get the exact same error as matey above me.

Surely we can't be the only 2?

8.05 and MSSQL for me.

Can anyone help?? I'm an ASP plonkey donkey as well LOL but have used quite a few mods successfully from on here. Just this one holding me back from launching our new forums.

Our current forum using a 7.XX WWF install and with an IportalX portal, has the 10 topic thing working fine.. But no way with our latest forum am I using that e that Drew and his guys knock out.

Throw us a bone guys please.

Many thanks,
Shaun


Posted By: shovel
Date Posted: 20 February 2007 at 7:13pm
I had that same error numerous times when I tried it. I searched and searched and couldn't find any answer. Anyhow, I finally re-copied the same one and tried it again ... and it worked. All I can figure is that some odd character must have gotten in the first few times I copied it. Make sure you're using a plain text editor to copy it into.

Jim


Posted By: MrMellie
Date Posted: 20 February 2007 at 8:46pm

Make sure you follow the instructions properly. The last paragraph before the main code is where you're going wrong:

Quote You can also use this file to show the Most Recent posts on your forum default page. Depending on where you put the include, you might need to comment out the "Call closeDatabase" command. An example of when you would need to do this is if you placed the MRP panel before the What's Going On? panel.



Posted By: shovel
Date Posted: 24 February 2007 at 9:40am
BTW MrMellie,

I just tried your setup as well and it works very nicely. Good job. :)

Jim


Posted By: mconway72
Date Posted: 24 February 2007 at 4:42pm
I can sympathize, creation cafe ... I have tried all the examples on this site, and SPLAT!  It's very disheartening.


Posted By: mconway72
Date Posted: 24 February 2007 at 6:16pm
Going to try this latest as soon as I get a chance ... will post my results.


Posted By: MrMellie
Date Posted: 26 February 2007 at 9:01am
Let us know how you get on with it. I've had my fill of badly written mods (not for WWF, for the old software I used) and so tried to make this as universal and easy to use as possible. Please post in the original thread if you have any issues.


Posted By: creation cafe
Date Posted: 26 February 2007 at 10:10am
thanks Mrmellie, got it working on my forum default page.. my next question is......
 
will this work on a front page that is an index.htm page, and if so, how?
 
thanks for your time so far!
 
Ade



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net