Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 2,501 through 2,525 (of 6,813 total)
  • Author
    Search Results
  • #158999

    In reply to: Reply cannot be empty

    Robkk
    Moderator

    @pgmvanrijn

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    kiwi3685
    Participant

    Thanks. Nice to at least get a response, so your thoughts are appreciated.

    However, the ticket you refer to is closed. The file in latest bbPress download matches the final version (smf3.php) available there, so I’m sure it’s reasonable to assume the code is the latest available.

    But while waiting for some help I did some further digging in my smf database. I found one user with an invalidly formatted user_id. After removing that the import worked.

    Regarding “Remap existing users to default forum roles”, the import instructions recommend running ALL repair functions after importing, which I did at every import attempt.

    #158983
    Robkk
    Moderator

    @giuseppecuttone

    i dont know any plugin that can handle notifications very well , all i know is the default bbpress notifications and they seem to be having issues for users lately.

    as for changing the default email address see if this works

    use this for custom email address

    add_filter( 'wp_mail_from', function( $email ) {
    	return 'webmaster@mydomainname.com';
    });

    use this for custom from name

    add_filter( 'wp_mail_from_name', function( $name ) {
    	return 'WordPress Email System';
    });
    Robkk
    Moderator

    @kiwi3685

    what importer did you use , the one listed in tools>forums Import??

    because i see the bbPress one doesnt have much information in the codex and it is still in beta testing.

    this could work or not , im only guessing to try to help

    what you could try is go to tools>forums Repair forums and check

    Remap existing users to default forum roles

    and see if that fixes it.

    there is also a ticket on the importer for SMF

    https://bbpress.trac.wordpress.org/ticket/2380

    #158961
    Robkk
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #158950
    mvaneijgen
    Participant

    Have even more code to also redirect them to a page if a users fills in nothing

    
    add_action( 'wp_authenticate', '_catch_empty_user', 1, 2 );
    
    function _catch_empty_user( $username, $pwd ) {
      if ( empty( $username ) && empty( $pwd )) {
        wp_redirect($referrer . 'http://yourdomain.nl/aanmelden'); 
        exit();
      }
    }
    add_action('wp_login_failed', 'my_front_end_login_fail'); 
     
    function my_front_end_login_fail($username){
        // Get the reffering page, where did the post submission come from?
        $referrer = $_SERVER['HTTP_REFERER'];
     	
        // if there's a valid referrer, and it's not the default log-in screen
        if(!empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin')){
            // let's append some information (login=failed) to the URL for the theme to use
            wp_redirect($referrer . 'http://yourdomain.nl/aanmelden'); 
        exit;
        }
    }

    Not my code this is all scattered from around the web

    Robkk
    Moderator

    the only thing i can think of is that you might be caching logged in users which you shouldn’t.

    other than that you could see if its a plugin or theme issue.

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    if its your theme contact your theme author.

    #158931
    Robkk
    Moderator

    see if the shortcode works in a default theme first

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

    if it still doesnt see if its a plugin issue

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the issue

    if its not a plugin issue and is working in a default theme then your right about it being your theme

    do the other shortcodes work fine?? if so see if you only messed up this file below

    did you do any customization to this file content-archive-forum.php

    #158914
    darlingstewie
    Participant

    This is our BBPress Forum

    http://www.geekgirlpenpals.com/forums/

    I wonder if instead of just text of the Forum name and “Freshness” we can also have it show what the last topic was, when it was posted, and who commented on it? I thought that was the default but it seems to have changed.

    #158873
    lflier
    Participant

    Someday, somebody is going to get this 2x retina thing figured out so that it’s automatic across WordPress. Until that day, we have to do it ourselves.

    The general approach is to serve a double-sized image to the browser. So, if you want an 80px avatar in your topic replies (the standard size), you need to serve up a 160px avatar in order for it to look sharp on a retina screen (i.e. iPad, Android tablet, retina MacBook Pro, or one of those delicious new 5K iMacs). And as Joe Jackson says, “You gotta look sharp!”

    So, how is this accomplished? Well, in the template.php file of bbPress, there is a function called bbp_get_reply_author_link(). This is the function that gets the avatar, and it comes with the following arguments:

    	function bbp_get_reply_author_link( $args = '' ) {
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'post_id'    => 0,
    			'link_title' => '',
    			'type'       => 'both',
    			'size'       => 80,
    			'sep'        => ' ',
    			'show_role'  => false
    		), 'get_reply_author_link' );
    

    The argument we want to change is the ‘size’ argument. As you see, the default setting is 80. We want it to be 160. We can change it by changing a single line in the loop-single-reply.php file, which you can locate in wp-content/plugins/bbpress/templates/default/bbpress/. In the stock theme, the line reads:

    		<?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    

    We want to change it to:

    		<?php bbp_reply_author_link( array( 'size' => 160, 'sep' => '<br />', 'show_role' => true ) ); ?>
    

    And that’s all there is to it. As long as your CSS specifies a width of 80 (or whatever you prefer), you won’t see any change in the size of the avatar in your browser, it will just look sharper on retina screens. You won’t notice any difference on standard resolution screens and, unfortunately, there is a price to be paid in the size of the image that is served to those screens. Ideally, WordPress/bbPress would know what resolution screen it is serving to and set the image size on the fly. There are some plugins that do this for site images — Jordy Meow’s WP Retina 2x is a good one — but they don’t work for avatars yet. See this support topic for more discussion.

    There’s just one more thing you’ll want to do. If you haven’t already done so, create a directory in your theme folder titled “bbpress”. Then make a copy of the file you just changed and place it in this directory. This file will override any file with the same name in the bbPress plugin directory. So, when you next update the bbPress plugin, you’ll retain the functionality you just created, because even though the plugin files are all replaced by the new version, the file in your theme directory will still be there.

    I hope this helps everyone look sharp!

    #158860
    Robin W
    Moderator

    don’t know what else to suggest, bbpress is tested to work with the default themes, suggest you contact your host provider.

    #158858
    bandormen
    Participant

    I’ve deactivated all plugins and I’ve used the default theme Twenty Fifteen.
    And also a reinstallation of the bbpress plugin didn’t solve the problem.

    Thx in advance for your help.

    Normen

    #158850
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

    #158845
    Shmoo
    Participant

    Just curious if someone could help me here..

    I would like to use bbPress but not mainly as forum/support software, what I like to do is use the Forums function as categories to create structure and navigation on my site and the Topics functions as kinda ‘posts’ – the Replies function will not be used. I will remove that part from the template files.
    The main reason why I want to use bbPress for my site is the Subscribe and Favorite functions.
    Default members of the site can subscribe and favorite topics ‘posts’ and receive email notifications when they change content. That’s the most important feature I would like to use out of bbPress everything else I will customize to my liking.

    The only thing that worries me is the performance of bbPress.
    What if my site holds 15.000 members, 25.000 topcis ‘posts’ and let’s say 5.000 members subscribe to a single topic-ID. How will WordPress/bbPress handle the outgoing emails to 5.000 people will this increase the performance a lot?

    Thanks,

    #158838
    mvaneijgen
    Participant

    This works

    // hook failed login
    add_action('wp_login_failed', 'my_front_end_login_fail'); 
     
    function my_front_end_login_fail($username){
        // Get the reffering page, where did the post submission come from?
        $referrer = $_SERVER['HTTP_REFERER'];
     
        // if there's a valid referrer, and it's not the default log-in screen
        if(!empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin')){
            // let's append some information (login=failed) to the URL for the theme to use
            wp_redirect($referrer . '?login=failed'); 
        exit;
        }
    }

    http://www.wpinsite.com/code-snippets/how-to-redirect-wordpress-failed-logins

    #158795
    Robkk
    Moderator

    it takes awhile for Google to adjust to an SEO plugin so it might take a few hours, so for default without any configuration Google will auto-generate descriptions sometimes

    i think this variable is used for taxonomies like topic tags ..%%ct_desc_<custom-tax-name>%%

    i think you should try the excerpt variable %%excerpt%%

    i also recommend manually writing every forum/category description , using the excerpt variable for topics , and no-index/follow replies but that’s my opinion.

    #158774
    BrendenW
    Participant

    Hi Robin,

    Given you’re so knowledgeable on bbPress and I really don’t want to go making a mess after getting the forum working nicely, is there a plugin you would recommend to get the nice visual editor for post replies, instead of the default? I think my users are more visual, trying to use the default buttons will make their heads implode!

    Thanks.

    #158772
    BillOsuch
    Participant

    I did, it doesn’t work with my theme (or maybe Genesis, I don’t know), unfortunately. I could never get “bbpress sidebar” to display. Genesis has a specific bbpress sidebar that can be activated, that’s the only thing other than default I’m able to display.

    #158758

    In reply to: Basic Forums

    Robin W
    Moderator

    yes this should be the default.

    go to

    dashboard>forums>anonymous posting and make sure it is not ticked !

    #158751

    In reply to: Post submission hooks

    Robin W
    Moderator

    yes look in the form templates which you’ll find in the plugin
    bbpress/templates/default/bbpress

    in particular

    bbpress/templates/default/bbpress/form-topic.php
    and
    bbpress/templates/default/bbpress/form-reply.php

    either

    a)( You’ll find several hooks in there which you can add_action to , or

    b) you can copy these templates to your theme and modify happily by

    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 find
    wp-content/plugins/bbpress/templates/default/bbpress/xx.php

    where xx.php is say form-topic.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/xx.php
    where xx.php is say form-topic.php

    bbPress will now use this template instead of the original

    #158713
    VSensational
    Participant

    Could anyone recommend a rating and/or sorting plugin that will let me sort the threads on my bbpress forum by the highest voted and/or most replied to threads? I’m thinking Reddit here, i.e. upvotes and then shifting “sort by” to Top and so on.

    Unless this is built into bbpress default and I’m just being an idiot, in which case please point me in the right direction to set that up.

    #158691
    Robin W
    Moderator

    ok, it’s working fine on my test site with bbpress and twentyten.

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

    #158682
    WilRC
    Participant

    The default is 15, you can changes this in the forumsettings to what ever you like.
    The shortcode doesn’t support a parameter.

    #158638
    Robin W
    Moderator

    bbpress stores its role in the same array as wordpress roles

    ie in

    usermeta[‘wp_capabilities’]

    and an entry looks like

    a:2:{s:13:”administrator”;s:1:”1″;s:13:”bbp_keymaster”;b:1;}

    with admin being the wordpress role and bbp_keymaster being the bbpress role.

    A pure wordpress user would look like

    a:1:{s:13:”administrator”;s:1}

    Now, and this is probably key, when a users registers they just get the wordpress role. When they then log on bbpress sees that it has no role set, so assigns the default role.

    Now if emember is writing info to wp_capabilities, it could be overwriting part or the entire array (so by mistake deleting the bbpress role) or appending to it so that bbpress no longer sees it’s role. Then when the user next logs on, bbpress will see no role set, and set it back to the default.

    This could explain why users would be going back to default

    #158626

    In reply to: profile page links??

    Robin W
    Moderator

    yes but you’ll need to do some coding

    see

    http://generatewp.com/shortcodes/

    the code would go in your functions file

    Functions files and child themes – explained !

    and the code you’ll be seeking to shortcode is in

    wp-content/plugins/bbpress/templates/default/bbpress/

    in particular

    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php

Viewing 25 results - 2,501 through 2,525 (of 6,813 total)
Skip to toolbar