Search Results for '\"wordpress\"'
-
Search Results
-
It seems this is a known issue for WordPress when ordering by meta query. BBPress does this to order by “last active” which is the default (and in my case, desired).
Loading a forum index, on my site, takes about 20 seconds.
Here is the offending SQL:
[9] => Array ( [0] => SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) WHERE 1=1 AND wp_posts.post_parent = 9 AND wp_posts.post_type = 'topic' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'closed' OR wp_posts.post_status = 'private' OR wp_posts.post_status = 'hidden') AND (wp_postmeta.meta_key = '_bbp_last_active_time' ) GROUP BY wp_posts.ID ORDER BY wp_postmeta.meta_value DESC LIMIT 0, 15 [1] => 19.448324918747 [2] => require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), apply_filters('template_include'), call_user_func_array, bbp_template_include, apply_filters('bbp_template_include'), call_user_func_array, bbp_template_include_theme_compat, BBP_Shortcodes->display_forum, bbp_get_template_part, bbp_locate_template, load_template, require('/themes/xx/bbpress/content-single-forum.php'), bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts )There’s a ticket which seems to be addressing my problem here: https://bbpress.trac.wordpress.org/ticket/1925
Unless I’m misreading it, the upshot is “We should probably be using post_modified on the topic instead of a meta value for ‘last activity’, so as to avoid using the JOIN… but we haven’t yet”.
So how do other sites do it? This one, for instance? Or WordPress.org? They have more posts than I do, but have got around this issue somehow.
Any solution?
Thanks.
Hi,
I posted this question in Buddypress forum but no answer so I try here.
In the “Discussion Forums” WordPress-Page (Global Forum) only Admins can see the threads for Private Group Forums they are members in. Normal Users only see the threads from Public Groups, but not from Private Groups they are member in. They have to go to the group forum page to see threads.
Is there a way to see these private topics in Global Forum for group members ?
(I know there is no option for that, but I’d like to modify the core to add manually 2-3 user-IDs who are allowed to see ALL topics like an admin in the global forum, I just want to know which line/file I could modify )Note: I didn’t activate the bbpress, I use buddypress forum.
Thank you.
Topic: bbPress not working!?
After installation no items appears in WordPress Dashboard, no custom post types are created (as far as I can see)…… No menu item in Settings menu. Nothing happens. Why? What do I do wrong. I am trying for about a day now and I can’t figure it out…… pulling my hair out. Please help.
Worpdpress 4.1, bbPress latest, local site, developing mode1
Topic: Users Can't Login To BBPRESS
Hello,
I need help like something fierce.I have installed the bbpress plugin and ensured that both the plugin and wordpress are both running the most updated versions.
The issue I am having is that registered users can not login on the front end of my wordpress site. The login widget looks like it functions properly, however, when users login with their credentials, it never actually logs them in on the front end. Please help me.