Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Default Time Zone Offset
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Default Time Zone Offset

 Post Reply Post Reply Page  12>
Author
cooper View Drop Down
Newbie
Newbie


Joined: 01 September 2003
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote cooper Quote  Post ReplyReply Direct Link To This Post Topic: Default Time Zone Offset
    Posted: 10 December 2003 at 10:22am

On the registration page, how can I make it to where the hours offset is already on -6 (as opposed to +0)? The reason I am asking is that most people using my forum will be from the same time zone, & it would be easier on them if they didn't have to set it to -6 on their own.

Thanks!

Oh, and I just thought of a another question... How can I make it to where hitting the Enter key when typing a post will not be double-spaced (I prefer single).

Back to Top
cooper View Drop Down
Newbie
Newbie


Joined: 01 September 2003
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote cooper Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2003 at 10:23am

I have another question (sorry). Why is it that in some posts, such as the one I just made above, the text starts three lines down? Why can't they all start on the first line?

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: 10 December 2003 at 10:39am
For your first question you could edit the register.asp page so that -6 is the selected value on the html form.

For the other questions the reason for them is that you are using IE, for some reason in IE microsoft have implemented RTE features that when you hit enter it places <p> around your text block.

To stop this either use SHIFT -> ENTER in IE, or change to a better browser like Mozilla Firebird where Mozilla have implemented RTE features in a different way so that you don't get these spaces.
Back to Top
cooper View Drop Down
Newbie
Newbie


Joined: 01 September 2003
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote cooper Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2003 at 10:44am

This part?

         <td width="50%" valign="top" class="text" background="<% = strTableBgImage %>"><select name="serverOffSet">
        <option value="+" <% If strTimeOffSet = "+" Then Response.Write("selected") %>>+</option>
        <option value="-" <% If strTimeOffSet = "-" Then Response.Write("selected") %>>-</option>
       </select>
       <select name="serverOffSetHours"><%

 'Create list of time off-set
 For lngLoopCounter = 0 to 24
  Response.Write(VbCrLf & "        <option value=""" & lngLoopCounter & """")
  If intTimeOffSet = lngLoopCounter Then Response.Write("selected")
  Response.Write(">" & lngLoopCounter & "</option>")
 Next
       
%>      
       </select> <% = strTxtHours %></td>

I don't see what to change. Could you help me (I was able to figure it out in older versions... just not this one).



Edited by cooper
Back to Top
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2003 at 1:27am

Hello Borg,

Im on GMT +5.30. But the time zone settings done not have .30's. How can i add that ?

Back to Top
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2003 at 1:35am
Originally posted by cooper cooper wrote:

This part?

         <td width="50%" valign="top" class="text" background="<% = strTableBgImage %>"><select name="serverOffSet">
        <option value="+" <% If strTimeOffSet = "+" Then Response.Write("selected") %>>+</option>
        <option value="-" <% If strTimeOffSet = "-" Then Response.Write("selected") %>>-</option>
       </select>
       <select name="serverOffSetHours"><%

 'Create list of time off-set
 For lngLoopCounter = 0 to 24
  Response.Write(VbCrLf & "        <option value=""" & lngLoopCounter & """")
  If intTimeOffSet = lngLoopCounter Then Response.Write("selected")
  Response.Write(">" & lngLoopCounter & "</option>")
 Next
       
%>      
       </select> <% = strTxtHours %></td>

I don't see what to change. Could you help me (I was able to figure it out in older versions... just not this one).

I dont think its this part. plz paste a bit up and down

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: 11 December 2003 at 2:51am
It would require a re-write of most of the forum code to get half hours to work.
Back to Top
cooper View Drop Down
Newbie
Newbie


Joined: 01 September 2003
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote cooper Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2003 at 11:06am

Here's my problem:

<option value="+" <% If strTimeOffSet = "+" Then Response.Write("selected") %>>+</option>
<option value="-" <% If strTimeOffSet = "-" Then Response.Write("selected") %>>-</option>

I'm assuming that in this case, for example, the code is saying to check the user's strTimeOffSet & make it the selected item on the list when viewed (this may be the wrong assumption, which would throw the rest of my post off). If it is a new user, however, where is it getting this information? That's the information I would want to change to make this do what I want it to do.

Back to Top
 Post Reply Post Reply Page  12>

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.