UBB.Dev
Posted By: Splitfyre Email Notification Question - 11/21/2001 8:34 PM
Any way in which I can have email notification turned on by default for all users when they create a new thread or reply to a thread? I am running UBB 6.1.0.2
Posted By: freeTV Re: Email Notification Question - 11/21/2001 8:46 PM
### FIND in ubb_new_topic.cgi #########

$email_notify = qq( $vars_wordlets{email_notify});

### CHANGE it to: #########

$email_notify = qq( $vars_wordlets{email_notify});

####### DONE! ##########
Posted By: Splitfyre Re: Email Notification Question - 11/21/2001 8:50 PM
What about for people replying.. any way that an email notification box can be inserted?
Posted By: freeTV Re: Email Notification Question - 11/21/2001 10:09 PM
###### OPEN ubb_new_reply.cgi ####
### FIND #########

local (@this_forum, @this_topic, $ubb_images, $post_permiss, $reply_restrict, $j, $is_html, $is_ubb, $html_allowed, $ubb_allowed, $ubb_images_wording, $icon_field, $show_sig, $disable_smilies, @reply_to, @stat_line, $clean_reply_to_message, $reply_to_message, $reply_to_author, $insert_reply_to, $i_frame, $i_frame_alt, @post_line, $go_to, $close_option, @user_profile, $ubb_code_buttons);

### CHANGE IT TO ####

local (@this_forum, @this_topic, $ubb_images, $post_permiss, $reply_restrict, $j, $is_html, $is_ubb, $html_allowed, $ubb_allowed, $ubb_images_wording, $icon_field, $email_notify, $show_sig, $disable_smilies, @reply_to, @stat_line, $clean_reply_to_message, $reply_to_message, $reply_to_author, $insert_reply_to, $i_frame, $i_frame_alt, @post_line, $go_to, $close_option, @user_profile, $ubb_code_buttons);

### FIND ####

# show signature?
if (($vars_display{AllowSignature} eq 'YES') && ($username ne '')) {
$show_sig = qq(
$vars_wordlets{show_signature});
}

### ADD ABOVE ###

# email notify on?
if (($vars_email{UseEmail} eq 'ON') && (($username ne '') || ($vars_display{RequireLoginPosts} eq "NO"))) {
$email_notify = qq( $vars_wordlets{email_notify});
}

######## OPEN public_new_reply_form.pl (Templates)
#### FIND ########

$show_sig

#### ADD ABOVE ###

$email_notify



###### DONE ##########

[ 11-21-2001: Message edited by: freeTV ]
Posted By: manuonlymac Re: Email Notification Question - 11/21/2001 11:56 PM
And no modifications are require on vars_wordlet_email.cgi ? Because with that, it's not working on my UBB...
Posted By: Splitfyre Re: Email Notification Question - 11/22/2001 12:01 AM
how about having it automatically enabled for replies?
Posted By: freeTV Re: Email Notification Question - 11/22/2001 12:16 AM
Splitfyre, just put a checked="checked" in your $email_notify. I have edited the above post to do just that.
Posted By: manuonlymac Re: Email Notification Question - 11/22/2001 12:20 AM
It's compatible with UBB 6.1.0.3 in french ?
© UBB.Developers