Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Lock Forum
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Lock Forum

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

Joined: 12 January 2006
Location: Sweden
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Adrina Quote  Post ReplyReply Direct Link To This Post Topic: Lock Forum
    Posted: 22 March 2006 at 7:29am
I have a problem with the Lock function. If the Forum is locked i can't Access the admin.asp-file to unlock it.
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: 22 March 2006 at 11:42am
Thanks Adrina, this is an issue I will have to find a fix to.

For the moment you will need to change it directly in the database in the table 'tblConfiguration', the field 'Forums_closed'

You may also need to un-load the application for your site to force the data to reload into the servers memory.
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: 22 March 2006 at 11:50am
I've not had time to test this yet, but a quick fix for this issue is to place the following in the top of the admin.asp file:-

blnClosedForumPage = True

Place before the file common.asp is included.


Edited by -boRg- - 22 March 2006 at 11:50am
Back to Top
ppkppk View Drop Down
Groupie
Groupie
Avatar

Joined: 24 November 2003
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote ppkppk Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2006 at 11:48am

BORG your fix above did not work for me, I place it in the admin.asp file like...

<% @ Language=VBScript %>
blnClosedForumPage = True
<!--#include file="common.asp" -->
<!--#include file="functions/functions_hash1way.asp" -->
<%
 
Was that correct
 
FYI the forum closed itself during setup.
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: 24 March 2006 at 12:17pm
Thats worng it needs to be within an ASP block:-

<% @ Language=VBScript %>
<%
blnClosedForumPage = True
%>

<!--#include file="common.asp" -->
Back to Top
ppkppk View Drop Down
Groupie
Groupie
Avatar

Joined: 24 November 2003
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote ppkppk Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2006 at 12:38pm
Oops you were right that sort of worked, but it does not show the CAPTCHA image now.
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: 24 March 2006 at 1:25pm
You need to add the same to the top of the CAPTCHA_image.asp file
Back to Top
ppkppk View Drop Down
Groupie
Groupie
Avatar

Joined: 24 November 2003
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote ppkppk Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2006 at 1:41pm
It worked....
 
You are a genius, how you find the time to do all of this I do not know.
 
Thanks again
 
 
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.