Stefano
Forum Replies Created
-
Forum: Plugins
In reply to: [bbPress - Anonymous Subscriptions] Change content of emailNo,
10
and3
are priority and number of arguments the callback will receive, as my example callback shows$message, $reply_id, $topic_id
. I’d recommend looking at the source for the plugin to see how to handle reply and topic ids.Forum: Plugins
In reply to: [bbPress - Anonymous Subscriptions] Change content of emailNot tested, but something like this should work
add_filter( 'bbp_subscription_mail_message', 'custom_subscription_message', 10, 3 );
function custom_subscription_message($message, $reply_id, $topic_id) {
$message = "your message";
return $message;
}If you need to use dynamic pieces (author name, topic title, etc), see how it’s currently done in the plugin’s code https://github.com/TheCrowned/bbPress—Anonymous-Subscriptions/blob/master/bbp-anonymous-subscriptions.php#L193
Forum: Plugins
In reply to: [bbPress - Anonymous Subscriptions] Change content of emailHi Toengel,
with the filter
bbp_subscription_mail_message
you can tweak the message content as you wish.Forum: Reviews
In reply to: [Rel Nofollow] Corrupts the codeI’m quite sure the issue you are experiencing is unrelated to this plugin, but we can’t tell for sure without proper debug information.
Forum: Reviews
In reply to: [Rel Nofollow] Corrupts the codeIt would be helpful to know what the html looks like before and after the plugin’s intervention.
Forum: Reviews
In reply to: [Rel Nofollow] Corrupts the codeCan you clarify in what way the HTML is corrupted? This plugin affects links, not buttons.
Forum: Plugins
In reply to: [Post Pay Counter] Most recent update brakes image editorThanks, I’m having a look. Are there any errors in your server log?
Forum: Plugins
In reply to: [Post Pay Counter] flag as unsafeHopefully newly-released version 2.790 addresses the issue. Can you confirm?
Forum: Plugins
In reply to: [Post Pay Counter] flag as unsafeUpon closer inspection I can say that the issue was fixed 2 months ago with the latest release 2.784 (2023-12-06). I’ll get in touch with the security platform to have them acknowledge this.
Forum: Plugins
In reply to: [Post Pay Counter] flag as unsafeThere would be if the discoverer had bothered getting in touch with me. I’ll patch it asap.
Thanks for the feedback, I’ve addressed that as well. I will release this as a public update at some point, but feel free to go ahead and take the latest commit from the repo already! ??
I’ve just pushed further changes, please give it another try
https://github.com/TheCrowned/bbPress—Anonymous-Subscriptions
- This reply was modified 10 months, 1 week ago by Stefano.
I have not had time to look again into this, will let you know when there’s further updates.
The look of it shouldn’t be a problem, as the email is decoded back when it’s read, unless there’s some other bug somewhere. Does the link not work to unsubscribe?
Ah, the emails should be urlencoded. I’ve fixed that but not yet released it as a public update — is it possible for you to test if it works as expected for you? The updated version is here https://github.com/TheCrowned/bbPress—Anonymous-Subscriptions