Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 19,526 through 19,550 (of 64,534 total)
  • Author
    Search Results
  • Leonyipa
    Participant

    yes, I followed your instructions, and when I saw:

    Custom Capabilities

    I followed it and copy-and-pasted the code into my capabilities.php

    however, it still show me the error message.

    sorry but pastebin adds millions of blank lines, so without re-editing the file I can’t see what you are doing.

    Does it work if using RAW Paste Data?

    #149394
    arminius
    Participant

    BBDT Forum will bring you to enter username/password, but no link to new user registration. That page is using: [bbp-forum-index] and is one I setup in wordpress, no link. Does that answer your question? Also, do I need to have a page called Forum Registration using: [bbp-login] that seems redundant. When I initally started I used this link as a guide if that helps: https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/

    #149392
    Robkk
    Moderator

    3. My main beef with bbPress is the way categories and forums are shown. Forums are placed under categories like sub-forums which looks un-forum like to me.

    bbpress has worked on this , https://bbpress.trac.wordpress.org/ticket/1958

    since you commented on my layout topic too, ill tell you which one i used , which is

    https://bbpress.trac.wordpress.org/timeline?from=2014-03-04T09%3A51%3A07Z&precision=second

    i copied all of his files from pastebin and used it as my own. then i style with css

    But another way to the have the layout lets say like phpbb , is download Lynqs starter theme.

    https://github.com/EpicWebs/bbPress-starter-theme-epicwebs

    3. can you give an example of how you would like it to look? doesn’t need to be a bbpress site

    heres an example of what he is talkingn about robin

    http://thefastdiet.co.uk/forums/

    http://teamoverpowered.com/forums/

    #149389
    Robin W
    Moderator

    ok no problem

    Normally you would have a bbpress.php that would contain

    header stuff
    while have posts loop stuff
    do_sidebar stuff
    do_footer stuff

    Your theme has decided that the sidebar stuff will be in the footer stuff.

    Now all this will work for non bbpress pages, so all we need to do is stop sidebars for bbpress pages.

    so put back the footer line in bbpress.php

    and then edit footer.php to make the first lines that were

    <?php hybrid_get_sidebar( ‘primary’ ); // Loads the sidebar/primary.php template. ?>
    
    </div><!– #main –>
    
    <?php hybrid_get_sidebar( ‘subsidiary’ ); // Loads the sidebar/subsidiary.php template. ?>
    

    change to

    <?php if !bbpress() {hybrid_get_sidebar( ‘primary’ ); } // Loads the sidebar/primary.php template.?>
    
    </div><!– #main –>
    
    <?php if !bbpress() {hybrid_get_sidebar( ‘subsidiary’ ); }// Loads the sidebar/subsidiary.php template. ?>
    

    essentially that code says ‘if the page is not a bbpress page ‘ the do the sidebar stuff the ‘!’ is a not statement and bbpress() checks if we are dispaying a bbprtess page

    Give it a try, and come back and let me know if it works.

    Robin W
    Moderator

    why changing directly doesn’t work?

    because on every software update you will lose your changes!

    My Full Code

    sorry but pastebin adds millions of blank lines, so without re-editing the file I can’t see what you are doing.

    If you go back to my original instructions and follow these and get an error, then come back and I’ll try and help you further

    or if you go back to your

    2) making custom role, but it says:

    “ Parse error: syntax error, unexpected ‘roles’ (T_STRING), expecting ‘(‘ in /home/gleam/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 216

    216: function add_new roles( $bbp_roles )
    217: {

    and let me have lines 210 to 220 I’ll try and sort the error

    #149387
    Robin W
    Moderator

    offhand I can’t say.

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    .

    #149386
    Robin W
    Moderator

    The ethos behind bbpress is keep it light and let other add plugins for the functionality you require, so you don’t get tons of code for functions that you don’t need.

    1. You can create menu logins such as

    Layout and functionality – Examples you can use

    or

    Layout and functionality – Examples you can use

    or add this code to your functions file

    //add login to top of index
    function index_login () {
    if (!is_user_logged_in() ) {
    echo do_shortcode('[bbp-login]');
    }
    }
    add_action ('bbp_template_before_forums_index', 'index_login' ) ;
    

    see

    Functions files and child themes – explained !

    2. Easily added as a plugin

    https://wordpress.org/plugins/bbp-signature/

    3. can you give an example of how you would like it to look? doesn’t need to be a bbpress site

    #149385
    Robin W
    Moderator
    #149384
    Styled Themes
    Participant

    It appears the forum search is not working on my demo theme site:

    1. search the blog, it works
    2. search the forum, it shows the same single post from a blog
    3. search does not search the forums

    Try it out here: FORUM
    Then the blog search: BLOG

    Any ideas why the dedicated search in the bbPress plugin is not working?

    SteelersDen
    Participant

    I love the idea of bbPress and I am currently using it on my website but there are a few things that make this plugin poor.

    1. No login/register box for logged out users. Yes, I know we have widgets that can be used but what about above the actual forums on the page?

    2. User signatures. This is such a simple addition that I have no idea as to why it is not included with bbPress. It’s apart of the core message board features all around.

    3. My main beef with bbPress is the way categories and forums are shown. Forums are placed under categories like sub-forums which looks un-forum like to me.

    Just a few things that come to mind.

    #149381
    SAPinfoASAP
    Participant

    Hi,

    Is it possible to allow shortcodes in the forum? These shortcodes are not part of bbpress, but other wordpress plugins I have installed.

    For example one short code allows me to add an optin form, I would like to add this to the end of my forum post.

    Thanks in advance,

    #149380
    Thanh Sang Nguyen
    Participant

    I have use your plugin bbPress. I has add this code into form-reply.php and form-topic.php
    bbp_the_content( array( 'context' => 'reply', 'media_buttons' => true ));
    Add media button appear, when I upload image, it not work and error “An error occurred in the upload. Please try again later.”
    How can I upload image with subscriber. Please don’t sugguest me use GD bbPress attchment.
    WP 3.9.1 and bbPress version 2.5.3.

    #149376

    In reply to: need some help

    Robkk
    Moderator

    you put this into your child themes functions.php

    source https://gist.github.com/ntwb/7864894

    add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' );
     
    function ntwb_bbpress_custom_role_names() {
    	return array(
     
    		// Keymaster
    		bbp_get_keymaster_role() => array(
    			'name'         => 'My Custom Keymaster Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
    		),
     
    		// Moderator
    		bbp_get_moderator_role() => array(
    			'name'         => 'My Custom Moderator Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
    		),
     
    		// Participant
    		bbp_get_participant_role() => array(
    			'name'         => 'My Custom Participant Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
    		),
     
    		// Spectator
    		bbp_get_spectator_role() => array(
    			'name'         => 'My Custom Spectator Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
    		),
     
    		// Blocked
    		bbp_get_blocked_role() => array(
    			'name'         => 'My Custom Blocked Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
    		)
    	);
    }
    #149375
    fabiii
    Participant

    Hi there,
    I’d like to import punBB forums to BBpress from localhost.
    I am running MAMP localy with punBB forums and I want to import them to an online BBpress installation.
    When I am typing in ‘localhost’ and credentials in the import form the script cannot find topics, messages, users and so to convert though I don’t get any DB connexion error message.

    Any advice on how to achieve this? Thanks.

    Leonyipa
    Participant

    My Full Code in /public_html/wp-content/plugins/bbpress/includes/core/capabilitiese.php

    http://pastebin.com/bdisb0Bb

    #149372

    In reply to: ETA for 2.6?

    Sudar Muthu
    Participant

    For anyone keeping an eye on the development of 2.6, all of these fixes are already ported over, and we bumped the 2.6 release date back to the end of June to give us time to enjoy the fresh summer air.

    This was mentioned in this 2.5.4 release blog article https://bbpress.org/blog/2014/06/bbpress-2-5-4-security-bugfix-release/

    But it’s already end of July, so I am assuming that the date got pushed out again.

    #149369
    Robin W
    Moderator

    very high chance it will be fine, but risk that your developer will have changed some core files.

    Since your trying to learn stuff, then I strongly recommend that you create a test site, which will let you try it there first, but also will teach you loads about wordpress and how it operates, and give you confidence to make other changes in a test area first

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

    #149367
    Robin W
    Moderator

    absolutely there is, but if you’ve only taken out the footer in bbpress.php, then it will only have been taken out for bbpress, so will still be available elsewhere.

    otherwise do come back

    #149362
    jack28791
    Participant

    I have permalinks set like this

    /%category%/%postname%/

    I just installed bbpress and haven’t touched the settings. My forum root looks like

    mysite.com/forums and displays the 2 forums I created

    Test-1
    Test-2

    But when I go to test-1 it looks like:

    mysite.com/forums/forum/Test-1

    I don’t want it to say “forums/forum” just “forums/Test-1”

    How can I accomplish this?

    #149361
    wahtips
    Participant

    I had someone build my website and he hasn’t been much help recently so I have been trying to learn things on my own. I have bbpress 2.5.3 and I’m not sure what all the website developer has done when it comes to customization. I want to update but before I do I just wanted to make sure I won’t lose anything on my forum. It’s fairly new but if I lose anything I don’t know if I would be able to fix it. I know very little about this type of stuff. So I just wanted to know if it is safe to update or if I should hold off.

    #149357
    Robin W
    Moderator

    this thread discusses

    https://bbpress.org/forums/topic/upgrade-bbpress-1-0-2-to-2-1-2/

    looks like you need to go via 1.2 but then should just be export/import?

    of course back everything up before you start.

    Actually if I were doing this I’d do it on a test site first

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

    and just see if it works !

    Can you document as you go, and When you’ve done it, come back and give us how you did it, and I’ll add it to the

    https://codex.bbpress.org/import-forums/bbpress-1-x-buddypress-group-forums/

    to help someone in future

    #149349
    Robin W
    Moderator

    Hey don’t worry, code is just a bunch of stuff that either works or doesn’t – and yours now works.

    what I couldn’t figure out was why the sidebar was showing, and now that you’ve posted the footer.php I can see why. Strange bit of theme coding to put the sidebar in a footer.php but there are only conventions not rules. All you’ve done by deleting the footer line is stop the sidebar running, which is what you wanted.

    The fact that I changed your code also is worrying me since I have absolutely no knowledge about php coding. I mean, I’ve found out there is a something called php coding.
    

    Don’t worry you’ve done nothing wrong, it’s all good.

    NOW the only thing you’ll need to do is make a note of all the changes you made. Themes sometimes have updates, and these may overwrite existing files, and in your case may also delete the bbpress.php. So keep copies of any files you have changed or added on your PC.

    #149348
    gogitossj34
    Participant

    Okay, now this is what I did:
    I replaced the line above

    <?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?>

    with this line in my old bbpress.php file because I see they are in the similar position and the page work ok.

    <?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?>

    But at the topic page, it pushed the sidebar to the bottom. So, I deleted the get footer line and everything looks exactly how I want them to be.

    Only that now I don’t know if they’ll be any problem, especially when I removed the get footer line.

    The fact that I changed your code also is worrying me since I have absolutely no knowledge about php coding. I mean, I’ve found out there is a something called php coding.

    Anyway, here is my footer.php content, can you check if anything is important ?

    <?php hybrid_get_sidebar( ‘primary’ ); // Loads the sidebar/primary.php template. ?>

    </div><!– #main –>

    <?php hybrid_get_sidebar( ‘subsidiary’ ); // Loads the sidebar/subsidiary.php template. ?>

    </div><!– .wrap –>

    <footer <?php hybrid_attr( ‘footer’ ); ?>>

    <div class=”wrap”>

    <?php hybrid_get_menu( ‘social’ ); // Loads the menu/social.php template. ?>

    <p class=”credit”>

    <?php printf(

    /* Translators: 1 is current year, 2 is site name/link, 3 is WordPress name/link, and 4 is theme name/link. */

    __( ‘Copyright © %1$s %2$s. Powered by %3$s and %4$s.’, ‘stargazer’ ),

    date_i18n( ‘Y’ ), hybrid_get_site_link(), hybrid_get_wp_link(), hybrid_get_theme_link()

    ); ?>

    </p><!– .credit –>

    </div><!– .wrap –>

    </footer><!– #footer –>

    </div><!– #container –>

    <?php wp_footer(); // WordPress hook for loading JavaScript, toolbar, and other things in the footer. ?>

    </body>

    </html>

    #149343
    gogitossj34
    Participant

    I tried it but this happen when I get in the General:
    Parse error: syntax error, unexpected T_STRING in …/bbpress.php on line 14

    You can see it here
    http://mmo4teens.netai.net/forums/forum/general/

    I don’t know if this is right but the error seems to be in this line ( ran some php code checker and read the error on my page):

    <?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?>

    #149342
    Robin W
    Moderator

    Hey no need to apologise, it’s often difficult to resolve these things, and it’s not due to your lack of explanation, it will just be something simple that needs fixing !

    can you try the following as your bbpress.php

    <?php get_header(); // Loads the header.php template. ?>
    
    <main <?php hybrid_attr( ‘content’ ); ?>>
    
    <?php if ( have_posts() ) : // Checks if any posts were found. ?>
    
    <?php while ( have_posts() ) : // Begins the loop through found posts. ?>
    
    <?php the_post(); // Loads the post data. ?>
    
    <article <?php hybrid_attr( ‘post’ ); ?>>
    
    <header class=”entry-header”>
     <?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?>
     </header><!– .entry-header –>
    
    <div <?php hybrid_attr( ‘entry-content’ ); ?>>
     <?php the_content(); ?>
     <?php wp_link_pages(); ?>
     </div><!– .entry-content –>
    
    </article><!– .entry –>
    
    <?php endwhile; // End found posts loop. ?>
    
    <?php else : // If no posts were found. ?>
    
    <?php locate_template( array( ‘content/error.php’ ), true ); // Loads the content/error.php template. ?>
    
    <?php endif; // End check for posts. ?>
    
    </main><!– #content –>
    
    <?php get_footer(); // Loads the footer.php template. ?>
Viewing 25 results - 19,526 through 19,550 (of 64,534 total)
Skip to toolbar