Support » Plugin: Subscribe To Comments Reloaded » Show Managment Page under bbpress profile

  • Resolved paulodamian


    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.

Viewing 1 replies (of 1 total)
  • 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;
Viewing 1 replies (of 1 total)
  • The topic ‘Show Managment Page under bbpress profile’ is closed to new replies.