Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

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

    Hello again. I posted this question on a new topic, no responses. I’ll try asking the question here since I have received responses on this thread. Thank you. Here goes:

    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’). 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’;

    ?>

    newbie999
    Participant

    Hello again. I posted this question on a new topic, no responses. I’ll try asking the question here since I have received responses on this thread. Thank you. Here goes:

    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’). 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’;

    ?>

    #73022
    modemlooper
    Moderator

    Soon!

    #73122
    modemlooper
    Moderator

    Soon!

    mayankjain
    Participant

    :) I know I should have done that. Thanks for the guidance. Another question regarding the same. If I download the bp-default and then overwrite, wouldn’t I have any conflicts with the new version. Please advise. I shall start working on the child theme soon.

    mayankjain
    Participant

    :) I know I should have done that. Thanks for the guidance. Another question regarding the same. If I download the bp-default and then overwrite, wouldn’t I have any conflicts with the new version. Please advise. I shall start working on the child theme soon.

    #73019
    Gianfranco
    Participant

    Hi MrMraz, I installed the old plugin since a few weeks and I haven’t had the occation to see how it works, simply because it is not obvious straight away that this is more of a BP component, such as Groups and Forums.

    I scratched my head off trying understand HOW to create a link (and I am not the only one https://buddypress.org/forums/topic/is-there-a-buddypress-plugin-that-can). To me it wasn’t clear that you need to manually create a link to the Links directory or something like that, wich mean you need a place in your navigation to put “Links”, along with Members, Forums, Groups (wplace that I don’t have on my site).

    Anyway, I got two basic problems (with 0.3.2). I already got a page on my site called “links”. I’ve changed the buddypress-links.php file, line 24:

    from

    define( ‘BP_LINKS_SLUG’, ‘links’ );

    to

    define( ‘BP_LINKS_SLUG’, ‘members-links’ );

    which I find more appropriate for my site. But I noticed the warning message:At this time, it is not recommended that you try to override this!

    So, what am I to do?

    Another problem is that when I try to create a link i got the error:

    Warning: require_once(single/forms/details.php) [function.require-once]: failed to open stream: No such file or directory in …(mypath)/wp-content/themes/(mytheme)/bp-links-default/create.php on line 22

    I’ve checked the file and that line was not coded properly:

    require_once ‘single/forms/details.php’;

    instead of: require_once (‘single/forms/details.php’);

    Did it work for everybody else, that way?

    Otherwise, I am going to test 0.4, since I see that there is a feature to “Create link directly from user profile and group pages”.

    I’ll let you know.

    #73119
    Gianfranco
    Participant

    Hi MrMraz, I installed the old plugin since a few weeks and I haven’t had the occation to see how it works, simply because it is not obvious straight away that this is more of a BP component, such as Groups and Forums.

    I scratched my head off trying understand HOW to create a link (and I am not the only one https://buddypress.org/forums/topic/is-there-a-buddypress-plugin-that-can). To me it wasn’t clear that you need to manually create a link to the Links directory or something like that, wich mean you need a place in your navigation to put “Links”, along with Members, Forums, Groups (wplace that I don’t have on my site).

    Anyway, I got two basic problems (with 0.3.2). I already got a page on my site called “links”. I’ve changed the buddypress-links.php file, line 24:

    from

    define( ‘BP_LINKS_SLUG’, ‘links’ );

    to

    define( ‘BP_LINKS_SLUG’, ‘members-links’ );

    which I find more appropriate for my site. But I noticed the warning message:At this time, it is not recommended that you try to override this!

    So, what am I to do?

    Another problem is that when I try to create a link i got the error:

    Warning: require_once(single/forms/details.php) [function.require-once]: failed to open stream: No such file or directory in …(mypath)/wp-content/themes/(mytheme)/bp-links-default/create.php on line 22

    I’ve checked the file and that line was not coded properly:

    require_once ‘single/forms/details.php’;

    instead of: require_once (‘single/forms/details.php’);

    Did it work for everybody else, that way?

    Otherwise, I am going to test 0.4, since I see that there is a feature to “Create link directly from user profile and group pages”.

    I’ll let you know.

    #73016
    coffeeholic
    Participant

    The error code is between the admin bar and the header.

    1) Linux

    2) Vvista

    3) Ie, ff and chrome

    4) WPMU

    5) BP-NotificationWidget, BuddyPress Like. Error is still there when i deactivate.

    6) There is no wp error log

    7) The error log is blank

    This is all i have..

    #73116
    coffeeholic
    Participant

    The error code is between the admin bar and the header.

    1) Linux

    2) Vvista

    3) Ie, ff and chrome

    4) WPMU

    5) BP-NotificationWidget, BuddyPress Like. Error is still there when i deactivate.

    6) There is no wp error log

    7) The error log is blank

    This is all i have..

    modemlooper
    Moderator

    tsk tsk. use a child theme.

    Download the bp-default folder. Upgrade. Then overwrite the updated bp-default folder with the one you downloaded. You should really move all your changes to a child theme so you dont have to do this in the future.

    modemlooper
    Moderator

    tsk tsk. use a child theme.

    Download the bp-default folder. Upgrade. Then overwrite the updated bp-default folder with the one you downloaded. You should really move all your changes to a child theme so you dont have to do this in the future.

    mayankjain
    Participant

    Hello everyone,

    I have done some changes with the default BuddyPress theme to make it suitable to my design. the problem is that now I think if I upgrade current version 1.2.2.1 to 1.2.3 I know that the default theme will overwrite my current changes.

    Is there a way I can avoid that? Please advise.

    Mayank

    #73010
    Dwenaus
    Participant

    I’ve posted a request for funding this plugin extension here: https://buddypress.org/forums/topic/extending-buddypress-rate-forum-posts-to-rate-blog-posts. Hopefully there are others that want this enough to make a contribution and make it happen.

    #73110
    Dwenaus
    Participant

    I’ve posted a request for funding this plugin extension here: https://buddypress.org/forums/topic/extending-buddypress-rate-forum-posts-to-rate-blog-posts. Hopefully there are others that want this enough to make a contribution and make it happen.

    Dwenaus
    Participant

    I have created the BuddyPress Rate Forum Posts plugin that allows users to self-moderate the forums. A few forum members have requested that this plugin also be able to rate blog posts. While there are plugins out there that allow for rating blog posts, having one BP plugin that does both makes more sense so that the ‘karma’ points are unified.

    This functionality is not needed in the project i’m working on, so I won’t be building it into the plugin on my own. However, one forum member has offered to pay for part of this work. I’m writing this post to see if there are any other people who would like to contribute some $$ to see this new feature implemented. Let me know.

    #73006
    Boone Gorges
    Keymaster

    Perhaps not the optimal solutions, but:

    – https://wordpress.org/extend/plugins/forum-attachments-for-buddypress/ allows users to attach files to forum posts, including pictures (which will then display inline).

    – https://wordpress.org/extend/plugins/bp-tinymce/ *should* work to give basic bold/italic/link stuff for forum posts. I haven’t done a very good job keeping this plugin up with the latest BP developments, so please test in a development environment first.

    #73106
    Boone Gorges
    Keymaster

    Perhaps not the optimal solutions, but:

    – https://wordpress.org/extend/plugins/forum-attachments-for-buddypress/ allows users to attach files to forum posts, including pictures (which will then display inline).

    – https://wordpress.org/extend/plugins/bp-tinymce/ *should* work to give basic bold/italic/link stuff for forum posts. I haven’t done a very good job keeping this plugin up with the latest BP developments, so please test in a development environment first.

    #73005
    Tosh
    Participant

    In IE8 at work nothing displays, just a “Internet Explorer cannot display the webpage”

    I changed it to the default buddypress theme and it displayed now, but it get this at the top of the screen:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘bp_album_screen_home’ was given in /home/me/public_html/me/wp-includes/plugin.php on line 414

    1) Linux

    2) At home Mac (Firefox, Opera, Safari), at work Windows XP (Chrome, Firefox, IE8)

    3) Same error as above.

    4) Single WordPress

    5) Do you have any other plugins running? What are they? Does it still crash when you disable them? Not at home to try.

    6) Can you please post a copy of your wp error log file. Located in the /wp-admin/er-logs/ directory. I’ll look into this when I get home

    #73105
    Tosh
    Participant

    In IE8 at work nothing displays, just a “Internet Explorer cannot display the webpage”

    I changed it to the default buddypress theme and it displayed now, but it get this at the top of the screen:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘bp_album_screen_home’ was given in /home/me/public_html/me/wp-includes/plugin.php on line 414

    1) Linux

    2) At home Mac (Firefox, Opera, Safari), at work Windows XP (Chrome, Firefox, IE8)

    3) Same error as above.

    4) Single WordPress

    5) Do you have any other plugins running? What are they? Does it still crash when you disable them? Not at home to try.

    6) Can you please post a copy of your wp error log file. Located in the /wp-admin/er-logs/ directory. I’ll look into this when I get home

    #10582
    #10581
    MrMaz
    Participant

    I just tagged BuddyPress links 0.4-beta. Please test in your development environment and report any issues on this thread. Please do not post a bug unless you see the behavior with the default theme activated to rule out child theme issues.

    !!! This version upgrade updates every link entry in the database to populate a new field, so back up your data !!!

    Here are the changes for this version:

    * Initial group integration support added

    * Added profile and group sharing features

    * Create link directly from user profile and group pages

    * Moved link list update/error messages to inside the current link’s LI block

    * Added external link icon next to main link URL on the link list

    * All link list targets and rels are no longer set by default and must be explicitly set with a filter

    * All link list content is now separately filterable for finer control over URLs and content

    * Load members profile links using plugins template instead of members home action

    * Link description can be configured as optional with a constant.

    * Usability fixes to the link create/admin form (props Mike Pratt)

    * Heavy duty javascript refactoring

    Download here:

    http://downloads.wordpress.org/plugin/buddypress-links.0.4-beta.zip

    Enjoy!

    Marshall

    Boone Gorges
    Keymaster

    @kriski – If you want to add users directly to groups (skipping invitations), try https://wordpress.org/extend/plugins/bp-group-management/. It’s not great for adding in bulk yet, but I plan to add checkboxes in the next version that’ll make it easier.

    @Erich73 – Good call on the group creation issue. I think the answer is just to turn off the message for the group creation process. I’m about to check in version 0.5.2, which makes this correction. Email invitation can only be done from the normal Send Invites screen, so the confusion shouldn’t happen. Not sure about your email problem – has your friend checked the spam folder? I’m using the same wp_mail function that the rest of the BP functions use.

    @roydeanjr – Very strange about the first errors – almost makes it seem like the plugin was loading before Buddypress was. If it starts happening again, please let me know, and give me as much info about your system setup as you can so I can try to reproduce it. And thanks for the kind compliments :)

    Boone Gorges
    Keymaster

    @kriski – If you want to add users directly to groups (skipping invitations), try https://wordpress.org/extend/plugins/bp-group-management/. It’s not great for adding in bulk yet, but I plan to add checkboxes in the next version that’ll make it easier.

    @Erich73 – Good call on the group creation issue. I think the answer is just to turn off the message for the group creation process. I’m about to check in version 0.5.2, which makes this correction. Email invitation can only be done from the normal Send Invites screen, so the confusion shouldn’t happen. Not sure about your email problem – has your friend checked the spam folder? I’m using the same wp_mail function that the rest of the BP functions use.

    @roydeanjr – Very strange about the first errors – almost makes it seem like the plugin was loading before Buddypress was. If it starts happening again, please let me know, and give me as much info about your system setup as you can so I can try to reproduce it. And thanks for the kind compliments :)

    roydeanjr
    Participant

    It actually seems like the Invite-Anyone plugin is able to accommodate almost any type of invitation possibility. Good work. I have always thought that if we are going to woo people away from fb then we will have to have a way to invite and manage invites within buddypress.

    Thank you for this plugin.

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