Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version: Email Original Poster Replies 1.0

Description: This will allow a user to enable an option in their email preferences and by default automatically receive all replies to their posts via email.


Working Under: UBB.Threads 6.3

Mod Status: Beta

Any pre-requisites: none

Author(s): JoshPet

Date: 10/15/03

Credits: Commissioned by RocLobsta of www.mameworld.net

Files Altered: editemail.php, changeemail.php, editemail.tmpl, addpost.php

New Files: none

Database Altered: New field, U_EmailPostReply, added to the w3t_Users table.

Info/Instructions: Will not email the user their own replies, only replies from other users.

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.


Attachments
97036-emailorigposter1.0.txt (0 Bytes, 75 downloads)

Sponsored Links
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Cool mod Josh, just a quick question about this. Is there a setting to have this option checked by default, some of the other boards do this :cough*vbulletin*cough: so it would be a nice addition

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
No - not really necessary. There is an on/off setting under email preferences.

"Recieve replies to your posts via email? Yes/No"

So if it's on you get all replies, if it's off you don't. Not really on a post by post basis (that's what the favorite thing is for). This is an all or nothing sorta thing, in addition to current favorite thread functionality.

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Right, but I would like to set the default to "yes" instead of "no" if possible.


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Ah then adjust the altertable step like this:

ALTER TABLE w3t_Users
ADD U_EmailPostReply TINYINT( 1 ) DEFAULT '1' NOT NULL ;




Sponsored Links
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Great, thanks!

Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
hmmm... sounds similar to this one: Beta-[6.3] eMail to parent poster v1.1

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Doah - yeah, kinda. Never saw that one. But this has the on/off switch in the email preferences, along with a Database field to track it.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Updated this for 6.4 utilizing the new mail function in UBB.Threads 6.4.
https://www.ubbdev.com/forum/showflat.php?Cat=0&Number=104692

Joined: Dec 1999
Posts: 158
Enthusiast
Enthusiast
Offline
Joined: Dec 1999
Posts: 158
nice nice nice, this is a crucial one!
pleeeeeaase update this to 6.5!!

Sponsored Links

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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 254
Joined: January 2000
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
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-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)