Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Defaults for new registered Users
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Defaults for new registered Users

 Post Reply Post Reply
Author
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post Topic: Defaults for new registered Users
    Posted: 26 April 2006 at 6:15am
The:
Notify me of replies to posts
and
Notify me by email when I receive a Private Message
are both set to "No" as s default
 
In the register.asp file I have seen the variables "blnReplyNotify" and "blnPMNotify" but can't find where that are being set as False
 
For receiving private messages this is the line I am talking about:
 
<td width="50%" valign="top"><% = strTxtYes %><input type="radio" name="pmNotify" id="pmNotify" value="True" <% If blnPMNotify = True Then Response.Write "checked" %> />&nbsp;&nbsp;<% = strTxtNo %><input type="radio" name="pmNotify" id="pmNotify" value="False" <% If blnPMNotify = False Then Response.Write "checked" %> /></td>
   </tr><%.
 
I understand what it is doing but can't backtrack it to where it is set to true or false.
 
Or could I just remove the checking like this:
 
<td width="50%" valign="top"><% = strTxtYes %><input type="radio" name="pmNotify" id="pmNotify" value="True" checked />&nbsp;&nbsp;<% = strTxtNo %><input type="radio" name="pmNotify" id="pmNotify" value="False"  /></td>
   </tr><%
 
or something like that.
 
Please advise
 
Cheers
 
Justin
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: 26 April 2006 at 10:57am
If you where to change it in the way you suggest then it wouldn't be updated by the database to what the user has set it to.
Back to Top
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2006 at 12:39pm
How would you recommend it can be done. The reason I wanted it to be like that is so that it is defaulted to use the PM notification and reply notifications when a new user registers

Edited by jckruger - 26 April 2006 at 12:41pm
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: 27 April 2006 at 9:54am
It can be done, but I'm afraid I don't have the time at present to go through the code and workout how to make this change and test it, as it not just a simple quick change as it needs to be tested as changing the code on such a colpex page could course other issues.
Back to Top
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post Posted: 27 April 2006 at 10:08am
Righto. Just thought I would check.

Edited by jckruger - 27 April 2006 at 10:09am
Back to Top
 Post Reply Post Reply

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.