Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author johncadams

    (@johncadams)

    Not being familiar with BuddyPress are you having problems using CleanPrint with it?

    Thread Starter navinachettri

    (@navinachettri)

    Hi John
    CleanPrint works just fine in cases of using it with pages, post, etc. But the profile webpage is not a page,post… as such in BuddyPress. So I cannot get the CleanPrint buttons to get displayed in the profile page via the settings of the plugin.

    So I created a shortcode for this in my functions.php as per info on web and tried to call this shortcode in the members-loop.php template file for the Profile.

    The shortcode works fine if called in pages, posts, etc. But it does not work in members-loop.php template

    Thread Starter navinachettri

    (@navinachettri)

    Hi John

    Additional info: calling other shortcodes in my members-loop.php template file works just fine but only seems not to work for CleanPrint.

    Plugin Author johncadams

    (@johncadams)

    Did you try using our own shortcode or just your own?

    Thread Starter navinachettri

    (@navinachettri)

    Hi John

    I am a novice so I would not be able to tell you for sure but I have used:[cleanprint_print_button]

    after defining it in my functions.php this way:

    add_shortcode(‘cleanprint_print_button’, ‘get_cleanprint_print_button’);
    function get_cleanprint_print_button() {
    return cleanprint_add_print_button();
    }

    Plugin Author johncadams

    (@johncadams)

    Our add_shortcode no longer needs to be defined in the functions.php file. Try removing it and re-testing your CleanPrint/shortcode buttons

    Thread Starter navinachettri

    (@navinachettri)

    Removed it but the problem persists in exactly the same manner.

    Plugin Author johncadams

    (@johncadams)

    What other shortcodes work in members-loop?

    Thread Starter navinachettri

    (@navinachettri)

    i have tried [gallery] and this works.

    Plugin Author johncadams

    (@johncadams)

    Are there any shortcodes that are part of installed plugins (as opposed to WP built-ins)?

    Thread Starter navinachettri

    (@navinachettri)

    contact for 7 works just fine
    echo do_shortcode( ‘[contact-form-7 id=”161″ title=”Contact form 1″]’ );

    Thread Starter navinachettri

    (@navinachettri)

    *typo: its contact form 7

    Plugin Author johncadams

    (@johncadams)

    Send email to techsupport@formatdynamics.com and I’ll return a test version of the plugin. I suspect a bug in BuddyPress when calling our content filter but this will allow you to more fully test a custom workaround while I investigate further.

    Plugin Author johncadams

    (@johncadams)

    I’m quickly becoming convinced that defect lies in BuddyPress in how it interacts with other plug-ins and their filters. I’ve found another plug-in that exhibits the same problem as CleanPrint and I’ve yet to find a method to make it work properly without violated the WP/Plugin API.

    I’m still investigating but I suggest posting this problem to the BuddyPress Support forum.

    Thread Starter navinachettri

    (@navinachettri)

    Tried the test version of the plugin.

    Problem persists.

Viewing 15 replies - 1 through 15 (of 22 total)

The topic ‘Buddypress integration’ is closed to new replies.