Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
How to make all posts emails to be sent to diffrerent email
Avatar
Jonathan Munoz
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2013 - 10:53 am

Currently it is being sent to my main email i want to emails when people post on the forum to go to a different email

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2013 - 11:18 am

admin notification emails go to the email address you have specified in your profile (the sp one)...

if you want to change that, you can use one of our filters, sph_admin_email_addresses, to change your particular address... if you need help using a standard wp filter, just holler...

Avatar
Jonathan Munoz
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2013 - 1:48 pm

Thank you. How do i add that filter and where?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2013 - 2:58 pm

in the spFunctions.php file of your sp theme (and be sure to make your own to keep from losing changes on updates), add this

add_filter('sph_admin_email_addresses', 'my_admin_email_filter'); function my_admin_email_filter($addresses) $addresses = str_replace('old_email_address', 'new_email_address', $addresses); return $addresses }

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: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625