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 2.0

Description: This will allow a user to enable an option in their email pref

Working Under: UBB.Threads 6.4

Mod Status: Beta

Any pre-requisites: none

Author(s): JoshPet

Date: 01/11/04

Credits: Smitdogg for commissioning orig mod - ScottCargille for requesting update

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

New Files: none

Database Altered: none

Info/Instructions: Will not email the user their own replies to ther posts, 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
104692-EmailOrigPoster2.0.txt (0 Bytes, 269 downloads)

Sponsored Links
Joined: Feb 2001
Posts: 104
Journeyman
Journeyman
Offline
Joined: Feb 2001
Posts: 104
Thanks Josh! You ARE the MAN!

Joined: Feb 2003
Posts: 196
Member
Member
Offline
Joined: Feb 2003
Posts: 196
does this work for 6.3?

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
This version is what you would need for 6.3.

Joined: Jun 2000
Posts: 190
Enthusiast
Enthusiast
Joined: Jun 2000
Posts: 190
Josh,

Okay.. is THIS hack coded to send the replies in HTML format? []http://www.emotipad.com/newemoticons/Ask.gif[/]

Jeff


Artificial Intelligence is no match for natural stupidity!
Sponsored Links
Joined: Jun 2004
Posts: 10
Newbie
Newbie
Joined: Jun 2004
Posts: 10
You can turn this function on by default by running this query instead of the one provided in the hack-mod attachment.


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

Great Hack Josh! Thank You

Joined: Oct 2004
Posts: 2
Lurker
Lurker
Offline
Joined: Oct 2004
Posts: 2
Don't suppose there's a mod for 6.5 for this..?

Joined: Jun 2002
Posts: 47
User
User
Offline
Joined: Jun 2002
Posts: 47
I followed the instructions but I get this error when I try to turn this on.

========================================================
SQL ERROR: Unable to do_query: UPDATE w3t_Users SET U_EReplies = 'Off', U_Notify = 'On', U_AdminEmails = 'On', U_EmailFormat = 'plaintext' U_EmailPostReply = '1' WHERE U_Username = 'Fred'
You have an error in your SQL syntax near 'U_EmailPostReply = '1' WHERE U_Username = 'Fred' ' at line 7
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/domain.com/httpdocs/board/mysql.inc.php:219) in /home/httpd/vhosts/domain.com/httpdocs/board/ubbt.inc.php on line 270
===============================================

Any Ideas?

Thank you

Joined: Dec 1999
Posts: 158
Enthusiast
Enthusiast
Offline
Joined: Dec 1999
Posts: 158
against all reason, I have tried this one on 6.5.1 b4

the mailing of the reply works perfectly, seems there is no update necessary on that part.
but to activate myself I had to use phpmyadmin, because changeemail.php spits out the following error message:

Script: /var/www/poisonfree/community/messageboard/changeemail.php
Line#: 82
SQL Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'U_EmailPostReply = '1' WHERE U_Username = 'flint'' at line 7
SQL Error #: 1064
Query: UPDATE w3t_Users SET U_EReplies = 'On', U_LastOn = '1105230638', U_Notify = 'On', U_AdminEmails = 'On', U_EmailFormat = 'plaintext' U_EmailPostReply = '1' WHERE U_Username = 'flint'

basically I´m already quite happy right now, cause I got what I wanted, at least for myself. Comes in handy when you have to keep track of possible replies to over 15.000 messages of yourself.

would be nice if you could update this one day, so all users can benefit from this feature, cause we even have one user closer 25.000 postings

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
>>'On', U_EmailFormat = 'plaintext' U_EmailPostReply = '1' WHERE U_Username = 'flint'

Check the query, looks like you're missing a comma in there

'On', U_EmailFormat = 'plaintext'[:"red"],[/] U_EmailPostReply = '1' WHERE U_Username = 'flint'

Sponsored Links
Joined: Aug 2006
Posts: 14
Newbie
Newbie
Offline
Joined: Aug 2006
Posts: 14

Josh,

Will this mod work for 6.5.5 ?

Also, does the user still have to mark each thread as a "favorite" for this to work ?


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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)