|
Geek Gazette GAZ is a community newsletter management system. |
Advertisement | |
This is an HTML example. Isn't it just wonderful?!?!
|
|
Learn how to remove ads |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
new users problem solved?
hi, in the past i've noticed that :
there is no way to make subscription to the newsletter to be set to YES by default for new users (i hope you understand what i mean). Morgan, have you solved this problem? thank you
__________________
|
#2
|
||||
|
||||
If you want 'yes' checked by default upon registration, you'd need to edit the gaz_profile_sub_option template, using the following template conditional to show what you want upon registration and the default gaz_profile_sub_option template otherwise:
Code:
<if condition="THIS_SCRIPT == 'register'"> your edits here <else /> default template here </if>
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
Sorry but do we replace what is currently in the template with what is above or insert it somewhere in the template? What exactly should the template look like after editing it so that it is set to yes?
|
#4
|
||||
|
||||
Untested but like this, though you may need to tweak as desired:
Code:
<tr> <td width="100%" class="smallfont">$value[title]</td> <td style="white-space:nowrap;"> <if condition="THIS_SCRIPT == 'register'"> <label for="rb_1_$key"><input type="radio" name="gaz_sub[$key]" id="rb_1_$key" value="1" tabindex="1" title="$vbphrase[yes]" checked="checked" />$vbphrase[yes]</label> <label for=\"rb_0_$key\"><input type="radio" name="gaz_sub[$key]" id="rb_0_$key" value="0" tabindex="1" title="$vbphrase[no]" />$vbphrase[no]</label> <else /> <label for="rb_1_$key"><input type="radio" name="gaz_sub[$key]" id="rb_1_$key" value="1" tabindex="1" title="$vbphrase[yes]" <if condition="$newsletteron == true">checked="checked"</if>/>$vbphrase[yes]</label> <label for=\"rb_0_$key\"><input type="radio" name="gaz_sub[$key]" id="rb_0_$key" value="0" tabindex="1" title="$vbphrase[no]" <if condition="$newsletteron == false">checked="checked"</if> />$vbphrase[no]</label> </if> </td> </tr>
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#5
|
|||
|
|||
Quote:
i've tried to copy and paste the code that you've written here, but after the user registration, under GAZ Subscription Options, the newsletter subscription is still set NO.. what should i do? thanks!
__________________
|
#6
|
||||
|
||||
Not sure, haven't tested it, so I don't have a snippet to give you other than what I already posted. You might try adding some random text to the snippet and see what shows on screen to check whether the if or else condition is being used.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Managing bounced users | Hornstar6969 | Geek Gazette | 2 | 06-29-2009 06:43 AM |
Users unable to Rate | jwashburn | Geek Article and Review System | 1 | 02-25-2009 01:46 PM |
Use for French Users | OlijO | Geek Gazette | 6 | 05-28-2008 03:49 PM |
How can Users subscribe? | Julian | Geek Gazette | 8 | 05-23-2007 06:52 AM |
Users Other Articles | Lizard King | Geek Article and Review System | 0 | 11-17-2005 04:40 AM |