Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 3,226 through 3,250 (of 6,788 total)
  • Author
    Search Results
  • #144273

    In reply to: Shotcodes not working

    Robin W
    Moderator

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    #144195
    Xn2
    Participant

    It works on default theme, so should come from the theme.

    But how to fix it in the theme ? i dont understand the origin of the conflict. I read something about single-topic.php files but my theme doesnt use this name.

    thx for the quick answer

    #144190

    In reply to: Bar users

    Stephen Edgar
    Keymaster

    Yes, bbPress uses the same system as WordPress, how to do that is explained here:

    https://codex.wordpress.org/Combating_Comment_Spam#Default_Comment_Spam_Tools

    You can and should also enable and use the Akismet plugin.

    SubstreamAI
    Participant

    Ok… forgive me. It appears this is already the default behavior. Man, I can’t express how much grief I’ve had over this thing. I can’t believe its already doing this – dunno how I missed that.

    #144140
    Robin W
    Moderator

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    adressler
    Participant

    Hi everyone, this is my first time posting, and I really dig BBPress so far.

    I’m running WP v3.8.1 with BBPress 2.5.3. I’ve encountered a problem when converting a custom MYSQL database into BBPress. I have successfully exported a Lotus Notes / Domino DB (yes, it still exists…) into a simple MySQL DB containing just 3 tables.

    After a “successful” conversion (of over 35K forums, topics and replies) into BBPress, I can see all of the Forums, Topics, and Replies listed in the BBPress Admin panel. However, there seems to be issues with the Foreign Keys being imported/linked, even though I have double and triple checked the forum_id, topic_id values for the Topics->Forums and Replies->Topics relationships within the Example.php converter included with BBPress. All data has been properly formatted into WordPress friendly values (dates, slugs, etc..) before importing into MySQL.

    In the admin panel, under Forums, it lists all forums in their hierarchical order, as expected. It also lists the topic and reply counts, date, and creator next to each parent / child forum. However, under “Freshness” is says “No Topics”. The Topics Admin page is even more intriguing; it lists all of the Topic Titles, the Forum title which that topic is assigned to (!), reply count, author, creation date, and freshness. Browsing to the Replies Admin page lists all reply titles, author, and creation date, however under Forum it says “No Forum” and under Topic it says “No Topic”.

    When you browse to the forums (mysite.local/forums/forum/the-forum), the forum title and child-forums are displayed, along with topic and reply counts for each child. However, under “Freshness”, it says “No Topics”. When I browse to a child forum, it lists the topic and reply counts, however it says “No Topics were found”.

    When I browse to a topic (mysite.local/forums/topic/the-topic), I see the date, title, content, and reply count. However, there are no replies listed.

    When I browse to a reply (by clicking “View” under the reply listed in the Admin Replies page), it directs me to http://mysite.dev/wp-admin/edit.php?post_type=reply/#post-######, saying “Invalid Post Type”.

    I figured this would be rather straightforward, since I am not importing Users or Tags. Eventually I would like all authors to be “Archived Author”, should I try to tackle this now or after a fully successful import?

    I can supply screen shots, converter output (which really says nothing unexpected), or the full source code for the converter if needed. I’ve included my table structure and simplified converter code for reference.

    I hope that someone with a bit more experience converting forums for BBPress will be able to shed some light on this, my forehead is really starting to hurt from banging my head against the wall. It seems there is very limited information out there on this converter. Any and all help is greatly appreciated!

    My tables to import/convert are laid out as follows:

    forums table {
      forum_id  PRIMARY KEY INT(11)
      title
      slug
      parent_id (Self referencing FK)
      last_mod (DATETIME)
      num_topics
      num_replies
    }
    topics table {
      topic_id PRIMARY KEY INT(11)
      parent_id FK (set to 0 for no parent)
      forum_id FK (matches corresponding <code>forums</code>.forum_id)
      subject (title)
      slug (slug of title)
      body (the post content)
      from
      date
      date_gmt
      num_replies
    }
    replies table {
      reply_id PRIMARY KEY INT(11)
      topic_id FK INT(11) (matches corresponding <code>topics</code>.topic_id)
      forum_id FK INT (11) (matches corresponding <code>forums</code>.forum_id)
      date
      date_gmt
      subject
      body
    }

    And now, here’s the converter I’m using (starting at the Forum section Line#26 of /plugins/bbpress/includes/admin/converters/Example.php). I’ve removed commented lines for brevity.

    
    /** Forum Section *****************************************************/
    
    		// Setup table joins for the forum section at the base of this section
    
    		 // Forum id (Stored in postmeta)
    		$this->field_map[] = array(
    			 'from_tablename'  => 'forums',
    			 'from_fieldname'  => 'forum_id',
    			 'to_type'         => 'forum',
    			 'to_fieldname'    => '_bbp_forum_id'
    		);
    
    		// Forum parent id (If no parent, then 0. Stored in postmeta)
     		$this->field_map[] = array(
    			'from_tablename'  => 'forums',
    			'from_fieldname'  => 'parent_id',
    			'to_type'         => 'forum',
    			'to_fieldname'    => '_bbp_forum_parent_id'
    		 );
    
     		// Forum topic count (Stored in postmeta)
     		$this->field_map[] = array(
    			 'from_tablename' => 'forums',
    			'from_fieldname' => 'num_topics',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_topic_count'
    		 );
    
    		 // Forum reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'forums',
     			'from_fieldname' => 'num_replies',
     			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_reply_count'
    		 );
    
     		// Forum total topic count (Stored in postmeta)
    		$this->field_map[] = array(
    			' from_tablename' => 'forums',
    			'from_fieldname' => 'num_topics',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_total_topic_count'
    		 );
    
    		 // Forum total reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			 'from_tablename' => 'forums',
    			 'from_fieldname' => 'num_replies',
    			 'to_type'        => 'forum',
    			 'to_fieldname'   => '_bbp_total_reply_count'
    		 );
    
    		 // Forum title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'forums',
    			'from_fieldname'  => 'title',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_title'
    		 );
    
    		 // Forum slug (Clean name to avoid confilcts)
    		$this->field_map[] = array(
    			'from_tablename'  => 'forums',
    			'from_fieldname'  => 'slug',
    			'to_type'         => 'forum',
     			'to_fieldname'    => 'post_name'
     		);
    		
    		 // Forum dates.
    		 $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 *****************************************************/
    
    		// Setup table joins for the topic section at the base of this section
    
    		// Topic id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'topic_id',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_topic_id'
    		);
    
    		// Topic reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'num_replies',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_reply_count'
    		);
    
    		// Topic total reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'num_replies',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_total_reply_count'
    		);
    
    		// Topic parent forum id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'forum_id',
    			 'to_type'         => 'topic',
    			 'to_fieldname'    => '_bbp_forum_id'
    		);
    
     		// Topic content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'body',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_content'
    		);
    
    		// Topic title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
     			'from_fieldname'  => 'subject',
     			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_title'
    		);
    
    		// Topic slug (Clean name to avoid conflicts)
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'slug',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_name'
    		);
    		// Topic dates.
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'date',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_date'
    		);
    
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'date_gmt',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_date_gmt'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'date',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_modified'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'date_gmt',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_modified_gmt'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'topics',
    			'from_fieldname'  => 'date',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_last_active_time'
    		);

    And skipping to the Replies section (Tags and Users are not converted)

    	/** Reply Section *****************************************************/
    
    		// Setup table joins for the reply section at the base of this section
    
    		// Reply id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'replies',
    			'from_fieldname'  => 'reply_id',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_post_id'
    		);
    		// Reply parent topic id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'replies',
    			'from_fieldname'  => 'topic_id',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_topic_id'
    		);
    		// Reply title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'replies',
    			'from_fieldname'  => 'subject',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_title'
    		);
    		// Reply content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'replies',
    			'from_fieldname'  => 'body',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_content'
    		);
    		// Reply dates.
    		$this->field_map[] = array(
    			'from_tablename'  => 'replies',
    			'from_fieldname'  => 'date',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_date'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'replies',
    			'from_fieldname'  => 'date',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_date_gmt'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'replies',
    			'from_fieldname'  => 'date',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_modified'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'replies',
    			'from_fieldname'  => 'date',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_modified_gmt'
    		);
    #144116
    jesseaaron
    Participant

    Sorry to bump this, I’m having same “Cheatin’ Uh” error but the “remap existing users to default forum roles” did not work for me. The results were “0 users modified”. Any other ideas?

    Sho-Down
    Participant

    I have 79,280 members on my website. I imported from SimplePress forum (that worked ok) but only 19,000 members were labeled Participant. I ran ‘Remap existing users to default forum roles’ and after a while the page went white/blank. I went back to admin and it indeed worked a little bit because the Participants jumped to 37,486. Tried to remap again and the page went white/blank but this time no more members were added to Participants.

    Will this work itself out once members log into my website or I’m gonna have to manually change the roles? I use a separate log in/register plugin to handle log in so will they automatically be a Participant in the forum if they log in to my website?

    #144104
    Robin W
    Moderator

    Can only suggest you start with eliminating plugin and theme conflicts viz :

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    Whilst you on a “clean” child theme, the main theme may have issues.

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    #144059
    amandafrench
    Participant

    I had this same problem on a site in my Multisite network (the only site with bbpress activated). I fixed it by checking the “Auto role: Automatically assign default role to new, registered users upon visiting the site” option in Settings –> Forums. The default role was set to “Participant.”

    #144022

    In reply to: Delete Topic Function

    Robin W
    Moderator

    ok, interesting, whilst altering that file on a permanent basis is not a good idea, it should have worked.

    I’m not familiar with the role editor, does it let you change the default participant role, or did you create a new one with the delete topic capability?

    I’d eliminate plugin and theme issues by

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    Let us know how you get on

    #143998
    Stephen Edgar
    Keymaster

    Seems like the bbPress user role ‘keymaster’ is trying to make you have a bad day.

    Open up bbPress’ Repair Tools from the Dashboard -> Tools -> bbPress (/wp-admin/tools.php?page=bbp-repair)

    Run the Repair Tool “Remap existing users to default forum roles”

    How’d did that go?

    #143969
    Robin W
    Moderator

    maybe a plugin or theme conflict

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    #143968
    Stephen Edgar
    Keymaster

    That actually appearing from your themes template and not bbPress’ templates.

    If you open up your page.php template of your theme (Or whatever the primary temmplate is) you will see something similar to this code:

    
    <div class="entry-author-meta">
      <p class="author-name">Published by 
      <span class="author vcard"><a class="url fn n" href="#" title="#">#</a></span>
      </p>
      <p class="author-description">
      </p>
    </div>
    

    Now make a copy of your page.php template (or again the main template your theme uses) and rename the this to bbpress.php open up the bbpress.php in a text editor and remove the section of code that I listed above.

    bbPress will now use this template rather that your themes default template.

    #143959
    Robin W
    Moderator

    quite possibly a plugin or theme conflict

    try

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    #143949

    In reply to: SimplePress Import

    Stephen Edgar
    Keymaster

    Sorry for the late reply, this seems to be closest info I can find about the error but nginx/php5-fpm configs are not my strong suit, I use either the defaults or what my web host picks for me 😉

    That said, when you hit stop, it stops (obviously) but when you click start it does just resume from where it left off.

    #143941

    In reply to: Delete Topic Function

    gjwarez
    Participant

    Hey Robin,

    I add the line in this php file location
    wp-content/plugins/bbpress/includes/core/capabilities.php

    
    		// Participant/Default
    		case bbp_get_participant_role() :
    		default :
    			$caps = array(
    
    				// Primary caps
    				'spectate'              => true,
    				'participate'           => true,
    
    				// Forum caps
    				'read_private_forums'   => true,
    
    				// Topic caps
    				'publish_topics'        => true,
    				'delete_topics'         => true,
    				'edit_topics'           => true, 
    				
    				// Reply caps
    				'publish_replies'       => true,
    				'edit_replies'          => true,
    				
    				// Topic tag caps
    				'assign_topic_tags'     => true,
    			);
    
    			break;
    	}
    
    

    In this case the delete_topic does not work,
    if i put delete_others_topics there it will work for all users.

    #143910
    locke742
    Participant

    I’m using bbpress and also a plugin called Pods (for implementing custom post types)

    The problem I’m having is that the “Forums” page in the admin shows only items of the “articles” custom post type, and not the actual forums. Is this type of conflict common? I haven’t altered the default post type of bbpress.

    #143897
    Stephen Edgar
    Keymaster

    From what I can see of your site just now is you still have those plugins enabled and your still using your theme. Disable your plugins and switch to a default WordPress theme like Twenty Thirteen and you won’t have a problem deleting those replies.

    Once your done that activate your theme and check if the problem still exists.

    Next enable one other plugin and check the problem again.

    Next, your next plugin, check again.

    Keep doing this one by one and you will find the conflict and we can go from there.

    #143884
    Robin W
    Moderator

    if it worked before, then something has changed.

    If you want to stop it using the template then create a ‘bbpress’ folder in the root of your theme, and copy

    wp-content/pluigins/bbpress/templates/default/bbpress/loop-single-reply.php across to this new folder.

    The edit to remove the code that displays this – lines 47 to 55 have an if(keymaster) statement that display this info

    #143882
    sanjaynegi
    Participant

    Here are the answers…..

    1. Yes bbPress is fully working, except that when i go to Dashboard>replies i get an internal server error mentioned above.

    2. this is an old installation, few days back it was working fine from 10 days back i am getting this error in Dashboard>replies.

    3. This error is always been there.

    4. Nothing has changed on the site except i installed some plugins i needed.

    5. I am running these wordpress pulgins are BackUpWordPress, bbPress Genesis Extend( beacuase bbpress has problems with genesis framework and it helps), bbPress Moderation, Broken Link Checker, Contact Form 7, ContestHopper for WordPress, Eggplant 301 Redirects, Genesis Simple Edits, Google Analytics for WordPress, Jetpack by WordPress.com, Nofollow for external link, SEO Friendly Images, W3 Total Cache, WordPress SEO, WordPress SEO News, WP-No-Tag-Base and Google Publisher Plugin.

    6. Yes using W3 Total Cache as a caching software but i don’t think it is the issue.

    7. Yes this problem is also there with ALL plugins except bbPress deactivated AND a default theme such as Twenty Thirteen installed i still get this error? and the default theme i used is Twenty Thirteen.

    Thanks for your help…..

    #143881

    In reply to: Topics wont show up

    Robin W
    Moderator

    ok, lets see if it is a conflict problem

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    #143875
    Robin W
    Moderator

    yes, but you do need to

    a) show some patience – we are all volunteers here and have lives outside of bbPress
    b) answer fully questions asked – these are not random or standard, they are specific to your problem. All are asked for a reason.

    To help me to help you, I need information to get to a problem definition, and from there to a solution.

    Please respond to each question below

    1. I now understand your problem as follows :
    bbPress is fully working, except that when you go into Dashboard>replies you get an internal server error.
    Is this correct? If not precisely when/how do you get the error
    2. Have you just installed bbpress, or is this an old installation?
    3. Has this error always been there, or has it appeared?
    4. What else has changed on the site
    5. What other plugins are your running?
    6. Are you running any caching software?
    7. can you confirm that with ALL plugins except bbPress AND a default theme such as twentytwlelve installed you still get this error? and which default theme you used.

    Thanks

    #143870

    In reply to: SimplePress Import

    Stephen Edgar
    Keymaster

    I was on Simple:Press v5.3.4 and have just now upgraded to v5.4.1

    Tested the current bbPress v2.5.3 import using the SimplePress5 importer and everything worked fine.

    Repair any missing information: Continue
    Conversion Complete
    No reply_to parents to convert
    Converting replies (0 - 99)
    No tags to convert
    No super stickies to stick
    Calculating topic stickies (0 - 99)
    Converting topics (0 - 99)
    Calculating forum hierarchy (0 - 99)
    Converting forums (0 - 99)
    Delete users WordPress default passwords (0 - 99)
    Converting users (0 - 99)
    Starting Conversion

    This is the SQL query that runs the step you are stuck on:
    SELECT post_id AS value_id, meta_value FROM sp_postmeta WHERE meta_key = '_bbp_forum_parent_id' AND meta_value > 0 LIMIT 0, 100

    This shouldn’t really cause any issues, worst case scenario you no longer have your forums grouped in their previous hierarchal structure.

    The only other thing I can think of is maybe a SimplePress plugin/extension may have modified the database setup beyond the basic ‘out of the box’ setup I use.

    You could also try reordering your SimplePress forums to force an update of their values in the database. Also try removing the forums from the groups and delete the groups. You can easily add the groups/categories again on the bbPress side once the import is completed successfully.

    #143831
    Robin W
    Moderator

    Ok, I am also confused !

    If http://www.techgreet.com/ is your site, it seems to be working fine on the client side, I can access and see the forums.

    So for the server error – when exactly do you receive this error?
    Are there particular actions that you take to create this?
    Have you contacted your server administrator, and what did they say?

    for the tab error – I presume this is in the dashboard?
    Have you just installed bbpress, or is this an old installation?
    What else has changed
    What other plugins are your running?

    It may be a plugin or theme conflict – not sure whether you tried deactivating all plugins except bbPress viz

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

Viewing 25 results - 3,226 through 3,250 (of 6,788 total)
Skip to toolbar