Search Results for 'code'
-
Search Results
-
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() ) ); ?>Thanks so much for all the work on this! My first bbPress, as the plugin makes it more accessible.
Having an issue with the Fancy Editor. One of my plugins (WP-Amazon) is forcing a button onto the editor for shortcodes. Since the shortcode is turned off and the button breaks the layout, is there a way to force it not to display on forum pages?
I realize this is plugin specific but my thinking is that it can’t be the only rogue plugin, so if there’s a reasonably easy way of suppressing a particular button, it could help others. Thanks for any suggestions you may offer.
I want to override the bbPress page I get when I go to mysite.com/forums/ with a WordPress page containing bbPress shortcodes but I haven’t been able to get it to work.
- My WP page slug is ‘forums’ and contains:
[bbp-topic-index]
[bbp-topic-form] - In my bbPress settings my ‘forums base’ is set to ‘forums’.
I’ve tried a bunch of other things (like setting the WP page template to ‘bbPress – Forums (Index)’ and deleting archive-forums.php in my theme. Nothing seems to work.
Also if I change the the page slug & permalink to ‘forums2’ and visit that, it works as intended.
Any ideas? I’m thinking about an .htaccess workaround but that seems excessively hacky. Thanks.
Topic: No Forum link in Header
I used these instructions ( http://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/#c-set-up-sitewide-forums-only ) to try to install bbPress. Site is two days old, so all software and plugins are new (and I’ve only added BP and bbP).
The forums work, but I can’t get a link to show in the header:
http://unifyyoseikan.org/forums
I’ve tried many things, including:
– Reinstalling bbPress several times
– Deactivating bbPress so the Directories link to connect “Discussion Forums” and the Forums Page can be set, then reactivating bbPress.
– Keeping or deleting the Forums Page (having it exist prevents forum from working)
– Kludging, by manually creating a page with a different url (/discuss) which forwards to /forums with the url redirection meta tag.
– Reading and re-reading the afforementioned instructions, some parts of which don’t make sense to me. e.g.: “Since you are setting up Sitewide Forums only, a) Disable (uncheck) Discussion Forums in the Settings > BuddyPress > Components panel”So far the ugly kludge is the only thing that provided both a link in the header and a successful load of the /forums page.
Topic: Sub Forum Drop Down Menu
Hello,
I am new to WP and BBpress. Slowly learning the ropes as I play with the software. πI have my forums setup like this:
States - Alabama - Swap Meet - Bulletin Board - Alaska - Swap Meet - Bulletin Board - Arizona - Swap Meet - Bulletin Board - Etc.I am sending users to a page that holds the “Create Topic” block to post directly into one of these forums. Problem is the user only has one drop down menu for selecting the forum to post in. That is a very large drop down list and could be confusing to the users.
I would like to add a second drop down menu for selecting the sub-menu to post in.
Example: User gets taken to the create topic page, fills in the information, select their state from drop down menu #1, then selects the sub forum. Press submit and it gets posted in the correct forum.
How do I go about doing this?
Please keep in mind that I am new to all of this and detailed directions would be greatly appreciated.
Thanks SO much!
I’ve got a strange layout issue on my bbpress forums where if you try to edit a “reply” in a topic the page content is cut off by a div; this doesnt effect editing the very first post of any topic however; which is strange because all the code, CSS classes etc look the same. I thought maybe a bbpress reply page used a different template.. but I’m not sure.
Please see image.
Link to image with further details
Certainly hope someone can help as this is driving me nuts and I’ve spent ages getting the rest of bbpress to fit my theme only to discover this bug now π
Please help!
- My WP page slug is ‘forums’ and contains: