Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 23 replies - 1 through 23 (of 23 total)

  • Glenn
    Participant

    @rglennnall

    thanks so much for this, modemlooper – what i get from it is fantastic, but due to some custom tabs i’ve added in bp-profile it’s throwing a couple of errors before it gets to the output:

    Warning: Illegal string offset ‘slug’ in /…/public_html/safeusername/wp-content/plugins/bp-custom.php on line 464

    Warning: Illegal string offset ‘slug’ in /…/public_html/safeusername/wp-content/plugins/bp-custom.php on line 464

    Warning: Illegal string offset ‘slug’ in /…/public_html/safeusername/wp-content/plugins/bp-custom.php on line 479

    464:
    if( $slug['slug'] == 'settings' || $slug['slug'] == 'messages') {
    			unset( $comps[$comp] );
    		}
    
    479: 		foreach( $comps as $comp => $slug  ) {
    			$compy = $slug['slug'];
    
    

    from what i can surmise this should be listing my pages for each option in the Profile below, but the output only reads “only show page to friends” and ONE “only show m page to friends.” I can see that the “bp-<?php echo $compy ?>-privacy” isn’t returning a value for some reason.

    The thing is, it’s not returning the values from the existing BP pages, like “Profile” (“only show Profile page to friends”) even when I take out the custom tabs code…


    truthfully, what i was hoping for was something exactly like this that would return the current members with checkboxes so that a member can block a member. If you could show me how you’d get bp_members , i can create the output in a dropdown or something…

    I’d sure appreciate that.


    Glenn
    Participant

    @rglennnall

    i understand that. just as so many others have and charge nothing or a more realistic $5-10 dollars for similar features.

    even CodeCanyon plugins cost less than $30 most often.


    Glenn
    Participant

    @rglennnall

    I wasn’t very clear – my main goal is to redirect to Profile after REGISTRATION and not just after LOGIN…

    anyone?


    Glenn
    Participant

    @rglennnall

    thanks – is this going to redirect after Register as well as after Login?


    Glenn
    Participant

    @rglennnall

    it’s not entitlement, it’s just (clearly unjustified) expectation. my questions were very simple questions for BuddyPress aficionados. and i’m not the only one who gets ignored in here, it’s apparent.

    please excuse me for asking for help. i’ll know better next time.

    and at least i wasn’t rude.


    Glenn
    Participant

    @rglennnall

    i was trying buddyblog, too – they seem quite similar, as they’re by the same author, aren’t they? are they different?


    Glenn
    Participant

    @rglennnall

    yes, in fact i’ve been trying it, along with Simple Front End Post, and I finally got it to work so that i could see “Create a Post” under “Blog” in the group, but when i did so, the post doesn’t appear in the Group – still says “there are no posts” or whatever it says.

    i get impatient when i have to force plugins to work right and i was about to just give up; why i was asking for help…

    any ideas? the post is supposed to appear in the group, right?


    Glenn
    Participant

    @rglennnall

    boy, these forums are just an ocean of people offering information and help, aren’t they…???


    Glenn
    Participant

    @rglennnall

    not sure if this belongs in How To, since i’m asking how to get a function to get user roles for the form, apologies…


    Glenn
    Participant

    @rglennnall

    this filter redirects me to the members dir., of course. I’m trying to prevent being redirected away from the Register page when I’m logged in.

    if i comment out the existing filter somehow i’m still redirecting to Home. Could WP be doing this? i dont’ remember WP keeping me from seeing the default signup form, so i don’t think it’s WP…


    Glenn
    Participant

    @rglennnall

    great, thanks. I clearly wasn’t going to get any help from you guys who know the answer unless I misbehave, so I did.

    thanks


    Glenn
    Participant

    @rglennnall

    that DID help, thanks


    Glenn
    Participant

    @rglennnall

    nobody gave a damn about helping you, did they.


    Glenn
    Participant

    @rglennnall

    thank you Dan – i saw this, and felt that it’s unfortunate that existing users have to be manually typed in instead of being provided in a simple dropdown, and that multiple users would have to be assigned to a group one at a time in either case. Surprising that BP is stuck with this archaic format in this instance.

    just sayin’


    Glenn
    Participant

    @rglennnall

    no one wants to help, huh?


    Glenn
    Participant

    @rglennnall

    DanBP, those two links are specifically about assigning NEW users on registration – i’m not so sure that the poster was strictly referring to NEW users. so to ridicule @venutius for ‘hijacking’ is pretty unprofessional, in my eyes.

    so you didn’t in any way answer the post query.


    @venutius
    , don’t apologize.


    Glenn
    Participant

    @rglennnall

    ah, merci, you…


    Glenn
    Participant

    @rglennnall

    thanks, this gets me the members that i want – i’m trying to put this in the members-loop

    this is failing to get some of the members for some reason:

    
     while ( bp_members() ) : bp_the_member(); 
    	
    	$user = new WP_User( bp_get_member_user_id() );
    	if ($user->roles[0] == 'subscribers') :
    

    this gets me all of them, but when i put it in the loop, it repeats the “students” each number of members

    
     while ( bp_members() ) : bp_the_member(); 
    	$subscribers = get_users( 'fields=ID&role=subscribers' );
    
    ?>
    
    <li class="kleo-masonry-item">
        	<div class="member-inner-list animated animate-when-almost-visible bottom-to-top">
            <div class="item-avatar rounded">
              <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
              <?php do_action('bp_member_online_status', bp_get_member_user_id()); ?>
            </div>
    
    [ ................. ]
    
    

    would you mind giving me a hand getting this looped properly with the correct member data? i’d sure appreciate it – it’s been a year or so since i was really immersed in PHP and i don’t know BP at all…

    thanks so much
    GN


    Glenn
    Participant

    @rglennnall

    [SOLVED] – turns out it was a Notification I had sent to “All” which seems to include future registrants.


    Glenn
    Participant

    @rglennnall

    *** I’m using Gravity Forms if that tells anyone anything.

    Thanks for any help offered!


    Glenn
    Participant

    @rglennnall

    this is JUST what i’ve been trying to do for a couple of hours – please tell me WHERE exactly you placed this function?

    thanks!!


    Glenn
    Participant

    @rglennnall

    was just looking at that one, thanks very much. not quite what i wanted, so I just changed the Checkboxes to Radio buttons in the BP Registration Groups plugin. guess that’ll work…


    Glenn
    Participant

    @rglennnall

    seems to do the opposite, thanks tho. I’m looking to limit groups per member, not members per group.

Viewing 23 replies - 1 through 23 (of 23 total)
Skip to toolbar