Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'updated'

Viewing 25 results - 1,051 through 1,075 (of 2,087 total)
  • Author
    Search Results
  • #125781
    Erlend
    Participant

    Thanks a lot, this is a very welcome tweak! I never did understand the point behind this “feature”. I rarely close topics because the OP shouldn’t be read at all…

    Is there a way to safely override this css in my child-theme’s style.css as well, maybe by importing the bbpress.css? The problem with your method is that the change will be overwritten as soon as bbPress is updated.

    Lynq
    Participant

    Hey all, great to hear people are working with the theme more and more, I will work on an updated version for you all to get stuck in. Hopefully I will get more of the issues resolved and sort out some of the profile pages too.
    Generally the main forum page is the only one that is done to give you a good start, but I have changed a lot on teamoverpowered.com/forums so I will try and bring that across into a better starter theme, hold tight!

    #125557

    In reply to: Vanilla 2 Converter

    brokentwig
    Participant

    Stephen,
    I’m not sure what you mean by “Once bbPress core converter is updated we can filter the users imported”. I believe we need to add the ‘from_expression’ => ‘WHERE User.Deleted = 0’ back into the first user section, but if your saying the core converter can do it, how does the core know who’s deleted?

    Also, is there a way we can check for the password type in the User table, and then if the type is not Vanilla, do something else? I didn’t dig into how you guys handle passwords you can’t convert, but I’m pretty sure a Facebook auth token will be one of those off cases. I would be happy to help test and work on this more to produce a finished product.

    #125556

    In reply to: Vanilla 2 Converter

    Stephen Edgar
    Keymaster

    The docs are now up also,


    @brokentwig
    Key changes from your great work getting this started

    • Topic tags are now included
    • Once bbPress core converter is updated we can filter the users imported
    • Added Topic Closed Status
    • Inline docs consistent with other importers
    • Whitespace and code formatting improved
    • Uses parser.php to convert HTML & Smilies
    • Reply status not needed, defaults are built into converter.php
    • Reply Order removed, this is calculated during the import

    The to do list:

    • Remove the `callback_savepass` & `authenticate_pass` as you rightly point out they are not needed and Vanilla uses the same hash as WordPress for passwords so this is too easy.

    If you see any bugs with the converter `Vanilla.php` please post these to the trac ticket here.

    If there is anything else that needs doing before or after the import that I have not already listed in the codex docs if you could add/update these that would be great.

    https://codex.bbpress.org/import-forums/vanilla
    (Use the same bbpress.org username and password to login)

    #125551

    In reply to: Vanilla 2 Converter

    brokentwig
    Participant

    That’s great your including it in the core. I put the filter back in the Users section that excludes the Deleted users and updated the Gist again. That filter worked, the UserRole join was what we were jacking with up above; never got that to work.

    One thing left to do:

    1) Passwords with a type of Vanilla are the same hash that WP uses, so they convert over nicely. Vanilla allows you to integrate a user with Facebook, and some other systems. I didn’t have any of those users, but some kind of call-back would need to be built for it. Also, this converter includes some password functions at the bottom, but I don’t think it’s used.

    Outside of that, I got a perfect conversion from this one. I would also be happy to post the SQL code I used to clean up the User table, and also SQL code I used to move posts from Vanilla Users that already existed in WP (Admins and authors).

    #125344

    In reply to: Vanilla 2 Converter

    Stephen Edgar
    Keymaster

    What do you want to know?

    There is no need to reverse engineer anything, just grab the latest copy of Example.php either from /bbpress/includes/admin/converters/ or the latest updated version I am working on here and start modifying the table mappings as per the docs in the codex.

    https://codex.bbpress.org/import-forums/ & https://codex.bbpress.org/import-forums/custom-import/

    #125298
    Stephen Edgar
    Keymaster

    I have updated Mingle.php over in trac here with what I hope should fix things up.

    Let me know what other issues you have found that we might be able to improve upon also.

    #125283
    limitx3m
    Participant

    Thanks! That blows that there’s not a way to moderate, move, etc.

    I’ve asked at buddypress, but nobody has updated 🙁

    #125167
    Stephen Edgar
    Keymaster

    Cool….

    bbPress does not create any tables of its own, it uses WordPress custom post types for forums, topics, topic tags and replies.

    I cleaned up the code layout of Example.php in #2134 so it now matches the coding style of the other importers. If you use SVN you can apply that patch directly or download it directly from here.

    I am slowly getting updated and more docs in the codex starting here:
    https://codex.bbpress.org/import-forums/

    To customize the Example.php importer I have started this doc which follows this topic on building a new custom importer for the Mingle forums.

    https://codex.bbpress.org/import-forums/custom-import/

    This is all a work in progress and has a few moving targets so any questions ask away 🙂

    #125126
    Stephen Edgar
    Keymaster

    Ahhh… Yes, if you are importing to the existing install of WordPress that Mingle is using you do not need to import the users as the existing users will have the same mappings.

    If you want to import to a separate WordPress install you will need to import the users.

    That was the reason I originally had each field as `’forum_forums’` and I have switched all the fields back to this so now and you should use the table prefix `wp_` on the import settings. I also updated user mappings, I just copied them in from the bbPress1.php importer as this is in the same boat.

    I also added some extra phpdoc’s to the code and cleaned up some whitespace and changed the code layout style to match the other importers.

    You should be able to use the same links above to download and compare the revisions.

    #125119
    Stephen Edgar
    Keymaster

    Nice… An extremely good first shot at mapping the MySQL database tables…

    I have updated the file with a few things and it should now work…

    If your WordPress database uses the out of the box `wp_` table prefix then for the Mingle.php converter we will use `wp_forum_` as the table prefix on the import setting.

    • The forum slug is the same process as you did for topics & replies
    • A couple of `id` vs `parent_id`
    • Dates, WordPress stores four dates for a post in the `wp_posts` table, ‘post_date’, ‘post_date_gmt’, ‘post_modified’ and ‘post_modified_gmt’.
      • Forums – In this case forum creation dates do not exist, this will default to the current date
      • Topics – We map ‘date’ to ‘post_date’ & ‘post_date_gmt’ and ‘last_post’ to ‘post_modified’ & ‘post_modified_gmt’
      • Replies – We map ‘date’ to all four ‘post_date’, ‘post_date_gmt’, ‘post_modified’ & ‘post_modified_gmt’.

    So as I said, nice first go at it 🙂

    You can view the changes inline I made here and download the full file from here.

    jwrbloom
    Participant

    I’m not getting anything to work to add TinyMCE buttons in my bbPress. I pasted Sunriseweb’s code in my functions.php. Nothing. I have updated WP and bbPress.

    How do I force TinyMCE into “teeny” mode?

    #125074
    Stephen Edgar
    Keymaster

    I am fairly new around here and have hardly touched the old standalone bbPress.

    The following page in the docs was last updated 341 days ago, that said I don’t think there should be that many differences in upgrading from 1.0.x to 1.1/1.2 based on these docs.

    Has anyone actually tried this? What breaks if you do follow these steps?

    Remember: Constantly make backups of your site with FTP and your SQL Database/s with myPhpAdmin.

    Updating

    Legacy

    Just saying it doesn’t work is not enough, give us detailed information: on what breaks, what doesn’t work, detailed specs of your site, extremely detailed error messages, steps for us and others to reproduce the problem and with this type of information we can all help each other.

    #125060

    In reply to: Forum loop

    Lynq
    Participant

    If you add the code in you get a Division by zero and if you take it out you don’t get it, is that correct?
    Have you tried taking it back out?

    I am just wondering if it is a recently updated plugin causing the division by zero.

    #124989
    Monica
    Participant

    Thanks for keeping me updated.

    #124869
    BenRacicot
    Participant

    Hey!
    Thought I’d ask here why on earth I (anyone) can’t see the discussion going on in my topics? I just see

    “This topic contains 4 replies, has 4 voices, and was last updated by Ben Racicot 21 minutes ago.”

    But only a reply field and none of those posts (that I did while testing) are shown? What am I missing? Thanks.

    #124729
    Stephen Edgar
    Keymaster

    I have updated the codex docs for bbPress User Roles and Capabilities introduced with 2.2.


    @MarjoriesDaughter
    I would suggest you update bbPress to the latest 2.2.3 version rather than use an old version, with that then both your conditions above will be met.

    #124717
    Fyn
    Participant

    So my bbPress forum worked fine for a few months. I can’t remember if I updated anything but since a few weeks it doesn’t work anymore.
    The problem is, that it doesn’t show the content of the forums. There’s the heading of the forum but nothing else. Here’s how it looks like:
    http://bookish.brokenstars.de/forums/
    http://bookish.brokenstars.de/forums/forum/bookish-intern/
    http://bookish.brokenstars.de/intern/ (normal site with shortcode)

    I’m using WordPress 3.5 and bbPress 2.2.3
    Nothing seems to help. I’ve repaired and reset all the forums. I’ve deleted the plugin and the data from the database. I’ve reset the permalink structure… but it just doesn’t show up anymore.

    Does anyone have an idea what the problem could be?
    Thanks!

    #124710
    mohdrafie
    Participant

    Hi guys,

    I had similar issue as well at some point.

    Has anyone try it on a Linux server as see if it makes any difference?

    Otherwise, I would be a good lead to find the php file for the comment post and made slight modification or see what influence the redirection.

    What I will do is to make quick test and see and keep you updated. If you found anything, kindly share. Cheers guys!

    Stephen Edgar
    Keymaster

    bbPress 2.2.3 was released 11 December 2012

    S2Member developer @WebSharks posted details of S2Member fixes in the following thread ~22 December 2012 https://bbpress.org/forums/topic/fix-for-users-of-s2member-and-bbpress-2-2/

    I am ‘presuming’ S2Member/@WebSharks was testing against bbPress 2.2.3

    This is the first time I have seen anyone mention the error you detail above.

    Have you any other plugins recently updated that maybe the cause of this?

    Have you tried any extra combinations of the plugins eg. bbPress 2.2.2 & S2Member v121213 to see if it is an S2Member issue rather than bbPress?

    ps. I also see your thread on S2Members forum with no answers at the time I wrote this http://www.s2member.com/forums/topic/bbpress-2-2-3-fatal-error-on-users-page/

    Stephen Edgar
    Keymaster

    From that error it appears and is actually the case that not all of the files for bbPress were updated on your web host when you updated bbPress.

    Make a backup of your site and database

    – Open your WordPress Admin Dashboard and go to Plugins

    – Deactivate the bbPress plugin (It should already be deactivated)

    – Delete the bbPress plugin and accept the confirmation that it will delete those files

    – Download the bbPress plugin again from the ‘Add New’ plugins section

    – Activate the bbPress plugin

    You should be all good to go now presuming this time your web host has downloaded and extracted all the files correctly to your site.

    ps. If you ever do need to download a current or previous version you can download them in .zip form to manually extract and upload via FTP to your web host via https://wordpress.org/extend/plugins/bbpress/developers/
    (The current version of bbPress at the time of writing is bbPress 2.2.3)

    glimmerguy
    Participant

    When I updated to the latest plugin version today it triggered a fatal error. We were updating because the forums had stopped showing any new posts since Dec. 16 and thought maybe an updated plugin might help. We are still using WordPress version 3.4.2 due to being in the middle of changing servers. My friend has requested that we go back to the previous plugin since at least the forums were showing up, albeit frozen, while she finds a bbPress expert. Problem is, I never had a copy of the bbPress plugin—I downloaded it from the WordPress Plugin site, which now shows only the most recent version. Can anyone tell me where I could find an earlier version of the plugin to download? Also, any thoughts where we can find someone to help us with our ongoing bbPress issues? Thanks very much.
    Website: http://thefriendshipblog.com

    Here is the error, which unfortunately is gibberish to me:
    Plugin could not be activated because it triggered a fatal error.
    Warning: require(/home/friendbl/public_html/wp-content/plugins/bbpress/includes/topics/functions.php) [function.require]: failed to open stream: No such file or directory in/home/friendbl/public_html/wp-content/plugins/bbpress/bbpress.php on line 303

    #124520

    Topic: topics page style

    in forum Themes
    KittyBeth
    Participant

    Hi!
    I just updated to bbpress 2.2.3 I have buddypress using bbpress sitewide forums. Using current wordpress version with buddypress default theme and my own custom made child theme.

    Updating caused some style problems. I think I had edited some css and forgotten that I did. So I discovered I should copy bbpress.css into my theme. I have done this and have gotten rid of the awful bullets by setting #bbpress-forums to list-style:none.

    I need to align LI.bbp-topic-freshness to the right to get rid of a large margin being caused by it aligning center. I told it to align right and it didn’t cooperate! What should I try now????

    The site is http://rheum4us.org however the forum is private using the membership plugin.
    Thanks for any help!

    #124492
    Stephen Edgar
    Keymaster

    Download links for v1.2 are over here https://bbpress.org/download/legacy/
    (v1.2 is the same as v1.1 with a fix for BackPress pomo language support)

    I also updated https://codex.bbpress.org/import-forums/

    knaveenchand
    Participant

    Thanks for the hint provided by @Rafael. I would like to add here that in order to keep the change in tact, it is better to edit it through our functions.php file in our theme directory so that even if bbpress gets updated, our changes remain intact. So I created these two functions along add_filter functions:

    /**
     * The main forum loop. THIS IS CUSTOMISED TO ORDERBY TITLE INSTEAD OF MENU_ID
     *
     * WordPress makes this easy for us.
     *
     * @since bbPress (r2464)
     *
     * @param mixed $args All the arguments supported by {@link WP_Query}
     * @uses WP_Query To make query and get the forums
     * @uses bbp_get_forum_post_type() To get the forum post type id
     * @uses bbp_get_forum_id() To get the forum id
     * @uses get_option() To get the forums per page option
     * @uses current_user_can() To check if the current user is capable of editing
     *                           others' forums
     * @uses apply_filters() Calls 'bbp_has_forums' with
     *                        bbPres::forum_query::have_posts()
     *                        and bbPres::forum_query
     * @return object Multidimensional array of forum information
     */
    function mybbp_has_forums( $args = '' ) {
    	$bbp = bbpress();
    
    	// Setup possible post__not_in array
    	$post_stati[] = bbp_get_public_status_id();
    
    	// Check if user can read private forums
    	if ( current_user_can( 'read_private_forums' ) )
    		$post_stati[] = bbp_get_private_status_id();
    
    	// Check if user can read hidden forums
    	if ( current_user_can( 'read_hidden_forums' ) )
    		$post_stati[] = bbp_get_hidden_status_id();
    
    	// The default forum query for most circumstances
    	$defaults = array (
    		'post_type'      => bbp_get_forum_post_type(),
    		'post_parent'    => bbp_is_forum_archive() ? 0 : bbp_get_forum_id() ,
    		'post_status'    => implode( ',', $post_stati ),
    		'posts_per_page' => get_option( '_bbp_forums_per_page', 50 ),
    		'orderby'        => 'title',
    		'order'          => 'ASC'
    	);
    	$bbp_f = bbp_parse_args( $args, $defaults, 'has_forums' );
    
    	// Run the query
    	$bbp->forum_query = new WP_Query( $bbp_f );
    
    	return apply_filters( 'mybbp_has_forums', $bbp->forum_query->have_posts(), $bbp->forum_query );
    }
    add_filter('bbp_has_forums','mybbp_has_forums');
    
    //this is CUSTOMIZED to just get the subforums ordered by title instead of menu_id
    
    function myybbp_forum_get_subforums( $args = '' ) {
    
    	// Use passed integer as post_parent
    	if ( is_numeric( $args ) )
    		$args = array( 'post_parent' => $args );
    
    	// Setup possible post__not_in array
    	$post_stati[] = bbp_get_public_status_id();
    
    	// Super admin get whitelisted post statuses
    	if ( is_super_admin() ) {
    		$post_stati = array( bbp_get_public_status_id(), bbp_get_private_status_id(), bbp_get_hidden_status_id() );
    
    	// Not a super admin, so check caps
    	} else {
    
    		// Check if user can read private forums
    		if ( current_user_can( 'read_private_forums' ) ) {
    			$post_stati[] = bbp_get_private_status_id();
    		}
    
    		// Check if user can read hidden forums
    		if ( current_user_can( 'read_hidden_forums' ) ) {
    			$post_stati[] = bbp_get_hidden_status_id();
    		}
    	}
    
    	$defaults = array(
    		'post_parent'    => 0,
    		'post_type'      => bbp_get_forum_post_type(),
    		'post_status'    => implode( ',', $post_stati ),
    		'posts_per_page' => get_option( '_bbp_forums_per_page', 50 ),
    		'orderby'        => 'title',
    		'order'          => 'ASC'
    	);
    	$r = bbp_parse_args( $args, $defaults, 'forum_get_subforums' );
    	$r['post_parent'] = bbp_get_forum_id( $r['post_parent'] );
    
    	// No forum passed
    	$sub_forums = !empty( $r['post_parent'] ) ? get_posts( $r ) : '';
    
    	return apply_filters( 'mybbp_forum_get_sub_forums', (array) $sub_forums, $args );
    }
    add_filter('bbp_forum_get_sub_forums','mybbp_forum_get_sub_forums');
    

    This may not be elegant solution but it saves us from the annoying impacts on bbpress updates.

    I would love to hear from developers on this forum on how best this can be implemented without copy-pasting the entire function just to change one small variable and then giving it a new function name and then adding filters. Is there a better way, friends?

Viewing 25 results - 1,051 through 1,075 (of 2,087 total)
Skip to toolbar