Buddypress integration
-
Hi
Is there anyway that I can use CleanPrint in Buddypress so that a user may be able to print his/her profile?
-
Not being familiar with BuddyPress are you having problems using CleanPrint with it?
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
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.
Did you try using our own shortcode or just your own?
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();
}Our add_shortcode no longer needs to be defined in the functions.php file. Try removing it and re-testing your CleanPrint/shortcode buttons
Removed it but the problem persists in exactly the same manner.
What other shortcodes work in members-loop?
i have tried [gallery] and this works.
Are there any shortcodes that are part of installed plugins (as opposed to WP built-ins)?
contact for 7 works just fine
echo do_shortcode( ‘[contact-form-7 id=”161″ title=”Contact form 1″]’ );*typo: its contact form 7
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.
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.
Tried the test version of the plugin.
Problem persists.
The topic ‘Buddypress integration’ is closed to new replies.