Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 5,401 through 5,425 (of 64,300 total)
  • Author
    Search Results
  • #205415
    Robin W
    Moderator

    ‘topics’ and ‘replies’ are bbpress, ‘posts’ are WordPress.

    What exactly do you mean by ‘posts’?

    #205414
    Robin W
    Moderator

    ok, the code works in my test site, so a reply edit admin link show ‘hello’ instead of ‘Edit’.

    If this is not the case, then it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    #205413
    Hassehulabeck
    Participant

    Hi,
    I’ve been converting from SMF (>2.0) to bbPress(2.5.14) and got it working – except for the fact that the correct user is displayed in topics, but not in posts.

    In the database, the table smf_members has the column “id_member”, and wp_users has the column “ID”. The pivot-table wp_usermeta has the connection between these two id:s, but as I’ve described, the connection seems lost when looking at info about posts.

    Any thoughts on how to solve this?

    #205398
    stracy2
    Participant

    Correction, As soon as “bbPress private forums” is Activated…

    #205397
    stracy2
    Participant

    As soon as “bbPress private forums” is enabled, all “Hidden” forums are listed (visible), even when “Click to activate forum visibility” is off.

    For my use case, I’d like to use the “Remove Private prefix” option, but no other options are needed.

    #205383
    estefa37
    Participant

    Hello everyone.
    I am looking for some help here.
    I am trying to migrate a rather large forum from phpbb to bbpress using the bbpress importer.
    I filled the details with the right database information and started the import.
    However, it keeps showing me an error and does not let me import anything.
    When I click on “start” the import, it inmediately shows this text:

    Repair any missing information: Continue
    WordPress database error: [Unknown column ‘topics.topic_replies’ in ‘field list’]
    SELECT convert(topics.topic_id USING “utf8mb4”) AS topic_id,convert(topics.topic_replies USING “utf8mb4”) AS topic_replies,convert(topics.topic_replies_real USING “utf8mb4”) AS topic_replies_real,convert(topics.forum_id USING “utf8mb4”) AS forum_id,convert(topics.topic_poster USING “utf8mb4”) AS topic_poster,convert(posts.poster_ip USING “utf8mb4”) AS poster_ip,convert(posts.post_text USING “utf8mb4”) AS post_text,convert(topics.topic_title USING “utf8mb4”) AS topic_title,convert(topics.topic_status USING “utf8mb4”) AS topic_status,convert(topics.topic_type USING “utf8mb4”) AS topic_type,convert(topics.topic_time USING “utf8mb4”) AS topic_time,convert(topics.topic_last_post_time USING “utf8mb4”) AS topic_last_post_time FROM phpbbli_topics AS topics INNER JOIN phpbbli_posts AS posts USING (topic_id) WHERE posts.post_id = topics.topic_first_post_id LIMIT 0, 100
    No topics to convertNo forum parents to convert

    It only shows that text and does not import anything. All user accounts are existing inside my phpbb database.

    Does anyone know why this is happening or how can I solve this in order to make the import?

    Thank you.

    #205379
    Robin W
    Moderator

    ok, the existing function is

    function bbp_get_topic_post_date( $topic_id = 0, $humanize = false, $gmt = false ) {
    		$topic_id = bbp_get_topic_id( $topic_id );
    
    		// 4 days, 4 hours ago
    		if ( !empty( $humanize ) ) {
    			$gmt_s  = !empty( $gmt ) ? 'U' : 'G';
    			$date   = get_post_time( $gmt_s, $gmt, $topic_id );
    			$time   = false; // For filter below
    			$result = bbp_get_time_since( $date );
    
    		// August 4, 2012 at 2:37 pm
    		} else {
    			$date   = get_post_time( get_option( 'date_format' ), $gmt, $topic_id, true );
    			$time   = get_post_time( get_option( 'time_format' ), $gmt, $topic_id, true );
    			$result = sprintf( _x( '%1$s at %2$s', 'date at time', 'bbpress' ), $date, $time );
    		}
    
    		return apply_filters( 'bbp_get_topic_post_date', $result, $topic_id, $humanize, $gmt, $date, $time );
    	}

    so we can filter this as follows :

    add_filter ('bbp_get_topic_post_date' , 'rew_date' , 10 , 6) ;
    
    function rew_date ($result, $topic_id, $humanize, $gmt, $date, $time) {
    	$result = 'hello' ;
    
    return $result ;
    }

    This should then say ‘hello’ so all we want to do is change $result to read whatever you want – so what do you want it to say ?

    ginmo
    Participant

    Hi All,

    I am searching for a while if I can manage to solve the issue.

    I have now solve the issue with “the reply form will show underneath of the reply when users click the reply button of it” with previous articles.

    how to create dynamic reply-box

    Still, I am looking for this issue below;

    Topic
    — reply 1
    — reply 1-1
    — reply 1-2
    — reply 2

    As above, when I click the reply button on “reply 1-1”, the reply form will show up as I wish to.

    Still, when I click the reply button on “Topic”, it still scroll down (or I should say jump down) to the reply form at the bottom of the page.

    When the topic is getting deeper, users would like to reply to it with reading & checking the content.

    I my case, deeper topics are really hard to reply, since it will jump down to the bottom.

    My question will be…,

    1) Is there any way to solve this issue?

    2) Is this the “normal” and there is no way to fix it?

    If anyone know how to do this or know the answer, please let me know.

    Thank you for your reply in advance.

    #205377
    Babblebey
    Participant

    Not very much, I feel very lazy to read this page – https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-5/

    Aww

    #205371
    Babblebey
    Participant

    I have been doing that from the start of the whole process of the project, I have all the bbpress templates copied over to my theme directory, I am doing an edit on exactly all the template.

    But the bbp_topic_post_date('d M, Y') doesn’t work is the thing.

    #205368
    Robin W
    Moderator

    ok looks like you are going to need to get familiar with the templates and some coding then

    In essence you need to copy some templates across to your child theme, and then amend them

    You can copy all the templates across, but you only need to copy those that you want to change, and it is better just to do this, as then you know which you have altered.

    so if you wanted to amend loop-single-forum you would do the following

    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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
    bbPress will now use this template instead of the original
    and you can amend this

    #205357
    Robin W
    Moderator

    visbility hidden should make a forum only visible to moderators and keymasters

    If you are not seeing that then it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    #205353
    Robin W
    Moderator
    #205351
    Robin W
    Moderator
    #205345
    demonboy
    Participant

    Yep, that’s great. Thanks again, Robin.

    If anyone else is interested, in addition to the above code placed in functions.php, I amended loop-single-topic.php in my child theme thus:

    		<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?>
    <?php $forum_id = bbp_get_forum_id(); 
        if (( $forum_id == 41371) ){
    			?>
     - <?php echo bbp_get_topic_author(); ?></a>		
    <?php
        }
    
    else {?>		
    		</a>
    <?php
    }?>
    		<?php do_action( 'bbp_theme_after_topic_title' ); ?>
    
    		<?php bbp_topic_pagination(); ?>
    
    		<?php do_action( 'bbp_theme_before_topic_meta' ); ?>
    
    		<p class="bbp-topic-meta">
    
    			<?php do_action( 'bbp_theme_before_topic_started_by' ); ?>
    <?php $forum_id = bbp_get_forum_id(); 
        if (( $forum_id == 41371) ){
    			?>
    <?php
        }
    
    else {?>
    			<span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span>
    <?php
    }?>

    This selects a specific forum and within that forum it removes the ‘started by’ meta info that normally appears under the title. Instead it places the topic author’s display name (not user name) as an extension of the topic title, separated by a hyphen. The link to the author is removed and instead becomes part of the link to the topic.

    #205344

    Topic: Translations

    in forum Troubleshooting
    devonsays
    Participant

    I’m trying to add Korean translation that ovveride the english. I created the po and mo files as instructed and added them in the bbpress language folder using FTP. But nothing changed on the front-end? Any idea what caused this?

    Here is what I called my files:
    bbpress-ko_KR.po
    bbpress-ko_KR.mo

    #205337
    tmu2011team
    Participant

    I am just about to install the bbPress and testing how it works. Out of the box, does bbPress allow for adding attachments (pdfs, docs, and image files? Emoji and post preview are also things we are looking to add … does bbPress comes with it or do we need to look into Plugins?

    ======================================================
    Bellow content is just for test purposes … we’ll delete shortly
    Templates bbPress Forum

    Quote Example

    <indent> Indentation </indent>
    Unordered List Example

    1. Item
    2. Item
    3. item

    Ordered List Example

    • Item
    • Item
    • item

    #205336
    madflute
    Participant

    We have 600+ subscribers and notification mails are bouncing hard. Most of them are blocked by server’s firewall.

    550 relay not permitted (in reply to RCPT TO command)

    SMTP error from remote mail server after end of data: 550 5.7.1 [TCR] Generating too many errors with receivers

    I was told by the ISP that I need to slow down the sending rate. Is there any plugin for this? If bbPress Notify (No Spam) is the only one then I need to pay for the subscription for the Private Group Bridge add-on, which I would like to avoid since this site is non-profit and I am paying everything from my pocket. Hope there is another solution.

    #205335
    stracy2
    Participant

    Hi Robin,

    If you instead go to Dashboard>Forums>Edit and a set “Visibility” to “Hidden”, the forum is still visible (listed) to a user with the Forum Role of “Participant” (although they cannot visit the forum).

    Can you confirm? This isn’t the expected, default bbPress behavior for a “Hidden” forum according to forum visibility documentation.

    By “default” I mean bbPress without “bbp Private Forums” installed. I understand you are the author (awesome job!). If “Hidden” actually hid a forum, I wouldn’t require “bbp Private Forums” and I’d skip the need to donate to you :).

    #205329
    Robin W
    Moderator

    if that code does what you want then just use the same logic you did in

    How to reorder topics in one forum?

    eg

    function rkk_topic_av() {
    
    $thisforumid = bbp_get_forum_id();
    
      if($thisforumid == 43135) {
    
    	    	echo bbp_get_topic_author_link( array( 'size' => '48' , 'type' => 'avatar'));
    }
    }
    add_action('bbp_theme_before_topic_title','rkk_topic_av');
    #205327
    Robin W
    Moderator

    dashboard>settings>general>date format

    bbpress just follows the WordPress format you set, as it presumes you want dates to look the same all over your site

    otherwise

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Freshness Display lets you play with how it is displayed

    #205288
    Robin W
    Moderator

    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    #205282
    Robin W
    Moderator

    it does for bbpress, but I think you are also using bbpress, in which case maybe this

    bbp buddypress profile information

    #205274
    demonboy
    Participant

    Hi,

    I have a forum called ‘Introduce Yourself’. Currently the topic archive page on all forums just shows the topic title and a small ‘started by’ avatar underneath. This is fine for most forums but I’d like to show a large avatar to the left of the topic title in the Introduce Yourself forum only.

    I found this thread on a similar subject but I’m not sure how to make this work for this one forum only.

    Any pointers?

    #205271
    demonboy
    Participant

    I’ve set up some FAQs as topics in a closed forum and would like to re-order them. I came across this code:

    //* Change sort order of Topics within a specified bbpress forum
    function my_custom_display_topic_index_query ($args) {
      $thisforumid = bbp_get_forum_id();
    
      if($thisforumid == 43135) {
        $args['orderby'] = 'date';
        $args['order']   = 'ASC';
      }
    
      return $args;
    }
    add_filter('bbp_before_has_topics_parse_args', 'my_custom_display_topic_index_query '     );

    … but when I added it to my functions.php file it hid all the topics (even though at forum archive level it displayed the correct number of topics in the topic count column). Removing it returned my topics.

    Any pointers?

Viewing 25 results - 5,401 through 5,425 (of 64,300 total)
Skip to toolbar