Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 16,101 through 16,125 (of 64,454 total)
  • Author
    Search Results
  • #159816
    Robkk
    Moderator

    i think using this instead will allow more customization options to the widget

    https://wordpress.org/plugins/bbpress-search-widget/

    #159809

    In reply to: First topic text color

    Robkk
    Moderator

    i thought it was because you closed the topic but no your theme is adding some weird CSS to the first topic.

    see if this CSS fixes your issue,

    #bbpress-forums #top ul:first-child > li > a {
      color: #b84444;
    }
    #159808
    Robkk
    Moderator

    i found this gist here , and it might be useful.

    https://gist.github.com/trishasalas/9818135

    plop this into your child theme functions.php or a functionality plugin

    add_action( 'bbp_template_before_replies_loop', 'bbpress_rss' );
    function bbpress_rss() {
    $url = "http" . (($_SERVER['SERVER_PORT']==443) ? "s://" : "://") . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    echo ' <a href="' . $url . 'feed">Subscribe via RSS</a>';
    }

    EDIT: @netweb thats sweet!!

    #159807
    Dono12
    Participant

    I’ve visited your site and I saw there was no side bar. Make sure your sidebar is active first (DASHBOARD -> APPEARANCE -> WIDGETS). Then pull The widgets you want to display in the Sidebar section. Give the Widget a Title, the title will then display in the Sidebar area. To style any element you can inspect the element by right clicking on it -> select inspect element -> a window will pop-up showing you the div class or div id of any element on that page. eg(#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content). This div comes from inspecting the elements on this very page. You can even change things in the right-side window of the inspector and see the changes happen instantly. Elements like background-color, text color and font size and so on.(TRY IT)
    You can place this div inside your themes CSS file and change the elements within it. Example text color, font, font-weight. eg

    #bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
    from width: 100%; to width:50% !important;
    from margin: 0; to margin: 10px 10px 10px 10px !important;
    from font-size: 12px; to font-size:14px !important;
    }
    the !important is used to override the styles already created within the plugins css

    You can also see an entire page by using right-click -> view page source

    #159806
    user-aaron
    Participant

    I am using WordPress 4.1.1, and bbPress 2.5.6 with the Theme Twenty Thirteen, and bbPress does not display correctly, all pages of the forum look like this, and the rest of website look fine. Does anyone have any suggestions I could try in order to fix this?

    View post on imgur.com

    #159800
    Stephen Edgar
    Keymaster

    This is included as an optional option in the next release bbPress 2.6 ๐Ÿ™‚

    #159799

    In reply to: SMF Import to bbPress

    Stephen Edgar
    Keymaster

    Mike, thanks, much appreciated.

    I’ve copied and pasted it into a GitHub Gist here:
    https://gist.github.com/ntwb/9ff3f1ed93ae9671a93b

    It makes it much clearer to read and update, if anyone wants to make improvements or suggestions drop a comment on the Gist ๐Ÿ™‚

    This is a great start and I hope to one of these days get attachment importing into bbPress importer ๐Ÿ˜‰

    #159797

    In reply to: SMF Import to bbPress

    curvemeister
    Participant

    I want to offer this php script in exchange for the help Stephen’s script provided. It ran successfully on my installation, going from SMF 2.0.4 to bbPress 2.5.6 / GD bbPress Attachments 2.2. Most of my time is taken up with consulting, and I regret that I will not be providing much in the way of support for this script.

    This is a stand-alone php script that you must modify to target your SMF install. I suggest using notepad++ to edit for readability, and something like FileZilla to transfer your file to your host. Install and run the script in the root folder of your WordPress folder. I used Putty configured for an SSHconnection. Do not try to run it via http – the script will time out.

    Thanks to Stephen Edgar for providing the original php on which this is based.

    Mike Russell – final result at: http://www.curvemeister.com/forums
    ==============================================================================

    
    <?php
    //Standalone script to import smf attachments for the GD bbPress Attachments plugin
    //Execute after you have imported smf into bbPress
    require( 'wp-load.php' );
    require( 'wp-admin/includes/image.php' );
    
    $verbose = false;
    //$limit = " LIMIT 0,1";
    $limit = " LIMIT 0,99999";
    
    // source database connection
    $host="localhost";
    $uname="xxx";
    $pass="xxx";
    $database = "xxx";
    $site_url = 'http://xxx/forum';
    $forum_path = 'forum/attachments/';
    
    echo "start smf_attachments-to-bbpress\n"; flush();
    
    //get the attachment rows from SMF
    $smf_db = new wpdb($uname, $pass, $database, $host);
    $smf_rows = $smf_db->get_results("
    								SELECT * FROM <code>smf_attachments</code> 
    								WHERE file_hash != '' 
    									AND filename NOT LIKE '%thumb' 
    								ORDER BY <code>id_attach</code>"
    								.$limit);
    								
    echo "processing ".$smf_rows->num_rows." rows total\n";
    
    // process each row
    $count = 0;
    foreach ($smf_rows as $smf_attachment_row) {
    	if($verbose) { echo 'next row, id_attach = '.$smf_attachment_row->id_attach."\n"; flush(); }
    
    	//look for both a new and old style filename.  If neither exists, skip this attachment
    	$smf_filename = $forum_path.$smf_attachment_row->id_attach.'_'.$smf_attachment_row->file_hash;
    	if(!file_exists($smf_filename))
    		$smf_filename = $forum_path.$smf_attachment_row->id_attach.'_'.$smf_attachment_row->filename.$smf_attachment_row->file_hash;
    	
    	if(!file_exists($smf_filename))
    	{
    		echo "no file, skipping attachment for ".$smf_attachment_row->id_attach.", missing SMF file: ".$smf_filename."\n"; flush();
    		continue;
    	}
    	
    	$uploads = wp_upload_dir('SMF');
    	$new_upload_dir = $uploads['path'];
    	$new_full_filename = $new_upload_dir.'/'.$smf_attachment_row->filename;
    	if($verbose) { echo('old->new = '.$smf_filename.' -> '.$new_full_filename."\n"); flush(); }
    	
    	//copy the enclosed file if necessary
    	if(!file_exists($new_full_filename) && !copy($smf_filename, $new_full_filename) ) {
    		echo "cannot copy: ".$smf_filename."->".$new_full_filename."\n";
    	} else {
    		//look for bbPress's previously imported topic or reply for the current attachment
    		$parent_args = array(
    			'post_type' => array('topic', 'reply'),
    			'meta_key' => '_bbp_post_id',
    			'meta_value' => $smf_attachment_row->id_msg
    		);
    		//echo "$parent_args = ".print_r($parent_args)."\n";
    		
    		$parent_query = new WP_Query($parent_args);
    		$parent_query->get_posts();
    		if($verbose) { echo $parent_query->post_count." posts found for smf_post id ".$smf_attachment_row->id_msg."\n"; flush(); }
    
    		//normally only one post references a given enclosure, but handle possible multiples anyway ...
    		while($parent_query->have_posts()) {
    			$parent_query->the_post();
    			$post_id = get_the_ID();
    			$attachment_data = array(
    				'guid' => $uploads['url'] . '/' . basename( $new_full_filename ),
    				'post_mime_type'	=> 'image/'.$smf_attachment_row->fileext,
    				'post_title'		=> $smf_attachment_row->filename,
    				'post_status'		=> null,
    				'post_content'		=> '',
    			);
    			//if($verbose) { echo "attachment_data = ".print_r($attachment_data)."\n"; flush(); }
    			
    			$attach_id = wp_insert_attachment($attachment_data, $new_full_filename, $post_id);
    
    			//echo "attach_id = ".$attach_id."\n"; flush();
    			if($attach_id) {
    				//update_post_meta($attach_id, '_bbp_attachment', 1);
    				if($attach_metadata = wp_generate_attachment_metadata($attach_id, $new_full_filename)) {
    					//echo 'attach_metadata = '.print_r($attach_metadata)."\n"; flush();
    					wp_update_attachment_metadata( $attach_id,  $attach_metadata );
    					set_post_thumbnail( $post_id, $attach_id );				
    				} else {
    					echo 'wp_generate_attachment_metadata failed, fname = '.$new_full_filename."\n"; flush();
    				}
    			}
    			wp_reset_postdata();
    		}
    	}
    	$count++;
    	if($count%100 == 0)
    	{
    		echo $count." attachments processed\r";
    		flush();
    	}
    }
    echo "Done, processed ".$count." records\n\n";
    
    //clean up message body text
    //convert <tt> -> <br />
    mysql_query("UPDATE wp_posts SET post_content = REPLACE (post_content, \'<tt>\', \'<br />\') WHERE post_content LIKE \'%<tt>%\'");
    
    mysql_close($connection);
    exit;
    ?>
    
    #159785

    In reply to: bbPress downgrade?

    Robin W
    Moderator

    No, you’ll need to repeat whatever you did when you originally installed it.

    see

    https://codex.bbpress.org/bbpress-in-your-language/

    #159782

    In reply to: bbPress downgrade?

    Robin W
    Moderator

    Yes, deactivate and delete the current plugin – you won’t lose the forums !

    then

    https://wordpress.org/plugins/bbpress/developers/

    and download the appropriate version at the bottom of the screen to your pc and then uploads it and activate

    #159780
    Skvirly
    Participant

    I am trying to install bbPress 2.5.6 with the Sweetdate theme using WordPress 4.1 Everytime I install the bbPress plug in I get the 500 Internal Server error. Removing bbPress using FTP resolves the issue so it looks like a bbPress issue. Other plug ins install fine. Any suggestions ? The site is not yet up. Thanks.

    #159778
    shogunteam
    Participant

    Hello all,

    can someone please tell me how to downgrade the bbPress plugin? After the last update my forum is available only in english and i dont know any other way to fix it (there is no polish version of the new version yet).

    It is ok, if I delete the plugin and install the old version per ftp? Are the old settings saved in the database?

    Thanks for an answer!

    Best regards,
    shogunteam

    #159775

    Topic: 2 plugins i needed

    in forum Plugins
    wenlujon
    Participant

    I’m running WP 4.1.1 and bbpress 2.5.6

    I wonder if there’re plugin:
    1. shows if a topic has picture or not (in the topic title), it’s better to show the sizes of the pictures if any, that’s important for portable devices since traffic is expensive
    2. shows if a user is online or not below his/her avatar

    #159768
    Matteo93
    Participant

    Hi,

    When I go to create a group in the front end;

    1) I enter group name and description;
    2) I insert the name and description of the group I want to create
    3) If i press next step, i am faced with a Wp error page asking: โ€œSi รจ davvero sicuri di voler far questo?โ€, clicking on the “riprovare” me page not found.

    The group is not created.

    I installed WordPress 3.8.5 with the theme Avada version 3.6.1 of ThemeFusion.

    The main plugin installed are: bbpress (version 2.5.6), buddypress (version 2.2.1), wpml, GEO my WP (version 2.5 with add-ons: Groups Locator, Xprofile Fields, Post Types Locator and Members Locator) and U BuddyPress Forum Attachment.

    Thanks in advance

    Matteo

    #159765

    Topic: First topic text color

    in forum Themes
    Navinn
    Participant

    Good morning,
    I’m tring to use BBPress with my website, but somehow the first topic always have a different color, making it difficult to read.

    Here is the link: http://www.rhinopiping.com/Forums/forum/rhinopiping/

    Would you know which kind of css I should add to change this? Thanks

    #159756
    mvaneijgen
    Participant

    I still have this problem on the latest bbpress and wordpress. Im trying to embed the shortcode on the feedback-no-search.php so that it displays when there is no search result and the user can ask the question on the forum. For admins it works fine but for non-admins get the message โ€œYou cannot create new topics.โ€

    The fix that @satrya and @robin-w posted also doesn’t work on this version of bbpress, but again thats ia comment from a year ago.

    #159755
    mvaneijgen
    Participant

    I do and admins and moderators will see the form and can work with it, but users/subscribers will see the message โ€œYou cannot create new topics.โ€ as described here https://bbpress.org/forums/topic/new-topic-form-shortcode-issue/ a topic from almost 3 years ago.

    I place the shortcode in the search result page if there are no instances found of what they are trying to look for, so they can ask that question on the forums.

    #159754
    Robkk
    Moderator

    id say look at the bbPress breadcrumbs code and copy that and add it to your custom breadcrumbs.

    its in bbpress>includes>common>

    then search breadcrumbs in an editor like notepad++

    #159752
    Robkk
    Moderator

    bbPress doesnt output shortcodes use something like this

    https://wordpress.org/plugins/bbpress-do-short-codes/

    #159750

    In reply to: Forum Headers

    Robkk
    Moderator

    my only idea is using a bunch of if statements in a bbPress forum templates i guess.

    what are you using for a header ?? a banner image??

    #159739
    Robkk
    Moderator

    @booknerds

    im not sure antispam bee is compatible with bbPress though, there is a plugin for bbPress that is inspired by antispam bee though.

    https://wordpress.org/plugins/bbpress-antispam/

    maybe you should manually approve users using this plugin too

    https://wordpress.org/plugins/new-user-approve/

    #159737
    Robkk
    Moderator

    voice count shows how many users are in a particular topic.

    for topics

    you can edit the loop-single-topic.php file by copying it into your child theme and changing the voice count number code to whatever php tag you have from a plugin that has a specific template tag to show a posts like count.

    change <?php bbp_topic_voice_count(); ?> with what you have.

    to edit the label voice in the bbPress header you edit loop-topics.php and change <?php _e( 'Voices', 'bbpress' ); ?> and change it <?php _e( 'Likes', 'bbpress' ); ?>

    for forums

    its close to the same instead look for loop-forums.php and loop-single-forum.php

    and the php code would be similar but instead of topic_ look for forum_

    #159735
    Robkk
    Moderator

    use FTP and copy page.php and rename it to bbpress.php , then remove all the unwanted code like the read more buttn .

    This usually fixes most theme problems.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    need anymore help with this reply back , and i will give you a more detailed explaination.

    #159734
    Robkk
    Moderator

    this plugin looks like it should do it for you.

    https://wordpress.org/plugins/bbpress-unread-posts/

    #159731
    Ziga Sancin
    Participant

    I’m seeing some weird freshness bugs on a bbpress installation (version 2.5.5). I’m using a different forum structure (a forum index, subforums, etc. – a traditional phpBB layout), so the bug is even more visible to the general public, but it’s certainly not the cause of these bugs, because I can easily reproduce the bug just by clicking on the trash link in the frontend or WordPress Admin and looking at the postmeta database.

    I’ve tried using the admin tool to recalculate freshness, but it makes the whole situation worse. So, I have to manually change the freshness postmetas of all forums and subforums. ๐Ÿ™

    I’ve encountered at least three different bugs:
    – wrong freshness set for parent forum and subforums after trashing a post
    – wrong freshness set for forums and subforums after using freshness recalculation via admin tools
    – no updated freshness set for parent forum and subforums after untrashing a post

    This seems like a blocker to me. How can I help? Are those bugs covered inside bug #2414 or bug #1925?

Viewing 25 results - 16,101 through 16,125 (of 64,454 total)
Skip to toolbar