Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 (v3.4.03) : Down.asp, getting to it, and small bug
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 12 January 2003 :  14:50:30  Show Profile
Firstly, I think there should be a link to down.asp on admin_home.asp. Right now you first have to go to the admin section and then go back to default.asp, or stay in the admin section and enter the URL manually. One link extra on admin_home.asp would make things a lot easier, and more people would know they can actually shut down their forums.
If this was already planned, you can ignore my comments

Also, on the admin part of down.asp, the body and html tags aren't closed, but they are on the part where the message is shown to visitors. By moving lines 151 and 152 to below the end if, that problem will be solved.
Lines 150 to 154 now:
			"</table>" & vbNewLine & _
			"</body>" & vbNewLine & _
			"</html>" & vbNewLine
end if
%>

Lines 150 to 154 "improved":
			"</table>" & vbNewLine
end if
Response.Write	"</body>" & vbNewLine & _
			"</html>" & vbNewLine
%>


It's a small change, and probably not important as I've never gotten any bad results without those two lines, but it might just as well be fixed in an upcoming release.

Edited by - Davio on 08 March 2003 17:14:08

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 13 January 2003 :  14:17:43  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
I think there should be a link to down.asp on admin_home.asp


I completely agree... maybe with an explanation/documentation to avoid questions like "how can I shut down the forum", "I can't see any option in the admin area" or "how can I bring it back up?"

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 13 February 2003 :  11:44:45  Show Profile
Question: will something be done with the information given in my post in the next version?
I know it's not important as a big security bug, but still
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 13 February 2003 :  13:10:08  Show Profile
I mentioned the same reasoning multiple times. If there is no idea agains this, I can implement it easily. We can actually save the code that exists in default.asp (one of the most hit pages) which shows the down icon.

Davio, what do you think?

Stop the WAR!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 February 2003 :  13:24:27  Show Profile
No problem against it.
Show the down link just for admins only.

Support Snitz Forums
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 13 February 2003 :  13:42:30  Show Profile
As it will be in admin_home.asp page, they must be admins. Did you mean main admin only?

Stop the WAR!
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 13 February 2003 :  13:50:13  Show Profile
The down link in admin_home has been implemented in v4b04 alpha 03. I left the icon based one as it executes if mlev=4 already...

Stop the WAR!
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 13 February 2003 :  14:06:51  Show Profile
thanks
And the little HTML inconsistency on down.asp? It's kind of important when the page is supposed to be integrated into the site's design (that's how I found out about it).
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 13 February 2003 :  14:23:03  Show Profile
I corrected that adding the two lines at the end of the THEN part... That method seemed better to me, so that the whole HTML is in one place.

Stop the WAR!
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 13 February 2003 :  17:04:27  Show Profile
In the end the important thing is that it works, right?
Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 25 February 2003 :  17:13:55  Show Profile
Hi everyone,

In talking about the next version....

I understand that the way that down.asp keeps the forum down is through a configuration value, and it is not stored in the database. Can this be fixed, every-time I close the forum, it re-opens when the server is rebooted. Or can someone start me in the direction to fix it myself?
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 25 February 2003 :  20:28:15  Show Profile
it was never meant to actually take down the forum for extended periods of time. The only reason it was included was for taking down the forum when compacting an Access Database. A server reboot is not the only way that the forum can be reopened without actually opening it yourself.
Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 25 February 2003 :  20:51:11  Show Profile
quote:
Originally posted by RichardKinser

it was never meant to actually take down the forum for extended periods of time. The only reason it was included was for taking down the forum when compacting an Access Database. A server reboot is not the only way that the forum can be reopened without actually opening it yourself.



Oh....That explains it, thank you.
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 26 February 2003 :  00:16:47  Show Profile
quote:
Originally posted by Dave6625

Hi everyone,
Or can someone start me in the direction to fix it myself?


It also happened to me especially with development forums with different directories, such as "/v4b01", "v4b02/" etc. I close it and change the directory name to something like "/v4b01_closed" to get rid of it completely.

Here is another solution you can implement by hand, if you want to keep the message (and loose some server resources). Put the red code below into your your config.asp:

strUniqueID = "Snitz00"

	Application.Lock
	Application(strCookieURL & "ConfigLoaded")= "YES"
        Application(strCookieURL & "down") = true 
        Application(strCookieURL & "DownMessage") = "Type your down message here"
	Application.UnLock

if Application(strCookieURL & "ConfigLoaded")= "" or ...


Stop the WAR!

Edited by - Deleted on 26 February 2003 00:19:43
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 26 February 2003 :  00:52:42  Show Profile
Just came into my mind. You can just put a redirect to your own down.page. Use the same place to put it:


response.redirect "downpage.htm"


Stop the WAR!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 08 March 2003 :  16:51:21  Show Profile
Placed the link to shut down the forums in admin options.
Fixed the html bug.

Fixed in 3.4.04

Support Snitz Forums
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07