Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
INSTALLATION POST BY EMAIL PLUGIN
Avatar
Riccardo
Member
Free Members
sp_UserOfflineSmall Offline
Sep 3, 2013 - 11:02 am

ok.. this filter should replace that line.. I've read http://codex.wordpress.org/Plugin_API but I've not understood where I have to add the code you have written in the previous message. thanks Mr Papa for your help.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 3, 2013 - 11:16 am

you add the code I gave you, with your modification/completion, to your spFunctions.php file in your sp theme...

Avatar
Riccardo
Member
Free Members
sp_UserOfflineSmall Offline
Sep 3, 2013 - 11:24 am

Perfect..The line I have to replace should be that in English. is it correct? or can I replace that translated in my language ??????

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 3, 2013 - 12:16 pm

if that string is translated, it should be what it is in the translated language - not English...

Avatar
Riccardo
Member
Free Members
sp_UserOfflineSmall Offline
Sep 3, 2013 - 12:42 pm

It works!:) Thank you so much. 

You posted me this code :

add_filter('sph_subscriptions_notification', 'my_subs_email_filter');
function my_subs_email_filter($msg) {
    $msg = str_replace('your string', '', $msg);
    return $msg;
}

I've added this, but if I want to replace the line I wanted to delete with another, where do I have to add it ?? In which part of the code you suggested me ???  Thank you for your help :) 
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 3, 2013 - 1:16 pm

in the same str_replace line... you will see the 2nd argument is ''... just change it to 'my new string'...

Avatar
Riccardo
Member
Free Members
sp_UserOfflineSmall Offline
Sep 3, 2013 - 6:42 pm

It works :) Thank you very much :) This problem has been solved.. The other was that all messages users receive from the forum  have has sender "Wordpress" and not the name of my website. I' am reffering also to messages that inform users of a new PM or new posts. If I receive an email from this forum the sender is simple:press support and not wordpress.. what could I do ??? Thank you for your help :)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 3, 2013 - 9:23 pm

that is how wp send emails...  there are smtp plugins out there that let you set who you want the emails to be from... for sp emails, you can go to forum - options - email settings and configure it too..   but that wont affect normal wp emails like registration...  they will still use the wp default stuff...

Avatar
Riccardo
Member
Free Members
sp_UserOfflineSmall Offline
Sep 5, 2013 - 11:25 am

ok. Thank you very much :)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 5, 2013 - 7:38 pm

np. glad to help.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625