Search Results for 'code'
-
Search Results
-
Hi, in my site I noticed a strange issue after last WordPress update. It seems to have problem with “cache”.
For example, if I log-in through the Home Page, after click in sign-in, the page refresh but it seems that the log-in didn’t work. If I press F5 to refresh the page, here I can now see the log-in effectuated.
I thought about my caching plugin, and I wrote to the assistance of my provider. They exclude the problem is in caching plugin, they found this:
The issue appears to be caused from the latest WordPress upgrade that was automatically applied within your website.
Code:
sitename@esm9 [~/public_html]# wp core version 4.7.4There seems to be conflict between a plugin of yours that is creating this strange behavior within the website.
To find which is the responsible plugin, you may start deactivating them one by one and after that checking the functions that were not working as expected. Once they work this will indicate which plugin caused the issue.
I did what they suggest, and when I deactivate BBPRESS, everything works! So, what to do??
I’m seeing issues that seem to only affect public forums (private or hidden work as expected). Public forums don’t appear in the admin ‘All’ list view, although they do appear under ‘Published’. Attempting to view the single page for a public forum gives a 404 when logged in. When not logged in, it gives the following fatal error:
Fatal error: Uncaught Error: [] operator not supported for strings in .../plugins/bbpress/includes/forums/functions.php on line 1855Looking at that line, the get method of WP_Query returns an empty string if no matching key is found. That explains the [] operator error and adding a default empty array to the call does fix the issue for non logged in users. However, the root cause must be higher up the call chain because it doesn’t fix the permalink problem.Hello, I am running WordPress 4.7.4 and bbPress 2.5.12.
My forum can be found on https://thehulkpress.com/forum . The page looks exactly how I want it to there, but when I click on the forum channel the page background changes to white. I’ve tried a variety of different css codes to change the rest of the pages to black, but can’t seem to find the correct block of code. Can someone suggest a way to change not only the first page, but the rest of the pages’ background to black? Thank you
– Zach
Topic: Show last 3 recent topics
Hi Guys,
I am trying to show last 3 recent topics in this form: http://prntscr.com/f00irx . Can anyone please tell me what should be the wp query or PHP code to get title, topic url, author avatar image & time so I can easily get the information and then show it in the layout I created in the above screenshot for showing last 3 recent topics?
Thanks
Topic: Hide Topic / Reply IDs
Topic: TTFB problem
We have issue with the time to first byte (TTFB) using the plugin BBPress. On the single topic page we get TTFB about 5-7 sec. After researching this issue we have found that the problem is in the file “content-single-topic.php” and the bottleneck is the function “bbp_has_replies()”.
After researching this function we have found that the problem is in the code:
wp-content/plugins/bbpress/includes/replies/template.php:184
$bbp->reply_query = new WP_Query( $r );this row takes about 5-6 sec, so performing the query which retrieves the list of replies takes about 5-6 sec. Also we have dumped the query which is performed:
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts FORCE INDEX (PRIMARY, post_parent) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_posts.ID = 515125 OR wp_posts.post_parent = 515125) AND ( ( wp_postmeta.meta_key = ‘_bbp_forum_id’ AND CAST(wp_postmeta.meta_value AS SIGNED) NOT IN (‘515120′,’515123’) ) ) AND wp_posts.post_type IN (‘topic’, ‘reply’) AND ((wp_posts.post_status = ‘publish’ OR (wp_posts.post_status = ‘pending’ AND wp_posts.post_author = 0) OR wp_posts.post_status = ‘closed’ OR wp_posts.post_status = ‘hidden’) OR (wp_posts.post_author = 0 AND (wp_posts.post_status = ‘private’))) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date ASC LIMIT 56150, 25;
You can check a test here:
https://tools.pingdom.com/#!/NXIxm/https://www.bombingscience.com/forums/topic/tags-tags-tags/page/602/We are using Version 2.5.12
Could you please check this issue and provide us solution in order to speed up this query?
I feel as though I’m losing my mind. There’s an option to enable the full TinyCME editor correct?
I’m looking at this: https://codex.bbpress.org/enable-visual-editor/
But when I do that, all I’m seeing is this:

I’ve tried the code in the codex on a base WordPress theme and all plugins disabled.
Is it possible to enable a more robust editor?
Thanks
Topic: Regarding shortcode
Hi, is this possible we can display forum details like , suppose we have two forum, name called forum1 & forum2, Forum1 has 5 topics & forum2 has 10 topic. so is This possible on bbpress we can display first Forum1 then their associate topic 5 then later on forum2 then their associate topic 10. Please do the needful for me. Thanks i am waiting for your reply….
Topic: Changing forum root path ?
Hello!
I’ve added a new custom forum main page with some bb-codes instead of the default main page and I get a little disapointment, I can’t find out how to change the forums root page which redirect to mysite/forums instead of mysite/mynewmainforumpage.
Is it possible to do it?
Thanks!
Topic: Migrate Kunena to bbpress
Are there any free tools/files/code out there to migrate a Kunena forum on a joomla site over to bbpress on a wordpress site ?
Thanks