Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 3,551 through 3,575 (of 6,794 total)
  • Author
    Search Results
  • #139451
    PureLoneWolf
    Participant

    Hi there

    I upgraded to 2.5 this morning and, after noticing that some of my users were not assigned the participant role, ran the tool to remap users to default roles.

    This had the unfortunate side-effect of setting both of my administrator accounts to Participant, and removed all Dashboard related links to bbpress.

    In users, when I choose “Change Forum Role to” at the top of the user list, the highest level is moderator. Keymaster is no longer there.

    Am I missing something?

    I tried, in PHPMyAdmin, to change the wp_capabilities table from a:3:{s:13:"administrator";b:1;s:14:"backwpup_admin";b:1;s:15:"bbp_participant";b:1;} to a:3:{s:13:"administrator";b:1;s:14:"backwpup_admin";b:1;s:15:"bbp_keymaster";b:1;} after looking at a few posts on here. But that actually stopped access to the site until I changed it back.

    Can anyone help?

    Thanks

    roeller
    Participant

    After the upgrade to 2.5 there are CSS errors because the include is broken! The cause is that the programmers didn’t thought about people hosting WordPresss (and bbpress) on Windows platforms. (Windows uses a different slash and different directory root/paths).

    I’m hoping for a 2.5.1 fix 😉

    ERRORS:
    =======

    Failed to load resource: the server responded with a status of 404 (Not Found) http://www.XXXXXXX.com/wordpress/wp-content/E:inetpubwwwrootXXXXXXX…esswp-contentpluginsbbpress/templates/default/css/bbpress.css?ver=2.5-5199

    AND

    Failed to load resource: the server responded with a status of 404 (Not Found) http://www.XXXXXXX.com/wordpress/wp-content/E:inetpubwwwrootXXXXXXX…dpresswp-contentpluginsbbpress/templates/default/js/editor.js?ver=2.5-5199

    Note that the slashes are missing from the ‘plugin_dir’ part.

    I think the problem is within the “private function setup_globals” of the bbpress.php file or the “public function __construct” of the bbpress-functions.php file.

    (masked my directory and sitename with XXXXXXX)

    #139409

    In reply to: bbPress 2.5 is out!

    roeller
    Participant

    After the upgrade to 2.5 there are CSS errors because the include is broken! The cause is that the programmers didn’t thought about people hosting WordPresss (and bbpress) on Windows platforms. (Windows uses a different slash and different directory root/paths).

    See my other topic about this. I’m hoping for a 2.5.1 fix 😉

    ERRORS:
    =======

    Failed to load resource: the server responded with a status of 404 (Not Found) http://www.XXXXXXX.com/wordpress/wp-content/E:inetpubwwwrootXXXXXXX…esswp-contentpluginsbbpress/templates/default/css/bbpress.css?ver=2.5-5199

    AND

    Failed to load resource: the server responded with a status of 404 (Not Found) http://www.XXXXXXX.com/wordpress/wp-content/E:inetpubwwwrootXXXXXXX…dpresswp-contentpluginsbbpress/templates/default/js/editor.js?ver=2.5-5199

    Note that the slashes are missing from the ‘plugin_dir’ part.

    I think the problem is within the “private function setup_globals” of the bbpress.php file or the “public function __construct” of the bbpress-functions.php file.

    (masked my directory and sitename with XXXXXXX)

    #139360
    Robin W
    Moderator

    This may look a bit messy but without spending a lot of time

    In loop-single-reply.php (wp-content/plugins/bbpress/templates/default/bbpress)

    change line 45 which uses bbp_reply_author_link

    and use

    bbp_get_reply_author_avatarto display the avatar and

    bbp_get_reply_author_id
    to get the id – you’ll then need to play with maybe

    bbp_get_reply_author()
    putting the id in the brackets

    eg bbp_get_reply_author(bbp_get_reply_author_id )

    should give you the username rather than display name

    you’d then need to play with

    content-single-topic.php for the forum lists (wp-content/plugins/bbpress/templates/default/bbpress)

    #139337
    bigjakk
    Participant

    I have created two categories with forums beneath the categories. However the forum root does not display any of this. I am only able to go to each category by the direct link. Forum link is
    https://birdseyeminecraft.us/wordpress/wordpress

    This is still in development so excuse the sloppiness of it. Are categories in a different root the then the default one? if so where can i find it?

    #139302

    In reply to: SMF Import to bbPress

    Stephen Edgar
    Keymaster

    You should see Starting conversion in seconds.
    Next Converting users in another second if your converting your users.
    Next ‘Converting forums` in seconds if not converting users.

    By default everything is done in chunks of 100 records and this should never really take much longer than 5 seconds per chunk at which point you will see the converter message progress to Converting topics 300 - 399 then Converting topics 400 - 499 etc, you should never be far away from a new message informing you of the status of the import.

    I’ll try to get some more docs into the ‘import screen’ for bbPress 2.5 to give people a heads up on what they should expect to see.

    As you are on a dedicated server this topic might be worth checking out on ‘speeding it up’

    phpBB Import speed

    Firstly though lets get it started…

    Via FTP grab a copy of your SMF Settings.php file and open it up in a text editor.
    /public_html/mywebsite/smf/Settings.php

    In that file something that looks like this:

    ########## Database Info ##########
    $db_type = 'mysql';
    $db_server = 'localhost';
    $db_name = 'mydb_name';
    $db_user = 'mydb_usernam';
    $db_passwd = '123456789';
    $ssi_db_user = '';
    $ssi_db_passwd = '';
    $db_prefix = 'smf_';

    These are the settings you need to use on the bbPress importer.

    ps. Thanks @manuxel for helping others out here with the SMF importer 🙂

    #139292
    mizzinc
    Participant

    Hello,

    I would like to know the correct method to add a filter in a child theme for a template function.

    For this example lets use ‘bbp_get_user_subscribe_link()’

    I would like to insert

    <icon class="icon-user"></i>

    into the following before the %s

    <span id="subscribe-%d"  %s>%s
    $html = sprintf( '%s<span id="subscribe-%d"  %s>%s</span>%s', $r['before'], $topic_id, $sub, $url, $topic_id, $text, $r['after'] );
    

    of this function bbp_get_user_subscribe_link()

    	function bbp_get_user_subscribe_link( $args = '', $user_id = 0, $wrap = true ) {
    		if ( !bbp_is_subscriptions_active() )
    			return;
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'subscribe'   => __( 'Subscribe',   'bbpress' ),
    			'unsubscribe' => __( 'Unsubscribe', 'bbpress' ),
    			'user_id'     => 0,
    			'topic_id'    => 0,
    			'before'      => ' | ',
    			'after'       => ''
    		), 'get_user_subscribe_link' );
    
    		// Validate user and topic ID's
    		$user_id  = bbp_get_user_id( $r['user_id'], true, true );
    		$topic_id = bbp_get_topic_id( $r['topic_id'] );
    		if ( empty( $user_id ) || empty( $topic_id ) ) {
    			return false;
    		}
    
    		// No link if you can't edit yourself
    		if ( !current_user_can( 'edit_user', (int) $user_id ) ) {
    			return false;
    		}
    
    		// Decide which link to show
    		$is_subscribed = bbp_is_user_subscribed( $user_id, $topic_id );
    		if ( !empty( $is_subscribed ) ) {
    			$text       = $r['unsubscribe'];
    			$query_args = array( 'action' => 'bbp_unsubscribe', 'topic_id' => $topic_id );
    		} else {
    			$text       = $r['subscribe'];
    			$query_args = array( 'action' => 'bbp_subscribe', 'topic_id' => $topic_id );
    		}
    
    		// Create the link based where the user is and if the user is
    		// subscribed already
    		if ( bbp_is_subscriptions() ) {
    			$permalink = bbp_get_subscriptions_permalink( $user_id );
    		} elseif ( bbp_is_single_topic() || bbp_is_single_reply() ) {
    			$permalink = bbp_get_topic_permalink( $topic_id );
    		} else {
    			$permalink = get_permalink();
    		}
    
    		$url  = esc_url( wp_nonce_url( add_query_arg( $query_args, $permalink ), 'toggle-subscription_' . $topic_id ) );
    		$sub  = $is_subscribed ? ' class="is-subscribed"' : '';
    		$html = sprintf( '%s<span id="subscribe-%d"  %s>%s</span>%s', $r['before'], $topic_id, $sub, $url, $topic_id, $text, $r['after'] );
    
    		// Initial output is wrapped in a span, ajax output is hooked to this
    		if ( !empty( $wrap ) ) {
    			$html = '<span id="subscription-toggle">' . $html . '</span>';
    		}
    
    		// Return the link
    		return apply_filters( 'bbp_get_user_subscribe_link', $html, $r, $user_id, $topic_id );
    	}
    

    So how would I construct my_custom_bbp_get_user_subscribe_link() function to add_filter( ‘bbp_get_user_subscribe_link’, ‘my_custom_bbp_get_user_subscribe_link’ ); ?

    I hope the answer will serve as a general example to correctly add filters to many other template functions.

    Thanks for your assistance.

    #139276
    Anonymous User 8097816
    Inactive

    Hello,

    As part of a project for a forum in French which will be online soon, I completed the translation in French of bbPress and I improved (at least I hope) many strings already translated so that they are more true to the original english meaning and context.

    I’m entering the translations one by one on translate.wordpress.org/projects/bbpress/2.4.x/fr/default and I would like to discuss with the french translation team about a number of aspects of the project, eg nomenclature, accents, etc.

    Thank you and good day.

    #139252
    cjcampbell121
    Participant

    When looking at the settings, I see that I can “customize” the forum index with shortcodes. I did that, and when its just its own page, then it works. When I try and change the settings to display that page as the forum index, it overwrites it with a weird looking search result instead of the index.

    All I want it to do is to display the forums that I have, and to be the forum link that is displayed when you go into a topic.

    Here is the default root:

    Here is the page with the shortcode (and not yet assigned to the forum root):

    Here is the forum root changed (with the same page):

    #139240
    shearamariz
    Participant

    nice. Thanks @ozgurpolat for that. I actually inserted it in my child theme and no core was changed even I update it. Hope it helps you too. 🙂

    #139218
    isopaha
    Participant

    Ty 🙂

    Aye, the forum search widget works like a charm, but the default WP search widget doesn’t search the forums. I’d like to use the default widget so it would go through blog posts and forum posts for that keyword, now the forum search widget only goes through forum posts.

    #139213

    In reply to: Display all forums

    Robin W
    Moderator

    Unfortunately it’s css and php files that you will need to amend

    Quickest change would be to add the following to your style.css

    #bbpress-forums .bbp-forums-list li {
    display: list-item !important;
    font-size: 11px;
    }

    or to amend the display line in wp-content/plugins/bbpress/templates/default/css/bbpress.css line 121

    That’ll get your list vertical.

    Add descriptions to your forums (dashboard>forums>edit and put something in content) and you’ll have the next part.

    Then if you want to alter the display, you’ll need to look at loop-single-forum.php

    or the main forum display loop-forums.php

    willandmae
    Participant

    The Forum Recent Replies widget is showing the wrong time and date:

    For Example:

    guardianwill on Welcome
    8 years, 5 months ago

    The site has been in design for less than 2 months. When I look at this entry the right time and date is displayed

    November 4, 2013 at 9:30 AM and then the reply message.

    Thanks for any help.

    using wp 3.7.1
    buddypress – 1.8.1
    bbpress – 2.4.1
    buddypress-default theme

    the forum recent topics is working correctly and showing the proper time.

    Thanks in advance for any help concerning this issue.

    you can view at http://tvbari.org and scroll to the bottom footers to the right.

    William

    Robin W
    Moderator

    It’s quite simple to get ti up and running – just work you way through the following resource

    Step by step guide to setting up a bbPress forum – Part 1

    If you are using a default core theme, it’ll be going in a couple of hours. if you have a custom theme, the functionality will be there, but the look and feel might be a little different from your theme, and you’ll need to style it – not that hard to do, but does require some knowledge of using FTP and a code editor.

    I’ll be finishing this article during the next week.

    #139168

    In reply to: phpBB Import speed

    Stephen Edgar
    Keymaster

    Typically the ----- dashes occur once you are no longer logged into your site, opening up another page and refreshing it every 2-3 hours eg. http://example.com/wp-admin/index.php should get you around this issue.

    As long as you don’t hit memory issues drop the delay time from the default 1 second down to 0.1.

    I’d have at a guess the 5,000 & 10,000 settings you tried might have actually been too much, I’d love to be able to get some more SQL debug messages into the output display though to achieve this much of the importer needs to be rewritten so that will happen in a future release.

    Down the track I’d like to write some bash scripts to do this directly (using WP-CLI) but this is a way down the track and is not planned at this stage.

    #139130
    matrixino
    Participant

    Hi all. I’m having some problems importing my phpBB forum into bbPress. My forum is quite big, those are my stats:
    Posts: 576133 | Topics: 32722 | Users: 12306

    I first tried a default import with 1000row/1sec setting. It ran for an entire day, however after around 60000 posts it just started giving me dashes (‘-‘ char) and I really didn’t know what to do or if it was normal. So i just stopped it.

    After this I wanted to try more rows, assuming it was going to be faster. So I started (2 tries) a 5000 and a 10000 row imports. However I had it on starting conversion for an hours or more, and never actually started converting. I don’t have memory problems or errors, it’s just very slow I guess.

    So my question is: Is there a way to import all together, maybe directly with some bash script, from shell without using a webserver. Or something else to speed it up instead of waiting days in my browser?

    Thanks.

    #139127
    javierduce
    Participant

    You should check if the table wp_bb_posts has been created in your database. Otherwise, you should create it manually:

    CREATE TABLE IF NOT EXISTS wp_bb_posts (
    post_id bigint(20) NOT NULL auto_increment,
    forum_id int(10) NOT NULL default 1,
    topic_id bigint(20) NOT NULL default 1,
    poster_id int(10) NOT NULL default 0,
    post_text text NOT NULL,
    post_time datetime NOT NULL default ’0000-00-00 00:00:00′,
    poster_ip varchar(15) NOT NULL default ”,
    post_status tinyint(1) NOT NULL default 0,
    post_position bigint(20) NOT NULL default 0,
    PRIMARY KEY (post_id),
    KEY topic_time (topic_id, post_time),
    KEY poster_time (poster_id, post_time),
    KEY post_time (post_time),
    FULLTEXT KEY post_text (post_text)
    ) ENGINE = MYISAM;

    Hope it works.
    It did for me.

    #139114

    In reply to: phpbb import hanging?

    Stephen Edgar
    Keymaster

    Same problem, it’s just hanging.

    What stage do you get to though now?
    (As you shouldn’t be seeing “Delete users WordPress default passwords Deleting previously converted data” etc)

    “Deleting Conversion Table… Failed”

    This is fine, it just depends on if bbPress used a conversion table to do the conversion or it used the source database tables correctly.

    As well as the actual users there are a lot of bots etc. (e.g. AdsBot Google, Ask Jeeves Bot)

    These are special phpBB user accounts that I haven’t found a way to ignore importing just yet and must be manually removed after importing, see the follwing for a list of them all.
    https://codex.bbpress.org/import-forums/phpbb/

    #139109

    In reply to: Auto Role not working

    zilveer
    Participant

    Hello,
    I have WP 3.7.1 installed with bbPress 2.4.1.

    When I create a user in frontend the user role is not set.

    I need to use repair forum function in order to sync every time I create a user,
    WordPress Dashboard -> ‘Tools’ -> ‘Forums’ -> ‘Repair Forums’

    I am using the default twenty eleven theme.

    Can someone please help me with this?

    #139107
    5ngua
    Participant

    Currently the Forum Root is titled Forum Archive by default and there is no way to change it from the back-end. This is still impossible even when the Forum Root is partnered with a wordpress page optimized with a SEO pluggin like All In One SEO or WordPress SEO By Yoast.

    So I think I going to modify the code to get this done, but I need your instruction, please help.

    And how can I request this possibility as a default feature in the next BBPress realease? I think many people will thank it.

    Thanks in advance,
    Hung.

    #139101
    bbp-fan
    Participant

    I thought it is possible because I have the default bbPress CSS in use. Nothing special, just the CSS that have probably all bbpress-user. But if it is not possible to find the solution, I will contact you as soon as I’ve finished the site so that I can release it.
    Thank you again.

    #139092
    squid1974
    Participant

    Hi all,

    I can’t find where the title output is coming from. I want to wrap it in a <h1>. In the default templates it starts with <div id="bbpress-forums"> and the title’s output is before that. But where is it coming from? I can’t find it.

    #139087
    Lynq
    Participant

    Issues with trying to manage a forum can sometimes be resolved by going to Tools > Forums > Remap existing users to default forum roles

    Tick that and click repair items, this can solve some issues with forum admin. Once you have done that and refreshed you should be able to see forums, topics and replies to the left hand side.

    Good luck!

    #139045
    ralcus
    Participant

    I had an issue with the profile pages 404’ing.

    In my case it was down to the ‘Forum Root’ i had set in the forum settings. I set a ‘Forum Root’ with a preceeding / like this ‘/forum’.

    I then ticked the ‘Prefix all forum content with the Forum Root slug (Recommended)’ box.

    This resulted in rewrite rules for the user pages like this
    [/forum/users/([^/]+)/?$] => index.php?bbp_user=$matches[1]

    which did not correctly match. I removed the proceeding slash from my ‘Forum Root’ so it looked like this ‘forum’ and then the rewrite rules that were created looked like this:
    [forum/users/([^/]+)/?$] => index.php?bbp_user=$matches[1]
    (no proceeding slash) and it worked.

    Maybe the ‘Forum Root’ should have any proceeding slash removed by default to account for this scenario?

    #139044
    Robin W
    Moderator

    ok, would be worth a double check with firebug as to which css is being used.

    is it definitely bbpress.css? and on what directory are you using it (ie is it the default directory or a copy you have made, and if the latter which directory have you put it in?

Viewing 25 results - 3,551 through 3,575 (of 6,794 total)
Skip to toolbar