Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - latest 10 topics on main page
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

latest 10 topics on main page

 Post Reply Post Reply
Author
i2Paq View Drop Down
Groupie
Groupie


Joined: 10 April 2004
Location: Netherlands
Status: Offline
Points: 181
Post Options Post Options   Thanks (0) Thanks(0)   Quote i2Paq Quote  Post ReplyReply Direct Link To This Post Topic: latest 10 topics on main page
    Posted: 14 July 2008 at 7:15pm
I know that there are a few other topics about this subject but no-one gives the working solution so I've decided to try and see if I can create a working one.
 
I want to include the code found in active_topics.asp into the default.asp like the active users (active_users.asp).
 
I have made some progression but run into the followwing error and hope that someone can help me out.
 
This is the error:
Microsoft VBScript compilation error '800a0411'

Name redefined

/forums/includes/pm_check_inc.asp, line 45

Dim intNotifiedNoOfPMs
 
On that line it say's: Dim intNotifiedNoOfPMs
 
I have no idea what the error means.
 
Any help is appriciated.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2008 at 7:26am
It means that the variable is already defined elsewhere in the code so you need to remove the line.
Back to Top
i2Paq View Drop Down
Groupie
Groupie


Joined: 10 April 2004
Location: Netherlands
Status: Offline
Points: 181
Post Options Post Options   Thanks (0) Thanks(0)   Quote i2Paq Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2008 at 4:54pm
Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

It means that the variable is already defined elsewhere in the code so you need to remove the line.
 
I've looked in the code that I've copied from the active_topics.asp into the default.asp but I cannot find anything related to the code in the default.asp.
 
Any idea on how to get the active_topics.asp code to show up in the What's going on part of the forum?
It could not be that hard, it could be done like the active_users are shown.


Edited by i2Paq - 15 July 2008 at 5:03pm
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.