Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 9,151 through 9,175 (of 32,505 total)
  • Author
    Search Results
  • #160086

    In reply to: Full width forum

    gezginrocker
    Participant

    That’s strange. When I look at the style.css, I can see the code here.

    I tried it in different browser as well but didn’t work I also tried width: 100% !important;

    #160084

    In reply to: Full width forum

    Robin W
    Moderator

    I’ve just looked and the code I suggested is not there, have you taken it away again?

    I tested it on your site and it worked.

    Are you sure you reloaded then site afterwards – some browsers remember style.css’s so the changes don’t always seem to have taken unless you refresh them, or shutdown/restart the browser.

    #160080

    In reply to: Full width forum

    Robin W
    Moderator

    add this to your style.css

    #bbpress-forums {
    width: 700px !important;
    }

    Functions files and child themes – explained !

    #160076
    Robin W
    Moderator

    no sorry – I can see nothing wrong with the code – it seems fine, so don’ know why it is doing this.

    as long as you have tried

    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.

    which you say you have, then can you list all the forum settings in dashboard>settings> forums in case there’s something in there.

    #160074
    wplove3268
    Participant

    <img id="bbp-converter-progress" src="" style="display: inline;">

    #160073
    wplove3268
    Participant

    I’m in the process of importing a phpBB forum into bbPress and found, during the import, that there was a broken image icon where the “progress” image should be.
    Indicated in the code like this:

    I’m importing a very large forum and it would be nice to know where I am in the process.

    Any idea of why that would not be displaying correctly? I am using bbPress 2.5.6 with WP 4.1.1

    #160068

    In reply to: Tittle

    Robkk
    Moderator

    usually its just copy loop-forums.php into your child theme in a folder called bbpress and edit this

    <li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></li>

    but since you have bbpress in another language maybe edit the .po file??

    using something like Poedit might help if that is the case.

    and also how to create a new one in this page for different forum topics.

    well what exactly are you going for , show recent topics sitewide below that??

    #160051

    In reply to: Sorting by freshness

    Robkk
    Moderator

    @gnulikeaboss

    Topics will display the most recent activity

    yes

    but you can’t click the ‘Freshness’ text/link to have it SORT

    bbPress does not have table sorting like this below example

    http://codepen.io/jakestuts/details/tGpju

    it doesnt even have a tabled layout anymore , its all lists

    i bet someone could develop this for you though

    go post a job at http://jobs.wordpress.net/

    #160040
    teamoo
    Participant

    Hey @Robkk – I added the code you provided to my child theme’s functions.php. At that point I was able to search my entire site, including the forum, with the main search. And if we cannot figure out what the problem is with the forum search that may be my only option.

    But I’d like to keep the two search functions separate at the moment. @robin-w any idea what steps I can take next to get my forum search working? The plugins/theme don’t seem to be the problem at the moment after testing.

    Thank you both very much for your help so far!

    Robkk
    Moderator

    i think this does what you want.

    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    function ja_return_blank() {
        return '';
    }
    #160016

    In reply to: Style Keeps Reverting

    Robin W
    Moderator

    @dragonfighter

    sorry the first should have been a link

    Functions files and child themes – explained !

    #159974
    Robkk
    Moderator

    use this plugin add your PHP code snippets to it.

    https://wordpress.org/plugins/functionality/

    #159971
    Robkk
    Moderator

    they use the regular WordPress registration

    which is http://example.com/wp-login.php?action=register

    or you can put the bbPress shortcode [bbp-register] into a page for a frontend form

    here is the rest of the supplied shortcodes

    https://codex.bbpress.org/shortcodes/

    #159966
    darlookoka
    Participant

    Thank you so much, should this code be in the bbpress setting or the wordpress settings? thks

    #159965
    Sam Rohn
    Participant

    click on the “documentation” link on the top of this page, the info you seek is there –

    template info – https://codex.bbpress.org/amending-bbpress-templates/

    conditionals – https://codex.bbpress.org/bbpress-conditional-tags/

    etc

    sam

    wenlujon
    Participant

    in the notice text area of a forum, there’s message:
    “This forum contains xxx topics, and was last updated by”
    and there’s an avatar before the user, how to remove that?

    also, that’s the case for a topic, how to remove that?
    “This topic contains xxx replies, has xxx voice, and was last updated by”

    BTW,
    I managed to remove some avatars in other areas through this:

    
    .widget_display_topics  .bbp-author-avatar { display: none ! important; }
    .bbp-topic-started-by .bbp-author-avatar { display: none ! important; }
    .bbp-topic-freshness-author  .bbp-author-avatar { display: none ! important; }
    <code></code>

    reference:

    bbPress Styling Crib

    #159946
    Robkk
    Moderator

    this CSS should work add !important edit the width/height the way you want it.

    .bbp-logged-in img.avatar {
      width: 80px!important;
      height: 80px!important;
    }
    #159945
    Robkk
    Moderator

    @eli_damon

    alright when you get bounced to the normal reply form if you see a cancel link by the submit button thats when you know threaded replies is working.

    just enter some content after your bounced from the reply link and hit submit the content should be under the post you hit the reply link.

    the awkwardness im talking about is when the reply is on its 7th thread or more when you have a sidebar for bbPress, it makes the 7th on look squished.

    Its best if you have full width for threaded replies.

    other issue is when you are on about your 3rd thread or more of a reply on mobile devices , the replies content will look barely readable past that.

    messing with this CSS and making the margin-left smaller for mobile device width would help out alot though. But making it look great on mobile would require some work.

    #bbpress-forums ul.bbp-threaded-replies {
      margin-left: 50px;
    }

    if you really want to have a 10> threads , get inspired by reddit.com and how they do it.

    #159940
    Robkk
    Moderator

    remove the CSS you added to your child theme (you can download it to backup if you made changes)

    let the style go back to the normal 2013 then put back the CSS

    it did this type of thing for 2014 for me one time and it was pretty weird.

    this PHP snippet should remove the double Private wording

    add_filter('private_title_format', 'ntwb_remove_private_title');
    function ntwb_remove_private_title($title) {
    	return '%s';
    }
    

    other than that try these troubleshooting tips

    General Issues
    bbPress works with many themes and plugins, but it is impossible to test all combinations, and many issues are caused by conflicts with plugins and themes.
    Therefore before posting, please test if your issue is resolved by the following

    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 the above produces an issue:

    If it is a paid theme or plugin, please contact the authors for resolution.
    If free, do ask here, we may know of workaround.
    PLEASE tell us you have done the tests above when posting.

    OTHER COMMON FIXES
    The following will do no harm, so are worth a try and can fix some issues
    Dashboard>settings>permalinks. Don’t change anything, but just click save. This resets the permalinks, and can solve some 404 errors.
    Dashboard>tools>forums>repair forums and run one at a time. Useful if you’ve got some stuff not showing – doesn’t often fix but occasionally does.

    Robkk
    Moderator

    these might help unless you already read them.

    https://codex.bbpress.org/import-forums/custom-import/
    codex.bbpress.org/import-forums/

    only other thing i can suggest is contact @netweb on slack for help

    follow this to figure out how to join the #bbpress slack channel.

    Development

    #159936

    In reply to: couple of questions

    Robkk
    Moderator

    @afurneaux

    make sure you follow this so that you have everything set up correctly

    Step by step guide to setting up a bbPress forum – Part 1

    #159935

    In reply to: View Topic By

    Robkk
    Moderator

    maybe this guide will help you with understanding.

    Functions files and child themes – explained !

    but you can also put any PHP code snippets in a functionality plugin like this one

    https://wordpress.org/plugins/functionality/

    #159932

    In reply to: Looking for a theme…

    Robkk
    Moderator

    bbPress doesnt have themes anymore , it just uses WordPress ones.

    you can customize it yourself to look kind of like that though , either following this

    codex.bbpress.org/bbpress-styling-crib/

    or using this plugin https://wordpress.org/plugins/bbp-style-pack/

    you can also post a job at http://jobs.wordpress.net/ and hire a developer to develop this for you.

    #159931
    Robkk
    Moderator

    the plugin only affects the normal WordPress search i think so just use the normal WordPress search for your site.

    and disable the forum search in settings > forums in the back-end of WordPress

    but like i said before you would have to probably enable each post type to be in the regular WordPress search.

    add this to your child themes functions.php or add it to a functionality plugin.

    /**
     * Include bbPress 'topic' custom post type in WordPress' search results */
     
    function ntwb_bbp_topic_cpt_search( $topic_search ) {
    	$topic_search['exclude_from_search'] = false;
    	return $topic_search;
    }
    add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' );
    
    /**
     * Include bbPress 'forum' custom post type in WordPress' search results */
    
    function ntwb_bbp_forum_cpt_search( $forum_search ) {
    	$forum_search['exclude_from_search'] = false;
    	return $forum_search;
    }
    add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' );
    
    /**
     * Include bbPress 'reply' custom post type in WordPress' search results  */
    
    function ntwb_bbp_reply_cpt_search( $reply_search ) {
    	$reply_search['exclude_from_search'] = false;
    	return $reply_search;
    }
    add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' );

    when your done make sure you have search custom taxonomies in the search everything plugin settings maybe even the search every tag option too.

    #159930
    Robkk
    Moderator

    id say create a custom bbPress forum role

    hopefully this guide will help you out.

    Custom Capabilities

    as for the changing the bbpress count to start from a different number , that might cause some issues..

Viewing 25 results - 9,151 through 9,175 (of 32,505 total)
Skip to toolbar