Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Number of Latest Topics
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Number of Latest Topics

 Post Reply Post Reply
Author
yot_ View Drop Down
Newbie
Newbie
Avatar

Joined: 10 April 2003
Location: Bahamas
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote yot_ Quote  Post ReplyReply Direct Link To This Post Topic: Number of Latest Topics
    Posted: 10 April 2003 at 6:13pm

Can't we increase the number of latest Topics shown ? The default number is 6 for 6.34.. How can we make it 10 for example ?

Thanks

Back to Top
Trevni View Drop Down
Groupie
Groupie


Joined: 24 February 2003
Location: United States
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote Trevni Quote  Post ReplyReply Direct Link To This Post Posted: 10 April 2003 at 6:32pm
I think someone in the Web Wiz Forums Mod's and Add-on's might have an answer for you.
Resident immature brat...
Back to Top
sandy771 View Drop Down
Newbie
Newbie


Joined: 07 February 2003
Location: United Kingdom
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote sandy771 Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2003 at 2:17am

You need to do two things

1. Change the query to return the 10 top topics

Edit default.asp - about line 428 you will find the following

strSQL = "SELECT Top 6 tblTopic.Forum_ID, tblTopic.Topic_ID, tblTopic.Subject, tblForum.Password, tblForum." & strMemberStatus & " "
edit this and change the reference to "Top 6" to "Top 10" or whatever else is required

2. This will display the additional topics but you will get a lobsided look to your site. So go to line 574 - you should see this

Response.Write(vbCrLf & "  <br>" & strTxtThereAre & "&nbsp;" & intActiveUsers & "&nbsp;<a href=""active_users.asp"" target=""_self"">" & strTxtActiveUsers & "</a>,&nbsp;" & intActiveGuests & "&nbsp;" & strTxtGuestsAnd & "&nbsp;" & intActiveMembers & "&nbsp;" & strTxtMembers & "</span>")

and on the next line

%>

insert a new line after this and put in

<br><br><br><br><br>

(i.e. one more <br> than the additonal number of topics you have decided on.

Hope this helps

 

 



Edited by sandy771
Back to Top
yot_ View Drop Down
Newbie
Newbie
Avatar

Joined: 10 April 2003
Location: Bahamas
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote yot_ Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2003 at 6:43am
thank you !! i ll try this at evening and let you know..
Back to Top
yot_ View Drop Down
Newbie
Newbie
Avatar

Joined: 10 April 2003
Location: Bahamas
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote yot_ Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2003 at 5:34pm
thank you it worked out!!
Back to Top
 Post Reply Post Reply

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.