Search Results for 'code'
-
Search Results
-
Just curious, i’ve worked with bbPress before but it looks like the WordPress Hierarchy is broken by bbPress.
http://codex.wordpress.org/images/1/18/Template_Hierarchy.pngNormally i could make a page template and call it page-forums.php to make sure WP would use this page template for a new page created by the slug forums
But for some strange reason this doesn’t work anymore with bbPress 2.2.1 and WP 3.5 Beta and Twenty Twelve.
How can i make sure WP or bbPress uses a different page template then page.php for showing the forums and category -index on the forums slug?
I’ve tried everything, Copy/Paste the page-front-forums.php from the Extra’s folder to my Theme’s Root -> Created a new page inside my Dashboard and called it Forums… Nope doesn’t work.. Even when i use the Shortcode [bbp-forum-index] on that last created page.. It keeps using the page.php by default..
Anybody who can help ?
Because this it totally not very cool 🙂Topic: bbpress and Artisteer themes
Hi,
Great forum plugin!
I am however experiencing some annoying theme compatibility issues…
My forum page (with [bbp-forum-index] shortcode) was wrongly picking up my theme’s css, instead of the bbpress css.
Resulting in an unusable forum layout.
I have applied the theme compatibility actions by copying the necessary bbp-theme-compat directory/files to my theme root.
By setting the correct bbpress page template via its page attributes, the main forum page (now without shortcode) seems to pick up the bbpress css. But shortcodes are still picking up the wrong css via the default theme page template..
Any suggestions to make shortcodes work with the bbpress css instead of the theme’s css?
Are there any additional css styles available that work with the bbpress theme-compat templates?
I am using wp 3.4.2, bbpress 2.1.2 and my theme is generated with Artisteer 4.
Regard,Tom
Topic: Missing argument error
Wordpress and bbPress are up to date. This is part of a WordPress multisite install.
http://anabaptistworship.com/category/community-music/
I am using a custom child theme and there is no error when I switch to twentyeleven.
I recently started getting this error, even on pages that aren’t part of bbpress on my site. I’m not sure when it started–maybe with a recent update?
Error:
Warning: Missing argument 2 for _bbp_has_replies_where() in /hermes/waloraweb048/b1387/as.rethink/wp-content/plugins/bbpress/bbp-includes/bbp-reply-functions.php on line 1381
Fatal error: Call to a member function get() on a non-object in /hermes/waloraweb048/b1387/as.rethink/wp-content/plugins/bbpress/bbp-includes/bbp-reply-functions.php on line 1384
Lines 1381-1385 of the file it mentions:
function _bbp_has_replies_where( $where, $query ) { // Bail if no post_parent to replace if ( ! is_numeric( $query->get( 'post_parent' ) ) ) return $where;Any suggestions? Thanks!
I have a custom WP_Query outside the main loop, in my header.php, and also another one in footer.php. On my Forums List page (the top/base level of bbPress that lists all my Forums), the custom WP_Query in both header.php and footer.php, no longer works. It shows another instance of the bbPress Forums List, instead of showing the correct content (as it does on every other page of my site, including all other bbPress pages). My custom WP_Query is
$args = array(
'post_type' => 'page',
'page_id' => 218
);
$the_query = new WP_Query( $args );
while ( $the_query->have_posts() ) : $the_query->the_post();the_content();
endwhile;
wp_reset_postdata();I also tried get_page, which also didn’t work.
$page_id = 218;
$page_data = get_page( $page_id );
$page_content = apply_filters('the_content', $page_data->post_content);
echo $page_content;I tried using a bbPress ShortCode in a WP-Page called “Forums”, and then also without a page, just using bbPress Permalink “Forums”, without a wp-page and shortcode. Same problem either way.
Why would bbPress conflict with these core WP functions? And why would it happen ONLY on the Forums List page? I also tested this in TwentyEleven, and the problem is there too.
Hi,
I am unable to view the topic or reply content. With debug on I receive the following error
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘FORCE INDEX (PRIMARY, post\_parent) WHERE 1=1 AND (wp\_posts.ID = 647 OR wp\_posts.’ at line 2] SELECT SQL\_CALC\_FOUND\_ROWS wp\_posts.* FROM wp\_posts JOIN wp\_icl\_translations t ON wp\_posts.ID = t.element\_id AND t.element\_type IN (‘post\_topic’) JOIN wp\_icl\_languages l ON t.language\_code=l.code AND l.active=1 FORCE INDEX (PRIMARY, post\_parent) WHERE 1=1 AND (wp\_posts.ID = 647 OR wp\_posts.post\_parent = 647) AND wp\_posts.post\_type IN (‘topic’, ‘reply’) AND (wp\_posts.post\_status = ‘publish’ OR wp\_posts.post\_status = ‘closed’) AND t.language\_code=’en’ ORDER BY wp\_posts.post\_date ASC LIMIT 0, 15
I have had this error since I installed this plugin over a month ago and have not been able to fix it. At that time I found this ticket1 which lead me to this 2 line change2. I decided to add these two lines but that did not help either.
I have switched themes to Twenty Ten bbPress, Twenty Eleven, and the standard Twenty Eleven. I have also disabled almost all plugins (not WPML because I’ve had bad experiences with disabling and re-enabling it). None of this troubleshooting actions have helped. I then sat around waiting for an update, but unfortunately one has not come yet.
Since we are reaching the launch date I would like any help from anyone who has encountered this issue and successfully fixed it.
Thank you so much! Tamara
Topic: Accessing user profile page
Hi,
I have created a custom registration which works and has custom fields. In my header I have added code which checks if the user is logged in. When logged in I want to have a link to ‘My Profile’ for the user. I would like to know where I can find out this information and where it is generated.
Also I would like to know what files create the user profile page, as I would like to customize it.
Thanks for your help in advance.
Hi,
I’m wondering if anybody have some advice how to achieve this:
I have created 3 roles called; member, steeringgroup and board, with Justin Tadlocks Members plugin.
Now I’d like to restrict those roles to the following bbpress forums:Category forum A (can only be viewed by logged in users, in role member, steeringgroup and board) - Forum - Forum Category forum B (can only be viewd by logged in users, in role steeringgroup and board) - Forum - Forum Category forum C (can only be viewd by logged in users, in role board) - Forum - ForumNot logged in guests should not see anything of the forums, they will be redirected to a sign-up page. (have fixed this one).
Currently all 3 category forums and sub forums are visible to all logged in users at all times.
Running WordPress 3.4.2, bbPress 2.1.2, Members 0.2.1
Thank you in advance for any help/advice.
/emily
Hi everyone!
I’m using bbPress (last version, with lastest WP too in a single site) and have the General Forums activated (not the group ones). I activated the option to use the WP WYSIWYG visual editor for the comments, which had a black background and a white text color. Usually it worked very well, but one day (too far ago), the color of the text changed to gray (check the image below).
I don’t remember changed anything on the code. Maybe it was a plugin update or something like that, but I couldn’t change it back.
Thanks!
Example: http://gameshock.vg/foros/topic/juegos-populares-nacionales-y-peronistas