Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 6,201 through 6,225 (of 64,471 total)
  • Author
    Search Results
  • #199480
    andhi1
    Participant

    Hox do I Increase text size for bbPress forum

    licondam
    Participant

    Hi there!

    We’re trying to move our forums from a custom Q&A platform to bbPress… very glad there is now an importer!

    So I copied example.php to myimport.php, changed the class name, and updated the tables/columns that apply (the ones that exist in the old database).

    And ran the import…

    But I keep running into import errors for fields that don’t apply as they don’t exist in the other database, like forums_table.the_reply_count

    So for a field that just does not exist in the old database, what’s the proper syntax for “ignore this”? 🙂

    For example, this one…

    // Forum topic count (Stored in postmeta)
    $this->field_map[] = array(
    ‘from_tablename’ => ‘forums_table’,
    ‘from_fieldname’ => ‘the_topic_count’,
    ‘to_type’ => ‘forum’,
    ‘to_fieldname’ => ‘_bbp_topic_count’
    );
    I looked for this on the importer codex page, but just don’t see it.

    Thanks!
    LICON

    #199473
    Hummingbird
    Participant

    Unfortunately it didn’t work :(. It’s just weird that it’s just this one page and the other topic pages are fine…like you said, the difference seems to be that for the page in question (linked above with the centering issue), it is a short-code pasted on an actual page of my website, whereas the rest are bbpress generated.

    Interesting to note, I had to use the ubiquitous twenty seventeen theme for the forum pages (include the one we are trying to fix) because the theme for my website was so incompatible with buddypress. It ran bbpress fine. In fact, this centering thing was not a problem for my theme (but I had to switch since the theme would not allow buddypress). It was only once I set the twenty seventeen theme to this page specifically that this issue appeared! Not sure if that helps with any more solutions…

    #199472
    Robin W
    Moderator

    so from forums loop remove

    <li class="bbp-forum-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li>
    

    and from loop single forum remove

    <li class="bbp-forum-freshness">
    
    		<?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
    
    		<?php bbp_forum_freshness_link(); ?>
    
    		<?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
    
    		<p class="bbp-topic-meta">
    
    			<?php do_action( 'bbp_theme_before_topic_author' ); ?>
    
    			<span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
    
    			<?php do_action( 'bbp_theme_after_topic_author' ); ?>
    
    		</p>
    	</li>

    I’ll let you work out the topics

    #199451
    Hummingbird
    Participant

    Wordpress version:5.1.1
    bbPress version: 2.5.14

    Question #1:

    Here’s the page I’m looking at: http://www.toledonaturalist.org/forums/

    I cannot figure out how to center the forum information on the page. I created this “forums” page and simply pasted in this shortcode: [bbp-forum-index]

    At first I thought there was an invisible sidebar. Nope, it does not appear that there are any active sidebars. Perhaps I could fiddle around with the template? Nope, doesn’t seem to impact anything. I could try centering the shortcode with CSS? Nope, this didn’t work either, although I don’t know much about CSS, so I easily could have just typed it in wrong.

    The weird thing is that all of the children pages are centered. It’s just this page that is having issues.

    Question #2)
    Here is the page I am looking at:
    http://www.toledonaturalist.org/login/?redirect_to=http%3A%2F%2Fwww.toledonaturalist.org%2F

    This is so bizarre! The login works great, but I don’t even have a login page on my list of “pages.” I want to change the header image and the redirection after login, but I have no idea where bbpress is getting this page. Without knowing where it is, I cannot reset the redirection after login (I want it to go to the very first link in this post) or change the header image.

    Let me know what you think!

    #199447
    mereleya
    Participant

    Hello!
    How can we block from indexing pages with search like this – >
    https://proportsia.co.il/search/%7Bsearch_term%7D/page/3/
    https://proportsia.co.il/search/%7Bsearch_term%7D/page/5/
    https://proportsia.co.il/search/%7Bsearch_term%7D/page/4/ 

    WP – wp 5.1.1–he_IL
    bbPress – Moderation Tools 1.2.4
    bbPress Moderation 1.8.3

    Looking forward to your answer.
    Huge thanks in advance.
    Best regards, Marina.

    #199442
    Robin W
    Moderator

    hmm

    you’ll need to alter several files, so general first

    altering bbpress templates

    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

    files

    There may be others, but

    loop-forums (forum headings)
    loop-single forum (forum content)
    loop-topics (single forum heading)
    loop-single-topic (single forum content)

    will get you most of the way there

    #199440
    Robin W
    Moderator

    ok, two things

    1. you could just use the template in my

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>forum templates

    2. if you want to alter that,
    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 download my plugin and find template/templates1/loop-forums

    copy that file to your theme and put it in the bbpress directory

    #199436
    Robin W
    Moderator

    tools>forums>reset forums

    you will need bbpress enabled to do this

    #199435
    Techknowledgic
    Participant

    Hey, I was using BBpress before but now I decided to stop using it because I was getting a lot of spam posts and users and I don’t have the time to keep on tracking the forums.

    However, after deleting the bbpress plugin, I see an inflated wp_posts and wp_postmeta databases each one around 700mb and I found out here that bbpress store their data in wp_posts and wp_postmeta

    Stored Database Data

    So I am wondering, how can I delete the bbpress related databases from the wp_posts and wp_postmeta without affecting my other posts or pages I have created?

    I have 3 more websites with even more posts created by me, but without bbpress and the wp_posts and wp_postsmeta is like 20mb or so. That’s why I am sure that the inflated databse are because of bbpress.

    So anyone can help me figure out how to delete the bbpress related databases?

    #199431
    Robin W
    Moderator

    can only suggest that something else is putting it there

    maybe try

    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

    #199417
    lucju04
    Participant

    Hi everybody,

    I would like to creat a home for my forum who loop some forum in blocs. And in this bloc I would like to list sub forum with topic count, post count and freshness.

    I make a mockup to be more precise ^^ You can the here: https://ibb.co/zFD60d1

    I already try to make these loop but I can’t retrieve the freshness & counts for each sub forum.

    And also I need to design differently each row but bbpress retrieve data in columns…

    Do you already make something like this ?

    I found this function:

    //This function adds descriptions to the sub forums
    function custom_list_forums( $args = '' ) {
    
    	// Define used variables
    	$output = $sub_forums = $topic_count = $reply_count = $counts = '';
    	$i = 0;
    	$count = array();
    
    	// Parse arguments against default values
    	$r = bbp_parse_args( $args, array(
    		'before'            => '<ul class="bbp-forums-list">',
    		'after'             => '</ul>',
    		'link_before'       => '<li class="bbp-forum">',
    		'link_after'        => '</li>',
    		'count_before'      => ' <span class="counts">[ ',
    		'count_after'       => '  réponse(s) ]</span>',
    		'count_sep'         => ' sujet(s), ',
    		'separator'         => ', ',
    		'forum_id'          => '',
    		'show_topic_count'  => true,
    		'show_reply_count'  => true,
    	), 'list_forums' );
    
    	// Loop through forums and create a list
    	$sub_forums = bbp_forum_get_subforums( $r['forum_id'] );
    	if ( !empty( $sub_forums ) ) {
    
    		// Total count (for separator)
    		$total_subs = count( $sub_forums );
    		foreach ( $sub_forums as $sub_forum ) {
    			$i++; // Separator count
    
    			// Get forum details
    			$count     = array();
    			$show_sep  = $total_subs > $i ? $r['separator'] : '';
    			$permalink = bbp_get_forum_permalink( $sub_forum->ID );
    			$title     = bbp_get_forum_title( $sub_forum->ID );
    			$content = bbp_get_forum_content($sub_forum->ID) ;
    
    			// Show topic count
    			if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    				$count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
    			}
    
    			// Show reply count
    				$count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
    
    			// Counts to show
    			if ( !empty( $count ) ) {
    				$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
    			}
    
    			// Build this sub forums link
    			$output .= $r['before'].$r['link_before'] . '<a href="' . esc_url( $permalink ) . '" class="bbp-forum-link">' . $title . $counts . '</a>' . $show_sep . $r['link_after'].'<div class="bbp-forum-content">'.$content.'</div>'.$r['after'];
    		}
    
    		// Output the list
    		return $output ;
    	}
    }
    
    add_filter('bbp_list_forums', 'custom_list_forums' );

    I got the description of subforum, it’s a good start..

    #199396
    mbanovastore
    Participant

    Hi,

    I’m using bbPress and was wondering how I could remove the freshness column.

    Thank you!

    #199382
    Robin W
    Moderator

    bbpress just uses wordpress login, so

    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

    #199381
    DDLX
    Participant

    HI,

    Ussing WP 5.1
    BBpress 2.5.14

    Recently sometime, user are coming on the forum and whitout longin they are automaticly logged to an random user account…

    Any idea ?

    #199380
    michaelnewsome
    Participant

    My intranet site is not sending bbPress notifications to subscribers. I’m able to get emails/notifications from other plugins, but unable to from bbPress.

    I went into the /includes/common/functions.php file to change the “from” address, thinking it was detecting the wrong URL on the intranet, and I forced it to use to the same address that is successful with the other plugins. But that didn’t work.

    #199377
    jemar707
    Participant

    @robin-w

    Not sure if @ works here, but Robin seems to be the best BBPress Ninja I see and I am still having this problem. I searched for solutions again, but don’t see any.

    #199332
    Wansink
    Participant

    Hello,

    Is it possible to create an archive with downloadable files within the bbPress community?
    Please let me know.

    Thanks.

    #199331
    badrobot
    Participant

    Thanks. I have done that. I guess what I am looking for is some bbPress specific code that I can add to the style sheet in the child theme. There are a number of examples that come up in searches but none have worked in this theme. This particular theme allows for an override of the side bar setting on a page by page basis. There must be some bbPress specific code that could be placed in the child theme style sheet to extend that override to bbPress forum pages.

    #199326
    Robin W
    Moderator

    ok, for the participants trashing topics, install

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic/Reply Display items 17,18,& 19

    On the widgets, install
    the ‘widget logic plugin’, and on pages you want the widget, use

    is_bbpress()

    in the condition

    #199324
    lucju04
    Participant

    I think this task will be hard for you. Anybody around you can help you with basic knowloedge of CSS and PHP/WordPress ?

    You have a explaination of many custom things you can do with bbpress here : https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/

    GOod luck 😉

    #199321
    kidbooo
    Participant

    Hello everyone,,
    I admit I am a “newbie” and am having a bundle of problems. I am in the process of building a website which is still offline, and am very stuck. I am using ocean wp and I don’t know how to find out the version, but everything is new in the last 2 weeks.. sorry I really am a newbie…
    I am making “TheAmericanQuarterHorse.com” and wanted to make a small forum page alongside of information pages, I had to do a whole pile of deleting and rebuilding on the forum site, but now I have the basic structure!! So that is a plus, but am stuck on the login–register-lost password widget. The first time I made it, it put the menu all over the place and the login was on every page. Iwas using bbpress tweaks, so uninstalled the bbpress tweaks, and ended up re-installing. I watched a whole pile of youtube on how to do it, and went back at it. I did all the “making the page” and putting the permalinks in the widget slot in the bbpress side bar. This time I had logins on every page BUT THE FORUM PAGE!!! This is the 3rd time I have deleted everything and started over.. I am about to forget the whole thing or use a different forum widget. I am STUCK. Any ideas??
    The other thing is the text is sooo thin and tiny on the forum page it is hard to see. I have heard something about css, but have no clue about what that is or how to use it..
    Would really appreciate any ideas..
    thanks

    #199289
    Robin W
    Moderator

    try

    add_action( 'bbp_template_before_forums_loop', 'rew_add_custom_menu'  ); 
    add_action( 'bbp_template_before_topics_loop', 'rew_add_custom_menu'  ); 
    
    function rew_add_custom_menu () {
    echo '<a href= "https://bbpress.org/forums/">customs menu area</a>' ;
    
    }
    #199276
    csivertsesg
    Participant

    I want to display my “Forums” beneath a custom menu.

    In image #1 I have a custom menu, with a tab for my forum.

    Image #1

    When I click on a Forum, I’m taken to another URL, where I can no longer see the custom menu (see image #2)

    Image #2

    Is there a way to have the custom menu appear on every Forum, or another solution would be to have the forum open in a new tab?

    #199272
    shanebp
    Participant

    Is there a call to see if the user is on the all forums directory page?
    The one that lists all the forums?
    Something like bbpress_is_forums_directory()

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