Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 25,001 through 25,025 (of 94,569 total)
  • Author
    Search Results
  • #184197

    In reply to: redirect user login

    modzirra
    Participant

    So, I’ve been combing these forums for weeks for a very similar problem, and being that this is the closest solution post, I thought I would ask here, extending the support for this problem.

    I would like to redirect users during login in the following manner:

    If logging in from the front page (site, not user): redirect to user profile
    If logging in from anywhere else: redirect to original url (where original url is the url where the login process was initiated)

    Currently I am forced to run the following for backwards compatibility reasons:
    WP: 3.7.3
    php: 5.3.10
    bbPress: 2.5.3
    BuddyPress: 1.9.2 +5 complimentary plugins

    Active Plugins
    45+ with the most relevant being:
    BadgeOS: 1.3.5 +4 complimentary plugins
    Bowe Codes: 2.1
    BP My Home: 2.0
    BP RedirecttoProfileforBuddypress: 1.2
    BP Simple Front End Post: 1.1.4
    BuddyBlog: 1.0.4

    I’ve tried to edit the redirect plugin mentioned often here as well as with no luck.

    Here is a sample of one of my latest attempts (a modification on redirect to profile plugin):

    add_filter("login_redirect","bpme_redirect_to_profile",100,3);
    
    function bpme_redirect_to_profile( $redirect_to_calculated, $redirect_url_specified, $user ){
    	/* if no redirect was specified,let us think we want the current page */
    	if( empty( $redirect_to_calculated ) )
    		$redirect_to_calculated=$redirect_url_specified;
    	
    	/* if the user is site admin or not and it's the front page,redirect to his/her profile */
    	if( is_super_admin( $user->ID ) && is_front_page() )
    		return bp_core_get_user_domain( $user->ID ) . 'profile/';
    	if( !is_super_admin( $user->ID ) && is_front_page() )
    		return bp_core_get_user_domain( $user->ID ) . 'profile/';
    	else
    		return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/
    
    }

    (I recognize that the admin user check is redundant, that was part of some debugging I was doing)

    I find that every time I try to check for the front page, something happens to interrupt the redirect process. Without a check for front page: Working great! With the check for front page: No Bueno! I’ve been using several debugging plugins and if I understand them correctly, most of the issue has to do with the sidebar login location (it seems to ignore wp_login and login_redirect hooks/filters) and checking for the front page.

    I tried many other plugins and most of the code (with minor adjustments for my needs) that was offered on the forums here, including the Ajax one, but most of our login process is done through the sidebar and they just don’t ever get called or triggered during the sidebar login process.

    I would love some advice on how to adjust what I have and get it working properly.

    Your help is appreciated, thanks!

    #184194
    Henry Wright
    Moderator

    Hi @josephfrio13yahoocom and @lflier

    Component navigation is set-up in the component’s class. For example, the setup_nav method within the BP_Friends_Component class does this for the Friends component. See here for exactly how it’s done.

    To my knowledge, there is no easy way to move subnavs around.

    #184191
    LeafyGrove
    Participant

    Nevermind found: “CubePoints Buddypress Integration” joining someone to group seems to be part of it.

    #184190
    LeafyGrove
    Participant

    I am working on a new social site, and was wondering if anyone had any idea on how to auto-add someone to a buddypress group after having x amount of posts.

    TC33
    Participant

    Hi there,

    I’m running buddypress 2.01, wordpress 3.9.1.

    I’m not sure if this is just my theme, but when pressing the “comment” button on a user’s activity on the sitewide activity page, there is a text input field that appears below the activity, but then entire page then scrolls to the top to the “what’s new (username)” form. This makes it confusing for users.

    I’m just wondering if anyone else experiences this, or if it’s just something to do with my theme?

    Thanks for your help.

    Anonymous User 13895492
    Inactive

    Hi,

    I am getting a page not found error when clicking on buddy press pages in the menu of my site as they link to the wrong folder.
    Folder the links link to: http://thesocialeconomy.nl/members/admin/activity/
    Folder the plugin is installed: /root/wp-content/plugins/buddypress

    Hosted site: http://www.socialeconomy.com
    Installed WP newest version.
    Pinboard theme activated.
    Installed BudddyPress plugin via the plugin area, newest version.
    Hook up the pages of buddy press to my menu.
    In the dashboard I can see the settings page, etc.
    Permalinks settings changed according to specs.

    What am I doing wrong? And where can I change it?

    thanks,

    Simon

    #184183
    ryan.taylor
    Participant

    My activity notification permalinks have a /p/ in the middle of them and it is causing all notification links to redirect to a completely unrelated page. I’m using BuddyPress v2.0.1 and getting very frustrated that none of the activity links on my website work. The actual links should be /activity/activity-number/ which does show the correct activity thread while /activity/p/activity-number/ absolutely does not.

    Because I cannot find a working solution to this problem, I have searched all of the BuddyPress core files and found all instances of the ‘/p/’ being added and replaced it with ‘/’ which works in almost every case but not on the member > notifications page. Also, I DO NOT want to have to modify the BP Core, in any case.

    Please help. I’m losing my mind and money on this.

    paton400
    Participant

    Hey guys,

    I’m using the standard Buddypress Members widget on my site which lists my 5 most recently active members, but what I want it to list is my top 5 goal scorers (soccer team) using the information from the ‘goals scored’ profile field.

    I have had a little read around and this seems quite difficult to do.

    Is there a plugin that’ll allow me to do this easily. Or a snippet?

    I’d also like to remove the ‘last active’ under each profile. I have sorted this out with the general members list, but it doesn’t seem to effect the widget.

    http://www.teamcbd.com.au

    #184174
    nirgalo
    Participant

    a nice article on how to modify the member’s loop display here. Just need to check in the loop for presence of an admin and not display it.

    #184172
    nirgalo
    Participant

    I found out the code displaying content of the Members page is buddypress/bp-templates/bp-legacy/buddypress/members/index.php. Since I am using BP 2.0.1, is this normal code from bp-legacy is executed?

    #184170
    shpitzyl
    Participant

    Hi @sylmurray sorry for the late replay. Saw your post just now.
    It is located at bp-templates/bp-legacy/buddypress/members/single/profile/

    Copy the file to your child theme, create this directory structure:

    [Your-child-theme]/buddypress/members/single/profile/

    #184169
    shpitzyl
    Participant

    Hi, I’m looking for a host for a buddypress site. It is a small community, no more than 300 users and no more than 4 users logged in at the same time. For now I can only afford shared hosting. I looked at siteground and stablehost. I can’t choose which one is better because I don’t have the experience.
    Does anybody here have an experience with siteground or stablehost?

    #184164
    @mercime
    Participant
    #184162
    @mercime
    Participant

    My members can join groups, but the problem is that if they click on teams they can’t create them.

    Please clarify. Did you create a new BuddyPress teams component or are you referring to your groups as “teams”? If you are referring to your groups as “teams” did you enable group creation for all users in Settings > BuddyPress > Settings ?

    @mercime
    Participant

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

    jeremykamiya
    Participant

    Yes, clearing history and cache seemed to work for me. I am still in the development stages of my site, but I feel good (enough) about my hypothesis and am not freaking out when I run into the “no activity found” message – so far, every time I reset my browsers it restores the activity. If you find different results, please post.

    For front-end stuff, I’m using WP-toolset ( http://wp-types.com/ ). I’m not sure that this is best, but without a formal (“paid for”) coding education this is what I choose. I think buddypress and bbpress will do the job for me for now.

    #184157
    Tommy White
    Participant

    Resolved in THIS THREAD

    #184155
    touomiwilly
    Participant

    Hi!

    I’ve searched on google if I could find a topic explaining how to remove the trailing slash Buddypress adds to its link. I didn’t. So I came here.

    Does anyone has an idea? I really don’t like having it, since my blog categories do not end with a slash. So, I want to remove slash at the end of all my urls. But I don’t know how to achieve it with buddypress.

    Help, please!

    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.

    #184152
    DanielV95
    Participant

    Dear,

    I am stuck with the following problem. I created a website with buddy press, which contains a forum, map etc. My members can join groups, but the problem is that if they click on teams they can’t create them. What can I change to make this work and that members can create Teams and other members can join these teams?

    Kind regards,

    Daniel

    Tommy White
    Participant

    I posted a issue I’m having already on the Group Avatar issue HERE . I’m mentioning it again as I think there may be a bigger issue.

    Not only does the default avatar image for groups NOT appear when I’m setting up groups or even adding a new avatar but I noticed that I have no options for user avatars at all. No option to add or change a users avatar not even mine as admin.

    Extended Profiles is activated in options.
    I’ve tried deleting BuddyPress and reinstalling.
    I manually copied over a working BP installation from a site that everyone works perfect on.
    I removed all tables wp_bp that I could locate in my DB.
    I’ve disabled, renamed the plugins folder and even tried a different default theme.

    Am I missing something somewhere? I did have a older installation a LONG time ago but it was deactivated and removed prior to installation.

    Suggestions?

    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?

    #184147
    akgt
    Participant

    How do I set buddypress so all new members will auto joint all groups ?
    Is there a function code I could add or a working plugin, or a just a simple setting change ?

    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!

Viewing 25 results - 25,001 through 25,025 (of 94,569 total)
Skip to toolbar