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 (131 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: 325
Loc: Canada
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 
Top Posters Last 30 Days
AllenAyres 63
Gizmo 27
sirdude 24
Zarzal 12
blaaskaak 10
tackaberry 4
winter 3
Who's Online
1 Registered (AllenAyres), 35 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
iPhone 3G
by AllenAyres
07/23/08 09:59 PM
[7.x] [Beta] Purge Welcome Messages
by Gizmo
07/23/08 06:58 PM
Team UBBDev Rides Again!
by AllenAyres
07/23/08 03:23 PM
User Authentication Class
by Gizmo
07/21/08 07:07 PM
Auto repair table
by blaaskaak
07/19/08 06:16 PM
[7.3.x] ubb.links
by AllenAyres
07/18/08 05:09 PM
ubb.social
by willing
07/17/08 06:29 PM
New Mods
[7.3+] CustomTag - Photobucket Slideshow
by Gizmo
07/12/08 11:14 AM
[7.3.x] Copy forum permissions
by blaaskaak
07/09/08 02:37 PM
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
Newest Members
nixadmin, Stanley, NazzaN, mmem700, Tyler
13310 Registered Users

 

 

 
fusionbb message board php hacks