A user subscribed on a forum. He/She use fake e-mail, so the mailer demon works hard all day long.
How can i remove and disable
forum subscriptions?
Thanks.
From the usercp_nav_misc template, find and remove:
<tr><td class="trow1 smalltext"><a href="usercp.php?action=forumsubscriptions" class="usercp_nav_item usercp_nav_fsubscriptions">{$lang->ucp_nav_forum_subscriptions}</a></td></tr>
From the forumdisplay_threadlist template, find and remove:
| <a href="usercp2.php?action={$add_remove_subscription}subscription&type=forum&fid={$fid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a>
That's already done. ... Just the second one, so thanks for the first code.
How can i delete the forum forum subscriptions from the database?
Thank you!
Run this query:
TRUNCATE `mybb_forumsubscriptions`;