Support » Plugins » [Subscribe to Comments plugin] How to add a Link to the Subscription Manager

  • Resolved Marventus


    Hello, everyone.
    I have a question about this plugin (running version 2.1.2) that I’m using in this blog.
    For those of you who are not familiar with this plugin, it allows users to individually subscribe to comments on posts, and to also “Manage” their subscriptions through a tool called “Subscription Manager.”

    Normally, the link to the Subscription Manager is displayed in the Comments section, and only if the user is subscribed to comments on a particular post (if he is not subscribed, a check box is displayed instead so he can “subscribe to follow-up comments via e-mail.”

    What I would like to do is add a link to the Subscription Manager somewhere else more visible on my site (only the link, not the check box part). I looked at the main plugin php file (subscribe-to-comments.php), and the link is generated through a php function called “manage_link” and a replacement command that replaces all instances of [manager_link] with the actual link to the Manager, and it takes into account whether the user has admin rights or is a Subscriber.
    The replacement function only works within the scope of the plugin files (probably because it is not registered globally), so the following html code:
    <a href="[manager_link]">Manage subscriptions</a>
    does not work.

    If anyone knows how to accomplish this, please let me know.

    Thanks a lot!

  • The topic ‘[Subscribe to Comments plugin] How to add a Link to the Subscription Manager’ is closed to new replies.