Search Results for ' . default . '
-
Search Results
-
Hello,
I recently just updated to BuddyPress 1.8 with the Default Theme and now my widgets are not showing unless members are logged in. Any suggestions? Thanks.
How can I establish automatic (default) email notification for all our registered users, which they can opt out of? We just created a new website for our group and the users are not getting any emails unless they subscribe to the individual topics.
Also, as administrator, how do I send out a group email?
Hey guys!
Just installed bbPress since a week. Loving it so far 🙂 I was wondering, if there was a way where I can let people subscripe to topics, but not have it on by default? Some of the users have complained that they dont want to recieve all that e-email for topics that arent that important.
Hi, how can I remove the sidebar from my forum page? I’m trying to get a full width page for the forums. I’m using the 2012 default WordPress theme, http://goo.gl/kC0X2
Kindly advise.
Thanks!
Hey guys, thanks for taking the time to look after this.
I know there are a lot of posts dedicated to vBulletin import issues, but after hours of searching I haven’t been able to find a resolution. Hoping you can help!
I have read the known issues page (http://codex.bbpress.org/import-forums/vbulletin/) thoroughly and have made sure every detail is correct:
Selected Platform: vBulletin
Database Server: IP or hostname (in my case another-castle.com)
Database Port Use default 3306 if unsure
Database Name Name of the database with your old forum data
Database User User for your database connection
Database Password Password to access the database
Table Prefix (in my case vb_)I just get ‘no forums/users/etc to convert’.
No data is imported.
I know that you can’t know if I’m getting a password or username wrong, but I am using the details I use to successfully log in to my server/phpMyadmin etc.
I am in such urgent need of this to work that I am happy to pay for further support – whatever it takes. Please let me know if there’s any more information I can give to help this along.
Thanks so much.
Dave.
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: Forum Page Sidebar issue
Hi, i have searched different forums here, and tried different solutions but not yet found the right one.
Im now using WordPress 3.5.2, and like many others here i have problems with my bbpress installation for 2.3.2, which started when the new bbpress plugin came out and i found my Forums menu had disappeared, and my admin user where locked out for trying to fix things straight. I tried this solution (“http://bbpress.org/forums/topic/lost-permissions-for-administrator/”)
1) deactivate plugin + delete plugin
2) manually installed older version from SVN (http://bbpress.svn.wordpress.org/branches/2.2/)
3) export forum data (from Tools)
4) reset forum plugin
6) installed wordpress import plugin
7) imported forum data..and I where able to see my forums in the admin menu once again. However once i did update the plugin again, i where locked out and lost the forums in admin menu once again.
I haven’t been able to administer the keymaster to my Admin, i have tried the solution (before i updated bbpress to 2.3.2) with “Admin \ Tools \ Forums \ Remap existing users to default forum roles” and it says OK – fixed 6 roles, but when i check my Admin user in the users list im still just a Forum Participant. (After update i don’t see Forums under Admin \ Tools)
I try using the User Role Editor (but it may be i haven’t understood it fully yet… – im not able to administer the administrators capabilities through it, at least i havent found out how to do it), my Admin user has also another user name than “admin” – if that make this a problem?
In my forum, i (the admin) and the subscriber/editor users, is able to see the forum and the under-forums, and how many topics and replies/posts there are, but when i click one of the under-forums with ex. 12 topics and 16 posts. I get the message:
“This forum contains 12 topics and 4 replies…
Oh bother! No topics were found here!”But im able to add new topics, and they seem to work like they should, but im not able to see my old topics, and i only see one reply – when i follow the freshness-link – it also acts in different ways – sometimes i get to a page – that
Im not too used with coding, so please explain carefully what i could/should do?
(And my english may not be all correct, as its not my main language).My page is at http://www.politiorkester.no (in Norwegian) and the forum is hidden – since its on a membership required page.
Hello, I am using the latest version of bbPress (2.3.2), buddyPress and WP 3.5. In the settings-forums, I cannot get the check box to use the fancy editor to stick. I click it on, hit save, and when it refreshes the box is un-checked and not working. I tried to switch to the default themes and it still doesn’t work.
Any help would be appreciated.
Thank you.
Topic: Custom Backgrounds per Topic
Hey BBPress!
I was wandering if ya’ll can help me out with this. So I have my theme styled so that each Forum gets its own background through the style.css file using the following lines:
.postid-17 {
background: #000000 url(http://alysiaworld.com/wp-content/uploads/2013/06/alysiasea.jpg) center top no-repeat fixed;
}where postid-17 is the correlating WordPress post associated with the Forum.
The problem now is that when you visit a Topic within the Forum, the background goes back to the default image :/
I am thinking that there should be a code to pull the topics Parent Forum “postid” and then force the background to the topic.
I hope that makes sense. I can dig through code, but I am not so skilled with writing my own yet.
Thanks in advance for your help.
WordPress and BBPress are running the latest versions:
Site – htp://alysiaworld.com
Theme – TwentytwelveI’m using wordpress 3.5.1 with bbpress plugin 2.3.2.
Although I have users already registered, those users cannot login to bbpress. When they go to the default forum page, it gives the wp login page and then when they add in their credentials, it just redirects back to the same page stating they must be logged in to see the page.
They have the roll of participant and I’ve even downloaded the members plugin and added all of the participant functions to the subscriber roll yet still the same issue.
The only person who can view the forum is the administrator.
Any ideas? I’ve been trying to fix this now for hours and it’s driving me crazy. I’ve searched the web and haven’t found any solutions except for installing the member plugin, but still, it has no effect.
I’d hate to have to use another forum software, but if I can’t get this to work, I’ll have no other recourse.
website is http://teachforjune.com and forum page is http://teachforjune.com/iiforums
Thanks!
Scott