Search Results for 'bbpress'
-
Search Results
-
Topic: Profile avatar
Running WordPress .51 and bbPress 2.3.2 with iGift theme. I went to add my avatar to my profile but notice there is no option. Which plugin(s) do you suggest I look at? Oris the option hidden somewhere?
We have the current issues with our forum:
1. When someone clicks the ‘forum’ button in the top header that looks like –
Home > ‘FORUM’ > category > topic
It takes them to domain.com/forums which is a blank page that just says Forums – Continue Reading. When you push continue reading it just refreshes the same page…2. When someone pushes the ‘edit’ button on a post they just created it takes them to a page that has the topic title and ‘continue reading’ button that just refreshes the page
3. All the forum avatars are blurry. I see it is pulling our buddypress members thumbnails and using that as the avatar. I don’t want it to pull the thumbnails since that is a small image.
We also need some design work to make it look a little nicer. I did some small things like change the font and some colors. If you know the solution to any of these issues please post here or contact me via skype: heiko.winkler4
Thanks!
Topic: Importing from drupal
I am working on getting a drupal forum migrated to bbpress. I am using the bbpress importer tool. The forum I am migrating has about 4000 topics and 40000 replies. The migration works fine for a few topics, but seems to get stuck at random places after about a 1000 records are migrated. This makes me think that it is not a data problem. More likely some sort of timeout.
Have any of you experienced something similar? I am running things locally with the most recent stable versions of WP and bbpress.
Here is my script. It is not well-tested. Any suggestions for improvements are welcome and feel free to use it as part of bbpress in whatever way you feel like.
<?php /** * Implementation of Drupal Forum converter. */ class Drupal extends BBP_Converter_Base { function __construct() { parent::__construct(); $this->setup_globals(); } public function setup_globals() { /** Forum Section ******************************************************/ // Forum id. Stored in postmeta. $this->field_map[] = array( 'from_tablename' => 'taxonomy_term_data', 'from_fieldname' => 'tid', //TODO correct ID?? 'to_type' => 'forum', 'to_fieldname' => '_bbp_forum_id', ); // Forum parent id. If no parent, than 0. Stored in postmeta. //$this->field_map[] = array( // 'from_tablename' => 'forum', 'from_fieldname' => 'parentid', // 'to_type' => 'forum', 'to_fieldname' => '_bbp_parent_id' //); // Forum title. $this->field_map[] = array( 'from_tablename' => 'taxonomy_term_data', 'from_fieldname' => 'name', 'to_type' => 'forum', 'to_fieldname' => 'post_title' ); // Forum slug. Clean name. $this->field_map[] = array( 'from_tablename' => 'taxonomy_term_data', 'from_fieldname' => 'name', 'to_type' => 'forum', 'to_fieldname' => 'post_name', 'callback_method' => 'callback_slug' ); // Forum description. $this->field_map[] = array( 'from_tablename' => 'taxonomy_term_data', 'from_fieldname' => 'description', 'to_type' => 'forum', 'to_fieldname' => 'post_content', 'callback_method' => 'callback_null' ); // Forum display order. Starts from 1. $this->field_map[] = array( 'from_tablename' => 'taxonomy_term_data', 'from_fieldname' => 'weight', 'to_type' => 'forum', 'to_fieldname' => 'menu_order' ); // Forum date update. $this->field_map[] = array( 'to_type' => 'forum', 'to_fieldname' => 'post_date', 'default' => date('Y-m-d H:i:s') ); $this->field_map[] = array( 'to_type' => 'forum', 'to_fieldname' => 'post_date_gmt', 'default' => date('Y-m-d H:i:s') ); $this->field_map[] = array( 'to_type' => 'forum', 'to_fieldname' => 'post_modified', 'default' => date('Y-m-d H:i:s') ); $this->field_map[] = array( 'to_type' => 'forum', 'to_fieldname' => 'post_modified_gmt', 'default' => date('Y-m-d H:i:s') ); /** Topic Section ******************************************************/ // Topic id. Stored in postmeta. $this->field_map[] = array( 'from_tablename' => 'forum_index', 'from_fieldname' => 'nid', 'to_type' => 'topic', 'to_fieldname' => '_bbp_topic_id' ); // Forum id. Stored in postmeta. $this->field_map[] = array( 'from_tablename' => 'forum_index', 'from_fieldname' => 'tid', 'to_type' => 'topic', 'to_fieldname' => '_bbp_forum_id', 'callback_method' => 'callback_forumid' ); // Topic author. $this->field_map[] = array( 'from_tablename' => 'node', 'from_fieldname' => 'uid', 'join_tablename' => 'forum_index', 'join_type' => 'INNER', 'join_expression' => 'ON node.nid = forum_index.nid', 'to_type' => 'topic', 'to_fieldname' => 'post_author', 'callback_method' => 'callback_userid' ); // Topic content. // Note: We join the posts table because topics do not have content. $this->field_map[] = array( 'from_tablename' => 'field_data_body', 'from_fieldname' => 'body_value', 'join_tablename' => 'node', 'join_type' => 'INNER', 'join_expression' => 'ON field_data_body.revision_id = node.vid', 'to_type' => 'topic', 'to_fieldname' => 'post_content', 'callback_method' => 'callback_html' ); // Topic title. $this->field_map[] = array( 'from_tablename' => 'forum_index', 'from_fieldname' => 'title', 'to_type' => 'topic', 'to_fieldname' => 'post_title' ); // Topic slug. Clean name. $this->field_map[] = array( 'from_tablename' => 'forum_index', 'from_fieldname' => 'title', 'to_type' => 'topic', 'to_fieldname' => 'post_name', 'callback_method' => 'callback_slug' ); // Forum id. If no parent, than 0. $this->field_map[] = array( 'from_tablename' => 'forum_index', 'from_fieldname' => 'tid', 'to_type' => 'topic', 'to_fieldname' => 'post_parent', 'callback_method' => 'callback_forumid' ); // Topic reply count // $this->field_map[] = array( // 'from_tablename' => 'forum_index', // 'from_fieldname' => 'comment_count', // 'to_type' => 'topic', // 'to_fieldname' => '_bbp_reply_count' // //, // //'callback_method' => 'callback_topic_reply_count' // ); // Topic date update. $this->field_map[] = array( 'from_tablename' => 'forum_index', 'from_fieldname' => 'created', 'to_type' => 'topic', 'to_fieldname' => 'post_date', 'callback_method' => 'callback_datetime' ); $this->field_map[] = array( 'from_tablename' => 'forum_index', 'from_fieldname' => 'created', 'to_type' => 'topic', 'to_fieldname' => 'post_date_gmt', 'callback_method' => 'callback_datetime' ); $this->field_map[] = array( 'from_tablename' => 'forum_index', 'from_fieldname' => 'last_comment_timestamp', 'to_type' => 'topic', 'to_fieldname' => 'post_modified', 'callback_method' => 'callback_datetime' ); $this->field_map[] = array( 'from_tablename' => 'forum_index', 'from_fieldname' => 'last_comment_timestamp', 'to_type' => 'topic', 'to_fieldname' => 'post_modified_gmt', 'callback_method' => 'callback_datetime' ); /** Tags Section ******************************************************/ // Topic id. // $this->field_map[] = array( // 'from_tablename' => 'tagcontent', 'from_fieldname' => 'contentid', // 'to_type' => 'tags', 'to_fieldname' => 'objectid', // 'callback_method' => 'callback_topicid' // ); //Tags text. // $this->field_map[] = array( // 'from_tablename' => 'tag', 'from_fieldname' => 'tagtext', // 'join_tablename' => 'tagcontent', 'join_type' => 'INNER', 'join_expression' => 'USING (tagid)', // 'to_type' => 'tags', 'to_fieldname' => 'name' // ); /** Post Section ******************************************************/ // Post id. Stores in postmeta. $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'cid', 'to_type' => 'reply', 'to_fieldname' => '_bbp_post_id' ); // Forum id. Stores in postmeta. $this->field_map[] = array( 'from_tablename' => 'forum', 'from_fieldname' => 'tid', 'join_tablename' => 'comment', 'join_type' => 'INNER', 'join_expression' => 'ON forum.nid = comment.nid', 'to_type' => 'reply', 'to_fieldname' => '_bbp_forum_id', 'callback_method' => 'callback_topicid_to_forumid' ); // Topic id. Stores in postmeta. $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'nid', 'to_type' => 'reply', 'to_fieldname' => '_bbp_topic_id', 'callback_method' => 'callback_topicid' ); // Author ip. $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'hostname', 'to_type' => 'reply', 'to_fieldname' => '__bbp_author_ip' ); // Post author. $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'uid', 'to_type' => 'reply', 'to_fieldname' => 'post_author', 'callback_method' => 'callback_userid' ); // Topic title. $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'subject', 'to_type' => 'reply', 'to_fieldname' => 'post_title' ); // Topic slug. Clean name. $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'subject', 'to_type' => 'reply', 'to_fieldname' => 'post_name', 'callback_method' => 'callback_slug' ); // Post content. // Note: We join the posts table because topics do not have content. $this->field_map[] = array( 'from_tablename' => 'field_data_comment_body', 'from_fieldname' => 'comment_body_value', 'join_tablename' => 'comment', // 'join_type' => 'INNER', 'join_expression' => 'ON field_data_comment_body.entity_id = comment.cid', 'to_type' => 'reply', 'to_fieldname' => 'post_content', 'callback_method' => 'callback_html' ); // Post content. // BRUGES IKKE - SE OVENFOR // $this->field_map[] = array( // 'from_tablename' => 'post', 'from_fieldname' => 'pagetext', // 'to_type' => 'reply', // 'to_fieldname' => 'post_content', // 'callback_method' => 'callback_html' // ); // Topic id. If no parent, than 0. $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'nid', 'to_type' => 'reply', 'to_fieldname' => 'post_parent', 'callback_method' => 'callback_topicid' ); // Topic date update. $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'created', 'to_type' => 'reply', 'to_fieldname' => 'post_date', 'callback_method' => 'callback_datetime' ); $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'created', 'to_type' => 'reply', 'to_fieldname' => 'post_date_gmt', 'callback_method' => 'callback_datetime' ); $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'changed', 'to_type' => 'reply', 'to_fieldname' => 'post_modified', 'callback_method' => 'callback_datetime' ); $this->field_map[] = array( 'from_tablename' => 'comment', 'from_fieldname' => 'changed', 'to_type' => 'reply', 'to_fieldname' => 'post_modified_gmt', 'callback_method' => 'callback_datetime' ); /** User Section ******************************************************/ // Store old User id. Stores in usermeta. // $this->field_map[] = array( // 'from_tablename' => 'users', 'from_fieldname' => 'uid', // 'to_type' => 'user', 'to_fieldname' => '_bbp_user_id' // ); // Store old User password. Stores in usermeta serialized with salt. // $this->field_map[] = array( // 'from_tablename' => 'users', 'from_fieldname' => 'pass', // 'to_type' => 'user', 'to_fieldname' => '_bbp_password', // 'callback_method' => 'callback_savepass' // ); // Store old User Salt. This is only used for the SELECT row info for the above password save // todo ??? //$this->field_map[] = array( // 'from_tablename' => 'users', 'from_fieldname' => 'salt', // 'to_type' => 'user', 'to_fieldname' => '' //); // // User password verify class. Stores in usermeta for verifying password. // $this->field_map[] = array( // 'to_type' => 'users', 'to_fieldname' => '_bbp_class', // 'default' => 'Vbulletin' // ); // // User name. // $this->field_map[] = array( // 'from_tablename' => 'users', 'from_fieldname' => 'name', // 'to_type' => 'user', 'to_fieldname' => 'user_login' // ); // // User email. // $this->field_map[] = array( // 'from_tablename' => 'users', 'from_fieldname' => 'mail', // 'to_type' => 'user', 'to_fieldname' => 'user_email' // ); // User homepage. // $this->field_map[] = array( // 'from_tablename' => 'users', 'from_fieldname' => 'homepage', // 'to_type' => 'user', 'to_fieldname' => 'user_url' // ); // User registered. // $this->field_map[] = array( // 'from_tablename' => 'users', 'from_fieldname' => 'created', // 'to_type' => 'user', 'to_fieldname' => 'user_registered', // 'callback_method' => 'callback_datetime' // ); // User aim. //$this->field_map[] = array( // 'from_tablename' => 'users', 'from_fieldname' => 'aim', // 'to_type' => 'user', 'to_fieldname' => 'aim' //); // User yahoo. //$this->field_map[] = array( // 'from_tablename' => 'users', 'from_fieldname' => 'yahoo', // 'to_type' => 'user', 'to_fieldname' => 'yim' //); } /** * This method allows us to indicates what is or is not converted for each * converter. */ public function info() { return ''; } /** * This method is to save the salt and password together. That * way when we authenticate it we can get it out of the database * as one value. Array values are auto sanitized by WordPress. */ public function callback_savepass( $field, $row ) { $pass_array = array( 'hash' => $field, 'salt' => $row['salt'] ); return $pass_array; } /** * This method is to take the pass out of the database and compare * to a pass the user has typed in. */ public function authenticate_pass( $password, $serialized_pass ) { $pass_array = unserialize( $serialized_pass ); return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) ); } }Topic: Forums running very slow
We are trying to figure out why the BBPress forums are running so slow on our website, every other page runs very fast on a dedicated server with load times usually no longer than 2-3 seconds max, but on the forum pages we’re seeing an additional 3-6 seconds to load. I installed P3 Plugin Profiler and BBpress is taking up 73% of my runtime by plugin and BBpress String Swap another 8%, for an additional 3 seconds just to run according to this. Can you check out our website and let us know what the issue could be? We’re not using any of the plugins or sidebars on these pages so not sure what the hangup could be.
Topic: Import mm_forum to bbPress
Hi there!
In my website i am using Typo3 as CMS, and now i’m thinking to build a new website but with WordPress…In the current wesbite, i use a plugin called mm_forum that works as a Forum of my website, and i am wondering if bbPress can import the users, posts, and other stuff from it, so i can “migrate” the data to the new website built in WordPress.
Thank you very much
Hello,
– bbPress Version : 2.3.2
– WordPress Version : 3.5.2
– PHP/MySQL Version : PHP 5.3/MySQL 5.1
– Theme : Twenty Twelve (modified)
– website adress : local (127.0.0.1/etc …)I just discovered this extension by mordauk and I made some changes on it to display on a page WordPress, the profile page from bbPress.
In includes/common/shortcodes.php :
<em>/*line 92 :*/</em> 'bbp-profile-edit' => array( $this, 'display_profile_edit' ), // User Profile <em>/*lines 747 to 762 :*/</em> public function display_profile_edit() { // Unset globals $this->unset_globals(); // Start output buffer $this->start( 'bbp_profile_edit' ); // Output templates if ( is_user_logged_in() ) bbp_get_template_part( 'content', 'single-user' ); // Return contents of output buffer return $this->end(); }My problem is that the profile page is displayed correctly, but none of the links work.
Someone has an idea to solve this ?Thanks
Topic: PHP-Fusion to bbPress
Hello everyone,
Completely new to bbPress here, so bear with me.
I’m running a forum in PHP-fusion, but want to join the wonderful world of bbPress and WordPress and the endless possibilities they present.
However i have encountered a problem as i want to transfer all the existing members and preferably old forum posts and blog posts to bbpress. I have been looking pretty much everywhere, but it seems like this is not possible unless i create some customized script.
This is way beyond my capabilities, so now im turning to the forum to ask if there really isnt any possibilites for making such a transfer/conversion or anyone have some great tips on what to do?
Thx in advance
bbPress 2.3.2 zh_TW translations(50%)
download:
https://docs.google.com/file/d/0B4sYaVs4oyaBbU1HQTRGajNCbUE/edit?usp=sharingfile path:
\wp-content\languages\bbpress\Topic: Separate completely from WP
Well more than 2 months after my attempt at upgrading from a 1.0.2 installation to the 2.2.4 version I’m still left with such a horrible mess that now I think it’s best to completely separate the bbPress from my WP installation and run it on a subdomain with it’s own separate MySQL database.
BUT I need some help to be sure I do the de-integration correctly. Fortunately there have been a limited number of both normal WP posts and forum posts in the interim, hopefully that will make it easy to identify those objects since I exported everything from the original database prior to the upgrade.
It looks like all the forum posts and meta are still in the bb_ tables, so as near as I can figure, this seems like what I should do:
1. Export all the bb_ tables to a sql backup file;
2. Export all the wp_ tables to a sql backup file;
3. Export just the wp_users table to a sql backup file for later bbPress use;
4. Create a new MySQL database for the WP installation and import the wp_tables to it;
5. Clean out any users with less than contributor role (not sure how to do this);
6. Change my wp-config.php to use the new WP database;
7. Create a new MySQL database for the bbPress installation;
8. Reinstall bbPress as a standalone install;
9. Import the bb_ tables to the new bbPress database;
10. Import the separate wp_users table into bb_users (? not sure if this can be done?);Can anyone please advise me if this is the right approach, and how to handle the users? I cleaned out all of the inactive and bozo users and have not allowed any new registrations, so all of the remaining users can be imported to the new forum installation. I want to clean them out of the wp_users because I don’t allow registrations there except for author/contributors, which I add manually, so there are several hundred forum users that don’t need to be in my WP installation.
I need some help with the SQL query to isolate and remove any users from wp_users who are not admin/editor/author/contributor level users.
Many thanks for any help anyone can offer.
9.One of my friend is willing to develop a forum for to support blind people. Is bbpress is supports to blind user browsers? Please let me know.
I have installed Qtranslate plugin everything is set up and working fine with bbPress except one thing the Link Url is not translating automatically.
I can manually fix this problem by enclosing in Qtranslate function (qtrans_convertURL) on each link url but this is not efficient solution
Can anyone help me to give optimized or solution better than above
Thanks in advance
Hi,
I’m trying to give full admin capabilties for BBPress to a user with the Editor role, but it’s driving me nuts.
I’ve assigned them the Keymaster Role, but they still only have Forums in the Dashboard, no sign of Topics or Replies.
How can I let a user with the role ‘Editor’ access these Dashboard items?
I did a bunch of searching and 2.2 supposedly fixed this issue with the ability to allow you to assign a Forum role to people, but as you can see, that’s not working.
None of the other solutions I found worked either.
Any advice?
Cheers,
JacobHello,
I may be changing my theme from Flex to Enfold because no one is supporting Flex anymore. I am worried if I do decide to do this can I take my forum members with me if they sign up in my bbpress forum. You see the Enfold theme has it’s own forum…
what do you suggest
also where are your installation video..? If you have them 🙂
thank you !
lorna