Search Results for 'code'
-
Search Results
-
There is an infite loop on reply update caused by buddypress activity from bbpress if bbp_thread_replies() is false.
activity tries to get reply position, in this call position is updated for the reply but we are still in edit_post action so wp_update_post is called recursively until server gives up.
stacktrace:
var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/replies/functions.php(2143): wp_update_post(Array) #2 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/replies/template.php(1757): bbp_update_reply_position(508812, 1) #3 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/replies/template.php(487): bbp_get_reply_position(508812, 508811) #4 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/extend/buddypress/activity.php(552): bbp_get_reply_url(508812) #5 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/extend/buddypress/activity.php(642): BBP_BuddyPress_Activity->reply_create(508812, 508811, 495076, Array, 47710) #6 /var/www/clients/client1/web17/web/wp-includes/class-wp-hook.php(298): BBP_BuddyPress_Activity->reply_update(508812, Object(WP_Post)) #7 /var/www/clients/client1/web17/web/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #8 /var/www/clients/client1/web17/web/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #9 /var/www/clients/client1/web17/web/wp-includes/post.php(3480): do_action('edit_post', 508812, Object(WP_Post)) #10 /var/www/clients/client1/web17/web/wp-includes/post.php(3591): wp_insert_post(Array, false) #11 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/replies/functions.php(2143): wp_update_post(Array) #12 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/replies/template.php(1757): bbp_update_reply_position(508812, 1) #13 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/replies/template.php(487): bbp_get_reply_position(508812, 508811) #14 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/extend/buddypress/activity.php(552): bbp_get_reply_url(508812) #15 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/extend/buddypress/activity.php(642): BBP_BuddyPress_Activity->reply_create(508812, 508811, 495076, Array, 47710) #16 /var/www/clients/client1/web17/web/wp-includes/class-wp-hook.php(298): BBP_BuddyPress_Activity->reply_update(508812, Object(WP_Post)) #17 /var/www/clients/client1/web17/web/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #18 /var/www/clients/client1/web17/web/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #19 /var/www/clients/client1/web17/web/wp-includes/post.php(3480): do_action('edit_post', 508812, Object(WP_Post)) #20 /var/www/clients/client1/web17/web/wp-includes/post.php(3591): wp_insert_post(Array, false) #21 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/replies/functions.php(2143): wp_update_post(Array) #22 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/replies/template.php(1757): bbp_update_reply_position(508812, 1) #23 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/replies/template.php(487): bbp_get_reply_position(508812, 508811) #24 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/extend/buddypress/activity.php(552): bbp_get_reply_url(508812) #25 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/extend/buddypress/activity.php(642): BBP_BuddyPress_Activity->reply_create(508812, 508811, 495076, Array, 47710) #26 /var/www/clients/client1/web17/web/wp-includes/class-wp-hook.php(298): BBP_BuddyPress_Activity->reply_update(508812, Object(WP_Post)) #27 /var/www/clients/client1/web17/web/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #28 /var/www/clients/client1/web17/web/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #29 /var/www/clients/client1/web17/web/wp-includes/post.php(3480): do_action('edit_post', 508812, Object(WP_Post)) #30 /var/www/clients/client1/web17/web/wp-content/plugins/bbpress/includes/replies/functions.php(45): wp_insert_post(Array) #31 /var/www/clients/client1/web17/web/wp-content/themes/mikmag-child/lib/core/MundrImportForums.php(663): bbp_insert_reply(Array, Array) #32 /var/www/clients/client1/web17/web/wp-includes/class-wp-hook.php(298): lib\core\MundrImportForums->post_import_forums_threads('') #33 /var/www/clients/client1/web17/web/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #34 /var/www/clients/client1/web17/web/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #35 /var/www/clients/client1/web17/web/wp-admin/admin-ajax.php(91): do_action('wp_ajax_post_im...')Hello Team bbpress
I am using the plugin bbpress. I want to customise that view of forum similar to http://www.veggieboards.com/forum/index.php this link.
I have created the child theme and add the css folder and archive-forums.php file in the child theme. I am not able to customise plugin using css only because I want to change the structure. If I change plugin core file then future update overwrite my code and when I am place the complete plugin in child then its stop working and page become blank.
Please give me the solution I am waiting your solutions.
My bbpress plugin Version: 2.5.14
Wordpress Version: 4.8.2
Thanks
Topic: Where to edit Blockquote?
Does anyone know where I can edit or find the source code to edit the layout of the blockquote? I would like to add a little image on the side of the blockquote. Does anyone know where I can find the code to achieve this please? Thanks in advance
Hi there!
I’m importing forums from Rainmaker into WordPress 4.8.2 and BBPress 2.5.14. On first glance, it looks like all has done well; a quick glance at a sample Forum, for example, tells me:
“This forum contains 74 topics and 698 replies.”
However, my Topics and Replies are not being “found” when a Forum is clicked on:
“Oh bother! No topics were found here!”
This appears to be because the
post_parentinwp_postsfor all these Topics and Replies is set to “0” in the database. And what’s worse, the “Repair” tools like “Recalculate the parent topic for each post” or “Recalculate the parent forum for each post” do not fix the problem;post_parentremains at value 0.The only way I have found to populate a Topic with the correct
post_parentvalue is to open that topic in the Editor and click Publish. But since I have hundreds of Topics and thousands of Replies, manually saving all these Posts is hardly a workable solution.Does anyone know of a better way to solve this problem that doesn’t involve nearly infinite man-hours of drudgery and toil?
Thanks in advance for any help you might be able to give. Long live BBPress!
Hello,
I have had to add a space after the https:// to avoid the screen appearing
If you look at Peter Recks’ posts here:
https:// http://www.karavadra.net/forums/topic/header-image-formatting/There are quotes with text ‘Reconsidering Study, Qualifications & Experience’ with a link to here:
1) https:// http://www.karavadra.net/reconsidering-study-qualifications-experience/However, Peter has only put in a link in his post which is not to the link 1 above but to here:
2) https:// romancecalling.xyz/?page_id=35When I look at the link in admin it appears correctly as link 2
Why is the link being changed from the 2nd to the 1st on the user side and the title of the page being added?
And more importantly how do I get it to appear as it as posted, namely link 2.
Note: no a hrefs or any other shortcodes for links are being used — only the URLs 1 and 2.
Thank you,
Bharat
Hi, I’ve set up the lost password page with shortcode [bbp-lost-pass] but when users click on ‘forgot password’ and fill in the form they aren’t receiving an email with link to create new password.
Using BBPress Version 2.5.14 and BBP Private Groups Version 3.5.9. Using WordPress 4.8.1. The website is private so I can’t share.
Thanks in advance.
JHi there,
I’m writing because I have trouble to understand how templates are managed in BBPress (and wordpress I guess :)).
I’d like to have a specific template on the main forum page (the one displaying the different forums). And another template for the page displaying the different topics.Currently in the wordpress page where I pasted the short code [bbp-forum-index], I call the template bbpress.php, which is presented in the bbpress codex (See example at the end of the topic).
But how can I create a specific template for my forum index (listing all my forums), for instance “forum-display.php”. And another template, listing my topics (for instance “topic-display.php”).
Maybe my file bbpress.php is not appropriate to do so ? or need to be customized a bit ?
NB : I’m using twenty twelve theme
I hope my question is clear,
Thank you for your help,
Pierre<?php /* Template Name: index-forum */ get_header(); ?> <div id="primary" class="site-content"> <div id="content-forum" role="main"> <?php /* Start the Loop */ while ( have_posts() ) : the_post(); ?> <?php /* This is the start of the page and also the insertion of the post classes. Post classes are very handy to style your forums. */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php /* This is the title wrapped in a header tag and a class to better style the title for your theme */ ?> <header class="entry-header"> <h1 class="entry-title"><?php the_title(); ?></h1> </header> <?php /* This is the content wrapped in a div and class to better style the content */ ?> <div class="entry-content"> <?php the_content(); ?> </div> <!-- .entry-content --> </article> <!-- #post --> <?php endwhile; // end of the loop. ?> </div> <!-- #content --> <div class="login-sidebar"><?php dynamic_sidebar('forum_login_zone');?></div> </div> <!-- #primary --> <?php /* This is code to display the sidebar and the footer. Remove the sidebar code to get full-width forums. This would also need CSS to make it actually full width. */ ?> <?php get_footer(); ?>
