Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 1,601 through 1,625 (of 64,487 total)
  • Author
    Search Results
  • scottmotion
    Participant

    I discovered the problem was created by this plugin: https://wordpress.org/plugins/forum-permissions-bbpress/

    #233839

    In reply to: Custom Profile Fields

    scottmotion
    Participant

    First you could try Robin’s bbPress plugin: https://wordpress.org/plugins/bbp-profile-information/
    Same with BuddyPress integration: https://wordpress.org/plugins/bbp-buddypress-profile-information/

    If you’re not using BuddyPress though I would highly recommend looking into it. You can enable “Extended Profile Fields” and there’s also a plugin for custom field types: https://wordpress.org/plugins/bp-xprofile-custom-field-types/

    As far as the outbound links themselves go you might need to code/style them yourself unless your theme automatically converts links.

    #233827
    Robin W
    Moderator

    ok, based on that I have no idea what you mean by embedding.

    bbpress does not have a ‘login page’ it has shortcodes and widgets.

    the template used by bbpress for login is

    bbpress\templates\default\bbpress\form-user-login.php

    to customise :

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-user-login.php

    transfer this to your pc and edit as desired

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-user-login.php

    bbPress will now use this template instead of the original

    #233826
    pcwd
    Participant

    Theme my login does not allow embedding.
    As I wrote at the beginning of the post, I would like to customize the bbpress login page.
    Can you help me run that PHP code with Code Snippets?
    Thank you very much!

    #233765

    Topic: Custom Profile Fields

    in forum Plugins

    I have searched these forums and for the life of me can not find exactly what I am aiming for.

    Basically I run a gaming community. For the most part, everyone uses discord, and the new forum system discord currently has. However our website has been a beacon that has kept us getting back in touch with each other for over 25 year and im trying to not only keep it alive, but adding content.

    Basically I have the WP Discord plugin. I want to have BBPress allow the user to add their specific game names (battle net, steam, EA, Activision IDs) to their website / forum profile. I downloaded and installed the Advanced custom field plugin via wordpress, but it doesm’t seem to work with BBpress. If I make a new page or post I can add the fields, but I am looking more in terms of the wordpress user adding them upon registering on the site, then showing in the BBpress profile.

    I used to modify SMF years ago and played around a lot with different content management forum software, but am fairly new to wordpress itself, and I ABSOLUTELY LOVE how bbpress feels familiar to me. I feel like this is something super simple and easy to accomplish and im just looking in the wrong place.

    On our old SMF forum, I literally had it setup in a URL format to where you would put your Steam username, but then on your profile it would be a clickable link to your steam page. It was super easy and literally required modifying the code 2 or 3 lines to fix once installing a basic plugin for SMF. I feel like this should be easier.

    Can someone please point me in the right direction? Also, thank you all for what you do!

    #233764

    Topic: Problem with theme

    in forum Themes
    redhotcyber
    Participant

    Hi and sorry if I’m not very experienced.
    I put bbpress inside a new wordpress site and I used the “Astra” theme.
    I defined a page called “Home Page” and inserted an AdRotate banner inside it and put the prefix “[bbp-forum-index]“.
    The result is this

    https://forum.redhotcyber.com/error/1.png

    I just can’t figure out why clicking on any forum, topic or other, the banner is no longer seen, as if it were working on a theme page that I don’t have control over…

    https://forum.redhotcyber.com/error/2.png

    I don’t know how to get out of it, can you help me?
    Thank you very much

    #233762
    pau-bbp
    Participant

    Hello everybody.
    I am using WordPress 6.1.1 with Twenty Twelve 3.8 theme to set up bbPress 2.6.9. The question is – how to disable theme Sidebar on bbPress pages only (forums, forum, topic etc.), but leave it visible on the rest pages of the site?
    Thank you very much in advance for answering.

    #233748
    Cheryl
    Participant

    Hello,
    I’m not sure what to call them — on the forum here there are content tags with a green background that show on the forum page such as “installation,” “troubleshooting,” etc. to designat the type of post it is.

    I have “topic tags” enabled in bbpress — but the content tags I’m mentioning above seem to be a different thing and I cannot see where to set them up. Is this a default bbpress feature or is this coming from a separate plugin? How can I set that up?
    Thanks

    #233731
    Robin W
    Moderator

    yes

    $replies = bbp_has_replies( $args );

    in \bbpress\includes\replies\template.php

    it has these default args (some set by code above this section)

    $default = array(
    		'post_type'              => $default_post_type,         // Only replies
    		'post_parent'            => $default_post_parent,       // Of this topic
    		'posts_per_page'         => bbp_get_replies_per_page(), // This many
    		'paged'                  => bbp_get_paged(),            // On this page
    		'orderby'                => 'date',                     // Sorted by date
    		'order'                  => 'ASC',                      // Oldest to newest
    		'hierarchical'           => $default_thread_replies,    // Hierarchical replies
    		'ignore_sticky_posts'    => true,                       // Stickies not supported
    		'update_post_term_cache' => false,                      // No terms to cache

    but whatever you pass in $args will overwrite these

    #233727
    charleshd75000
    Participant

    Hello Everyone,

    I really need your help because I created my own fields on ACF but they do not appear on the front end. According to ACF, it is completely compatible with BBpress (reason why I chose this plugin) but it only appear on the back office…

    I already saw here all the topic discussing about ACF but no solution about the front end problem.

    What have I to do ?

    Many thanks for your help !

    Robin W
    Moderator

    This is one of the new FSE themes, so you need a fix to work with bbpress.

    install

    bbp style pack

    once activated, navigate to

    dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.

    In that tab, select

    Enable Theme Support

    and save

    The forums should then display

    #233696
    pcwd
    Participant

    Hi

    I would like to customize the labels on the login page at
    bbpress login, password fields and the button text.

    I see some related PHP code at https://codex.wordpress.org/Customizing_the_Login_Form#Make_a_Custom_Login_Page

    Could you please suggest how to add that code to my website? Thank you so much!

    #233693
    Robin W
    Moderator

    ok, so delete the previous code and put this code instead

    function bbpress_close_old_topics() {
    	// Auto close old topics
    	$topics_query = array(
    		'author' => 0,
    		'show_stickies' => false,
    		'parent_forum' => 'any',
    		'post_status' => 'publish',
    		'posts_per_page' => -1
    	);
    	if ( bbp_has_topics( $topics_query ) )
    		while( bbp_topics() ) {
    			bbp_the_topic();
    			$topic_id = bbp_get_topic_id();
    			$topic_date = strtotime( get_post( $topic_id, 'post_date', true ) );
                    $forum_id = bbp_get_topic_forum_id($topic_id);
                    if ($topic_date < strtotime( '-2 hours') ) // && $forum_id == 1276 )
                        bbp_close_topic( $topic_id );
    		}
    }

    In other words we take out the cron scheduling functions from the code

    then

    Event type: PHP cron event
    Hook name: bbpress_close_old_topics
    arguments: none
    next run: now
    repeat: hourly

    That should do it, you should see it as an event.

    If you have a topic already set to expire, it should do so immediately as you have schgeduled to run ‘now and then every hour’ in the above.

    #233692
    leon1912
    Participant

    Thank you @robin-w!

    But what should I enter specifically?

    Event type: PHP cron event
    Hook name: bbpress_topic_scheduler, bbpress_daily_event, or bbpress_close_old_topics?
    arguments: ?
    next run: now, tomorrow, a specific time
    repeat: once, hourly, twicedaily, daily or weekly?

    I just want to make sure I do everything right

    #233652
    Robin W
    Moderator

    a cron event only runs at the interval specified, so the check event runs once a day ie

    wp_schedule_event(time(), 'daily', 'bbpress_daily_event');

    so would only close topics older than 2 hours once a day.

    suggest changing that line to

    wp_schedule_event(time(), 'hourly', 'bbpress_daily_event');

    so it would run every hour, so topics would be closed between 2 and 3 hours depending on when cron runs in relation to their creation.

    #233651
    leon1912
    Participant

    Hello!
    I used the code from @robin-w and pasted it into a code snippet but it does not seem to work. That is my code:

    register_activation_hook(__FILE__, 'bbpress_topic_scheduler');
    
    add_action('bbpress_daily_event', 'bbpress_close_old_topics');
    
    function bbpress_topic_scheduler() {
     wp_schedule_event(time(), 'daily', 'bbpress_daily_event');
    }
    
    function bbpress_close_old_topics() {
    	// Auto close old topics
    	$topics_query = array(
    		'author' => 0,
    		'show_stickies' => false,
    		'parent_forum' => 'any',
    		'post_status' => 'publish',
    		'posts_per_page' => -1
    	);
    	if ( bbp_has_topics( $topics_query ) )
    		while( bbp_topics() ) {
    			bbp_the_topic();
    			$topic_id = bbp_get_topic_id();
    			$topic_date = strtotime( get_post( $topic_id, 'post_date', true ) );
                    $forum_id = bbp_get_topic_forum_id($topic_id);
                    if ($topic_date < strtotime( '-2 hours') ) // && $forum_id == 1276 )
                        bbp_close_topic( $topic_id );
    		}
    }

    The auto close time is set to 2 hours to test it and I created a comment after 2 hours because it should happen in every forum.

    Have I done anything wrong? Thanks in advance! 🙂

    #233648
    taliabarlev
    Participant

    oh @robin-w sorry i missed your reply . this is for any user. (maybe for logged in users)
    do u have a soultion for this?


    @sirlouen
    it must be a bbpress plugin cause threads can be splited to several pages. so printing a specific page with regular PDF plugin will not be the right solution

    #233637
    bobjgarrett
    Participant

    The plugin bbpress moderation tools referred to above is no longer available and I have the problem that posts/replies held for moderation do not result in any alert to me to check.
    Is there any plugin or setting which might do this?

    #233631
    Robin W
    Moderator
    #233630

    I’m just setting up bbPress on my site (WordPress 6.1.1, custom theme non-Block Editor/Gutenberg).

    I found interior forum pages are working but the main landing page was not. I was able to work around that by setting up a regular page and using the [bbp-forum-index] shortcode, but I see the user profile pages are still not working (and they are doing exactly what the forum index page was doing before).

    Here’s an example:
    https://icscalendar.com/forums-home/users/room34/

    It’s possible this is a problem with my theme, but I’m not immediately sure what might be wrong (and I’d like to fix this without having to test for plugin/theme conflicts because this is my live site and I don’t have a staging environment set up… yet).

    I’m guessing it may be a routing issue… I do have some code in my theme that uses the template_include filter.

    #233621
    enkoes
    Participant

    I found that something gone wrong with topic display shortcode:

    I used [bsp-display-topic-index show='20' forum='6,8,14'] in my topic display, but found out that bbPress sidebar couldn’t display any widget in the same page.

    After I shifted to [bbp-topic-index], bbpress sidebar back to normal (ie, can display widget)

    Is it some kind of glitch? How to solve it if I really want to use bsp display shortcode somehow?

    #233620
    Milan Petrovic
    Participant

    Hey,

    The new version of the Toolbox Pro does contain a feature called Booster, and it does add new DB tables for indexing, but it does not make any changes to how the data is stored by bbPress. If you use Toolbox and disable it later on, there will not be any negative impact because the plugin is not changing how bbPress works with data. When Booster works, it intercepts some bbPress queries and modifies them to use index tables, and that’s it. When the plugin is not working, or Booster feature is disabled, bbPress works as it always does. But, modified queries are much faster than normal ones because Booster removes postmeta from the query and instead adds joins to the index tables (3 tables added for forums, topics and replies).

    Tests I did so far, for queries that Booster can modify, new queries are 20 times faster (on average). But, for large forums (1 million posts or more), queries can be 30-40 times faster. Yeah, I know, that is a huge change, and it might sound unreal, but the postmeta tables in WordPress are never meant to be used for queries the way they are used right now, because the data in postmeta can’t be indexed, and all data is stored in TEXT column, which is the worst column in MySQL for any kind of query.

    Anyone who follows my work knows that I have been proposing multiple times to make core changes to bbPress to stop using postmeta; I even have a GitHub repository with transformation queries and other information about changes needed, and I know that that is a huge thing to implement, but the only way to make bbPress fast, is to stop depending on postmeta for queries. What I did in GD bbPress Toolbox Pro 7.0 is just a small change for now, and I plan to expand index tables with more data and affect more queries (right now it affects 6-7 query types). Again, what my plugin does, doesn’t have any negative effect on bbPress, and if my plugin is disabled, the bbPress works just fine, no data is destroyed by my plugin.

    Finally, query speed is irrelevant for small forums (under 10000-20000 posts). Yes, queries will be much faster with my plugin, but the database size for queries is not that big, but as soon as the forums grow and have more posts, these postmeta queries will get exponentially slower, and my plugin will make it much faster.

    The plugin is now in the Beta stage, with a stable release planned for mid-January 2023.

    Regards,
    Milan

    #233614
    SirLouen
    Participant

    @taliabarlev, have you tried any PDF converter for WordPress instead of looking for a specific solution for bbPress?

    #233613
    SirLouen
    Participant

    I have to say that I’m pretty impressed by the fact that GD bbPress Tools Pro plugin has sent today news regarding the update to the next big version (7.0) and Milan will be upgrading the topic and replies system to a completely separate table.

    He says that this will increase efficiency for an obvious reason (indexing of wp_postmeta for such large amount of data in many forums is obviously one of the Achilles talon of bbPress).

    But to some extent I feel that this will be like a “fork” of the bbPress project.

    I’m uncertain if Milan is a regular user of these forums, but I would like to see your opinions on this movement. I’ve been using GD bbPress Tools for ages because it really complements well all my devs for bbPress on my forums (and I don’t have to be duplicating the code to perform most of the features that he has already implemented), but I’m pretty skeptical that this could be a major caveat for future releases and too much attachment to Milan (in case something happens to him, and considering that this is not open sourced).

    I’m not sure either if he will be implementing this for the free version in the WordPress repo.

    Furthermore, I may also ask this in his private forum, but I was looking for more opinions in this official forum.

    PS: Yes, Milan is around as expected @gdragon

    #233606
    Robin W
    Moderator

    note tested but possibly

    #bbpress-forums .bbp-parent-forum-12345 p.bbp-topic-meta .bbp-topic-started-in a {
        background-color: #328C00;
    }
    
    #bbpress-forums .bbp-parent-forum-12346 p.bbp-topic-meta .bbp-topic-started-in a {
        background-color: #ff4b33;
    }
Viewing 25 results - 1,601 through 1,625 (of 64,487 total)
Skip to toolbar