Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 9,201 through 9,225 (of 64,515 total)
  • Author
    Search Results
  • #183230
    danwakeweb
    Participant

    Hey Guys,

    I have been developing WordPress themes for about 6 years now. I need to create a website where the landing/home page is visible to the public and a few pages that are for members only. The members also need profiles and can only be signed up by the admin.

    Ive been thinking maybe I could create a WordPress site with just a few pages for the public and a private bbpress forum with the registered users and their profiles? I have no experience with bbpress at all so don’t know if it would suit this application.

    The other option that I saw was buddypress but can this be made private and have restricted content for the members?

    It is essentially for a private association.

    Thanks guys

    #183223

    In reply to: register pop up

    Pascal Casier
    Moderator
    #183206

    In reply to: Change loop-forums

    nirzol
    Participant

    Ok I find a way but I am not happy about that but it works….
    You can see live here : http://sakifo.gamers.re/forums/

    If someone have a better solution, I put that there :

    
    <?php
    /**
     * Forums Loop
     *
     * @package bbPress
     * @subpackage Theme
     */
    ?>
    
    <?php do_action('bbp_template_before_forums_loop'); ?>
    
    <?php
    if(bbp_get_forum_id()){
       ?>
    <ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums">
    
    	<li class="bbp-header">
    
    		<ul class="forum-titles">
    			<li class="bbp-forum-info"><?php echo bbp_forum_title(); ?></li>
    			<li class="bbp-forum-topic-count"><?php _e( 'Topics', 'bbpress' ); ?></li>
    			<li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li>
    			<li class="bbp-forum-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li>
    		</ul>
    
    	</li><!-- .bbp-header -->
    
    	<li class="bbp-body">
    
    		<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
    
    			<?php bbp_get_template_part( 'loop', 'single-forum' ); ?>
    
    		<?php endwhile; ?>
    
    	</li><!-- .bbp-body -->
    
    	<li class="bbp-footer">
    
    		<div class="tr">
    			<p class="td colspan4">&nbsp;</p>
    		</div><!-- .tr -->
    
    	</li><!-- .bbp-footer -->
    
    </ul><!-- .forums-directory -->
    <?php
    }
    else {
    ?>
    
    <?php while ( bbp_forums() ) : bbp_the_forum();?>
    <?php
        /* We print the header only if we want to show a category or if it's the first item of a no-parent forum list */
        if (bbp_is_forum_category() OR ! $bbp_forums_noheader) {
            ?>
    
            <ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums">
    
                <li class="bbp-header">
    
                    <ul class="forum-titles">
                        <li class="bbp-forum-info">
                            <?php if (bbp_is_forum_category()) { ?>
                                <a class="bbp-forum-title" href="<?php bbp_forum_permalink(bbp_get_forum_parent_id()); ?>">
                                    <?php bbp_forum_title(bbp_get_forum_parent_id()); ?>
                                </a>
                            <?php } else {
                                _e('Forum', 'bbpress');
                            } ?>
                        </li>
                        <li class="bbp-forum-topic-count"><?php _e('Topics', 'bbpress'); ?></li>
                        <li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e('Replies', 'bbpress') : _e('Posts', 'bbpress'); ?></li>
                        <li class="bbp-forum-freshness"><?php _e('Freshness', 'bbpress'); ?></li>
                        <li class="bbp-forum-freshness-avatar"></li>
                    </ul>
    
                </li><!-- .bbp-header -->
        <?php } ?>
    
            <li class="bbp-body">
    
                <?php
                /* If the forum is a category, we're gonna make another loop to show its subforums and sub-subforums as if those were forums */
                if (bbp_is_forum_category()) {
    
                    $temp_query = clone bbpress()->forum_query;
                    bbp_has_forums('post_parent=' . bbp_get_forum_id());
                    while (bbp_forums()) : bbp_the_forum();
                        bbp_get_template_part('loop', 'single-forum');
                    endwhile;
                    bbpress()->forum_query = clone $temp_query;
                }
                else /* Otherwise, we print the forums the normal way */ {
    
                    bbp_get_template_part('loop', 'single-forum');
                    $bbp_forums_noheader = 1; /* This prevents the header part to be printed again on next post in the loop */
                }
                ?>
    
            </li><!-- .bbp-body -->
    
        <?php
        /* Prints the footer only if :
          - it's a category
          - or if it's the last forum of a no-parent forum list
          - or if the next forum in the loop is a category */
    
        if (bbp_is_forum_category()
            OR ( bbpress()->forum_query->current_post + 1) == bbpress()->forum_query->post_count
            OR bbp_is_forum_category(bbpress()->forum_query->posts[bbpress()->forum_query->current_post + 1]->ID)) {
            ?>
    
                <li class="bbp-footer">
    
                    <div class="tr">
                        <p class="td colspan4">&nbsp;</p>
                    </div><!-- .tr -->
    
                </li><!-- .bbp-footer -->
    
            </ul><!-- .forums-directory -->
    
            <?php unset($bbp_forums_noheader); /* Needed if we have 2+ no-parent forums with at least 1 category between them */
        }
        ?>
    
    <?php endwhile; }?>
    
    <?php do_action('bbp_template_after_forums_loop'); ?>
    
    
    #183198
    Stephen Edgar
    Keymaster

    First up, if you use bbPress 2.6 beta there are huge updates to the importer 🙂

    You can download bbPress 2.6 beta from https://bbpress.org/download/

    I’d suggest you look at either the phpBB or SMF importers, the two of those are the best examples that uses as much functionality as possible.

    I’ll take a look at that table structure you posted later today and see if I can make some suggestions to help, p.s. very helpful that you posted that, so thanks 🙂

    #183194
    Michał
    Participant

    Unfortunately, under the link that you provided, there is no script that I am currently using. I tried to modify the converter from phpBB.php and Example.php, but unfortunately I get errors … I need your help! I am determined to have a forum based on bbpress (100k posts, 10k topics).

    I read a lot about migration, I tried to move the whole thing from newbb to phpbb, mybb, smf, but these forums also do not have a converter.

    Only someone who deals with daily php and programming can help me.

    #183193
    Pascal Casier
    Moderator

    Hi,
    Check out https://codex.bbpress.org/getting-started/importing-data/import-forums/
    If your source forum is not in the list, there is a custom importer.

    Let us know if it works or not !

    Pascal.

    #183184

    Topic: Change loop-forums

    in forum Themes
    nirzol
    Participant

    Hello

    I change the loop-forums to get something like this =

    Category 1
    sub category 1.1
    sub category 1.2
    sub category 1.2.1

    Category 2
    sub category 2.1
    sub category 2.2

    It works like a charm on the index page but I click on category 1 (or category 1.1 or another) I get :

    Category 1
    **** nothing *****
    Category 1
    sub category 1.2.1

    What I want is : when i click on category 1 etc….
    Category 1
    sub category 1.1
    sub category 1.2
    sub category 1.2.1

    Can someone help me?

    The code :

    <?php
    /**
     * Forums Loop
     *
     * @package bbPress
     * @subpackage Theme
     */
    ?>
    
    <?php do_action('bbp_template_before_forums_loop'); ?>
    
    <?php while ( bbp_forums() ) : bbp_the_forum();?>
    <?php
        /* We print the header only if we want to show a category or if it's the first item of a no-parent forum list */
        if (bbp_is_forum_category() OR ! $bbp_forums_noheader) {
            ?>
    
            <ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums">
    
                <li class="bbp-header">
    
                    <ul class="forum-titles">
                        <li class="bbp-forum-info">
                            <?php if (bbp_is_forum_category()) { ?>
                                <a class="bbp-forum-title" href="<?php bbp_forum_permalink(bbp_get_forum_parent_id()); ?>">
                                    <?php bbp_forum_title(bbp_get_forum_parent_id()); ?>
                                </a>
                            <?php } else {
                                _e('Forum', 'bbpress');
                                } ?>
                        </li>
                        <li class="bbp-forum-topic-count"><?php _e('Topics', 'bbpress'); ?></li>
                        <li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e('Replies', 'bbpress') : _e('Posts', 'bbpress'); ?></li>
                        <li class="bbp-forum-freshness"><?php _e('Freshness', 'bbpress'); ?></li>
                        <li class="bbp-forum-freshness-avatar"></li>
                    </ul>
    
                </li><!-- .bbp-header -->
        <?php } ?>
    
            <li class="bbp-body">
    
                <?php
                /* If the forum is a category, we're gonna make another loop to show its subforums and sub-subforums as if those were forums */
                if (bbp_is_forum_category()) {
    
                    $temp_query = clone bbpress()->forum_query;
                    bbp_has_forums('post_parent=' . bbp_get_forum_id());
                    while (bbp_forums()) : bbp_the_forum();
                        bbp_get_template_part('loop', 'single-forum');
                    endwhile;
                    bbpress()->forum_query = clone $temp_query;
                }
                else /* Otherwise, we print the forums the normal way */ {
    
                    bbp_get_template_part('loop', 'single-forum');
                    $bbp_forums_noheader = 1; /* This prevents the header part to be printed again on next post in the loop */
                }
                ?>
    
            </li><!-- .bbp-body -->
    
        <?php
        /* Prints the footer only if :
          - it's a category
          - or if it's the last forum of a no-parent forum list
          - or if the next forum in the loop is a category */
    
        if (bbp_is_forum_category()
            OR ( bbpress()->forum_query->current_post + 1) == bbpress()->forum_query->post_count
            OR bbp_is_forum_category(bbpress()->forum_query->posts[bbpress()->forum_query->current_post + 1]->ID)) {
            ?>
    
                <li class="bbp-footer">
    
                    <div class="tr">
                        <p class="td colspan4">&nbsp;</p>
                    </div><!-- .tr -->
    
                </li><!-- .bbp-footer -->
    
            </ul><!-- .forums-directory -->
    
            <?php unset($bbp_forums_noheader); /* Needed if we have 2+ no-parent forums with at least 1 category between them */
        }
        ?>
    
    <?php endwhile; ?>
    
    <?php do_action('bbp_template_after_forums_loop'); ?>
    
    #183181
    shazzhy
    Participant

    Good day everyone,

    I’m currently working on a plugin that allow users to create events (Custom Post Type) in the site, those being displayed in a calendar.
    When those Custom Post Types are created, I programmatically create a bbpress topic in a forum. Custom post title being the topic subject, custom post content being the content. That works marvelous.
    Now, I would like to do 2 things and I’m not quite sure what function to use:

    – When the custom post is edited, depending on a metadata value, I would like to move the topic from one forum to another. Creating the topic in one or the other forum works OK at creation time. I would like to move it when it is modified. I’m trying bbp_update_topic but it does not do anything.
    – I would also like to keep the Custom Post and the topic in sync regarding the content. Post ID and Topic ID are both stored in Topic and post meta. I would like that whenever one of the two are modified (mainly for the content), the other is modified the same way.

    So in summary, what is
    – the best approach to programmatically move a topic from a forum to another.
    – Programmatically change the content of a topic when it has already been created.
    – How to catch the event of modifying a topic so I can modify the source post content.

    Thanks !

    #183179
    Michał
    Participant

    Good morning, my name is Michael and I am writing from a distant country of Poland :). I have a website dedicated to bodybuilding based on xoops, but I will soon change to wordpress. I have converted all 1200 articles, comments and users, but I have a problem moving forums …

    The newbb script is similar to phpbb, so I used the available converter in the admin panel, I modified it a little, basically the beginning of the category and description of the forum sections. It looks like:
    http://www.kulturystyka.org.pl/test/forums/

    Further modification of the phpBB.php file unfortunately did not produce the expected results, because the newbb script has changed a bit, and the converter in the BBpress package is probably not updated for a long time ….?

    Please help me to modify this file so that it finishes work ie it has moved topics, utterances and users. Below I show how the structure of individual tables in the newbb module (xoops) looks like. I am green in terms of these matters, I am surprised myself that I have moved the forum sections. My WP version is 4.7.3

    I found something like this: https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/Example.php?order=name

    Yesterday and today I’m struggling with it …

    I will be very, but very grateful for the help shown. Regards, Michal

    Link to the structure of table; posts, posts_text, topics and users:
    http://www.kulturystyka.org.pl/newbb_table_structure.txt

    #183171
    gbxdigital
    Participant

    Hi
    Thank you for the feedback!

    bbPress 2.5.12
    WP Version: 4.7.3

    We got this error….ERROR: admin-ajax.php: 502 Bad Gateway
    Since the forum is checking for new replies every minute per user
    we had to adjust some settings on nginx configuration.

    We added this config to reduce the amount of queries:
    nginx_fastcgi_buffers: 8 8k
    nginx_fastcgi_buffer_size: 4k

    We found this but cannot figure out what to do: http://www.inmotionhosting.com/support/website/wordpress/heartbeat-ajax-php-usage

    We do not often get error messages but rather what we get are the following as more users come on the site.
    -Site slows down to a crawl
    -site locks up, freezes
    -When it regains questions duplicate or triplicate.

    Could I give you WP access?

    Our web site is dfiuniversity.com and while want to use bbpress for our forum it seems we are not setting it up properly or bbpress cannot manage 150 – 500+++ users at one time. Maybe we should try firebase for such an intense forum? We expect our users to increase to 1k plus soon.

    Regards

    #183164
    kannued
    Participant

    Hello

    WP 4.7.3 , BBPress 2.5.12, twentyten theme.

    I doublechecked with this page. My forum features for embed videos do have the box ticked.

    Auto-embed Links

    Scroll to the very bottom for the video link that doesn`t embed on my website.

    Digging into Petition E411

    #183161
    PrancingHorse
    Participant

    Hi Robin,

    I just installed BBPress onto the website maybe 3 weeks ago with a brand new WordPress installation. It’s been happening since inception.

    Its not happening for the keymaster account, but it’s happening for everyone else.

    #183158
    Saravanan
    Participant

    Any BBPress Intelligent Please Help Me. ( Two Months Over – No One Guide for the solution )

    MyBB to Buddypress Migration Error. ( 2 Months Over – No One Help Me ) feeling Bad

    In BuddyPress Theme i have used the Import Forum Tool.

    After Start Conversation Error Come Like Below :

    Repair any missing information: ContinueConversion CompleteNo threaded replies to convertNo anonymous reply authors to convertNo replies to convertNo favorites to convertNo topic subscriptions to convertNo topic tags to convertNo closed topics to closeNo super stickies to stickNo stickies to stickNo anonymous topic authors to convertNo topics to convertNo forum subscriptions to convertNo forum parents to convertNo forums to convertStarting Conversion

    #183154
    Pascal Casier
    Moderator

    Hi,
    Thinking of how bbPress is structured, you would need to create a new topic for every forum.

    #183153

    In reply to: Migration from xenForo

    peppefark
    Participant

    can someone help me? I can not make the trek to bbPress

    #183151
    5lions
    Participant

    …and finally, congrats to the development team, your performance enhancements to bbpress are significant. Keep em coming, we need it!!!!

    #183150
    5lions
    Participant

    Here is the original graph.

    View post on imgur.com

    That massive CPU use that was bringing the site to a crawl and destroying this brand new server that ONLY has this single forum running on is, is due to wordpresses terrible idea of using /wp-admin/admin-ajax.php to poll the shit out of the server for bad reasons 24/7 any time someone has a page open.

    Also partially due to bbpress slowness.

    That first large drop in cpu you see, and the subsequent large drop to the end of the graph is me completely blocking admin-ajax.php in nginx until I can figure out how to make it work smarter.

    All the latest heartbeat plugins do no seem to work with the latest wordpress. Cannot slow down the heartbeat or turn it off, so I filtered it.

    This is really bad, because I have a community website that allows people to post photos and videos (outside the forum with custom post types) and all of that is broken with admin-ajax.php being blocked.

    Seems no one has successfully solved this issue well on the internet 🙁

    As to performance
    ——————-
    This same site used to run on vanilla forums on a 2 cpu box with 4 gigs of ram very FAST.

    The wordpress/bbpress version runs on a 6 cpu, 12gig box which also includes php 7 upgrade.
    PHP7 is a huge speed improvement over 5.6.

    This new machine literally only had this one site on it.

    The old box was somewhat shared with the vanilla forum.

    So even with effectively double the power, if not more, this runs substantially slower on wordpress/bbpress *sigh*

    I just have to accept I need to pay triple the price for half the performance if I want to stick to wordpress.

    Unless bbpress some day decides to have its own tables, and re-architect specifically for forum performance, were stuck with this. That of course would break a ton of plugins with the whole “share everything via the posts table architecture”.

    May be worth it though. There is a big opportunity here to take over the forum world because its frankly is disarray. All the forum software out there is in a state of suck or dying and there is no clear winner. The integration with wordpress, and its zillion plugins, are what makes this performance sacrifice barely worth it.

    #183147
    Pascal Casier
    Moderator

    Hi,
    That will need some programming probably. The starting point has nothing to see with bbPress, so you could refer to these examples as this is all about the WP admin bar: https://codex.wordpress.org/Function_Reference/add_node

    #183143
    YoshioAkeboshi2
    Participant

    Hey Guys,

    maybe you can help me. I registrate now a new subdomain on my Homepage. I installed there a new version of Wp. After them i download the bbpress Plugin and everything works fine in the installation. Now when i go to “Forum” it jumps zu a empty page that says “The site http://www.gamingtournamentleague.com does not work”. Wenn i go the “New Forum” i can add a Forum but wenn i go than to preview it shows me again “The site http://www.gamingtournamentleague.com does not work”.

    I changed the theme, i also deleted the plugin and i use shortcodes but nothing works…

    Theme: Twenty Eleven
    WP: 4.7.3
    bbpress: 2.5.12
    My Subdomain: http://www.gamingtournamentleague.com/register

    #183137
    Robin W
    Moderator

    @guybrushpixelwood – thanks for posting this, that is really useful.

    Howevber it will get overridden by bbpress updates, so either have that file in a bbpress folder in your child theme

    Functions files and child themes – explained !

    or put this function in your child theme’s functions file

    add-action ('bbp_theme_after_reply_admin_links' , 'gbpw_add_ratings' ) ;
    
    function gbpw_add_ratings () {
    	if(function_exists('the_ratings')) { 
    		echo '<span class="bbp-admin-links">' ;
    		the_ratings(); 
    		echo '</span>' ;
    	}
    }
    #183134
    peppefark
    Participant

    Hi, I want to migrate from xenForo bbPress, as wordpress settings – Forum – matter, I enter the xenForo databases but in the end gives me the seguante message:

    Repair any missing information: Continue
    Errore sul database di WordPress: [Table ‘clubcuor_xf.xfpost’ doesn’t exist]
    SELECT convert(post.post_id USING “utf8mb4”) AS post_id,convert(post.thread_id USING “utf8mb4”) AS thread_id,convert(post.user_id USING “utf8mb4”) AS user_id,convert(thread.title USING “utf8mb4”) AS title,convert(post.message USING “utf8mb4”) AS message,convert(post.post_date USING “utf8mb4”) AS post_date FROM xfpost AS post LEFT JOIN xfthread AS thread USING (thread_id) WHERE thread.first_post_id != post.post_id LIMIT 0, 100

    #183131
    Pascal Casier
    Moderator

    Hi,
    the ‘locks up’ makes it still extremely difficult for us to troubleshoot…
    What version of WP and bbPress ?
    What errors do you get ?
    If you run with a provider, did you ask statistics about network, database usage ? Or you have a backend where you can see that for yourself ?

    #183127
    Robin W
    Moderator

    hmmm….you can add lots of css to lots of stuff. suspect you’d need to invest some time in sau adding firebug for firefox and using that to examine and change css elements.

    This may also help

    bbPress Styling Crib

    #183126
    guybrushpixelwood
    Participant

    If somebody stumble upon the same problem here is a solution to get Wp PostRatings Plugin Stars into bbpress topics:

    wp-content/plugins/bbress/templates/default/bbpress/loop-single-reply.php <–

    Search for the line

    <?php bbp_reply_admin_links(); ?>

    and place this under it:

    <span class="bbp-admin-links">
    		<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
     </span>

    😀

    akira010203
    Participant

    WP Version : 4.73
    BBPress Version : 2.5.12

    Hi,

    I got an issue which start to make me crazy…

    I moved to another shared hosting company and since I did that, my users can’t see the Edit buttn anymore :

    Moderators and administrators have no problems at all, they see correctly all the moderation tools.

    And if a simple user want to edit his post, it’s possible by reaching the link http://mysite.com/forum/topic/edit/ so the rights are correct.

    It is now 1 week I’m working on it, s let me try to list what I’ve already done :

    – Disabled all plugins / themes : NOK
    – Started a fresh version of WP + BBPress : OK
    – Linked my current DB to the fresh install : NOK

    So I started to think about something strange into the DB, which I can’t find.

    I mounted a local version of my site on Wamp too and found another interesting thing, If I run it with PHP 5.6, the EDIT button don’t appear and if I switch t PHP 7, miracle, it shows up!!

    BUT

    If I switch between all the php versions available (php 5.3 to 7.1) on my new hosting : the edit button is still invisible.….

    AND

    If I switch php 5.6 to PHP 7 on my old hosting : the edit button disapear….

    I really need help, I’m lost and my users are getting very annoyed with this issue.

    Thanks in advance for your support!

Viewing 25 results - 9,201 through 9,225 (of 64,515 total)
Skip to toolbar