Search Results for 'bbpress'
-
Search Results
-
After having battled with this problem for a long time, I finally found out, why only keymaster users could upload images to their replies with the new media manager.
The problem is not bbPress’ fault, but rather due to a shortcoming in the WP_Editor.
When a front end editor is inserted on a page using the
wp_editor()function, and media buttons are enabled, the media buttons will be automatically set up to attach the images being uploaded to the current global post object.This is a problem, because the current global post on a forum topic page is the topic. So if the user replying to the topic (and trying to upload images) is not the topic starter, a permissions problem will arise.
The user will then in fact be attempting to attach media to the topic, which is owned by someone else. This will result in an error, unless the user has the “edit_others_topics” permission set to true.
So, what to do? Here’s my temporary solution, until this hopefully gets addressed in the future:
Because the core function that takes the post id from the current global post can’t be hooked directly into, I decided to hook in before and after it, to first change the global post id to null, and then change it back afterwards, so any logic that follows the WP_editor will not get disturbed.
This will, however, cause the uploaded image to not be attached to any post. But it doesn’t have to be. The image will be inserted into the forum reply html, regardless of which post it is attached to in the DB.
add_action('media_buttons', 'ml_pre_media_buttons', 1); add_action('media_buttons', 'ml_post_media_buttons', 20); function ml_pre_media_buttons($editor_id) { if (!$editor_id == 'bbp_reply_content') return; $GLOBALS['post_temp'] = $GLOBALS['post']; $GLOBALS['post'] = null; } function ml_post_media_buttons($editor_id) { if (!$editor_id == 'bbp_reply_content') return; $GLOBALS['post'] = $GLOBALS['post_temp']; }I created this issue on the WP support forums:
http://wordpress.org/support/topic/front-end-editor-media-upload-would-like-ability-to-pass-post-id?replies=1#post-3895962Hi Stephen–
I’m taking you up on your invite to talk about phpBB imports.
In advance of upgrading a client’s site from (very VERY outdated WP and phpBB) I created a sandbox with WP 3.5.1 and phpBB 3.
There’s not a whole lot here, as I’m just using it to find the best way to integrate the bulletin board w/ the WP site, so the BB can be access-controlled for paid members.
Site: sdocplayground.com/wordpress
Imported forum: http://sdocplayground.com/wordpress/index.php/forums/
bbPress v 2.3 beta 2
Theme = twenty twelve
The phpBB install has about 1400 users and at least 50K posts and was created in mid-2004. My client wants to keep *everything*.Here’s what happens when I run the import:
Default settings are left alone (pause after 100 lines, 1 second between, etc
All users are imported seamlessly.
When the import process gets to “calculating board hierarchy”, it hangs. I let the import run for an hour then check the results in the “forum” admin tab.
It appears that all of the posts have been imported. (The numbers in each of the categories is right.) But when you try to visit any of the forums/categories, they’re empty.
So then I run the “repair” functions one by one. Now it seems that most of the posts are gone and the most recent are from 2004. (Most recent should be from 11/2012). Some posts are visible but there are no responses where they should be.Am I missing a step, or is some setting not correct, or is the beta version of the plugin just not doing what I need it to do? I would love to have all of my site’s content in one interface but I can’t find where the content goes. What am I missing?
Topic: Is bbPress right for me?
Hello. I was reviewing free php forums and came upon bbPress. I have had great experiences with WordPress, so the idea of a “wordpressy” forum got me.
However, I just want to know from you guys is it good? If I understand correctly bbPress is quite new, so can you say it can compete with, say, phpBB?
Also, I am planning to integrate a LOT of features for my forum, as I am aiming to make a roleplaying forum, with characters, and weapons and all that jazz. Would bbPress make it easy for me to do those? For any of you have created plugins for bbPress, how developer-friendly do you think it is?
Here I am, hoping for your replies. Thank you.
Topic: bbPress Forum Questions
A few quick questions
How can I remove my widgets and sidebar from just my forum page. Also, how can I remove the comment section on my forum page.
What is the bbPress sidebar. I put some bbPress widgets in it but I did not see any changes.
Lastly, how can I display the bbPress Login Widget (that allows people to register, login, and find lost password) on only my forum page.
All input is appreciated.
Hi,
I am using bbpress on my wordpress site to allow users to create profiles, and not necessarily interact with the forums. That said, I’d like to remove the irrelevant links and elements in the bbpress profiles which are being shown when users view their own profile or when users are viewing each other’s profiles (highlighted below).
I believe these changes would take place in the bbpress php files, but I’m having trouble finding the correct files to edit, and which lines need revision. Also, I believe I would need a child theme to make these changes safely? I’d really appreciate you help! Thanks in advance for you guidance.

Hello,
I have problem. I download polish language for BBpress (pl_PL.mo). Where I must put this file and where I can change language from english to polish?
I make this scenarios:
– upload .mo file to wp-content/language/bbpress – not working
– upload .mo file to wp-content/plugins/bbpress/language – not workingCan someone help me ?
Topic: What plugins fo i need ?
Hey all,
I have a new project
DELETED URL(currently only on my localhost for now).. but i will be offering digital goods / Premium Designs for a range of different platforms that’s besides the point.. my forum section will be for both webmaster forums and also for customer support.. While BBpress is free and great it does feel like it’s lacking a lot of features / just doesn’t feel like a premium forum software…What plugins would you recommend i add to give it a little polish ? does installing heaps of BBpress plugins effect the performance ?
Thanks for any help with this one.
Regards, Darren
Hey again, Sorry 2 questions in one day 🙁
OK here is what i am thinking… Rather than using /forums/ for my main forum page i would like to create my own custom Forums page.. Now would this need to be done via a BBpress template or simply by creating a WordPress page and then using shortcodes to display specific forums..
Doing the above assuming it was possible.. i would call the WP page “Forums” but this would conflict with the BBpress Forums base which by default is “forums” so yeah i am at a little bit of a loss here.
Again as always THANKS in advance to anyone who takes the time to reply / assist me with this.
Regards, Darren
Topic: Oh Bother Message for users
Hi – we have BBPress 2.24 running on WP 3.5.1 here: http://contagiousjoy4him.com
My client noticed a week or so ago that the forums were only showing for admins after she wasn’t getting any visits/comments on the forum.
Here’s what I’ve tried to troubleshoot:
1. deactivated all plugins except for BBpress
2. switched to 2011 and 2012 themeAll to no avail. Nothing has been added, only some possible updates, and since I didn’t do them, I’m not sure what was updated by the client. Even so, deactivating plugins and clearing out cache and attempting it on a basic theme – I would think it would work.
Any ideas – your help/advice/input is greatly appreciated.
Karen L