Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MOD: Most Recent Posts
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MOD: Most Recent Posts

 Post Reply Post Reply Page  <1234 5>
Author
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2007 at 9:56am
Hmm sounds odd. It's not something simple like every new post on the forum you're using happens to be in a different Topic anyhow? If you add two new posts to one Topic, what does it show?
Back to Top
mconway72 View Drop Down
Newbie
Newbie


Joined: 26 September 2006
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote mconway72 Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2007 at 9:29pm
This is outstanding!!!  Finally a "most recent" mod that works for me ... thanks, MrMellie!!!
 
I have only one tweak to this, but have not figured it out myself.  How do I remove the Message and Date columns and fields?  I would like only to display Topic, Author and Views.  Help!
Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 05 March 2007 at 2:25pm
Hi mconway, All you need to do is remove the following lines from the file:

       Response.Write "<td><span class=""smText"">" & strShtMess & "</span></td>"

and

       Response.Write "<td align=""center""><span class=""smText"">" & strPostDate & "-" & strPostTime & "</span></td>"
Back to Top
mconway72 View Drop Down
Newbie
Newbie


Joined: 26 September 2006
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote mconway72 Quote  Post ReplyReply Direct Link To This Post Posted: 08 March 2007 at 2:31am
MrMellie your code is awesome. we quickly got it up and running on our site.  We seem to have an issue where users with Firefox get the top 5 posts posted twice.  IE users get the top 10 posts and no doubles so it works great under ie, but not so under Firefox.
 
Thank you very much and keep up the great work
Back to Top
mconway72 View Drop Down
Newbie
Newbie


Joined: 26 September 2006
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote mconway72 Quote  Post ReplyReply Direct Link To This Post Posted: 08 March 2007 at 2:36am
MrMellie >>>
 
Thank you.  I figured that out, but it took me a long time.  Though i think i might have done it differently, so i will go back make sure it is done your way
 
thank you very very much!!!
Back to Top
suedechaser View Drop Down
Groupie
Groupie


Joined: 25 February 2006
Location: USA
Status: Offline
Points: 129
Post Options Post Options   Thanks (0) Thanks(0)   Quote suedechaser Quote  Post ReplyReply Direct Link To This Post Posted: 11 March 2007 at 10:35pm
Hi Mr Mellie,

Yes, every new post was in a different topic - silly me!

kindest regards

suede

Edited by suedechaser - 18 March 2007 at 10:40pm
Back to Top
nsomniac View Drop Down
Newbie
Newbie


Joined: 01 March 2007
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote nsomniac Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2007 at 5:45am
Hi Mr Mellie,

Your mod works great, but was just wondering why it formats to a different style than the rest of the forum? I mean by font, background color of tables... is there a way to get it to keep to the same style as the forum proper?
Back to Top
nsomniac View Drop Down
Newbie
Newbie


Joined: 01 March 2007
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote nsomniac Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2007 at 6:31am
Hi

Is it possible to add this code twice into the forum so that I can have both last 10 active topics and last 10 new posts?

I tried to rewrite and change some variable and commented out the repeated naming of variables... ie commented out all the second Dim's and changed the constants intStyle to intStyle2 and so on... but i'm getting an error still....

ADODB.Recordset error '800a0e79'

Operation is not allowed when the object is open.

/Default.asp, line 909


Something to do with rsCommon.Open???


Sorry, not very good at coding and have no idea about asp, but just wondering if anyone can help at all?


Back to Top
 Post Reply Post Reply Page  <1234 5>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.