Search Results for '"wordpress"'
-
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.
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.

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: Link question
I’m also a new user and trying to resolve some issues with an installation using the Frisco theme. I have the theme set to default to the Forum page which is this link (I’m still in Maintenance mode but hopefully you’ll know the answer anyway):
http://www.wwe-club.com/wordpress/
The list of Forumsworks fine. When I click on a specific forum, the breadcrumb link looks like this:
Forums › Forums › General Wrestling Discussion
The question is, why two “Forums”? The first one links to the default home page and works fine.
The second one leads to:
http://www.wwe-club.com/wordpress/forums
which is a blank page. How can I get rid of that second “Forum”? Thanks!
Topic: Problems with my main page
Hi.
I created a theme and I created a WordPress page which uses a specific template file on this file, which includes bbPress main page (a page with a list of topics of a specific forum).
The problem is that it seems that if user is not logged in, it goes to standard bbpress page instead of my customized page. Why does this happen and how can I solve?
I have already check that my created page is set to public page on wp-admin.
Thank you.
When logging-in using the login widget, the page is redirected to the page where I last logged-out!
It’s happening on one site but not another – is this likely to be an .htaccess issue?
Note: for the problem site, wordpress is installed in a sub-directory.
Thanks,
Andy
Topic: URL Structure
Ok, Step one is complete. I am all done with the installation and it went very smooth.
Now I want to change my URL structure to the same as my old forums and preserve my ranking in the search engines. What is the best way to accomplish this? Please note that I have Simple Press (where I moved the content from) installed on the same wordpress installation as bbpress.
While I am also experiencing the create group topics issue already documented on other threads, this issue sounds more like the one @sydneydesigner noted a couple of months ago. However, his workaround does not work for me, and you will see why below.
Issue background:
My client’s site has BuddyPress installed alongside bbPress. They want group forums as an option within BuddyPress groups.
In order to use bbPress for this functionality, I have unchecked Discussion Forums within the BuddyPress settings and enabled the Allow BuddyPress Groups to have their own forums option under the bbPress forums settings (Settings > Forums > BuddyPress section).
What’s happening:
When I navigate to a BuddyPress group admin and go to enable forums for it, I see the following (image link):
However, when I check the box and click Save Settings, nothing happens. Looking at the html for the page reveals the following:
- Gist
- screenshot
It appears that the form tag(s) are missing, so there is nothing there to POST against.
I was able to enable/disable the option by temporarily switching the theme to the BuddyPress default theme and saving the setting that way. It does not appear to work from client’s normal theme, however.
Doing some digging, the edit_screen() function found in bbpress/includes/extend/buddypress/group.php seems to generate the checkbox and text for enabling/disabling a group forum, while the form element that should be there looks like it’s from the groups/single/admin.php template file.
Does anyone have any insight into why the form element wouldn’t be loaded into this group admin page?
Version information:
WordPress version: 3.5.1
bbPress version: 2.2.4
BuddyPress version: 1.6.4
Genesis Connect for BuddyPress version: 1.2
bbPress Genesis Extend version: 0.8.4
Genesis version: 1.9.1
Genesis Child Theme: Blissful version 1.0Hello,
i hope you can help me!I installed WordPress 3.5.1 and added Budypress to my plugins and i activated it and installed it. After some seconds my Adminmnenu had a 500 Error.
Hi,
I am using bbPress for a WordPress website. It is working great, but I have few problems to customize it…
In the WP theme I made, I have a breadcrumb (created in functions.php), and in the forums pages, I also have the bbPress breadcrumb that is displayed. Because mine doesn’t work in the forum pages (because I don’t succeed in displaying the custom posts), I would like to do something like this in my theme files:
– If the Forum Page is displayed –> display my_breadcrumb(); (because it is a normal post)
– If the other forum pages are displayed –> display bbp_breadcrumb(); (because they are custom posts)But for this (stop me if I am wrong) I think I have to edit the bbp_template_before_forums_loop in the bbp-theme-compat folder, to remove manually the bbp_breadcrumb and to display it in my theme, but I can’t find in which file is called bbp_template_before_forums_loop.
Thanks by advance for your help, and don’t hesitate to ask if you need more details!
Topic: Page following logout
I’m using bbPress ver. 2.2.4. on WordPress ver. 3.5.1 Link: http://bomec.dk
If i’m logged-in and watching a private page and press logout, i would like to be transferred to the front page to allow for another user login or whatever.
How can i accomplish this ?As it is now i remain on the private page, just appended with “logout”. Such a page don’t exsist and results in a “Page not Found” screen.
Regards
IHR
Mailto: ihr723@gmail.com
