Previous Thread
Next Thread
Print Thread
Hop To
#166525 10/19/2006 4:31 PM
Joined: Oct 2006
Posts: 51
Likes: 1
M
Journeyman
Journeyman
M Offline
Joined: Oct 2006
Posts: 51
Likes: 1
When a new user registers, among the options is the following:

[Linked Image from usawks.com]

If the user does not make a selection in the "Do you wish to receive these emails?" box, will they be included in any emails that are sent out? If not, can I change this box so that it defaults to "Yes"? I'm afraid many of my members won't take the time to read all the way down to this option, or might overlook it while registering.

Last edited by mjuby; 10/19/2006 4:31 PM.
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
I hid that question in Control Panel » Registration Settings » Registration Screen wink
But FWIW, I think it should default to YES as well.


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
You could make it a manditory requirement,
then they will take notice smile




BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Alternatively you should be able to alter the script to make yes as the default option if that is what you want - on otherwords people opt out.

Joined: Oct 2006
Posts: 51
Likes: 1
M
Journeyman
Journeyman
M Offline
Joined: Oct 2006
Posts: 51
Likes: 1
Can anyone with more programming knowledge than me (this would be a pretty large group) tell me what changes to make to the script to make this the default option?

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
I'd imagine this would work:

In: newuser.inc.php
Lines: 819-821

Change this:
Code
<option value="" selected="selected">{$ubbt_lang['SELECT']}</option>
<option value="On">{$ubbt_lang['TEXT_YES']}</option>
<option value="Off">{$ubbt_lang['TEXT_NO']}</option>

To this:
Code
<option value="">{$ubbt_lang['SELECT']}</option>
<option value="On" selected="selected">{$ubbt_lang['TEXT_YES']}</option>
<option value="Off">{$ubbt_lang['TEXT_NO']}</option>

Give that a shot...


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Thanks jgeoff smile

Joined: Oct 2006
Posts: 51
Likes: 1
M
Journeyman
Journeyman
M Offline
Joined: Oct 2006
Posts: 51
Likes: 1
That works great! Thanks.

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
You can use the above method for any of the optional questions, if you wish to give them a chance to opt out smile

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
BTW - I use a similar method to pre-tick the 'remember me' box at login.

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Originally Posted by Ian
BTW - I use a similar method to pre-tick the 'remember me' box at login.

Good idea! cool


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
The more you can save the user from doing the better - the less they have to think is good LOL However always give them the chance to deselect and opt out.

I would also say that if you are sending out emails to your list of members, then always include an unsubscribe link - or at the very least tell them at the foot of the email, how they can opt out of future emails. That way you can't be accused of spamming them.

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
That's good advice, altho I've never sent out mass emails to my users in the 5+ years I've been running UBB. Classic had a limit anyway, so it was no use. But now it's nice, since I can narrow down users to email by certain criteria. Like, to send the 1700 or so members I have who've never ever posted asking why! lol wink

Altho - I did hide the option to deselect the "allow Admins to email" since, 1) I never did anyway, but, 2) If it's something important, I don't wanna hear about it later "why didn't you tell me!" wink


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
I would certainly send one once you are live to encourage all your members including the dormant ones to come and try it out.

Be ready for some bounces though LOL

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
...AND, 1000 requests for passwords! laugh laugh


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
LOL - good luck smile

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I believe that by default it'll use nothing, which will default to null; the default null value is yes, so by default they shoudl recieve emails...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (ahmed047), 624 guests, and 172 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)