Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 10,976 through 11,000 (of 32,690 total)
  • Author
    Search Results
  • @mercime
    Participant

    @titoesco Activate BuddyPress and configure BP settings activating the Extended Profiles component only. BP is compatible with nearly all WordPress themes.

    blu3shad0w
    Participant

    Hi

    Like many people I’m after having nested fields…

    I thought that this might be the solution http://wordpress.org/plugins/fields-framework/

    Since it had a way of putting fields into groups..and well nesting those groups.

    Would it be possible to take the code and integrate it into buddypress or http://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/

    The code in question from what I can work out from the fields-framework plugin is…

    Classes.php

    if(!class_exists(‘FF_Field_Group’)) {
    class FF_Field_Group extends FF_Field {
    protected $fields = array();

    public function set_saved_value($saved_value) {
    $saved_value = parent::set_saved_value($saved_value);

    if($this->repeatable != true) {
    foreach($this->fields as $field) {
    $set_saved_value = !ff_empty($saved_value) && is_array($saved_value) && array_key_exists($field->name, $saved_value) ? $saved_value[$field->name] : null;

    $saved_value[$field->name] = $field->set_saved_value($set_saved_value);
    }
    }
    elseif(!ff_empty($saved_value) && is_array($saved_value)) {
    foreach($saved_value as &$value) {
    foreach($this->fields as $field) {
    $set_saved_value = !ff_empty($value) && is_array($value) && array_key_exists($field->name, $value) ? $value[$field->name] : null;

    if(ff_empty($value) || is_array($value)) {
    $value[$field->name] = $field->set_saved_value($set_saved_value);
    }
    }
    }
    }

    return $saved_value;
    }

    public function html() {
    $field_group_id = $this->id;

    $field_group_name = $this->name;

    foreach($this->fields as $field) {
    $original_field_name = $field->name;

    $original_field_id = $field->id;

    $field->name = “{$field_group_name}[{$original_field_name}]”;

    $field->id = “{$field_group_id}-{$original_field_id}”;

    $value = is_array($this->value) && array_key_exists($original_field_name, $this->value) ? $this->value[$original_field_name] : null;

    $field->set_saved_value($value);

    $field->container();

    $field->name = $original_field_name;

    $field->id = $original_field_id;
    }
    }

    public function add_field($field) {
    $this->fields[] = $field;
    }
    }
    }

    Functions

    if(!function_exists(‘ff_add_field_to_field_group’)) {
    function ff_add_field_to_field_group($field_group_uid, $field_uid) {
    if(empty(FF_Registry::$fields[$field_group_uid])) {
    ff_throw_exception(__(‘Invalid Field Group UID’, ‘fields-framework’));
    }

    if(empty(FF_Registry::$fields[$field_uid])) {
    ff_throw_exception(__(‘Invalid Field UID’, ‘fields-framework’));
    }

    FF_Registry::$fields[$field_group_uid]->add_field(FF_Registry::$fields[$field_uid]);
    }
    }

    It also features in builder but not able to work out the coding….

    Idea of putting fields into groups and then nesting them, might be the way forward..

    If that could then be combined with the conditional fields plugin, might then be onto a winner…

    Sorry, I know zero about php coding, but I hope I might point someone onto the way…..

    touomiwilly
    Participant

    I had the same issue, and I resolved it without deleting files and database.

    To show group avatar, Buddypress uses a setting from wordpress. When it is disabled, Buddypress won’t show your group avatar. So, in admin, go to Settings > Discussion and make sure Show avatars is checked in Avatars section (you can find it at the bottom of the page).

    Once I checked it, avatars started to show on my site. I hope it will be the same for you.

    titoesco
    Participant

    Can I just use the profile pages of a BuddyPress theme so I can keep my entire WordPress theme the way it is?

    dzung
    Participant

    Hi,

    I just set up a fresh new wp3.9 on my local host wampserver , but when I try install BuddyPress and bbPress latest versions I got a conflict. Below is my process:

    – 1. Install WP 3.9
    – 2. Install BuddyPress – 2.1 Active it.
    – 3. Install bbPress (works fine) – 3.1 Active it ->> Error, blank page. Can’t go back to Admin Dashboard cause it stops working.

    – 4. Go to wordpress directory delete the bbPress plugin folder.
    – 4.1 Refresh dashboard and deactivate BuddyPress.
    – 5. Install bbPress (works fine) – 5.1 Active it (works fine)
    – 6. Active BuddyPress – > Error Blank page.

    Does anyone has this problem and know how to fix this? please help!

    #184134

    In reply to: Help with profiles

    blu3shad0w
    Participant

    well the idea being is that I’m after creating a guild/clan plugin for the community that well kinda of sits on/makes use of wordpress and buddypress….

    There are some plugins out there, but they don’t go far enough in terms of the way they do it.

    If not create a plugin then well a how to so people can config it…

    In regards to the conditional fields plugin is there a way to alter it so that the lower level can be say a picture, a number, a text field that you enter…or are you restricted to just a set option that you already fill out….

    #184125
    shanebp
    Moderator

    It’s not just avatars, it’s all images that are coming from what I guess is the old site.

    How did you move your site?

    Did you update the htaccess file?

    Did you do a search & replace on the database to change urls?

    Database Search and Replace Script in PHP

    @mercime
    Participant

    @msegroves Changed title to add NextGen Gallery so others who are using that plugin might be able to assist you. Please also post at NextGen Gallery’s forums.

    #184116

    In reply to: Ning Import

    DoodleDogCody
    Participant

    I have used that one, but like its title says it seems to only be for user imports. The other ning importer that is on wordpress.org, does seem to work with a little trickery on the file names though.

    #184102
    paton400
    Participant

    No, I need to grant the user role permission to ‘edit users’. But by granting that, I’m granting them access too much access.

    I want only want them to be able to change the information in other users profile fields. I don’t want them to be able to read private messages.

    Is this a question for Buddypress, WordPress or my user role permissions plugin?

    #184097

    In reply to: Frontend User Search

    shanebp
    Moderator
    Henry Wright
    Moderator

    Check out Roles and Capabilities. If your admin and custom roles share a common capability then you can distinguish these roles from the rest of the roles that don’t have that capability.

    See
    current_user_can() and user_can()

    You would use them like this:

    if ( current_user_can( 'manage_options' ) ) {
        // The current user can manage options so do something special.
    }
    if ( user_can( $user_id, 'manage_options' ) ) {
        // The specified user can manage options so do something special.
    }
    #184063

    In reply to: Help with profiles

    blu3shad0w
    Participant

    hi

    Would

    https://wordpress.org/plugins/fields-framework/

    help me with this?

    cheers

    #184024
    r-a-y
    Keymaster

    Here is the BP release archive page:
    https://codex.buddypress.org/developer/releases/

    This is what I would do. Disclaimer: Don’t blame me if anything goes wrong with your site. 🙂

    Now with that out of the way. First of all, backup your database, your plugins and theme.

    Next, make sure you have a development environment set up. Do not do this on a production site!

    Disable all BP plugins to be safe.

    I would update to the latest version of WordPress first. Then, upgrade to BuddyPress 1.9.2. Then, update to BuddyPress 2.0.1.

    Update any outdated plugins and reactivate the BP plugins. Then, test your site out. See if there are any bugs.

    Once you’ve confirmed everything is good, then do the same on your production site.

    ajm113
    Participant

    Hi I just migrated my site to a new server, and everything works fine and all, but not it appears BP-Album is broken, and will no longer let me upload photos or make changes to avatars.

    I get this nasty error when ever I log into wordpress admin.

    Your sever does not meet the minumum requirements to run Bp-Album, this means the plugin may not function correctly. Please check that you have the required WordPress and BuddyPress versions, as well as up to date versions of PHP, MYSQL and the GDLib.

    Server Specs:
    PHP 5 suPHP
    MySQL 5.5
    Wordpress 3.9.1
    BuddyPress 2.0.1
    Apache 2.2.27

    Any help would be appreciated, thank you! 🙂

    Anonymous User
    Inactive

    No. You’ll need to add a common capability to the roles you are targeting, see
    https://codex.wordpress.org/Function_Reference/add_cap

    #183992
    mrknutsson
    Participant

    Hello,

    I’m using BuddypPress 1.6.4 with WordPress 3.5.1

    I want to upgrade my BuddyPress 1.6.4/WordPress 3.5.1 to BuddyPress 2 and WordPress 3.9.1 but cant find any information how to do the upgrade. In the codex there is information about how to upgrade from older versions of BuddyPress to 1.6. http://codex.buddypress.org/getting-started/upgrading-buddypress/ but no info about how to go from there to BuddyPress 2..

    Also, there is no info in the plugin page in the admin panel next to the BuddyPress plugin about any new versions.

    Anyone with more info about this or experience of upgrading from BuddyPress 1.6 to 2?

    Thanks / Marcus
    http://www.musiklararportalen.se/

    Anonymous User
    Inactive

    Hi,

    Depending on the theme you use (regular WordPress theme, BP Default or a child of it, or a standalone BuddyPress theme), you can override some templates to achieve your goal.

    Have a look at the codex starting with this page : https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

    If it’s a regular WordPress theme, then you can can add a buddypress folder in it and copy these templates into it respecting the ‘tree’ :
    – bp-templates/bp-legacy/buddypress/activity/index.php
    – bp-templates/bp-legacy/buddypress/members/single/activity.php

    Once done, you should have :
    – yourthemefolder/buddypress/activity/index.php
    – yourthemefolder/buddypress/members/single/activity.php

    Then into these two files search for bp_get_template_part( 'activity/post-form' ); and you should see a line above an if statement containing is_user_logged_in().... Replace is_user_logged_in() by bp_current_user_can( 'theminimumcapability' )

    where theminimumcapability is the the role capability you’re targeting. See the WordPress codex to define it : https://codex.wordpress.org/Roles_and_Capabilities

    paton400
    Participant

    Now we are talking very basic WordPressing here.

    Go to the appearance/menus screen and from there it’s pretty self explanatory.

    click on ‘Create a new menu’, call it whatever you want, then select what pages you would like to appear in the menu.

    Underneath the list of WordPress pages you see a tab full of Buddypress options that can also appear in the menu, one of which is the log-in/log-out button.

    Regards

    #183962
    simonwillan
    Participant

    BuddyPress version: 2.0.1
    Wordpress version: 3.9.1

    Hi all,

    As part of an ongoing project, the wp_bp_friends table for us is of no use as we have our own system in place. That being said, the function bp_add_friend_button(); is regularly used and rather than changing all occurrences of this function to a custom one, we’d like to just override the function. I have noticed bp_get_add_friend_button(); has an apply_filter at the bottom so I can filter it, however filtering doesn’t help as that function still executes “bp_is_friend()” and “bp_is_friend()” tries to access the wp_bp_friends table (which has a completely different structure now)

    Is there anyway I can override bp_add_friend_button(); and stop it from running any of the BP based content so we can just generate our own without having to replace the function call all over the project?

    #183953
    danbp
    Participant

    Anyway an image says more as words (in our case).

    Check if this plugin can help you:
    https://wordpress.org/plugins/buddypress-profile-tabs/

    #183952
    msegroves
    Participant

    WordPress 3.9.1, bbPress 2.5.4, BuddyPress 3.0.1

    I’m still learning BP and building my site. All my users have been added by Admin and I’m testing, debugging. But when I login as a non-admin user, that user cannot edit their profile. Trying to do so produces this error message:

    Permission Denied

    Not Found / No Access

    The page you are looking for either does not exist, or you do not have the permissions to access it.

    Any pointers would be appreciated.

    danbp
    Participant

    In your first topic you asked: It is possible to turn off this notification?

    Yes it is, and the solution is in the first link. The other link is given as reference to the code, who is in a core file. Such core files should never been modified directly.

    You need to study a bit WP and BP codex to understand how to achieve this, and learn a bit more about buddypress customization. You are also free to hire a developer by posting at http://jobs.wordpress.net/ or somewhere else.

    One easy way to begin is to search and read this forum first i guess.

    #183936
    danbp
    Participant

    hi @jjjaay9,

    BuddyPress (BP) is a community plugin (a bundle of 8 distinct components and many other features) for WordPress. These components are all optionnal, but in any case, publishing is the territory of WordPress.
    If you want to allow front-end publishing for your users, to avoid them going directly into the admin, search some plugin on the WP plugin repo or use a theme who provide such facility.

    For example consider the theme P2, it probably contains anything you listed. (so far i remember)

    User guide is here.

    #183934
    jjjaay9
    Participant

    i found some plugins that MAY do this: answer/questions

    The Top 6 Question and Answer WordPress Plugins

    However, if I used these plugins, how easy do they integrate with buddypress?
    Can I customize to show these pages, and for users to have a default link to ‘create a question’ ?

    I mean, if they have ‘create post’ like a normal wordpress blog, then buying/using a question/answer plugin is kinda useless as most wont be able to find the link to it – and will automatically create a post instead.
    Also, how would i know if it looks good or this plugin will integrate with BP?

    For example, would it show up as a sidebar saying recent questions like recent posts etc?

    Otherwise if it doesn’t integrate with BP then there’s no point using BP if it has a question and answer section that acts normally as wordpress anyway.

    If so, what are teh benefits of using BP AND a question/answer plugin?
    one eg i think of is, users can private message eachotehr when someone posts a question

    Thanks

Viewing 25 results - 10,976 through 11,000 (of 32,690 total)
Skip to toolbar