Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12350
Latest: cl4ude327
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 40052
Total Topics: 7052
Most Online Today: 100
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 20
Total: 20

Author Topic: User Email hack question  (Read 8847 times)

0 Members and 1 Guest are viewing this topic.

Offline chefe

  • Newbie
  • *
  • Posts: 2
    • View Profile
User Email hack question
« on: November 02, 2007, 10:06:47 pm »
Hi,
I've installed User Email 1.2 on my SMF 1.1.4, everything works fine - thank you for the hack.
There's one thing I'd like to change:
When a user sends an email using the form, the average recipient will tend to reply to that email, so the Admin will receive the reply instead of the sender.
It would be good if the sender was required to input an email address when filling out the form for replies to be sent to.
How could I do this?
Thanks for your help
 

Offline chefe

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: User Email hack question
« Reply #1 on: November 05, 2007, 03:42:48 pm »
I think I was just lucky here  ;D
Here's what I managed after some trial and error - it seems to work:

in User_Email.php, find:
Code: [Select]
$m .=  strip_tags($message);
replace with:
Code: [Select]
$m .=  strip_tags($message). "\n";
$m .= $txt['user_email_answerto'] . $sec_email . "\n";

In Modifications.english.php, add:
Code: [Select]
$txt['user_email_answerto'] = 'To reply to this message please write to: ';
This is a partial solution to my problem, because if someone just hits reply it's still the admin that receives the email.

Offline treasurenet

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: User Email hack question
« Reply #2 on: December 16, 2007, 05:30:06 am »
I agree, I would also REALLY like the reply-to, be the sender of the message!!!!
Using SMF 1.1.10, Gallery Pro 2.5

Offline treasurenet

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: User Email hack question
« Reply #3 on: December 22, 2007, 07:40:32 pm »
no luck adding the sender to the reply to field?   :-\
Using SMF 1.1.10, Gallery Pro 2.5

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15031
    • View Profile
Re: User Email hack question
« Reply #4 on: December 22, 2007, 10:52:23 pm »
Add it to the mod tracker it will go on my list of mod updates to do at a later date
http://www.smfhacks.com/index.php?action=modtracker
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline treasurenet

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: User Email hack question
« Reply #5 on: December 23, 2007, 08:46:40 am »
uh oh, I did that - then noticed I was basically saying what someone else said back in September.   :P

When I tried to edit my entry, I just got the tiny portal stuff, and nothing else, no way to edit or delete it!
Using SMF 1.1.10, Gallery Pro 2.5

Offline jchopick

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: User Email hack question
« Reply #6 on: February 04, 2008, 05:31:30 pm »
Hello,

 Has anyone come up with a solution for this major issue? When user hit reply I get the email not the person it was intended for.  Help!!!



JEFF

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15031
    • View Profile
Re: User Email hack question
« Reply #7 on: February 04, 2008, 09:07:14 pm »
Hello,

 Has anyone come up with a solution for this major issue? When user hit reply I get the email not the person it was intended for.  Help!!!



JEFF
Just released an update to fix this issue
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline jchopick

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: User Email hack question
« Reply #8 on: March 21, 2008, 12:37:18 pm »
Hello,

    Today I uninstalled version 1.2 and installed 1.3, but I do not get the field for Your Email Still...Help





Jeff

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15031
    • View Profile
Re: User Email hack question
« Reply #9 on: March 21, 2008, 06:45:11 pm »
A field was not added it just changes were the email is sent from using the user's email address.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline jchopick

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: User Email hack question
« Reply #10 on: March 25, 2008, 11:18:25 am »
Hello,

     After removing and reinstalling updated files it is now working as it should. Thanks for creating the Fix. Jeff

 

Related Topics

  Subject / Started by Replies Last post
12 Replies
22611 Views
Last post November 17, 2007, 06:20:52 pm
by SMFHacks
2 Replies
8650 Views
Last post July 19, 2006, 04:18:38 pm
by Green CoW
3 Replies
9719 Views
Last post July 29, 2007, 03:22:43 pm
by naturalwoman
0 Replies
2216 Views
Last post December 08, 2007, 05:30:38 pm
by jchopick
2 Replies
3931 Views
Last post April 05, 2008, 09:10:49 pm
by Cebby

+- Recent Topics

Cannot install Gallery Pro on SMF 2.1 RC2 by SMFHacks
Today at 09:29:36 am

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

[Mod]Stack Trace by live627 by SMFHacks
February 15, 2020, 07:21:33 pm

Stripe Integration by SMFHacks
February 08, 2020, 10:55:29 pm

SMF Store 4.0 Released by SMFHacks
January 26, 2020, 12:11:56 pm

Order of photos by D4611001
January 21, 2020, 12:06:36 pm

Cannot install by SMFHacks
January 18, 2020, 09:40:56 pm

Call to undefined function mysql_query() by SMFHacks
January 18, 2020, 02:06:47 pm

English British Translation file by HAL9000
January 17, 2020, 05:44:28 pm

Powered by EzPortal