Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 5,726 through 5,750 (of 64,511 total)
  • Author
    Search Results
  • #204725

    In reply to: Custom Topic Sorting

    tapiohuuhaa
    Participant

    Exactly I think this code:

    function my_custom_display_topic_index_query () {
    global $_GET;
    if($_GET[‘myOrderBy’])$myOrderBy=$_GET[‘myOrderBy’];else $myOrderBy=’last_edited’;
    if($_GET[‘myOrder’])$myOrder=$_GET[‘myOrder’];else $myOrder=’DESC’;
    $args[‘orderby’] = $myOrderBy;
    $args[‘order’] = $myOrder;

    return $args;
    }
    add_filter(‘bbp_before_has_topics_parse_args’, ‘my_custom_display_topic_index_query’ );

    function printSelections(){
    global $_SERVER;
    return ‘<div class=”queries”><form action=”https://&#8217; . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’].'”><table class=”querytable”><tr><td><select name=”myOrderBy”><option value=”post_modified”>Viimeisin muutos</option><option value=”post_date”>Luontipäivä</option><option value=”post_title”>Nimi/option><option value=”post_author”>Tekijä/option></select></td><td><input name=”myOrder” type=”radio” value=”DESC” />Laskeva</td><td><input name=”myOrder” type=”radio” value=”ASC” />Nouseva</td></tr></table></form>’;
    }

    add_shortcode( ‘printSelections’, ‘printSelections’ );
    // Add do_shortcode(‘printSelections’); to loop-forums.php
    <li class=”bbp-header”>

    <ul class=”forum-titles”>
    <li class=”bbp-forum-info”><?php _e( ‘Forum’, ‘bbpress’ ); ?><?php topPostLinksEcho(); ?>
    <li class=”bbp-forum-topic-count”><?php _e( ‘Topics’, ‘bbpress’ ); ?>
    <li class=”bbp-forum-reply-count”><?php bbp_show_lead_topic() ? _e( ‘Replies’, ‘bbpress’ ) : _e( ‘Posts’, ‘bbpress’ ); ?>
    <li class=”bbp-forum-freshness”><?php _e( ‘Freshness’, ‘bbpress’ ); ?>

    <?php do_shortcode(‘[printSelections]’); ?>

    #204721
    demonboy
    Participant

    In single-loop-forum.php I want to style my first forum differently to the rest by removing the voices/topics/freshness columns. As it happens this forum is only visible to non-logged in users by using this code:

    .logged-in #bbp-forum-40250 {
    	display: none;
    }

    I found this code here:

    /*Different divs for all topics of specific forums*/
    
    function add_different_div() {
        
    $topic_id = bbp_get_topic_forum_id(); 
        if (( $topic_id == 123) or ( $topic_id == 456)){
    ?>
           <div> this is some custom div text </div>
    <?php
        }
    
    elseif ( $topic_id == 789){?>
    <div> this is some OTHER custom div text </div>
    <?php
    }}  
        
    add_action( 'different_div', 'add_different_div' );

    … but creating a function seems overkill. I think I just need an if() statement that says ‘if this forum ID then style it this way; else…’.

    Any pointers?

    Thanks.

    #204709
    Chuckie
    Participant

    I have read your article about importing from phpBB. I would like to know how much control we have over importing. I have already created a new forum structure with bbPress and I would like to selectively import just certain forums into these new formats in bbpress.

    #204672
    ghoush
    Participant

    Just a note to everyone who might find this. It’s been more than 4 years, and this code still works great.

    For anyone looking to add signatures on BuddyBoss Platform instead of bbPress/BuddyPress, this works too.

    berry metal
    Participant

    How do I get bbPress to return to the same page when someone presses Favorite from within the Bbpress single topic shortcode?
    I want to avoid the redirect to the topic page after pressing the Favorite link.

    #204627
    Robin W
    Moderator

    yes users can subscribe to both topics and forums in bbpress

    #204598
    tidaltroll
    Participant

    Hi Robin,

    I did get your response emailed to me, thank you. Question though. Can bbPress be configured so that one can then reply to that received email and add then that reply would be added to the thread and also re-emailed out to the subscribers (without needing to log back in to the forum site)?

    #204569
    demonboy
    Participant

    Hi @lylatylor,

    I went ahead and purchased the bbPress Notify (No-Spam) Digests add-on to the bbPress Notify (No-Spam) plugin by Vinny Alves. Didn’t want to pay for a plugin whilst I’m just testing my yet-to-be-launched community but since email updates are a central part of its function I wanted a plugin that was actively supported.

    #204557
    obtenmiweb
    Participant

    Hi,

    When I’m on “Appearance -> Customize” the sidebar shows up and bbPress looks proper but when I’m outside customize it shrinks and shows no sidebar.

    Why is this happening?

    #204534
    demonboy
    Participant

    Hi,

    I’m looking for an email digest plugin for bbpress that allows me control over when the email is sent (daily/weekly). On another website I manage I have the bbPress Digest plugin installed and it works fine, but it’s not been updated in the last six years.

    Are there any other email plugins worth considering?

    Thanks in advance.

    #204494
    brightenyourview
    Participant

    Are the records for bbpress only in the wp_posts and wp_postmeta or are other tables involved? I have the users but the problem is I can’t import in the forum topics and replies because I have 500 authors and it times out so I may have to take the tables from the old database.

    #204461
    evelioml3
    Participant

    Hi All !!
    I have upgraded phpBB 3.0.4 to 3.2.8 recently following steps on Upgrading from 3.0 to 3.2

    When trying to import to bbpress 2.5.4 on a WP 5.2.3 I get this message:

    Error en la base de datos de WordPress: [Unknown column 'forums.forum_topics' in 'field list']
    SELECT convert(forums.forum_id USING "utf8mb4") AS forum_id,convert(forums.parent_id USING "utf8mb4") AS parent_id,convert(forums.forum_topics USING "utf8mb4") AS forum_topics,convert(forums.forum_posts USING "utf8mb4") AS forum_posts,convert(forums.forum_topics_real USING "utf8mb4") AS forum_topics_real,convert(forums.forum_name USING "utf8mb4") AS forum_name,convert(forums.forum_desc USING "utf8mb4") AS forum_desc,convert(forums.left_id USING "utf8mb4") AS left_id,convert(forums.forum_type USING "utf8mb4") AS forum_type,convert(forums.forum_status USING "utf8mb4") AS forum_status FROM phpbb_forums AS forums LIMIT 0, 100
    No hay foros que convertir
    No hay datos que limpiar

    Effectively column forum_topics was on table forum in phpbb version 3.0.4 but it is not anymore on phpbb version 3.2.8.
    Script to import from phpbb must have a bug or expect a different database structure for phpbb.

    Any suggestions?
    Thanks in advance

    #204459
    Manuel Camargo
    Participant

    This is a little old topic @jonathansulo, I’m running a forum with similar stats as yours in a OVH $10/mo VPS without CDN and loading extremely fast.

    Can’t believe you are paying $80/mo for such a little forum.

    Definitely I’m worried that bbPress is so resource intense then. I’m using SMF.

    #204453
    demonboy
    Participant

    Hmmm, it seems that Thomas Zhu’s plugin, bbpress Member’s Only Pro plugin might do what I’m asking.

    # Restricts your bbPress topics to Logged in/Registered members only.
    # Restricts your bbPress replies to Logged in/Registered members only.
    # Restricts your bbPress forums based on user roles.
    # Restricts your bbPress topics based on user roles.

    It also allows different levels of access based on different bbpress user roles, which is something I am also after. I’ll report back on whether this does what I want it to do, in case there is anyone else out there who has the same issues as me.

    #204452
    demonboy
    Participant

    Hi,

    I’m struggling here . It’s a crucial part of my forum structure to be able to allow non-logged in users to click into a forum and view the list of topics, but not be allowed to click into a topic to read them. This is because the content of those topics are for subscribed members only, but allowing that top-level view of the topic titles is a way of teasing non-logged in viewers to sign up.

    I’d like to be able to do the same for logged in users of specific forums.

    I’m still not understanding why bbpress does not allow this breakdown of different levels of viewing. Is it a structural thing where topics and replies are actually WP posts and can’t be differentiated? I’m interested to know what the coding implications are of allowing topic title view but blocking topic content view.

    Perhaps another way of asking this is this:

    How do I make all top level forums (i.e. the forum list) public, make all forums clickable to anyone so that the topic lists can be viewed, then restrict what topics are clickable depending on whether they are logged in as well as their logged-in capabilities?

    msangor
    Participant

    Hi, I couldn’t find this using search but I am sure someone has done this before.
    We have our own web-based software that users register/login to. We would like them to seamlessly be able to also go to forums to get support using bbpress (we are on version 2.5.14).
    Is there an API that I can call when a user registers on our product website?
    If they are logged in to our product and click on SUPPORT/Forums, how do I go about having them automatically logged in?

    And my last question is if I can create new topics and replies to them with custom dates/times? For example, I want to create a new post with a date of a week ago, and then reply with a date from 6 days ago?

    If that’s not possible, perhaps there is an ability to import posts from excel where I could have different date/times?

    Your help is much appreciated.

    #204447
    Robin W
    Moderator

    ok, the problem is that bbpress stores topic and reply authors as their WordPress ID, so unless the new sites WordPress ID’s match the old site’s then they won’t match.

    are the old authors all on the new site ?

    #204446
    brightenyourview
    Participant

    Rainmaker is a platform that is built on wordpress. It uses bbpress that is modified.

    #204440

    In reply to: Hidding outgoing links

    Pascal Casier
    Moderator

    @sirlouen,

    Would you be referring to something like https://bbpress.org/forums/topic/hide-links-in-posts/ ?

    #204439
    Manuel Camargo
    Participant

    I’ve been using SMF for a while and I’m trying to transition to bbpress. One of the plugins I liked to use in SMF simply helped to hide outgoing links by replacing the URL with something like:

    To check this link, please register or login first

    Has anyone found anything that can do a similar function in bbpress?

    This thing made 10 years ago, is the most approximate thing I’ve found so far

    Hide Links

    Maybe I can capitalize on that and rewrite something more adequate. Or maybe have build something more advanced in the past decade.

    #204438

    In reply to: Related Threads

    Manuel Camargo
    Participant

    Reading this

    Is there an API for bbPress

    I see that there is a CPT called “topic”, which is great.

    In fact I was thinking if it was possible to create topics from other places using the WP API I have to check this more thoroughly because it’s very interesting.

    #204437

    In reply to: Related Threads

    Manuel Camargo
    Participant

    Do you know which CPT are bbpress threads?

    .

    #204435

    In reply to: Disable Edits

    Pascal Casier
    Moderator

    Hi @sirlouen,
    What you are looking for might be the first setting on your admin (Settings > Forums), so /wp-admin/options-general.php?page=bbpress

    #204405
    brightenyourview
    Participant

    I have a database in Rainmaker that has bbpress records I am developing a new wordpress website. I need to move the forums, topics and replies out of Rainmaker into the new wordpress mysql database. I tried the import/export function but there are over 500 authors and the records don’t match up. Does the Forum function under tools allow you to move from one bbpress to another. The only option I saw was bbpress1.

    #204404
    stracy2
    Participant

    Can someone else confirm that importing a post where the content contains brackets [] causes the custom importer to hang (get stuck actually)?

    Related post

Viewing 25 results - 5,726 through 5,750 (of 64,511 total)
Skip to toolbar