Search Results for 'code'
-
Search Results
-
Hi Guys,
bbPress (2.1.2) on WP 3.4.2 logout gives error code 500 (Internal server error).
Error log:
> mod_security: Access denied with code 500. Pattern match
> “\\.php\\?.=(http|https|ftp)\\:/.\\?” at REQUEST_URI
> [hostname “www.xxx.nl”] [uri
> “/wp-login.php?action=logout&_wpnonce=5a9ef61b36&redirect_to=http%3A%2F%2Fwww.xxx.nl%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26loggedout%3Dtrue%23038%3Bpaged%3D1%26%23038%3Bs”]bbPress doesn’t use rawurldecode()?
For now, what is the best solution? Which file and which code should I change? Or is there another solution?
Topic: bbPress 2.1.2 Login Notice
I have WordPress 3.4.2 and bbPress plugin version 2.1.2.
I recently used the migration tool to import the data from an old bbPress 1.1 forum. Everything seemed to go quite well. I did lose some topics but I can certainly live with it.
I have, however, noticed that the Login Notice “You Must be logged in to post a topic” is NOT showing when users are not logged in.
I can see the code (or what I think is the code) in the bbPress template but it just won’t show.
Yous assistance would be appreciated.
Hidy ho,
I’m working on creating a child theme for a site and am looking for the right tutorials. I found this link below: http://codex.bbpress.org/legacy/step-by-step-guide-to-creating-a-custom-bbpress-theme/ and was pretty sure this was the most current. Can anyone confirm this is the most up-to-date information for child theming bbpress?
I found and followed a different tutorial that also had “legacy” in the slug – so any help you can offer here would be appreciated.
Thank you.
Luke
I’m trying to add featured images to forums. I have successfully filtered the register_post_type call like so;
/** * Add thumbnails to forums */ function ys_forum_featured_images( $post_type ) { $post_type['supports'][] = 'thumbnail'; return $post_type; } add_filter( 'bbp_register_forum_post_type', 'ys_forum_featured_images' );That did not, however add the meta box to the post edit page so I further used the following;
/** * Add featured image meta box */ function ys_bbp_featured_images(){ add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', 'forum', 'side', 'low'); } add_action('add_meta_boxes', 'ys_bbp_featured_images', 100);The meta box then appears but in the image details I see the “Insert into post” button and “Delete” link but no “Use as featured image” link.
Any idea how I get that added?
The only thing I could find were these tickets talking about the link appearing when it shouldn’t:
http://bbpress.trac.wordpress.org/ticket/1633
http://core.trac.wordpress.org/ticket/18669Topic: HTML Tags Missing
I continue to have problems with the sidebar showing up below my content.
In looking at the code generated by bbpress, I have noticed that on certain forum pages (the affected ones), bbpress is leaving out the opening body tag.
My forum is at: http://www.cormacmccarthy.com/forums. Click down into any of the forums, and you’ll see:
–All the sidebar content is below the main forum table, which expands to fill the whole screen.
–The header and top menu content is disorganized and not properly styled.
–When you view the source code for the page, you’ll notice the missing tag.
I’ve done plenty of troubleshooting myself, but an absent body tag, together with a not-closed head tag, needs to be addressed before I can really do anything else–given the reliance of most style sheets on the presence of those tags.
Any thoughts?
Hello,
When I viewed the bbpress.org demo forums my expectation was that my forums landing page would look the same as the demo after installation but in fact it does not.
Could someone please help me with a solution exactly the same as the bbpress forums landing page which shows the latest topics with the exact same information displaying?
- Topic (ex. bbPress 2.2)
- Voices (ex. 14)
- Replies (ex. 14)
- Freshness (ex. 2 weeks, 4 days ago (avatar) (name of member who last posted)
From my understanding the widget called (bbPress) Recent Topics already has this functionality but is lacking the information to display Voices, Replies and (avatar) (name of member who last posted) .
What is the easiest way to implement this? Modify the widget? Create a new widget? Implement the code into the Forums landing page itself?
Any help would be greatly appreciated!
Thanks very much!
Topic: Newbie question
I am using WP 3.4.2 & bbPress 2.1.2 at http://oldfiredog.com/
I am new to WP & bbPress but am learning. I have created the above site and have created some forums but can not seem to get to them while on my site. In edit mode I can choose view though and see the forum on my site. I do have the theme desk mess mirrored in use 2.0.4 I just need to know how to access my forums on my site as I have been able to create them and view them in in dashboard > edit mode > view mode but not on my site. I have changed themes to twenty ten but it does not seem to make a difference.
Thanks Rich Thanks RichHi, I’m struggling a bit to get started with bbpress plugin dev, I’ve managed to write plugins for WP in the past thanks to the WP codex. Looking at other threads I see the advice is to look at the WP documentation or look at examples – I’ve tried both and getting a bit stuck. If anyone has some time to help me get hooked into the API it would be much appreciated – after that I should be able to start creating some cool stuff!
So my first experiment is to try and update a post within a topic. Looking at the append signature plugin I can see they use the bbp_get_topic_content filter. If I were updating “the_content” in WP I would do something like this:
function bbp_topic_content_append_text( $content = '') { $content = $content . 'SOME_TEST_TEXT'; return $content; } add_filter( 'bbp_get_topic_content', 'bbp_topic_content_append_text');But this doesn’t do anything when I load a topic? Can anyone point me in the right direction? Thanks π
Topic: Child/Sub forums
How do I change this code so that one of the drop downs lists only the sub forums? Thanks! π
bbp_get_form_topic_forum() ) ); ?> bbp_get_form_topic_forum() ) ); ?>