php forum
php mysql forum
php mysql smarty
 
Topic Options
#266565 - 01/11/04 03:00 AM Beta-[6.4] Email Original Poster Replies 2.0
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Mod Name / Version: Email Original Poster Replies 2.0 <br /><br />Description: This will allow a user to enable an option in their email pref <br /><br />Working Under: UBB.Threads 6.4 <br /><br />Mod Status: Beta <br /><br />Any pre-requisites: none <br /><br />Author(s): JoshPet <br /><br />Date: 01/11/04 <br /><br />Credits: Smitdogg for commissioning orig mod - ScottCargille for requesting update <br /><br />Files Altered: editemail.php, changeemail.php, editemail.tmpl, addpost.php <br /><br />New Files: none <br /><br />Database Altered: none <br /><br />Info/Instructions: Will not email the user their own replies to ther posts, only replies from other users. <br /><br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /><br />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 (151 downloads)


Top
#266566 - 01/11/04 09:57 AM Re: Beta-[6.4] Email Original Poster Replies 2.0 [Re: Daine]
ScottCargill Offline
Journeyman

Registered: 02/01/01
Posts: 144
Loc: Bakersfield, Ca.
Thanks Josh! <img src="http://www.ubbdev.com/forum/images/graemlins/bow.gif" alt="" /> You ARE the MAN!
_________________________
Scott Cargill -WebMaster
East Hills Kung Fu San Soo

Top
#266567 - 01/12/04 04:41 AM Re: Beta-[6.4] Email Original Poster Replies 2.0 [Re: DRYCARPET1]
salim Offline
Member

Registered: 02/08/03
Posts: 200
Loc: Muscat, Oman
does this work for 6.3?
_________________________
This is where it all takes place!
[]http://www.omanforum.com/threads/uploads/3408-signeo.JPG[/]

Top
#266568 - 01/12/04 10:58 AM Re: Beta-[6.4] Email Original Poster Replies 2.0 [Re: me_oh_my]
slayer60 Offline
Junior Member

Registered: 06/14/03
Posts: 1185
Loc: New Boston, NH
This version is what you would need for 6.3.

Top
#266569 - 01/14/04 06:41 PM Re: Beta-[6.4] Email Original Poster Replies 2.0 [Re: Daine]
Pilgrim Offline
Enthusiast

Registered: 06/17/00
Posts: 326
Loc: NH, USA
Josh,<br /><br />Okay.. is THIS hack coded to send the replies in HTML format? []http://www.emotipad.com/newemoticons/Ask.gif[/]<br /><br />Jeff

Top
#266570 - 07/25/04 06:22 PM Re: Beta-[6.4] Email Original Poster Replies 2.0 [Re: Daine]
Menemeth Offline
Newbie

Registered: 06/24/04
Posts: 10
You can turn this function on by default by running this query instead of the one provided in the hack-mod attachment. <br /> <br /> <br />ALTER TABLE w3t_Users <br />ADD U_EmailPostReply TINYINT( 1 ) DEFAULT '1' NOT NULL ; <br /> <br />Great Hack Josh! Thank You

Top
#266571 - 01/04/05 04:23 PM Re: Beta-[6.4] Email Original Poster Replies 2.0 [Re: deathshadow]
paul_lomax Offline
Lurker

Registered: 10/25/04
Posts: 2
Don't suppose there's a mod for 6.5 for this..?

Top
#266572 - 01/04/05 08:11 PM Re: Beta-[6.4] Email Original Poster Replies 2.0 [Re: Daine]
UnixSpot Offline
User

Registered: 06/18/02
Posts: 47
I followed the instructions but I get this error when I try to turn this on.<br /><br />========================================================<br />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' <br />You have an error in your SQL syntax near 'U_EmailPostReply = '1' WHERE U_Username = 'Fred' ' at line 7<br />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<br />===============================================<br /><br />Any Ideas?<br /><br />Thank you

Top
#266573 - 01/08/05 07:11 PM Re: Beta-[6.4] Email Original Poster Replies 2.0 [Re: Daine]
flint Offline
Enthusiast

Registered: 12/03/99
Posts: 304
Loc: germany
against all reason, I have tried this one on 6.5.1 b4 <img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" /><br /><br />the mailing of the reply works perfectly, seems there is no update necessary on that part.<br />but to activate myself I had to use phpmyadmin, because changeemail.php spits out the following error message:<br /><br />Script: /var/www/poisonfree/community/messageboard/changeemail.php<br />Line#: 82<br />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<br />SQL Error #: 1064<br />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' <br /><br />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.<br /><br />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 <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />
_________________________
Flint Stelter
http://www.ddas.de

Top
#266574 - 01/11/05 12:20 AM Re: Beta-[6.4] Email Original Poster Replies 2.0 [Re: Saxeus]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
>>'On', U_EmailFormat = 'plaintext' U_EmailPostReply = '1' WHERE U_Username = 'flint' <br /><br />Check the query, looks like you're missing a comma in there<br /><br />'On', U_EmailFormat = 'plaintext'[:"red"],[/] U_EmailPostReply = '1' WHERE U_Username = 'flint'
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#311281 - 08/14/06 10:31 AM Re: Beta-[6.4] Email Original Poster Replies 2.0 [Re: JoshPet]
Luka2 Offline
Newbie

Registered: 08/09/06
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 ?

Top


Moderator:  Ian_W 
Who's Online
1 registered (Gizmo), 17 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Today at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
Yesterday at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks