Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 76,676 through 76,700 (of 94,576 total)
  • Author
    Search Results
  • newbie999
    Participant

    Hello. I added the code below in wp-content/plugins/buddypress/bp-themes/bp-default/members/members-loop.php, to display additional profile fields in the member directory and to display the member’s role (either ‘Subscriber’ or ‘Provider’). I only have 2 types of roles – Subscribers cannot edit posts and Providers can edit posts. In the code below, I specifically checked for the user’s role to determine whether I need to display ‘Subscriber’ or ‘Provider’.

    Questions:

    – is there a way to check for the capability instead – i.e., if the user can ‘edit posts’ then I will display ‘Subscriber’, otherwise I will display ‘Provider’? If so, can you please let me know how to do that as I have not been able to figure it out.

    – is there a way to display a newline so that ‘Subscriber’ or ‘Provider’ will display on the next line, below the member’s title and company name. I tried to echo “\n” but it’s not outputting a newline and I have no idea why.

    Thank you for the help.

    <?php

    /***

    * If you want to show specific profile fields here you can,

    * but it’ll add an extra query for each member in the loop

    * (only one regadless of the number of fields you show):

    *

    * bp_member_profile_data( ‘field=the field name’ );

    */

    if( bp_get_member_profile_data ( ‘field=Title’ ) )

    echo bp_member_profile_data( ‘field=Title’ ), ‘ (‘, bp_member_profile_data( ‘field=Company’ ), ‘)’, ‘ – ‘;

    $user = new WP_User( bp_get_member_user_id() );

    if ( $user->roles[0] == ‘subscriber’ )

    echo ‘Subscriber’;

    else

    echo ‘Provider’;

    ?>

    #72391
    Gene53
    Participant

    @xevo it works with whatever username admins have.

    @Mike Pratt “BuddyPress does have an edit user function” My bad, I just noticed Admin Options when I click on a user’s name. Mind you, I’ll still keep Skeleton Key in case I need to edit a user’s settings, etc.

    #72390
    eazee
    Participant

    hi im using WordPress MU 2.9.2 ,with buddypress, i believe i have to edit something in bp-core-signup.php

    #72388
    r-a-y
    Keymaster

    For the first part, what version of WordPress are you using?

    Secondly, you can edit the sign up text by using a language file:

    https://codex.buddypress.org/how-to-guides/customizing-labels-messages-and-urls/

    Or by creating a child theme and modifying the registration templates.

    #72387
    r-a-y
    Keymaster
    r-a-y
    Keymaster
    #10495
    Moominmama
    Participant

    I’m not posting this as a support question because I don’t think it’s a buddypress or wordpress issue. I’ve had people try to register at two different sites (http://www.openadoptionsupport.com and http://www.supportforspecialneeds.com) hosted by two different hosts (OAS is at bluehost and SfSN is a virtualmin server at itx). When comcast users try to register, they don’t get an email and they don’t show up in the database (or the dashboard but that’s a given since they’re not in the database). I’ve tried changing the admin email thinking that was it but the deeper we got into it, the more we realized this isn’t on our end.

    So I’m just curious. anyone else noticed this? Also at what point does WordPress create the account? At first I thought that comcast was just blocking the email but now with no record of a registration at all, I’m thinking the email isn’t even getting sent, which is why I thought it was a buddypress/wordpress glitch. But we can only replicate this with comcast and not that it’s happening on two totally different installs, I think it’s a wacky comcast issue.

    Weird, eh?

    tim-watt
    Member

    OK – I’m new here, and everything’s quite standard….

    1. Which version of WP/MU are you running? – WordPress MU 2.9.2.

    2. Did you install WP/MU as a directory or subdomain install? directory

    3. If a directory install, is it in root or in a subdirectory? ? Don’t follow? Please explain… (blogs are in format *.domain.com/blogs/)

    4. Did you upgraded from a previous version of WP/MU? If so, from which version? NA

    5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes

    6. Which version of BP are you running? Version 1.2.3

    7. Did you upgraded from a previous version of BP? If so, from which version? NA

    8. Do you have any plugins other than BuddyPress installed and activated? Contact Form 7 & WordPress Hashcash

    9. Are you using the standard BuddyPress themes or customized themes? The standard Demo theme

    10. Have you modified the core files in any way? No

    11. Do you have any custom functions in bp-custom.php? no

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? No

    13. Please provide a list of any errors in your server’s log files. NA

    14. Which company provides your hosting? wpwebhost.com/

    Paul Wong-Gibbs
    Keymaster
    tim-watt
    Member

    I’ve posted on another forum but maybe this link is more appropriate.

    I’ve set everything up on http://solarpowernewsonline.com/ as far as I can see that it be fully working (it is without Buddypress). BUT basic functionality of Buddypress is not as it should be…

    For instance Blog Tracking is not happening at all across the site – when every setting suggest this should be happenning automatically. It simply isn’t!

    Also, “Activity” works from the Administrator’s blob page but not from the other Blogger pages…

    Sorry but how on earth can I get this basic functionality to work?

    Thanks, Tim

    #72380

    In reply to: Add links into menu

    @mercime
    Participant

    Hi ant60 – just to clarify, do you mean you want logged-in user’s link to his/her profile page appear in your navigation menu? If so, you can add this code

    `<?php if ( is_user_logged_in() ) : ?>

    <li><a href=”<?php echo bp_loggedin_user_domain() ?>”></li>

    <?php endif; ?>`

    to your theme’s header.php file within

    <ul id="nav">
    <li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>>
    <a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a>
    </li>
    <?php wp_list_pages( 'title_li=&depth=1&exclude=' . bp_dtheme_page_on_front() ); ?>
    <?php do_action( 'bp_nav_items' ); ?>
    </ul><!-- #nav -->

    #10491
    muratk
    Member

    I’m wondering what you are using for your Buddypress sites to place Adsense ads?

    #10490
    tim-watt
    Member

    Just testing out Buddypress but basic functionality in WP mu isn’t working as there is no association between the member’s blog pages and the “Blogs” links in the tags in the default theme….

    In this test site http://solarpowernewsonline.com/

    “activities” seem to work but most of the links simply do not link to the blogs or a listing of blogs as you’d assume- none of the blogs tabs work, more don’t from from the child blogs than the administrator’s blogs.

    I’m using the blogs.domain.com format rather than domain.com/blog format but that should be considered (it is taken care of in WordPress Mu without Buddypress).

    I’ve tried every option but there seems no setting to associate “Blogs” with “Blogs” as naturally you’d assume you shouldn’t need to!

    What can I be doing wrong?

    Tim

    #72371

    In reply to: BuddyPress Like

    techguy
    Participant

    Like in and of itself isn’t useful. What’s useful is what you then do with the data that people have liked. For example, you can send email notifications to people who have liked something that then gets commented on. You could show information in a feed based on previous likes. You can do lists of most liked items. etc.

    This is a good baseline that can be built on. Plus, users for some reason like clicking the like button. It’s another form of communication without having to think of a comment.

    What would be cool is to take it a step further and make the plugin agnostic and have multiple buttons. For example, I might want a like, dislike, and sarcastic like button (or whatever creative things people come up with).

    Nahum
    Participant

    Try starting with a premium City Guide theme from Woo themes. http://www.woothemes.com/2010/03/cityguide/ and merge it with buddypress. That theme is already a big plugin itself combine it with bp for something pretty cool. Then there’s this business directory plugin that you could throw in there for the complete package – http://themestown.com/wp-business-directory-manager. Its been on my list of things to do to make a hybrid of those three. Look forward to seeing what you come up with. Salu2

    #72368
    arnonel
    Participant

    release release release!

    cant wait :)

    José M. Villar
    Participant

    Hola vato ! Bienvenido al mundo Buddypress.

    For citiguide, take a peek at http://wikiroma.it maybe it is of some inspiration to you. They have done a wonderful integration with G maps, georeferencing their posts.

    Suerte !

    #72363
    Jeff Sayre
    Participant

    If your “second request” is related to installing bbPress, then post it here. Otherwise, please start a new thread.

    #72362
    irfun4ever
    Participant

    wow, it was so easy. how i did a mistake. anyway thanks.

    what about second request?

    Scotm
    Participant
    #72359
    irfun4ever
    Participant

    So should i uninstall it?i meant should i delete bbpress

    #72360
    idotter
    Participant

    can you show us something to give you the feedback you want ? ;-)

    Activity-Stream-integration is a great thing your working on and i hope this will work soon.

    #72358
    MrMaz
    Participant

    I need some feedback from you guys on activity attachments.

    I have spent quite a bit of time working on the API for attaching content to activity items, and near the end here I am really struggling to make it work without modifying the core. The right way to do this is to integrate my API into the core starting with 1.4. Of course that is probably months away from release, which is a short term bummer.

    Do you guys want me to release 0.4 with all of the group integration and re-link features now? I really wanted to get activity attachments in there, but like I said its proving to be difficult and time consuming to make it work as a plugin.

    #10488
    aizza02
    Member

    Hi!

    I have another problem with buddypress about the post and the pages created. Here is the problem: http://screencast.com/t/ZWE3YWRi

    Please help me with problem…

    Aizza

Viewing 25 results - 76,676 through 76,700 (of 94,576 total)
Skip to toolbar