News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

SMF User Email System

Started by SMFHacks.com Team, July 01, 2006, 04:28:21 PM

Previous topic - Next topic

goitalone

#100
Nice mod but too small of a typing area ..and too bad it doesn't can't have bbc style options to change fonts bold etc.

Edit: Ahh, I found where to make the box bigger to type...nice!

texasflats

Installed and works flawlessly, very much appreciated! Thanks!

SactoEric

#102
I have the latest version (1.1.3) and forgot about the problem of the admin email address being used as the reply to address... I received an email from a member and, not thinking, replied - to myself!

Is there any way to fix this? It's beyond annoying to to have to find the member, get their address, copy the subject and content of the original email to a new one and send when I should just be able to click Reply.

Otherwise, great mod & like others have said, it should be standard in SMF like other forum scripts (once this problem gets fixed).

*edited to add that it looks like 2.0 Alpha has it...


SactoEric

Scroll down...

QuotePowered by SMF 2.0 Alpha | SMF © 2006–2007, Simple Machines LLC
XHTML | CSS | XML

goitalone

Yeah, sorry, I just saw that after I asked lol...I was just now readong about it all...this a long ways off though. I can't wait to see the improvments...especially the new email features!

santanu

i am using this mod but it does not hide the email address of the members in the posts. How to do that.

vbgamer45

You would need to edit display.template.php by default only works on default theme.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

carbonize

#108
I was annoyed at this sending emails from the forums email address but thats because SMF's email sending is not that flexible. It always sends from the forums email address and there is nothing you can really do without changing their sendmail function. Here are my changes I have done to inform users of where to reply to and to provide a profile link.

Open User_Email.php and find

global $context, $mbname, $webmaster_email, $ID_MEMBER, $txt, $db_prefix,$sourcedir,$user_info;

Change it to

global $context, $mbname, $webmaster_email, $ID_MEMBER, $txt, $db_prefix,$sourcedir,$user_info, $scripturl;

next find

mysql_free_result($request2);

replace with

$profilemsg = " or you can view their profile at $scripturl?action=profile;u=$ID_MEMBER\n";
mysql_free_result($request2);


then replace

$sec_name ='Guest';

replace with

$sec_name ='Guest';
$profilemsg = '';


finally replace

The following is an email sent to you by $sec_name via your account on $mbname. If this message is spam, contains abusive or other comments you find offensive please contact the webmaster of the board at the following address at $webmaster_email

with

The following is an email sent to you by $sec_name ( $sec_email ) via your account on $mbname. Please do not reply to this email as it was sent via the forum, instead use the email address provided earlier$profilemsg.
If this message is spam, contains abusive or other comments you find offensive please contact the webmaster of the board at the following address at $webmaster_email
C a r b o n i z e

vbgamer45

Version 1.2 released
+Moved text strings to language file
+Added CAPTCHA support for SMF 1.1.x
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dirk67

Quote from: vbgamer45 on June 14, 2007, 10:45:45 PM
Version 1.2 released
+Moved text strings to language file
+Added CAPTCHA support for SMF 1.1.x

very nice to hear !  :D
SMF User Email System is a "must have" MOD.

...should be a standard as a matter of course
do you know if a Mod is still needed in SMF 2.0,
or is it "built in"  ?
Board-Info Server-Info
using: SMF 1.1.3 PHP Version: 4.4.1
charset = UTF-8 MySQL Version: 4.1.22-debug-log
Mods: - User Email System Server Version: Apache/1.3 (Unix) mod_ssl
        - AVV by HarzeM GD Version: bundled (2.0.28 compatible)


web is what we make it .

diplomat.

avidSOUND.com: Where Aspiring Musicians Can Be HEARD!

SactoEric

doh! I thought I made the changes previously, but obviously didn't upload them as I received another email and caught me replying to myself again...

Here's what I changed the last part of the code to:

$m ="Hello $rec,

The following is an email sent to you by $sec_name ( $sec_email ) via your account on $mbname. Please do not reply to this email as it was sent via the forum, instead use the email address provided earlier or visit the sender's profile via the link below.

The message sent to you follows:\n--------------------------------------------------\n\n";
$m .=  strip_tags($message);
$m .= "\n\n--------------------------------------------------\n";
$m .= $sec_name . "'s profile: " . $scripturl . "?action=profile;u=" . $ID_MEMBER;
$m .= "\n\nIf this message is spam, contains abusive or other comments you find offensive please contact the webmaster of the board at the following address at $webmaster_email\n";
//For send mail function


I didn't like the idea of members unknowingly exposing their email addresses, so I added a disclaimer right above the "Send e-mail" button to the User_Email.template.php file in the Themes directory...

Quote* Please note that your email address will be exposed to the recipient

shadow82x

VB gamer I now get a problem! The user email works fine but in users profile it displays the actual email
Colin B
Former Spammer, Customize, & Support Team Member

vbgamer45

Quote from: shadow82x on July 08, 2007, 11:10:08 PM
VB gamer I now get a problem! The user email works fine but in users profile it displays the actual email
IPB fan xD j/k heh Custom themes will need to be modified if you are using them.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

shadow82x

But this is on the core! What does ipb have to do anything (shadow hates ipb so much!)
Colin B
Former Spammer, Customize, & Support Team Member

shadow82x

Actually I got it to work. I forgot admin were able to see hidden email.  :o
Colin B
Former Spammer, Customize, & Support Team Member

naturalwoman

my email form is blank. doesn't have any text fields like what people are supposed to be typign in, how do i change that

Quote from: vbgamer45 on July 01, 2006, 07:37:15 PM
Some Screenshots






naturalwoman

#118
my email form is blank. no text fields and no one can send email to each other but me. i'm sure it's a permission issues, but i checked everything.

oh my message is down here, sorry.  see picture below. do i have to type in text fields

TrueSatan

Have you gone to ACP>Members>Permissions and modified the relevant groups so as to allow

Send User Email
Read personal messages     
Send personal messages

As regsrds your message image...yes you have to type in a subject, a message and the Visual Verification.


Advertisement: