Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 1,101 through 1,125 (of 6,788 total)
  • Author
    Search Results
  • #194071
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #194070
    nikone27
    Participant

    Good day. I want to add new notification type in my site – Updated the status of the task I have assigned to the user (for example, the task completed). But by default, this function is not. How to do this?

    Version WP and BP last.

    I’m surprised no one has asked such a question before… Please, help me.

    #194055
    quigley05
    Participant

    1. I created a new template file titled discussions-replies and discussions-subscriptions under my WordPress child theme.

    2. I placed within discussions-replies the following code:

    <?php
    /*
    Template Name: Discussions Replies Created
    */
    get_header();
    
    // Page options
    $header = ghostpool_option( 'page_header' ) == 'default' ? ghostpool_option( 'page_page_header' ) : ghostpool_option( 'page_header' );
    $height = ghostpool_option( 'page_header_height', 'padding-bottom' ) != '' ? ghostpool_option( 'page_header_height', 'padding-bottom' ) : ghostpool_option( 'page_page_header_height', 'height' );
    $format = ghostpool_option( 'blog_format' );
    $style = ghostpool_option( 'blog_style' );
    $alignment = ghostpool_option( 'blog_alignment' );
    $cats = ghostpool_option( 'blog_cats' ) ? implode( ',', ghostpool_option( 'blog_cats' ) ) : '';
    $post_types = ghostpool_option( 'blog_post_types' ) ? implode( ',', ghostpool_option( 'blog_post_types' ) ) : ghostpool_option( 'blog_post_types' );
    $orderby = ghostpool_option( 'blog_orderby' );
    $per_page = ghostpool_option( 'blog_per_page' );
    $offset = ghostpool_option( 'blog_offset' );
    $image_size = ghostpool_option( 'blog_image_size' );
    $content_display = ghostpool_option( 'blog_content_display' );	
    $excerpt_length = ghostpool_option( 'blog_excerpt_length' );
    $meta_author = ghostpool_option( 'blog_meta', 'author' );
    $meta_date = ghostpool_option( 'blog_meta', 'date' );
    $meta_comment_count = ghostpool_option( 'blog_meta', 'comment_count' );
    $meta_views = ghostpool_option( 'blog_meta', 'views' );
    $meta_likes = ghostpool_option( 'blog_meta', 'likes' );
    $meta_cats = ghostpool_option( 'blog_meta', 'cats' );
    $meta_tags = ghostpool_option( 'blog_meta', 'tags' );
    $read_more_link = ghostpool_option( 'blog_read_more_link' );
    $pagination = 'page-numbers';
    
    ?>
    
    <div class="sub-nav-container">
    	<div class="sub-nav-pagetitle">
    		<h1><?php the_title(); ?></h1>
    	</div>
    	<div class="sub-nav-about-menu">
    		<?php wp_nav_menu( array( 'theme_location' => 'sub-nav-discuss-menu', 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'sub-nav-discuss-menu', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?>
    	</div>
    	<div class="sub-nav-extramenu">
    	</div>
    </div>
    
    <div id="gp-content-wrapper" class="gp-container">
    
    	<?php do_action( 'ghostpool_begin_content_wrapper' ); ?>
    			
    	<div id="gp-inner-container">
    		
    		<div id="gp-content">
    
    			<div class="gp-entry-content">
    				
    				
    <div id="bbpress-forums">
    	<?php do_action( 'bbp_template_before_user_replies' ); ?>
    
    	<div id="bbp-user-replies-created" class="bbp-user-replies-created">
    		<div class="bbp-user-section">
    
    <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
    <?php if ( bbp_get_user_replies_created( $user_id = bp_loggedin_user_id() ) ) : ?>
        <?php bbp_get_template_part( 'pagination', 'replies' ); ?>
        <?php bbp_get_template_part( 'loop', 'replies' ); ?>
        <?php bbp_get_template_part( 'pagination', 'replies' ); ?>
    <?php else : ?>
        <p><?php _e( 'You have not replied to any topics.', 'bbpress' ); ?></p>
    <?php endif; ?>	
    
    		</div>
    	</div>
    </div>				
    				
    			</div>
    			
    		</div>
    			
    		<?php get_sidebar( 'left' ); ?>
    
    		<?php get_sidebar( 'right' ); ?>
    
    	</div>
    	
    	<?php do_action( 'ghostpool_end_content_wrapper' ); ?>
    				
    	<div class="gp-clear"></div>
    	
    </div>
    
    <?php get_footer(); ?>

    In discussions-subscriptions template I inserted the following code:

    <?php
    /*
    Template Name: Discussions Subscriptions
    */
    get_header();
    
    // Page options
    $header = ghostpool_option( 'page_header' ) == 'default' ? ghostpool_option( 'page_page_header' ) : ghostpool_option( 'page_header' );
    $height = ghostpool_option( 'page_header_height', 'padding-bottom' ) != '' ? ghostpool_option( 'page_header_height', 'padding-bottom' ) : ghostpool_option( 'page_page_header_height', 'height' );
    $format = ghostpool_option( 'blog_format' );
    $style = ghostpool_option( 'blog_style' );
    $alignment = ghostpool_option( 'blog_alignment' );
    $cats = ghostpool_option( 'blog_cats' ) ? implode( ',', ghostpool_option( 'blog_cats' ) ) : '';
    $post_types = ghostpool_option( 'blog_post_types' ) ? implode( ',', ghostpool_option( 'blog_post_types' ) ) : ghostpool_option( 'blog_post_types' );
    $orderby = ghostpool_option( 'blog_orderby' );
    $per_page = ghostpool_option( 'blog_per_page' );
    $offset = ghostpool_option( 'blog_offset' );
    $image_size = ghostpool_option( 'blog_image_size' );
    $content_display = ghostpool_option( 'blog_content_display' );	
    $excerpt_length = ghostpool_option( 'blog_excerpt_length' );
    $meta_author = ghostpool_option( 'blog_meta', 'author' );
    $meta_date = ghostpool_option( 'blog_meta', 'date' );
    $meta_comment_count = ghostpool_option( 'blog_meta', 'comment_count' );
    $meta_views = ghostpool_option( 'blog_meta', 'views' );
    $meta_likes = ghostpool_option( 'blog_meta', 'likes' );
    $meta_cats = ghostpool_option( 'blog_meta', 'cats' );
    $meta_tags = ghostpool_option( 'blog_meta', 'tags' );
    $read_more_link = ghostpool_option( 'blog_read_more_link' );
    $pagination = 'page-numbers';
    
    ?>
    
    <div class="sub-nav-container">
    	<div class="sub-nav-pagetitle">
    		<h1><?php the_title(); ?></h1>
    	</div>
    	<div class="sub-nav-about-menu">
    		<?php wp_nav_menu( array( 'theme_location' => 'sub-nav-discuss-menu', 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'sub-nav-discuss-menu', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?>
    	</div>
    	<div class="sub-nav-extramenu">
    	</div>
    </div>
    
    <div id="gp-content-wrapper" class="gp-container">
    
    	<?php do_action( 'ghostpool_begin_content_wrapper' ); ?>
    			
    	<div id="gp-inner-container">
    		
    		<div id="gp-content">
    
    			<div class="gp-entry-content">
    				
    <div id="bbpress-forums">				
    <div id="bbp-user-subscriptions" class="bbp-user-subscriptions">				
    				
    <h2>Subscribed Forums</h2>				
    <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
    <?php if ( bbp_get_user_forum_subscriptions( $uid ) ) : ?>
        <?php bbp_get_template_part( 'pagination', 'forums' ); ?>
        <?php bbp_get_template_part( 'loop', 'forums' ); ?>
        <?php bbp_get_template_part( 'pagination', 'forums' ); ?>
    <?php else : ?>
        <p><?php _e( 'You are not currently subscribed to any forums.', 'bbpress' ); ?></p>
    <?php endif; ?>
    				
    <br><br>	
    				
    <h2>Subscribed Topics</h2>				
    <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
    <?php if ( bbp_get_user_topic_subscriptions( $uid ) ) : ?>
        <?php bbp_get_template_part( 'pagination', 'topics' ); ?>
        <?php bbp_get_template_part( 'loop', 'topics' ); ?>
        <?php bbp_get_template_part( 'pagination', 'topics' ); ?>
    <?php else : ?>
        <p><?php _e( 'You are not currently subscribed to any topics.', 'bbpress' ); ?></p>
    <?php endif; ?>
    
    </div>
    </div>				
    				
    				
    				
    			</div>
    			
    		</div>
    			
    		<?php get_sidebar( 'left' ); ?>
    
    		<?php get_sidebar( 'right' ); ?>
    
    	</div>
    	
    	<?php do_action( 'ghostpool_end_content_wrapper' ); ?>
    				
    	<div class="gp-clear"></div>
    	
    </div>
    
    <?php get_footer(); ?>

    3. I then created two new pages with WordPress under their parent named “Discussions”, one page titled Replies and the other Subscriptions. I then assigned each page to their proper template that I just had created.

    4. Now when I load the pages, the code is asking for a current user, however it ignores and shows on Replies all replies made by all users; on Subscriptions it shows that the user has made NO subscriptions, even though they have.

    #194021
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #193913
    Robin W
    Moderator

    I know you have done plugins in turn, but all at once ? – usual advice is

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #193858
    Ash Whitney
    Participant

    Hello. I’d be grateful for some advice please.

    Is it possible to change the number of forums per ‘page’ from the default 50?

    I appreciate the argument for better categorisation, but the situation I have is a parent category relating to prison establishments and within that category are 104 separate forums – one for each prison establishment, so there’s no scope for categorising any differently.

    As my site stands, when visiting the prison establishments page, only the first 50 forums are listed, with no pagination etc. linking to the hidden forums.

    Thanks for your time.

    Ash

    #193817

    In reply to: 404 Erros acces

    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    Robin W
    Moderator

    should be there

    1. It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    2. https://wordpress.org/plugins/bbp-style-pack/

    #193751
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #193716

    Topic: Change user color

    in forum Themes
    sopliar
    Participant

    Hello BBPRESS community,

    I really want to change color of my usergroups in my forum made by bbpress.
    I have the standard role (keymaster, moderator, blocked ecc) but with names modified by editing the file functions.php in my theme folder.

    Now I would like to change the color in the status bar and in the topic/threads, example Administrator in the red, moderators in blue ecc.
    I tried a insert this code in bbpress/templates/default/css/bbpress.css:

    .bbp-author-role-keymaster {
    background:blue;
    color:white;
    padding:0 5px;
    }

    but it does not change anything, why?
    I want to change color here

    View post on imgur.com


    and in threads/topic discussion.
    How I do?
    Thank you very much.

    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #193603
    evildrome
    Participant

    Wordpress 4.9.6
    bbPress 2.5.14

    http://www.personalgroupware.com/wilsonlogan/

    Hi All,

    I have a forum in SQLITE format and I want to import it into bbPress.

    I decided that if I was going to have to convert to a MYSQL database, I might as well use the schema indicated in Example.php

    As I didn’t *actually* have the schema, I had to *guess* based on the fields in Example.php

    For example:

    CREATE TABLE IF NOT EXISTS forums_table (

    _bbp_old_forum_id int(10) NOT NULL default 0,

    the_parent_id int(10) NOT NULL default 0,

    the_topic_count int(10) NOT NULL default 0,

    the_reply_count int(10) NOT NULL default 0,

    the_total_topic_count int(10) NOT NULL default 0,

    the_total_reply_count int(10) NOT NULL default 0,

    the_forum_title varchar(150) NOT NULL default ‘ ‘,

    the_forum_slug varchar(255) NOT NULL default ‘ ‘,

    the_forum_description text NOT NULL,

    the_forum_order int(10) NOT NULL default 0,

    the_forum_type int(10) NOT NULL default 0,

    the_forum_status int(10) NOT NULL default 0

    );

    Having created the database as it is in Example.php, all I needed to do was load the MYSQL database from my SQLITE database.

    Job done!

    Yeah? Not so fast…

    The import fails here:

    SELECT convert(topics_table.the_topic_id USING “utf8mb4”)
    AS the_topic_id,convert(topics_table.the_topic_reply_count USING “utf8mb4”)
    AS the_topic_reply_count,convert(topics_table.the_total_topic_reply_count USING “utf8mb4”)
    AS the_total_topic_reply_count,convert(topics_table.the_topic_parent_forum_id USING “utf8mb4”)
    AS the_topic_parent_forum_id,convert(topics_table.the_topic_author_id USING “utf8mb4”)
    AS the_topic_author_id,convert(topics_table.the_topic_author_ip_address USING “utf8mb4”)
    AS the_topic_author_ip_address,convert(topics_table.the_topic_content USING “utf8mb4”)
    AS the_topic_content,convert(topics_table.the_topic_title USING “utf8mb4”)
    AS the_topic_title,convert(topics_table.the_topic_slug USING “utf8mb4”)
    AS the_topic_slug,convert(topics_table.the_topic_sticky_status USING “utf8mb4”)
    AS the_topic_sticky_status,convert(topics_table.the_topic_creation_date USING “utf8mb4”)
    AS the_topic_creation_date,convert(topics_table.the_topic_modified_date USING “utf8mb4”)
    AS the_topic_modified_date,convert(replies_table.the_topic_id USING “utf8mb4”)
    AS the_topic_id FROM topics_table AS topics_table INNER JOIN replies_table
    AS replies_table USING replies_table.the_topic_id = topics_table.the_topic_id WHERE forums_table.the_topic_id = 0 LIMIT 0, 100

    Lookee thar… a mystery field!

    forums_table.the_topic_id

    Are there any other mandatory fields in the import schema that are not referenced in Example.php?

    And… what field from my database should I load to forums_table.the_topic_id ?

    Thanks!

    #193594
    u_Oi
    Participant

    You can put a default IP for all registered activity:

    add_filter( 'bbp_current_author_ip', function() {
     return '127.0.0.1';
    } );

    127.0.0.1 is the default ip in this case.

    #193571
    Martin J
    Participant

    Thanks for the follow up. Here is what I did…

    1. Disabled all plugins except bbpress
    2. I switched to a WP default theme, ie: twentyfifteen and twentyseventeen
    3. Did the above with Chrome, Firefox, and MS Edge browsers

    Same thing still happens. So with the admin bar disabled, and logging in from the default WP login screen, and with bbpress enabled, I just get redirected to the site’s front page — no admin page. So I still have to add wp-admin/ at the end of the url address to get into the admin area. If I disable bbpress, then everything works normal. Enable it again, goes back to the issue.

    As mentioned, I’ve encountered this for at least a couple years. So based on testing, it’s not theme related and not plugin (other plugins) related. Something about bbpress is redirecting after logging in with the default WP login and not sending me directly into the admin.

    If there is something coded in bbpress for “Forum logging in” for front-end users, then I can see this being relevant. However, logging into the admin, is the problem.

    #193551
    Robin W
    Moderator

    This is not standard behaviour.

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #193537
    tsntmp
    Participant

    I am building a forum in Vietnamese language and the default title font does not display well in Vietnamese so I want to change it to Arial. How can I do it, please?

    #193531
    ohkevmanaol
    Participant

    I would love to know how to hide buttons like login or register when the user is logged in and vice versa for opposite scenarios.

    Im surprised that’s not how it functions by default. Why can i access the log in page when im logged in? There should be redirect options for this.

    Does anyone have any suggestions that does not involve a ton of code. Remember, that’s the whole point of WP and plugins.

    #193496
    matty19901
    Participant

    FYI I’m using version 4.9.6 of wordpress and version 2.5.14 of bbPress.

    I added custom code to my theme functions.php page to add customized roles for bbPress. The roles show up when I edit users and want to change their roles, but when I go to save it, they just default back to a participant role. How can I fix this? Here is the code I used below:

    /* bbPress Custom Roles */
    function add_custom_role( $bbp_roles ) {
     
    
    $bbp_roles['my_custom_role2'] = array(
    'name' => 'Producer',
    'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
    );
    $bbp_roles['my_custom_role3'] = array(
    'name' => 'Engineer',
    'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
    );
    $bbp_roles['my_custom_role4'] = array(
    'name' => 'Songwriter',
    'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
    );
    $bbp_roles['my_custom_role5'] = array(
    'name' => 'Staff',
    'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() ) // the same capabilities as keymaster
    );
    $moderator = bbp_get_moderator_role() ;
    $bbp_roles[$moderator] = array(
    'name' => 'Moderator',
    'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() ) // the same capabilities as keymaster
    );
    $keymaster = bbp_get_keymaster_role() ;
    $bbp_roles[$keymaster] = array(
    'name' => 'Chief Executive Officer',
    'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // the same capabilities as keymaster
    );
    $apprentice = bbp_get_participant_role() ;
    $bbp_roles[$apprentice] = array(
    'name' => 'Member',
    'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
    );
    return $bbp_roles;
    }
    add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
    #193489

    Good Day everyone,

    For a few years now I have bbPress and WordPress installed in French language.
    Currently using bbpress 2.5.14 and WordPress 4.9.6.
    The two language files bbpress-fr_FR.mo and bbpress-fr_FR.po are located in the wp-content/plugins/languages folder.

    Everything looks to work fine except that since the beginning notifications mails are sent in English language. I never figured out the reason and hope someone could help me.
    Everytime it’s the default template like “Mr Foo wrote:”, “New Topic”, etc…

    The original WordPress install was in English language but I installed the French pack during the updates, I define (‘WPLANG’, ‘fr_FR’); in wp-config.php as well and the admin interface is in french. I don’t understand. I tried to modified the .po / .mo file with a software but no effects. I’m using WP Config SMTP plugin but I don’t think it’s related, right ?

    Any help / advise would be really appreciated.

    #193487
    pigpotato
    Participant

    I fixed it like this.

    1. make css folder in wordpress>wp-content>theme>[mytheme]
    2. cp wordpress>wp-content>plugins>bbpress>templates>default>css>bbpress.css wordpress>wp-content>theme>[mytheme]>css
    3. add these code lines in the css file.
    #bbpress-forums fieldset.bbp-form input[id=bbp_anonymous_email]{ display: none; }
    4. cp wordpress>wp-content>plugins>bbpress>templates>default>bbpress>form-anonymous.php wordpress>wp-content>theme>[mytheme]>bbpress
    5. fix any email address in email textfield. Edit the form-anonymous.php
    <input type=”text” id=”bbp_anonymous_email” value=”guest@guest.com” ….

    #193455
    randomguy124
    Participant

    I wish to remove certain functions and text from the forum table (such as the name of the user who started the topic and his/her avatar) to reduce the cluttering. How could I delete/edit text and hyperlinks associated with bbPress?

    I’m using twenty seventeen theme.

    #193451
    ohmygod88
    Participant

    UPDATE
    I tried changing the settings in Polylang to remove language prefix in the URL and everything is working now.

    However, may I know if I wish to have ‘zh’ in the URL as prefix then how do I approach to solve the issue? I believe the issue is caused by the language prefix which bbPress does not recognize it by default.

    ohmygod88
    Participant

    Hi guys,

    I tried out bbpress recently and I am developing a multilingual website with polylang. Everything is working well and I created two forums with one for English and one for Chinese.

    However, the search function for bbpress seems to only work for the default English forum even tho the user is on Chinese or English state of the website.

    I tried to switch to the default templates but the issue is still there.

    Does anyone have this issue and how do you solve it?

    #193339
    #193262
    Tradewind25
    Participant

    Hi,

    I am ploughing my way through bbp Style Pack and finding it very useful. However I have a sticking point when it comes to Buttons.
    a) I can ‘activate Create Topic Button’ and ‘Activate Subscribe Button’ and the default buttons appear. (i.e. small white type on a blue background).
    b) If I now attempt to enter ANY Button Style parameters (e.g. font size) then I revert back to simple text on the front-end for ‘Create New Topic’ and ‘Subscribe’.
    I have tried including specific values for all the Button Style parameters but still I just get text on the front-end.

    Geoff

Viewing 25 results - 1,101 through 1,125 (of 6,788 total)
Skip to toolbar