Search Results for 'code'
-
Search Results
-
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(); ?>Hi guys,
More than two years ago I posted the following bug report:
A ticket was opened for this bug here:
https://bbpress.trac.wordpress.org/ticket/2864The issue was marked as fixed and the bug closed; however, the bug is not actually fixed and is still present in the most recent release.
Here are the original details:
Context:
On the “Edit Topic” screen, there’s an “Author Information” box including an ID field. When you begin to type text into this box, the admin-ajax action “bbp_suggest_user” should auto-suggest potentially matching users.
Issue:
The user autosuggest is not returning any users, just “-1”. Having dug into the code, the step that’s failing is wp_verify_nonce() in check_ajax_referrer(), which is invoked on line 745 of bbPress file includes/admin/admin.php. The nonce is making it into wp_verify_nonce, but is not matching any expected/acceptable value – so wp_verify_nonce falls out the bottom with a failure.If I remove the check_ajax_referrer step, the Edit Topic user auto-suggestion works perfectly so it’s definitely the nonce validation step that’s the problem.
Current context in which I’m still seeing the bug is WP 4.8.1 Multisite, bbPress 2.5.14, PHP 7.0.22. (I’ve been seeing the bug for over 2 years though, including with PHP 5.x).
Would be really grateful if this bug could be fixed in the next release, because I’m having to manually patch every release at the moment (I have a user whose job relies on this function working properly.)
Thanks!
We have encountered a bug whereby when multiple forums are placed on a page, using the [bbp-single-forum id=##] shortcode, the HTML buttons do not appear for all but the 1st forum. The class=”quicktags-toolbar” div still appears in the source code, but it is empty (the HTML input buttons do not appear within the source HTML).
This issue has been confirmed on multiple installs, with all plugins disabled and using the default WP theme.
Here is a screenshot example: https://imgur.com/rqPiXa6