Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 16,501 through 16,525 (of 64,532 total)
  • Author
    Search Results
  • #158848
    BillOsuch
    Participant

    Tried that as well, no go. I went through pretty much every suggested solution to get the bbpress sidebar to display, with no luck. The only thing that worked was using the bbPress Genesis Extend plugin.

    #158845
    Shmoo
    Participant

    Just curious if someone could help me here..

    I would like to use bbPress but not mainly as forum/support software, what I like to do is use the Forums function as categories to create structure and navigation on my site and the Topics functions as kinda ‘posts’ – the Replies function will not be used. I will remove that part from the template files.
    The main reason why I want to use bbPress for my site is the Subscribe and Favorite functions.
    Default members of the site can subscribe and favorite topics ‘posts’ and receive email notifications when they change content. That’s the most important feature I would like to use out of bbPress everything else I will customize to my liking.

    The only thing that worries me is the performance of bbPress.
    What if my site holds 15.000 members, 25.000 topcis ‘posts’ and let’s say 5.000 members subscribe to a single topic-ID. How will WordPress/bbPress handle the outgoing emails to 5.000 people will this increase the performance a lot?

    Thanks,

    #158826

    In reply to: Forum Page ID's

    Robin W
    Moderator

    presuming you’ll be using css to do this, just inspect the pages using developer tools and you’ll see the created class.

    for instance your general banter forum has a class of

    ‘forum bbpress single single-forum postid-28’

    Developer tools

    https://developer.chrome.com/devtools

    https://msdn.microsoft.com/en-gb/library/ie/gg589507(v=vs.85)

    #158821

    Topic: Forum Page ID's

    in forum Installation
    Alice Kaye
    Participant

    Hi there!

    I’m trying to find some page ID’s and I’m not sure how to go about doing it with bbPress or BuddyPress as the way these mods work, they’re unusual. The reason I’m looking for this, is to modify the background per specific page. I’m running a guild with two different games and modifying the backgrounds per game categories individually.

    So I’m trying to get the Group page ID’s and Forum Page ID’s. Does anyone know how I can accomplish this, or if it’s even possible at all?

    Example Forum: http://www.heartwoodgaming.com/forums/forum/bulletin-board/ <- It’s certain to have some sort of ID, right?

    Thanks for any help you can provide! It’s very appreciated. πŸ™‚

    latortuga
    Participant

    Hi,

    I’ve read through a lot of other similar support questions as this, but haven’t found an answer. When a non logged in user clicks on the menu link for the forum on our site, “404 page not found error” is thrown. I can not figure out how to get it to show the wordpress page that has text to tell the user to login or register to view the forum.

    bbPress version: 2.5.4
    WordPress version: 4.1.1
    using Weaver Xtreme theme
    http://sirenspaddlingclub.org/wp/
    “SirensBB” is the forum

    Any help would be much appreciated!!

    #158811
    #158810
    landwire
    Participant

    When I have a sub-forum in a forum the count of the topics is out for the parent. Basically sub-forums are counted as topics and not as forums. Could that be changed?

    See screenshot. Oh no, I cannot upload a file? Is there a trac for bbpress?

    Thanks,
    Sascha

    #158807
    Robkk
    Moderator
    Robkk
    Moderator

    that plugin probably still works its just not maintained by the developer anymore

    its still here for anyone to fork though https://github.com/mravaioli/wp-modal-login

    there are also many alternatives for a modal popup form

    this plugin assigns menu items without additional code plus it has a facebook login option

    https://wordpress.org/plugins/zm-ajax-login-register/

    there is also others with captcha support

    wordpress.org/plugins/ajax-bootmodal-login/

    and also a very simple one but would need to activate the CSS class option in the menu settings

    wordpress.org/plugins/simplemodal-login/installation/

    there is also cool tutorial for developers that could probably just hook up the bbPress shortcodes

    http://www.blueleafstudio.net/create-responsive-pop-login-box-wordpress/

    #158805
    ryplittle
    Participant

    I am new to bbPress development and have been searching for how to do this for a while now, so I figured I’d ask here.

    I am wanting to display a loop of all of the forum categories on every page of the forum (as a type of navigation). I am able to display it in the forum root, but when it goes into a category, the loop becomes the forums rather than the categories.

    In loop-forums.php, for example, I have the following code:

    <?php do_action( 'bbp_template_before_forums_loop' ); ?>
    <ul id="forum-subhead-nav">
    <?php while ( bbp_forums() ) : bbp_the_forum();
    
    if (bbp_is_forum_category()) { ?>
    
    	<li>
    		<a class="bbp-forum-title button-link" href="<?php bbp_forum_permalink(); ?>"><?php bbp_forum_title(); ?></a>
    	</li>
     <?php } ?>
    <?php endwhile; ?>
    </ul>

    I was wondering if someone can help me out so it loops all of the forum categories, and that doesn’t change depending on the forum.

    Thanks

    #158803
    Robkk
    Moderator

    you can fiddle with the bbPress views

    https://gist.github.com/ntwb/8167699

    sorting a thread by rating can be achieved exactly like how Robin said .

    plugins that might be able to do it are

    https://wordpress.org/plugins/wp-postratings/

    maybe polldaddy ratings or the rating widget might help by using their widgets

    this might help with finding the metakey for wp-postratings

    wordpress.stackexchange.com/questions/50524/how-to-order-results-by-date-and-meta-key

    #158798
    Zoker
    Participant

    Ok just to be sure, compare these two images:

    Thats the way it looks in phpBB, when you want to create a new “Forum”

    Thats the way it looks in bbpress, when you want to create a new “Forum”

    Notice the “Link” dropdown item?

    Thats what Im taking about πŸ˜‰

    #158797

    In reply to: Post submission hooks

    Robkk
    Moderator

    @s1r0n

    i tested it out on your site and see its working better

    its not really a honeypot field though

    how a honeypot field is supposed to be is invisible to the users on your site and is not required for input for the user.

    its a hidden input field that if it has any type of dummy information from spam-bots injected , it should stop the next action that the spammer is trying to do.

    the way your code is arranged its close to these two plugins

    https://wordpress.org/plugins/growmap-anti-spambot-plugin/ ( probably no bbpress compatibility)
    https://github.com/studiohyperset/bpress-no-captcha-recaptcha ( still in development)

    you might want to go to the bbpress nocatpcha plugin (when its done being developed) if you think it works better for what you need.

    since you/robin found half the code im going to try to make a honeypot using these two plugins for the other half

    wordpress.org/plugins/registration-honeypot/
    wordpress.org/plugins/zero-spam/ (i dont know about bbpress compatibility yet)

    also @s1r0n what do you mean by custom meta tags, like explain exactly how you want it so i can see if a normal seo plugin cant do this already.

    #158794
    Robkk
    Moderator

    @zoker

    so like post formats but for bbPress post types??

    https://codex.wordpress.org/Post_Formats

    there is a function below in the post to implement it , but i think it will only show in the back-end of wordpress and is not implemented in the front-end just yet

    #158792

    In reply to: Post submission hooks

    s1r0n
    Participant

    Ah you’ll have to do that again. the code above has a line commented out that shouldn’t be. sorry for the hassle

    add_action('bbp_theme_after_topic_form_content','lp_add_honeypot');
    add_action('bbp_theme_after_reply_form_content','lp_add_honeypot');
    function lp_add_honeypot() {
    
        if (is_user_logged_in())
            return;
        ?>
    <p>
        <label for="lp_post_honey_pot">I am a robot (yes/no)</label><br />
        <input type="text" value="" tabindex="103" size="40" name="lp_post_honey_pot" id="lp_post_honey_pot"  />
    </p>
    <?php     
    }
    
    //https://core.trac.wordpress.org/browser/tags/4.1.1/src/wp-includes/post.php#L0
    add_filter('wp_insert_post_empty_content', 'lp_check_honeypot', 10, 2);
    function lp_check_honeypot($is_empty, $postarr) {
        
         if (is_user_logged_in())
            return false;
        
    
        if ($postarr['post_type'] == 'topic' || $postarr['post_type'] == 'reply') {//only do this for bbspress
            if ($postarr['bbp_post_as_submitted']['POST_lp_post_honey_pot'] == 'no') {
                return false; //treat this post as good
            }
    
            return true;
        }
        return false;
    }

    I only need this to work for users who are not logged in, guests, so i’ve added a couple of lines to turn this off when users are logged in. if you want to test even registered users just leave those lines in.

    When I have a bit of time I’ll look into bbpress errors and find a way to set an appropriate error message.

    Have fun and let us know if you use it and it works for you or not

    #158790
    Robin W
    Moderator

    I would start with

    https://wordpress.org/plugins/bbp-private-groups/

    this will give you private forums per group, so you can have a user allocated to a group, and a forum allocated to a group. so you would just have a different group for each user, and just one forum allocated to that group.

    Then on registration, you would need to

    create a forum
    create a private group – probably using the $user_id, so that it is unique
    Allocate the private group to the forum
    Allocate the private group to the user

    you’d use an add_action to user_register to do the above, the example below comes from

    https://codex.wordpress.org/Customizing_the_Registration_Form, but you can in effect get wordpress to do anything when the user hits the submit key

     //3. Finally, save our extra registration user meta.
        add_action( 'user_register', 'myplugin_user_register' );
        function myplugin_user_register( $user_id ) {
            if ( ! empty( $_POST['first_name'] ) ) {
                update_user_meta( $user_id, 'first_name', trim( $_POST['first_name'] ) );
            }
        }
    

    so you would need to look at putting code into that function :
    create forum – what’s updated in the database when you create a forum – start with bbpress\includes\forums\functions.php and look at what function bbp_new_forum does, you’ll probably need to write a version for the above function.

    create a private group (for that one see the private groups plugin includes/settings.php and look at the group settings – and for info $rpg_groups = get_option ( ‘rpg_groups’) πŸ˜‰
    allocate private group to forum – (for that one see the private groups plugin includes/meta-box.php and look at $meta = get_post_meta( $post->ID, ‘_private_group’, false );
    allocate the user to the group – see includes/user-view_post.php it’s looked up using $check=get_user_meta( $user_id, ‘private_group’,true);

    Since I’ve now written so much, I am expecting in the spirit of community software, you to share the solution when you get it going, and post the result back here !

    #158789
    Robin W
    Moderator

    I found plugins that are able to do this for posts, pages, and custom post types,

    bbpress uses 3 custom post types of forum, topic and reply so your plugin should work for bbpress

    if you get it working, please come back and share which plugin and what you had to do.

    #158785
    Zoker
    Participant

    Hi there,

    In phpBB there is a option to create a link, which looks like a forum.

    E.g. On this page https://www.phpbb.com/community/index.php the second “forum” called “Area 51 Development Board” is a link.

    Is there a plugin or option to create such a link in bbpress?

    Thank you

    #158784
    Robin W
    Moderator

    a lot of people use

    https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/

    I haven’t tried it myself, but come back either way and let us know

    #158783
    mattvr
    Participant

    Hello,

    I’m currently using Yoast SEO for my site with bbPress installed. I’m having trouble figuring out why the SEO descriptions of the forums and topics show something “This topic contains 0 replies, has 1 voice, and was last update…”

    Is there a way to show instead the content of the topic. If so, how do I do this with Yoast SEO. Yoast does have the “%%ct_desc_<custom-tax-name>%%” variable but I’m not sure how to change it.

    Any help is greatly appreciated.

    #158778
    webplayer
    Participant

    Hi,

    I was wondering if there is a plugin anyone is using to turn keywords into topics and replies to links to other pages in wordpress.

    For example if had a forum about fish, and someone mentions “gold fish” I want that to automatically be turned into a link and go to a page I have about gold fish, etc…

    I found plugins that are able to do this for posts, pages, and custom post types, but is anyone doing this with bbpress and if so, how?

    #158776
    Robin W
    Moderator

    ok install widget logic

    https://wordpress.org/plugins/widget-logic/

    this adds a box to each widget in a sidebar

    so work out which sidebar is showing in your bbpress pages and for each widget in that sidebar into that box put

    is_bbpress() if you want it to appear in forum pages
    !is_bbpres() is you don’t want it to appear in forum pages (but do want it on other pages where that sidebar appears
    and leave blank if you want tit to appear on both forum and other pages

    #158774
    BrendenW
    Participant

    Hi Robin,

    Given you’re so knowledgeable on bbPress and I really don’t want to go making a mess after getting the forum working nicely, is there a plugin you would recommend to get the nice visual editor for post replies, instead of the default? I think my users are more visual, trying to use the default buttons will make their heads implode!

    Thanks.

    #158772
    BillOsuch
    Participant

    I did, it doesn’t work with my theme (or maybe Genesis, I don’t know), unfortunately. I could never get “bbpress sidebar” to display. Genesis has a specific bbpress sidebar that can be activated, that’s the only thing other than default I’m able to display.

    #158769

    In reply to: Post submission hooks

    s1r0n
    Participant

    Ya ok i got something figured out. its very basic but you can easily add to this. here’s the code

    This basically ads a field call ‘lp_post_honey_post’ with the question “I am a robot”. if the user answers anything other than ‘no’ the post craps out with an error. currently the error message is that the post parameters are wrong, but maybe if somebody can tell me how to set the bbpress error message I can fix that.

    You can see the filter in action here

    http://www.thelightningpath.com/forums/room/lobby/pre-registration/

    There are a few tweaks you could make to this. if you have a plugin like piklist you can easily have a settings page where you could set both the question and the answer. And of course you can change the question in the hard code.

    I choose the wp_insert_post_empty_content filter because it fires early on in the wp_update_post routine, saving some CPU cycles.

    If somebody wants to help me set this up as a wordpress plugin we could make this a plugin pretty easily. I’m guessing there would be a lot of interest in this.
    incorrect code removed ! - correct version below

Viewing 25 results - 16,501 through 16,525 (of 64,532 total)
Skip to toolbar