Sorry where does this code go?
wp-content/themes/mytheme/functions.php?
Thanks Stephen,
I’ll be glad to try your solution, also because I tried the plugin of that post and it works only partially, it imported few posts, assigning them only to admin user and other stuffs, so in my experience quite useless as is.
If you need a tester, please feel free to send your version and instruction for use to macitaly at gmail dot com.
Thanks in advance
Thank you for the great plug-in.
Sorry poor English, I’m Japanese.
I am creating the Japanese language file for bbpress 2.2.
However, the menu of bbPress in an Admin page is not translated.
In the debugger’s test:
register_post_types() will be called before the load_textdomain().
Therefore, register_post_types() can’t translate $post_type[‘labels’] definitely.
Thanks toemon.
I was doing the odd tweak and bug fix with the ‘other’ importers for bbPress and whilst at it I decided to have a go at Simple Press 5.1.4, I’ll upload it tomorrow (just need to test a couple more bits first) and if you could give it some testing that would be greatly appreciated.
I cannot reproduce this, what versions of bbPress & WordPress are you using?
What are the permalinks?
– ‘TEST’ /forum/test/
– ‘FORUM’ /forum/test/forum/
I am seeing this strange behavior where if category description is entered, all sub-forums under that parent category will disappear and even clicking into the category does not reveal them.
Steps to produce:
1. Create category TEST
2. Create forum FORUM and select TEST as category
3. Edit TEST category and enter some description/update
And to add to that, even if I go back to delete the description, it doesn’t work.
Anyone seeing this?
EDIT: Updated title to include ‘private’ context (@Netweb)
Hello, can anyone tell me which file/s create this page: First page of bbPress Forums
and this page: Second page of bbPress Forums, a category page of forums?
I want to create a page that looks like the second page, but has all categories on it and I think I can figure it out if someone points me to which files I could copy functions out of.
I saw an old thread of people looking to set their bbPress forums up like phpBB3, has it been done? ‘Cause that’s what I’m looking to accomplish here and I’m willing to share the template once I get done.
Ok I submitted a ticket. I rolled back to the last version and everything is fine, so it was the latest update.
I had everything set up fine, Until this last update. When a member creates a new blog when bbPress is activated, they are only granted participant status to their blog, so they cannot even access their dashboard. I deactivated all plugins to make sure in fact it was bbPress that was causing this, and it is. When I deactivate bbPress, they can access their dashboard, and are granted Administrator status. I just happened to be testing new accounts today, and realized this was happening. I did just update bbPress to the latest, so I’m assuming it was due to this latest update, as it was working fine before.
What can I do to fix this?
If someone could just guide me please (I’m returning to bbPress after a confused time with it pre-plugin days).
Plug-in installed OK and it was easy (thanks!). The forum is using my blog page layout which has a widget controlling the right sidebar (my own theme design adapted from blankslate).
http://www.historyhouse.co.uk/historynews/
The test page works fine (apart from it’s too wide – but I can solve that.)
Problem is I want it to have its own unique page template (not using the sidebar widget). Probably something like this template I created.
http://www.historyhouse.co.uk/historynews/history-of-ashen-my-ancestors
In my stumbling I thought a child theme may have been the answer so I looked the below page but the bbpress version number is not the same. Besides it didn’t seem to work for me.
http://codex.bbpress.org/legacy/step-by-step-guide-to-creating-a-custom-bbpress-theme/
So in a nut shell. How can I make it use the template in my second example?
Thanks in advance and be gentle with me 😉
Hi, I’ve done searching and couldn’t find anything related specifically to my issue with bbpress… I’m running the latest bbpress with WordPress 3.4.2 for my forum on my blog.
My forums are located here: http://wrtapps.com/forums/
The problem is the title of the forums page below the menu bar. It shows the title as “General discussion” which so happens to be the last forum page I saved in my dashboard. Previously it was showing the title as “Troubleshooting”… How do I change this to a custom title?
Thanks!
I noticed a recent bbPress update touted improved Multisite flow support – any progress on this issue?
Doesn’t look like it from my initial testing, but fingers are crossed hoping something official is in the works.
You can use the shortcode in the PHP template files with the do_shortcode() function.
echo do_shortcode('[bbp-topic-index]'); would do the trick.
Of course; there is a performance overhead involved with making WordPress parse the shortcode before displaying the content. Using WP_Query and creating a custom loop would be the ideal method, but it’s also much trickier.
Hi, thanks for the answer, but I meant in the theme as inside of the PHP template files. How could I bring for example the latest questions to the front static homepage.
Thanks
So I just installed the latest bbPress 2.2.2 and see that all my users have no role set for the forum so I then proceed to use the remap tool to set them a default of participant. This all worked fine however, it also switched my admin account to participant also instead of keymaster. So my question is how do we apply the keymaster role back to the admin?
Can one use the plugin “Advanced TinyMCE Config”? I tried to use it to set “teeny” to “false”, but it didn’t change anything.
Any advice will be much appreciated.
- Use a regular old WP_Query()
- Use a widget
- Use bbp_has_forums()
- Use the shortcode mentioned above
There are lots of examples, in the forums, on the codex, and in the bbPress code itself. Also, unclear what you mean by “latest forum.” Do you mean topics, or replies, or something else?
I know PageLines released an updated compat plugin for bbPress 2.2, what version that actually is I am not sure as it doesn’t appear publicly (from what I can see).
http://www.pagelines.com/store/plugins/pagelines-bbpress/
http://www.pagelines.com/forum/topic/23459-bbpress-22-crash/page__hl__bbpress#entry137455
Make sure you are running WordPress 3.4.2 and bbPress 2.2.2 and the latest updates from PageLines , if you are still not seeing any content I would ask PageLines support to look into it further.
I am probably being dumb, but I tried installing tinyMCE Advanced, and still could not see any new functions. The functions that I am most interested in include indentation and font colors. Any help will be appreciated.
heh.
I’m using bbPress 2.2 and the bbPress for PageLines plugin 1.0.6. Created a test Category, then a test forum underneath that category. Blank content everywhere – I can see my masthead and sidebar, but zippo on the content.
My cluelessness is evidently unbounded in this dimensional plane. Tell me I’ve missed something very basic? Do I need to select another template (I have Template=Forum selected for all forum related pages), or do I need to actually create a page for each? Should I pitch the fine folks at PageLines?
Love and gratitude for your assistance.
Basically all these functions names need to be unique…
If you use the above from @JJJ with ‘foo’ and then you use another function from another topic called ‘bar’ and then use a third again called ‘foo’ you will now have a conflict because two custom functions are trying to use ‘foo’.
A common practice is to name the functions with something to remind yourself (or others reading your code) that it is custom code you have added to your install.
eg. Prefixing ‘foo’ with ‘hd_’ for ‘Halo Diehard’
function hd_foo( $args = array() ) {
$args['teeny'] = false;
return $args;
}
add_filter( 'bbp_after_get_the_content_parse_args', 'hd_foo' );
Better yet, a more descriptive name again with ‘hd_’ Halo Diehard prefix.
function hd_custom_teeny_mce_override( $args = array() ) {
$args['teeny'] = false;
return $args;
}
add_filter( 'bbp_after_get_the_content_parse_args', 'hd_custom_teeny_mce_override' );
Here are the steps I would follow:
– Backup everything and often (WordPress, Xooops, MySQL etc)
– Install WordPress locally to test the import
– Research the Xoops MySQL database structure
– Make a copy of importer example.php as xoops.php in the same folder
– Edit xoops.php to match the xoops database table & field names
eg. This from Example.php:
// Forum id. Stored in postmeta.
$this->field_map[] = array(
'from_tablename' => 'forum',
'from_fieldname' => 'forumid',
'to_type' => 'forum',
'to_fieldname' => '_bbp_forum_id'
);
Would become:
// Forum id. Stored in postmeta.
$this->field_map[] = array(
'from_tablename' => 'xoops_forum_table_name',
'from_fieldname' => 'xoops_forumid',
'to_type' => 'forum',
'to_fieldname' => '_bbp_forum_id'
);
The above is not accurate as I have no idea what table and field names xoops uses for its database, that is the bits you need to research. Do the above for as much as you can matching all the tables and fields testing your import.
Once you have an import working and are happy with you can then look to importing it to your live site and I cannot emphasize this enough, backuyp, backup and more backups in case things go wrong.
Thank you for your quick response, I guess what I’m trying to convey is my uncertainty whether or not I can just plug that code in and rename “foo” anything? I don’t understand why I have to rename the foo, so I thought perhaps there was another step as well it was assumed I would know. (aka: you also have to put “” into your html)
Sorry I’m such a “foo” when it comes to coding 😉 I’m learning as fast as I can!
Wait, I might understand! We rename “foo” so we can recognize what it does when we’re looking at the code?
I would like to show the latest forum in the footer of my WordPress site. I would like to use bbp_list_forums(); function. But it seems is not possibile.
Could you help?
Regards, Francesco.