Previous Thread
Next Thread
Print Thread
Rate Thread
#189190 11/21/2001 1:34 PM
Joined: Jul 2001
Posts: 272
Member
Member
Offline
Joined: Jul 2001
Posts: 272
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

Sponsored Links
Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
### FIND in ubb_new_topic.cgi #########

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

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

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

####### DONE! ##########

Joined: Jul 2001
Posts: 272
Member
Member
Offline
Joined: Jul 2001
Posts: 272
What about for people replying.. any way that an email notification box can be inserted?

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
###### 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 ]

Joined: Oct 2001
Posts: 105
Member
Member
Offline
Joined: Oct 2001
Posts: 105
And no modifications are require on vars_wordlet_email.cgi ? Because with that, it's not working on my UBB...

Sponsored Links
Joined: Jul 2001
Posts: 272
Member
Member
Offline
Joined: Jul 2001
Posts: 272
how about having it automatically enabled for replies?

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
Splitfyre, just put a checked="checked" in your $email_notify. I have edited the above post to do just that.

Joined: Oct 2001
Posts: 105
Member
Member
Offline
Joined: Oct 2001
Posts: 105
It's compatible with UBB 6.1.0.3 in french ?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,080
Joined: March 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1610
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 20
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)