Subscribe To Comments Reloaded
[resolved] Show Managment Page under bbpress profile (2 posts)

  1. paulodamian
    Posted 2 years ago #

    Hi there, the plugin is working great so far.

    The issue I have is that I can not show the managment page under the bbpress profile page.

    What I have tried:

    <?php echo do_shortcode('[subscribe-url]') ?>
    Result: [subscribe-url] is printed on the page.

    if (isset($wp_subscribe_reloaded)){ global $posts; $posts = $wp_subscribe_reloaded->subscribe_reloaded_manage(); }

    Result: Nothing, $wp_subscribe_reloaded is not set at this point.

    I am a PHP programmer but this are my first steps with wordpress.
    I think that the second option is the correct one but I don't know why
    $wp_subscribe_reloaded is not set at that point.
    P.S: I have tried with the Virtual Management Page disabled and enabled option in the plugin options, same result.

    Any help will be much appreciated.


  2. paulodamian
    Posted 2 years ago #

    Ok, I solved my problem.

    Among other things specifics to my environment this is the code that I used to put the manage subscriptions options in a custom place:

    global $wp_subscribe_reloaded;
    if (isset($wp_subscribe_reloaded) && get_class($wp_subscribe_reloaded) == 'wp_subscribe_reloaded'){
        global $posts;
        $posts = $wp_subscribe_reloaded->subscribe_reloaded_manage();
        echo '<h2 class="entry-title">' . $posts[0]->post_title . '</h2>';
        echo $posts[0]->post_content;

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Subscribe To Comments Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic