Support Forum
Yellow Swordfish said
Well now you are going off in a different direction to your original request (having an option to send out emails or not for subscribed topics). It was just a suggestion on my part that might have helped with your original request.An alternative wold be the 'watch' plugin - which are really a form of bookmarks. More or less the same as subscriptions but without the emails. But no - there is no watch whole forum option so I guess that wont do either.
So - going back to the original question then sorry - but no.
Then can I put a copy of the subscribe plugin in another folder, renaming it and remove all the mail functions in it? Could it work? Do I need to change anything else to not conflict with the original unmodified version?
Thanks for your answer
you would have to change all the function names and global stuff... and the name of the plugin and files... lest you get duplicate definition problems.. so no...
if what you really want is subscriptions but no emails, that is, as Andy said, really just the watches plugin... alas, you cannot watch a forum, just a topic...
so depending on how much you wanted to remove the email part from subscriptions, you could just use a hook to prevent emails from getting sent... something like:
add_filter('sph_subscriptions_combined_list', 'my_subs_remove_email');
function my_subs_remove_email($users) {
return '';
}
so no emails will get sent...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
you would have to change all the function names and global stuff... and the name of the plugin and files... lest you get duplicate definition problems.. so no...if what you really want is subscriptions but no emails, that is, as Andy said, really just the watches plugin... alas, you cannot watch a forum, just a topic...
so depending on how much you wanted to remove the email part from subscriptions, you could just use a hook to prevent emails from getting sent... something like:
add_filter('sph_subscriptions_combined_list', 'my_subs_remove_email');
function my_subs_remove_email($users) {
return '';
}so no emails will get sent...
Yes, I'm willing to sacrifice the email sending completely until i rewrite the subs plugin. So this seems the solution to my problem for now. Where do I have to insert that filter exactly?
Thanks
The file spFunctions.php in the /templates folder if your SP theme is really intended fro those custom code snippets.
As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)
YELLOW
SWORDFISH
|
1 Guest(s)