Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 2,701 through 2,725 (of 6,788 total)
  • Author
    Search Results
  • #154880
    #154844
    Robin W
    Moderator

    I suspect it is the loop-single-forum template

    create a directory on your theme called ‘bbpress’
    ie wp-content/%your-theme-name%/bbpress
    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/%your-theme-name%/bbpress/loop-single-forum.php
    bbPress will now use this template instead of the original

    then

    remove lines 20 and 24

    line 20

    <?php do_action( 'bbp_theme_before_forum_subscription_action' ); ?>
    

    line 24

    <?php do_action( 'bbp_theme_after_forum_subscription_action' ); ?>
    

    come back if that doesn’t work

    #154817
    Robkk
    Moderator

    well it looks nice how it is already but thats my opinion.

    but if you really want the default bbPress look , i think all you have to do is copy loop-single-topic.php from the bbPress plugin templates and let it overwrite the exact file in your child themes bbpress folder.

    i suggest you test it out and make sure it works well in a local development area on your CPU.

    https://codex.bbpress.org/creating-a-test-site/

    #154810
    Robin W
    Moderator

    I don’t specifically know if that is default bbpress behaviour, suggest you try

    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 twentytwelve, and see if this fixes.

    If none of those show a change, then it is probably default behaviour.

    #154780

    In reply to: Unique member names

    peter-hamilton
    Participant

    Been a while, spent quite a lot of time looking for a solution for the “name” issue.

    Wordpress registration checks if a “username” is already used, this is great.

    Buddypress is the problem cause they also add a “Name” field to registration, and this can be duplicate creating issues when multiple John Doe’s appear in my forums and activity.

    Solution

    I created a dirty solution by changing the label for (buddypress) Name to Username, and added a line of text urging new members to fill in the exact same name as the did in the “Username” field.

    Although people can type whatever they want there, I hope most will just copy the first name.

    This way the @name and username should be similar on all pages.

    Then I also removed the option to change this name in the profile edit.php through CSS so no longer can people change their nicknames.
    Unless a code savvy member goes to change the CSS in chrome, then the box will appear and they can change their names.

    Wishlist

    A solution/function where Buddypress or BBpress copies the username and adds that in the nickname field by default.

    Anyway, here is a link to my current register page:

    BBFacelook registration page

    P.H.

    #154748
    Robin W
    Moderator

    sorry, but since your site requires login, we can’t see

    However I’d suggest you check that no plugin updates are needed and then

    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 twentytwelve, and see if this fixes.

    #154738

    In reply to: Truncated usernames

    Robkk
    Moderator

    i took this css right from bbpress.org

    add this anywhere you can add custom css
    if it doesnt work add !important to the end like this 12px!important;

    #bbpress-forums div.bbp-reply-author a.bbp-author-name, 
    #bbpress-forums div.bbp-topic-author a.bbp-author-name {
    clear: left;
    display: block;
    font-size: 12px;
    }

    the default size i think is usually 12px
    so either use that or go lower

    alekbounce
    Participant

    Hi everyone!

    I’m using a members plugin called UserPro. I’m trying to integrate bbPress forums with the user profiles created through UserPro.

    All I’m trying to do is replace the user’s photo and username links to instead link to the UserPro profiles.

    Here’s a visual.

    The plugin’s developer gave users his own CSS changes to the “Loop-single-topic”, “Loop-single-reply” and the “loop-single-forum” .php files.

    Though his supplied CSS works in terms of replacing the links, it also breaks the look of the entire forum and removes all of the info below the user’s pic and name.

    Here’s the default “loop-Single-reply”:

    <?php
    
    /**
     * Replies Loop - Single Reply
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <div <?php bbp_reply_class(); ?>>
    
    	<div class="bbp-reply-author">
    
    		<?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    
    		<?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => true ) ); ?>
    
    		<div class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></div>
    
    		<div class="bbps-post-count"><?php printf( __( 'Post count: %s', 'Avada' ), bbp_get_user_reply_count_raw(bbp_get_reply_author_id()) ); ?></div>
    
    		<?php if ( bbp_is_user_keymaster() ) : ?>
    
    			<?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
    
    			<div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
    
    			<?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
    
    		<?php endif; ?>
    
    		<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
    
    	</div><!-- .bbp-reply-author -->
    
    	<div class="bbp-reply-content">
    
    		<div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header clearfix">
    
    			<div class="bbp-meta">
    
    				<?php if ( bbp_is_single_user_replies() ) : ?>
    
    					<span class="bbp-header">
    						<?php _e( 'in reply to: ', 'bbpress' ); ?>
    						<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a>
    					</span>
    
    				<?php endif; ?>
    
    				<a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
    
    				<?php do_action( 'bbp_theme_before_reply_admin_links' ); ?>
    
    				<?php bbp_reply_admin_links( array ( 'after' => '<span class="admin_links_sep"> | </span></span>') ); ?>
    
    				<?php do_action( 'bbp_theme_after_reply_admin_links' ); ?>
    
    			</div><!-- .bbp-meta -->
    
    		</div><!-- #post-<?php bbp_reply_id(); ?> -->
    
    		<div class="bbp-reply-entry">
    			<?php do_action( 'bbp_theme_before_reply_content' ); ?>
    
    			<?php bbp_reply_content(); ?>
    
    			<?php do_action( 'bbp_theme_after_reply_content' ); ?>
    			<div class="bbp-arrow"></div>
    		</div>
    
    	</div><!-- .bbp-reply-content -->
    
    </div><!-- .reply -->
    

    Here’s his supplied CSS:

    <?php
    
    /**
     * Replies Loop - Single Reply
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <div <?php bbp_reply_class(); ?>>
    
    	<div class="bbp-reply-author">
    
    		<?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    
    		<?php 
    
    /* Integrating UserPro */
    		global $userpro;
    		$link = preg_replace("/(?<=href=(\"|'))[^\"']+(?=(\"|'))/", $userpro->permalink( bbp_get_reply_author_id() ), 
    		bbp_get_reply_author_link( array( 'sep' => '<br />', 'show_role' => false ) ) );
    		echo $link . userpro_show_badges( bbp_get_reply_author_id() );
    		?>
    
    		<?php if ( bbp_is_user_keymaster() ) : ?>
    
    			<?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
    
    			<div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
    
    			<?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
    
    		<?php endif; ?>
    
    		<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
    
    	</div><!-- .bbp-reply-author -->
    
    	<div class="bbp-reply-content">
    
    		<?php do_action( 'bbp_theme_before_reply_content' ); ?>
    
    		<?php bbp_reply_content(); ?>
    
    		<?php do_action( 'bbp_theme_after_reply_content' ); ?>
    
    	</div><!-- .bbp-reply-content -->
    
    </div><!-- .reply -->
    

    I would be grateful to get any assistance on how I might change the links alone without modifying or breaking everything else. Thanks so much in advance.

    I’m using the Avada theme.

    coskel22
    Participant

    BB Press 2.5.4 running on WP 4.0 using default template Tewnty-Twelve.
    I have a regular member who has been posting and replying in my forum for months every day without a problem.

    A week ago today this member started having all their replies marked as spam.

    I have the default settings in Askimet, and no other “special” settings for forum users. I have had their IP address whitelisted, and I have unspammed every comment.
    No additions of plugins, templates, or style sheets. As a matter of fact, I was out of town when it happened, so no changes had been at all.

    I had them make a new user and they were able to post once and then started getting marked as spam again.

    Is there anything I can do to get them unstuck?

    Thanks in advance for the help

    #154695

    In reply to: cyclic redirect

    Robin W
    Moderator

    With so little information it is hard to help !

    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 twentytwelve, and see if this fixes.

    #154677
    gipsypainter
    Participant

    Hi

    I am setting up a new BBPRess forum and I have changed the default reply order to descending so new replies begin at the top. So far so good.

    However, when a new reply is submitted the user is taken to the other end of the thread rather than to the newest end. Is there a tweak I need to the reverse order code?

    this is what I have in my functions:

    function custom_bbp_has_replies() {
      $args['order'] = 'DESC'; // 'ASC' (Ascending, Default), 'DESC' (Descending)
      
      return $args;
    }
     
    add_filter('bbp_before_has_replies_parse_args', 'custom_bbp_has_replies' );

    thanks for any help.

    #154675
    Robin W
    Moderator

    hmm.. as a mod on my test site(as well as on this site) I can trash and spam.

    Have you altered any capabilities, or using any plugins that might affect this?

    you could try

    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 twentytwelve, and see if this fixes.

    that might pinpoint the problem.

    #154652

    In reply to: Photo in Latest posts

    Robkk
    Moderator

    since you have custom bbpress templates in your theme

    you would have to look at the loop-single-topic.php file in your bbpress folder and compare it to this one which is the plugins version of the file

    https://raw.githubusercontent.com/ntwb/bbPress/master/src/templates/default/bbpress/loop-single-topic.php

    basically you need this for the started by author avatar

    <?php do_action( 'bbp_theme_before_topic_started_by' ); ?>
    
    <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span>
    
    <?php do_action( 'bbp_theme_after_topic_started_by' ); ?>

    and this for the freshness author avatar

    <?php do_action( 'bbp_theme_before_topic_freshness_author' ); ?>
    
    <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) ); ?></span>
    
    <?php do_action( 'bbp_theme_after_topic_freshness_author' ); ?>
    #154644

    In reply to: Photo in Latest posts

    Robkk
    Moderator

    bbPress looks like this by default in a unmodified fresh install with the show topics by freshness shown on the forums root.

    #154634
    Robin W
    Moderator

    sorry for the late reply, I have been busy elsewhere.

    Read private forums is fine, and as it should be.

    I have carefully read through the above, and am struggling to help you further.

    The best I can suggest is that you set up a test site

    https://codex.bbpress.org/creating-a-test-site/

    so that you can try with a default theme and not break you live site

    #154433
    atfpodcast
    Participant

    I deactivated these plugins that added bbcode. They worked at first. I did this on a fresh install of wordpress for a new site. It works for ie, chrome etc I have debugging on. What would be the cause? The plugin author says its plugin i dont know… So I thought I would use the bbpress defaults and those dont work.

    #154432
    atfpodcast
    Participant

    I deactivated the bbcode and white ilst and the default took bar is not showing in firefox. I will open another thread. Why this so hard? blah

    #154396
    realerq
    Participant

    Hello, @Robin-W

    Thanks for your quick reply.

    I tried to deactivate all plugins i have except for bbpress(actually i also tried to reinstall all of them that can be connected to bbpress) and it gave no result.
    I am in fear of changing my theme as it can just break all the site, so i can’t do it now(but my theme author actually was the on who suggested to use your plugin, so i believe it shouldn’t be the case)

    So currently i have this:

    Main: WordPress 4.0

    Theme: Kleo 2.1.1

    Plugins installed and activated:
    bbP last post 1.0
    bbP private groups 2.4
    bbPress 2.5.4
    bbPress – Private Replies 1.2
    bbPress Enable TinyMCE Visual Tab 1.0.1
    bbPress Go To First Unread Post 1.1
    bbPress Pencil Unread 1.0.9
    bbPress Post Toolbar 0.7.5
    bbPress String Swap 1.4.0
    bbP topic count 1.3.1
    Black Stupio TinyMCE Widget 2.1.6
    BuddyPress 2.1.1
    Capability Manager Enhanced 1.5.2
    GD bbPress Tools 1.6
    Global Hide Toolbar 1.6.1
    K Elements 2.1.1
    Rendez Vous 1.1.0
    Revolution Slider 4.6.0
    rtMedia for WordPress, BuddyPress and bbPress 3.7.16
    Taxonomy Metadata 0.4
    TinyMCE Advanced 4.1.1
    W3 Total Cache 0.9.4
    WordPress Importer 0.6.1
    WPBakery Vusual Composer 4.3.4

    Plugins installed, but deactivated:(dont really think it matters, but who knows)
    Akismet 3.0.3
    bbp buddypressprofile information 1.0
    bbPress Topic Thumbnails 1.2
    bbPress Unread Posts 1.0
    BBSpoiler 1.01
    Custom Field Suite 2.3.8
    Global Hide Toolbar Bruteforce 1.6.1
    Google Apps Login 2.5.2
    Google Drive Embedder 3.1
    Jetpack WordPress.com 3.1.1
    P3(Plugin Performance Profiler) 1.5.3.1
    Paid Membership Pro 1.7.14.2
    Rss Post Importer 1.0.7
    Use Any Font 4.2.1
    wp-Monalisa 3.4
    WP Login Timeout Settings 1.1.0
    YouTube Channel 2.4.0.2

    What i have now:
    5 groups in plugin, member testuserrq is subscriper to a site and a participant to a forum. He is inside group1 in plugin. I have some forums private and they are marked only for groups2-4. This user can’t see this forums when he is browsing forum, but if he will try direct-link he can see it and he can browse it further(for example by direct link to a forum and then to threads in this forum)
    I tried different options in plugin, created new forums and changed groups, but still problem with direct link persists. If i will give user reader right in forum he cant see this themes anymore, only as participant. Changing his role to site does nothing(i can even turn it off).
    I tried installing capability manager enhanced to look what capabilities this role have and i see it has read private forums – should it be this way? I guess it is how it goes by default.

    Please, try to give me any direction where i can look at, because its crucial for my site(as i rely on forum much and forum access security is a subject of a main concern)

    Sorry for so many text and this mess 🙁

    Robin W
    Moderator

    see

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    and

    Custom Capabilities

    you need to play with setting up some new roles probably one that has topic capabilities but not reply capabilities, and setting that to the default.

    #154343
    Robin W
    Moderator

    @realerq

    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 twentytwelve, and see if this fixes.

    then come back

    #154330
    Robin W
    Moderator

    Topic pages are not appearing. They appear as links on the indexes, and I can create new ones, however if I click them, I am taken to a page of a messed up template

    so I suspect that the links are working fine, it’s just the template is conflicting, suspect theme issue

    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 twentytwelve, and see if this fixes.

    #154200
    lkharrell
    Participant

    Hello all,

    I have a check box that I need for the default state to be the checked position. It will be the bottom box in the screenshot. Can anyone help me on the CSS to achieve this?

    I have attached a screenshot for reference.

    #154194
    tharsheblows
    Participant

    Thanks. I wonder why that is.

    Did you, by any chance, run the “Remap existing users to default forum roles” tool? I wouldn’t have because I have waaaay too many people that have the “blocked” bbPress role but I didn’t change from “subscriber” in their WP role.

    Just curious if there’s a case to be made for a tool to do the same but just for Keymaster capabilities. Or something. I’m not quite familiar with all of it to know the right way to handle it.

    Anyway, thank you for letting me know! 🙂 I was super curious.

    #154141
    Robin W
    Moderator

    can you humour me and try

    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 twentytwelve, and see if this fixes.

    #154132
    bidhan.baruah
    Participant

    Hi,

    We had a custom forum created through a .NET application. Its a legacy application built in 2006.
    Now client is migrating to wordpress / bbpress. For forum migration I have created a application to import data from .NET application (Sql Server database) in a format where I can use mingle importer to import.

    The tables we have created are wp_forum_forums, wp_forum_threads; wp_forum_posts;

    Table definition are
    CREATE TABLE wp_forum_forums (
    id bigint(20) NOT NULL AUTO_INCREMENT,
    name varchar(4000) NOT NULL,
    parent_id bigint(20) NOT NULL,
    description text,
    sort int(11) DEFAULT NULL,
    PRIMARY KEY (id)
    ) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1;

    CREATE TABLE wp_forum_posts (
    id bigint(20) NOT NULL AUTO_INCREMENT,
    parent_id bigint(20) NOT NULL,
    subject varchar(2000) DEFAULT NULL,
    author_id bigint(20) unsigned NOT NULL,
    text mediumtext,
    date datetime NOT NULL,
    PRIMARY KEY (id),
    KEY fk_wp_forum_posts_wp_forum_threads_idx (parent_id),
    KEY fk_wp_forum_posts_wp_user (author_id),
    CONSTRAINT fk_wp_forum_posts_wp_forum_threads FOREIGN KEY (parent_id) REFERENCES wp_forum_threads (id),
    CONSTRAINT fk_wp_forum_posts_wp_user FOREIGN KEY (author_id) REFERENCES wp_users (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
    ) ENGINE=InnoDB AUTO_INCREMENT=69731 DEFAULT CHARSET=latin1;

    CREATE TABLE wp_forum_threads (
    id bigint(20) NOT NULL AUTO_INCREMENT,
    parent_id bigint(20) NOT NULL,
    starter bigint(20) unsigned NOT NULL,
    subject varchar(4000) DEFAULT NULL,
    status varchar(100) NOT NULL,
    date datetime NOT NULL,
    last_post datetime NOT NULL,
    closed varchar(50) NOT NULL,
    PRIMARY KEY (id),
    KEY fk_wp_forum_threads_wp_forum_forums_idx (parent_id),
    KEY fk_wp_forum_threads_wp_users_idx (starter),
    CONSTRAINT fk_wp_forum_threads_wp_forum_forums FOREIGN KEY (parent_id) REFERENCES wp_forum_forums (id),
    CONSTRAINT fk_wp_forum_threads_wp_user FOREIGN KEY (starter) REFERENCES wp_users (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
    ) ENGINE=InnoDB AUTO_INCREMENT=9303 DEFAULT CHARSET=latin1;

    Through our custom code we populated these tables.

    Everything works fine, but while importing the wp_forum_posts (which has got 69K records) the importer hangs between 35600 to 35699. I tried atleast 5 / 6 times but same result every time.

    Can you kindly help us in this?

    Thanks and Regards
    Bidhan

Viewing 25 results - 2,701 through 2,725 (of 6,788 total)
Skip to toolbar