|
|
Posted 18/04/2005 06:46:12 |
|
|
Supreme Being
      
Group: Moderators
Last Login: 14/10/2008 15:36:31
Posts: 582,
Visits: 876
|
|
| While doing my own upgrade Ive run into a few snags.. not on Ryans' part but because I beta'd 3.4 and we kind of pushed things around so Im paying the price now on the 4.0 RC1 What I have noted is that it would be nice to have an ADMIN option to CLOSE BOARD/OPEN BOARD, when you CLOSE the board you'd (as the admin) would have the option to add text that the users would see. When the board is closed your users would be directed to BOARD CLOSED or BOARD UNAVAILABLE page and they would see the message. In my case I could CLOSE the board and say "Sorry but I temporarily FUBAR'd the site, It will be back up and available as soon as possible, please be patient and stop sending me "I cant get to the topics" emails every 30 seconds" Thanks... just figured I'd throw this out.
Mark 'Rigger82' Christianson US Paratrooper & Webmaster of Paratrooper.net http://www.paratrooper.net
|
|
|
|
Posted 18/04/2005 17:45:04 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: Today @ 15:10:38
Posts: 1,957,
Visits: 3,021
|
|
| Hi Mark, It's certainly on the list. It would be nice to get this into the final v4.0 It requires a little thought as to where to put the flag and what to present when the board is offline. The ability to create a custom error message within the admin would be nice but it could be you've disabled your board because of database problems so i'll need to give this a little thought. How is everything with the site now? Please PM me if you need anything. I'd like to add some new indexes to the tables which you did not get as you where literally the first to receive the code
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
Posted 18/04/2005 18:29:27 |
|
|
Supreme Being
      
Group: Moderators
Last Login: 14/10/2006 01:27:14
Posts: 276,
Visits: 3,858
|
|
Ryan Healey (4/18/2005)
Hi Mark, It's certainly on the list. It would be nice to get this into the final v4.0 It requires a little thought as to where to put the flag and what to present when the board is offline. The ability to create a custom error message within the admin would be nice but it could be you've disabled your board because of database problems so i'll need to give this a little thought. Ryan, What about having a check box for On/Off and a text box to specify an actual page to display (boardoffline.aspx). When the text box is checked to turn it Off the system would do the following things: 1. Rename the main Default.aspx to Default_offline.aspx 2. Make a copy of boardoffline.aspx and name it Default.aspx 3. Mark all forums as closed. You could then add a check where if someone tries a direct link to a closed forum, it would check to see if ALL forums were closed and if that was true, would automatically redirect to default.aspx which has already been changed to reflect the offline state. If the database were offline too, you simply setup a predefined customer error page that would redirect to Default.aspx which would already be set to reflect the offline state. When the forums are ready again the admin unchecks the box and it opens the forums, deletes the current Default.aspx and renames Default_offline back to Default. It might not be the most efficient way, but it would keep most of it out of the database, I think. Thoughts?
 Jimmy Stuart
|
|
|
|
Posted 18/04/2005 18:45:34 |
|
|
Junior Member
      
Group: Customers
Last Login: 18/03/2007 08:42:49
Posts: 23,
Visits: 124
|
|
| I think the ideal way to keep it out of the database is to use the infamous Web.Config file. If there was a key for the URL of the page you want displayed when closed, and the value of On or Off, then the admin could set this without DB interaction. Thoughts?
TIM NET development and components. http://www.codesine.com
|
|
|
|