Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 14,351 through 14,375 (of 69,016 total)
  • Author
    Search Results
  • #233031

    In reply to: profile pics

    griswolddad
    Participant

    Twenty Fifteen, meaning the theme? I’m currently using an updated Twenty Fourteen theme, which I prefer the look. Is it necessary to change? I’m on the updated wordpress version and the most update buddypress version.

    #233027
    shanebp
    Moderator

    It’s best to make your changes in the language file.

    If you only want to change a label or two, you can use functions. The tricky part is knowing which filter hooks to use: gettext or gettext_with_context.

    In your case, you need both:

    function example_gettext_with_context( $translated, $text, $context, $domain ) {
    
        if ( 'buddypress' !== $domain )
            return $translated;
    
         switch ( $text ) {
    
            case 'Friends':
                return 'Contacts';
                
            default:
                return $translated;
        }
    
    }
    add_filter( 'gettext_with_context', 'example_gettext_with_context', 11, 4 );
    
    function example_gettext( $translated, $original_text, $domain ) {
    
        if ( 'buddypress' !== $domain )  
            return $translated;
    
        switch ( $original_text ) {
    			
           case 'Friends <span class="%s">%s</span>';
                return 'Contacts <span class="%s">%s</span>';
    
            default:
                return $translated;
        }
    }
    add_filter( 'gettext', 'example_gettext', 10, 3 );
    #233017
    casesolver
    Participant

    Hi Paul, Henry,

    From the X theme support forum understaying answer.
    As the I reinstalled the theme 2 x and did not know where to insert the given code, I deleted the BP plugin and reinstalled… nothing lost and all working fine, that was some stress. Thank you, it’s nice to know that there is so much help and learning from you all.

    —-

    Hi there,

    Thanks for writing in! If bp_get_activity_directory_permalink() is not recognized, it is most probably because the file doesn’t exist for buddypress or outside it’s scope.

    To resolve the issue temporarily, comment out the following line.

    /* ? bp_loggedin_user_domain() : bp_get_activity_directory_permalink() */

    You can try updating your theme to the latest version or if you already have the latest version, try re-installing the theme files.

    Hope that helps.
    —-

    djsteveb
    Participant

    @jerryroxas – welcome to the wonderful world of wp and bp!

    Here is what you are likely to find out.. when asking for support in the bp forums people are going to ask if your problem exists when you switch to the default wp theme and turn off all plugins except bp.

    If your problem does not exist in the default setup, then re-enable your other plugins one by one and see if the issue is caused when another plugin is activated. If the problem is caused by another plugin (in your case I am guessing the members plugin) – then you will likely be asked to go find the support forums for that plugin and ask them over there, as it’s not a bp problem, and you are unlikely to get (free) support here.

    If your problem does not exist with all plugins, change your theme to what you were using and see if the problem exists. IF problem exists only with the non-default theme, then you need to ask for support with your theme designer.

    If you come back here and say that you need such and such functionality and the other theme designers and plugin authors are not helping you, then you will likely be directed to the coders jobs board when you can offer cash for solutions. (And those solutions that you pay for will likely not be guaranteed to work, or work in the future when wp and bp have updates.)

    I will add some extra light on your situation however, from what I have seen the next version of buddypress is supposed to have core functionality support for some kind of member levels thing.. see https://buddypress.org/2015/01/buddypress-2-2-beta-2/

    whether or not that new function will work right at all, or work for the type of situation in which you are trying to create with the permissions / members plugin you are currently playing with, I don’t know. I myself have had some luck with using press-premit-core for some content restriction situations, but I have not looked to see if those affect activity stream registering.. I may play with that some and see.

    #233009
    Tranny
    Participant

    I got this in the debug.log file:

    [27-Jan-2015 01:16:12] PHP Fatal error: Call to undefined function bp_is_user_inactive() in /home/xxxxx/xxxxx.com/wp-content/plugins/buddypress/bp-core/bp-core-caps.php on line 264

    What does that mean?

    #233007

    In reply to: Pre loading members

    Henry Wright
    Moderator

    Importer plugins are always welcome here at BuddyPress! 😀

    cc @djpaul

    Ref: https://twitter.com/pgibbs/status/556433768526143488

    #233003
    danbp
    Participant

    Disabling search engine visibility in WP settings did the trick.

    To get @mention properly on group notice, read here please:
    https://buddypress.org/support/topic/how-to-mention/

    #233001
    shanebp
    Moderator

    closed – duplicate of this.

    #232997
    Tranny
    Participant

    I bumped memory limit from 128MB to 512MB – as I expected, it did not resolve the issue. Activating the plugin results in the blank screen and the whole admin area returns nothing but blank screens from that point on. Renaming the buddypress subfolder resolves the problem as it deactivates the plugin.

    I honestly did not think memory limit had anything to do with the problem, but I wanted to try it nevertheless to have it confirmed.

    As for error logs – I learned from my webhost that we don’t have them enabled due to high traffic to the site. Daily logs were 2Gb in size.

    Are developers gonna consider looking into this issue? There must be a deeper underlying issue. Bumping up memory limit is not a solution. If memory limit was a potential issue, it would have already demonstrated itself as such as I watched my site grow, and tried a number of plugins over time.

    #232991
    chcsuter
    Participant

    Hi

    I’ve just installed wordpress + buddypress

    http://img15.hostingpics.net/pics/917666Capturedcran20150126224242.png

    does not work on messages, but if on the notes

    http://img15.hostingpics.net/pics/758104Capturedcran20150126224645.png

    the site is
    http://gito.zz.mu/activity/

    username: gito1
    password: 1234

    Best regards

    (Topic modified by moderator)

    #232981
    Henry Wright
    Moderator

    Unless you’ve created bp-custom.php yourself, you won’t have one.

    If you can verify that you’re using Twenty Fifteen, no plugins activated, and have made no custom code changes, then please feel free to open a ticket on Trac. Please provide the developers with as much info as you can (see here) and describe the problem you’re seeing in as much detail as you can. Also, feel free to reference this thread.

    #232974
    casesolver
    Participant

    Hi Henry,
    Yes tomorrow we tried twenty fifteen, all was working.
    Last week X theme had 3 updates. BuddyPress has a special place in it. I have to use BP because of the core idea of this website, FreeSkills.net is a timebank, that nice plugin is build with BP.
    I’ll send again a question to the X forum.
    Many thanks for your attention and help. Kind regards of Anne

    #232972
    Henry Wright
    Moderator

    @casesolver

    The error log seems to indicate the problem is coming from the theme x. For example:

    wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 478

    Can you try reverting to the Twenty Fifteen theme to see if the issue is resolved?

    #232970
    casesolver
    Participant

    Hi, thanks for your quick reaction:

    We spent an hour to find the solution and the remote idea came up because of the difference logged in and out.

    From the error log:

    Sun Jan 25 04:00:26 2015] [warn] [client ] mod_fcgid: stderr: PHP Fatal error: Call to undefined function bp_get_activity_directory_permalink() in /var/www/vhosts/freeskills.net/httpdocs/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 478, referer: http://freeskills.net/

    #232964
    ouegy
    Participant

    Hi @henrywright

    I’ve taken a slightly different approach as I couldn’t figure out customising the s2member form.

    What now happens is the user registers and is assigned a restricted membership level (level_1) and automatically logged in and redirected to /profile/change-avatar.

    At the point that the user clicks

    <input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', 'buddypress' ); ?>" />

    in change-avatar.php, is there some sort of event hook that could fire on this to change the user’s role eg. make them a full member (level_2)

    It’s a requirement that the user uploads a photo to become a member of the community.

    Thanks again

    #232951
    Henry Wright
    Moderator

    There’s a lot more to uploading an avatar than just saving the meta. Check out xprofile_screen_change_avatar() to see how BuddyPress handles the process.

    Along with saving meta info, you’ll need to handle the actual file and save it to your file system (just as BuddyPress does). Then there’s cropping to think about too.

    Hope this info helps.

    #232950
    ouegy
    Participant

    Just checking the DB, all meta_values are longtext and I cant change to BLOB for that specific row…

    Is there some way I might be able to use the code behind the form on the /change-avatar/ page and store whatever file is uploaded in the correct table for BuddyPress?

    #232948
    ouegy
    Participant

    Hi @henrywright

    It’s currently being saved to wp_usermeta and is associated with the user.

    the meta_key is wp_avatar_upload and the meta_value image.jpg

    Where does buddypress store the avatars?

    #232945
    Henry Wright
    Moderator

    Hi @mvaneijgen

    Take a look at the BuddyPress Template Hierarchy article. It explains how BuddyPress will look for specific template files inside your theme if you’ve created them. These then override the default.

    #232944

    In reply to: Pre loading members

    Henry Wright
    Moderator

    The wp_users table description can be found here:

    https://codex.wordpress.org/Database_Description

    And here’s the BuddyPress database diagram:

    BuddyPress Database Diagram

    Hope that helps you.

    #232941
    djsteveb
    Participant

    @manu-pb

    Is this with one of the default wp themes like twenty-fifteen / twenty-fourteen?

    you have tried deactivating all plugins except buddypress to see if the problem is related to a plugin?

    if yes and yes, I would go to permanlinks, note what they are set to, change permanlinks to a different setting and save.. then try your settings tab.. then go back and change your permanlinks back to how you want them.. and save..

    #232940

    In reply to: Activity/sign up page

    djsteveb
    Participant

    go to dashboard -> Settings -> Reading.. change home page to be activity.. and make your blog posts a new page called “whatever” you have to make a new page called “whatever or site blog” or something first.

    Should be able to make a div block that includes some welcome message info and a sign up form and plop that into the header of your theme.. have is conditional like “if_is_home”.. one of the themes I use on a site (bp-social) does something like this, but it uses “if_is_logged_out(notlogged_in)”, then display a content block that has some welcome info and a sign in / sign up for in it.. that block does not appear once someone is logged in..

    I imagine there may be some plugins in the wp-repo that add a content block conditionally.. might be easy if your theme has header widget areas..

    So yeah I think there are several ways to do this with buddypress, if I understand what you mean.

    #232930
    FlickChicks
    Participant

    Note: I’ve checked all of the appropriate boxes on the BP settings menu (including Friend Connections) and I’ve even deactivated and re-activate Buddypress. Nothing seems to work.

    #232923

    In reply to: avatar does not show

    Alocin82
    Participant

    Hi,

    thanks to wait…i update WP now 4.1 and buddypress the last one….
    i activate the fifteen themes…
    But nothing change….no avatar…

    any help?
    thanks a lot !

    #232909
    spiritix
    Participant

    Hello guys

    What I used is:
    – BuddyPress with combination of either bbP private groups plugin or Members plugin or Restrict Content Pro – bbPress plugin
    – I created extended BuddyPress profile fields in registration
    – I restricted access to the forum with one of above mentioned plugins
    – I used my code mentioned in the beginning

    How it looks like:
    – my code works like a charm! once you choose User1 type in registration, it applies subscriber role, User2 subscriber as well, contributor for User3 – THIS WORKS.
    – what does NOT work is restriction via plugins. Have no clue why. With members plugin od pivate groups, I set Forum1 to be accessable ONLY to User3 type of user, but User1 and User2 can access too! Why?! It has nothing to do with my code, after registration you can clearly check it in WP Users that the role has been assigned.

    If I knew hot to restrict access to the forum based on the WP Role, my code would be sufficient to solve this. Can you help with that part?


    @youmin
    – are upi saying in BB 2.2 access to forum based on the WP role is fixed?

Viewing 25 results - 14,351 through 14,375 (of 69,016 total)
Skip to toolbar