Print Page | Close Window

Lock Forum

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=18850
Printed Date: 12 April 2026 at 7:19pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Lock Forum
Posted By: Adrina
Subject: Lock Forum
Date 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.



Replies:
Posted By: WebWiz-Bruce
Date 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.


Posted By: WebWiz-Bruce
Date 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.


Posted By: ppkppk
Date 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.


Posted By: WebWiz-Bruce
Date 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" -->


Posted By: ppkppk
Date Posted: 24 March 2006 at 12:38pm
Oops you were right that sort of worked, but it does not show the CAPTCHA image now.


Posted By: WebWiz-Bruce
Date Posted: 24 March 2006 at 1:25pm
You need to add the same to the top of the CAPTCHA_image.asp file


Posted By: ppkppk
Date 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
 
 



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