| Author |
Topic Search Topic Options
|
cooper
Newbie
Joined: 01 September 2003
Status: Offline
Points: 24
|
Post Options
Thanks(0)
Quote Reply
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).
|
 |
cooper
Newbie
Joined: 01 September 2003
Status: Offline
Points: 24
|
Post Options
Thanks(0)
Quote Reply
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?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
cooper
Newbie
Joined: 01 September 2003
Status: Offline
Points: 24
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
india
Senior Member
Joined: 21 November 2003
Status: Offline
Points: 499
|
Post Options
Thanks(0)
Quote Reply
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 ?
|
 |
india
Senior Member
Joined: 21 November 2003
Status: Offline
Points: 499
|
Post Options
Thanks(0)
Quote Reply
Posted: 11 December 2003 at 1:35am |
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
cooper
Newbie
Joined: 01 September 2003
Status: Offline
Points: 24
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |