Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 19,326 through 19,350 (of 69,104 total)
  • Author
    Search Results
  • #170665
    voopress
    Participant

    I came across the topic of someone asking about 123flashchat by TOPCMM and felt I should share with you what my experience is so that others don’t get caught.

    Anyone considering any of TOPCMM software should spend a lot of time asking questions. I lost $1300.00 plus thousands of dollars in advertising, hardware and other software because TOPCMM was never able to make this software work right.

    After only a few months of owning it, I started begging for a refund which never came. When they found my review, they said in public that they were happy to offer me a refund but in email, the keep telling me it’s not possible and that will not happen.

    Support is almost nonexistent and they will make you nearly crazy with delays. No matter what ticket type you use, low priority or critical, you still will receive the same support no matter what. You might get lucky and someone will respond in a day, maybe two and often, a week. By then, you will have lost many customers and money if you are advertising as I was.

    They also take countless holidays and leave you hanging during those and only sales is on staff during weekends. Their forums are useless and they never give any real answers other than ‘give us your login details and we’ll fix it’. This means you’ll never learn about your server and will always be dependent on them, just how they like it.

    From what I can tell, they are on their knees after abusing countless customers and their future is unsure. Be very careful!

    I could go on and on and would be happy to share more horrors if anyone is considering this software. Just PM me.

    Good luck… now… on to more positive things

    #170662
    Hugo Ashmore
    Participant

    Please check the codex first:

    Groups Loop

    #170661

    In reply to: Avatar file name?

    William Castro
    Participant

    Same issue here! Does nobody knows how to calculate the buddypress avatar’s filename? I need to access the avatars’s urls to show in an external non-wordpress website the members!
    Waiting..

    Robmcclel
    Participant

    Hey, nit3watch,

    I’m running your plugin and there is a formatting problem when sharing to Facebook and Google+ — instead of labeling the post being shared as itself (as it does when sharing to Twitter or email), it labels it as just the members page.

    Here is a screenshot of what I’m seeing when I share to Facebook.
    BP Social Plugin Facebook Share Example

    I like the idea of a premium version — and I’d pay a lot more than $3.00. But it would have to resolve these types of issues.

    Thanks for a great plugin and let me know what you can do about Facebook and Google+.

    Rob

    #170651
    Glospitality
    Participant

    Still need some help with this =/

    Any suggestions?

    Thanks all

    HorrorUK
    Participant

    For somebody new to BuddyPress, things aren’t so obvious

    #170638
    Squirrel
    Participant

    I just read the new Codex on child themes- so it should work with any theme- (answered my own question)

    Thank you for putting up with another newbie guys 🙂

    Best

    #170635
    Squirrel
    Participant

    Thanks for the feedback

    I think I understand now- the profile page has activity on it so it’s not possible to do what that way, and it’s linked to the member page because that is showing profiles.

    I could hide things from members with template overrides as you suggest- but I’m not sure if it will work with my theme being a child theme of Twenty Thirteen. If I put the BuddyPress override template files in my child theme will it work?

    Thanks

    #170632
    shanebp
    Moderator

    So you want to block
    yoursite.com/members/
    and
    yoursite.com/activity/
    from users who aren’t admins or editors ?

    But allow everyone to view
    yoursite.com/members/my-profile?

    Then you might try putting a current_user_can conditional directly in the over-ride templates for those two pages.

    [there surely is a way to write a function to do this, but it escapes me at the moment]

    #170629
    Squirrel
    Participant

    Hi @shanebp and @henrywright-1

    Thanks for your help- I agree with Shanebp that his function does the same thing and is simpler, however I still have the same problem in that it stops access to the members PROFILE page.

    I think this must be a problem with BuddyPress though- maybe it’s a bug?

    Anyway thank you both for helping with the functions I think it will be handy for other things until I sort that problem out.

    #170628
    shanebp
    Moderator

    Perhaps a simpler way, given that she wants to check for both admin and editor, is to test against a cap that both admin and editor have.

    Something like: `function bp_my_restrict() {

    if ( !current_user_can(‘edit_posts’) ) {

    if ( bp_is_current_component(‘members’) || bp_is_current_component(‘activity’) ) {

    bp_core_redirect( home_url() );

    }
    }
    }
    add_action(‘wp’,’bp_my_restrict’);`

    #170624
    Henry
    Member

    Hi @mossyoak

    I’ve run a few tests and made some slight changes to that code. Try this

    function bp_my_restrict() {
       $user_id = bp_loggedin_user_id(); 
       $user = new WP_User( $user_id );
    	
          
    
             if ( ( $user->roles[0] != 'administrator' ) ) {
    		 
    		 if ( bp_is_current_component('members') || bp_is_current_component('activity')  ) {
                wp_redirect( home_url() );
    	    exit();
    	 }
          }
    }
    add_action('wp','bp_my_restrict');
    #170623
    Squirrel
    Participant

    Hi
    Thanks for your help again
    I tried your function

    function bp_my_restrict() {
       global $bp;
       $user_id = bp_loggedin_user_id(); 
       $user = new WP_User( $user_id );
    	
          if ( bp_is_current_component('members') || bp_is_current_component('activity') ) {
    
             if ( ( $user->roles[0] != 'administrator' ) ) {
                wp_redirect( $bp->loggedin_user->domain );
    	    exit();
    	 }
          }
    }
    add_action('wp','bp_my_restrict');

    But it gave a redirect loop error- I think it is because these conditionals are stopping the profile page being accessed for users lower than admin so trying to redirect to it is just looping.

    I changed the redirect to the home page which stopped the constant loop- but users who are not admin can still not access the profile page- these conditionals are stopping that which is a bit odd.

    // BuddyPress restrict activity and members page
    function bp_my_restrict() {
    global $bp;
    $user_id = bp_loggedin_user_id();
    $user = new WP_User( $user_id );
    
    if ( bp_is_current_component('members') || bp_is_current_component('activity') ) {
    if ( ( $user->roles[0] != 'administrator' ) ) {
    wp_redirect( home_url() ); exit;
    }
    }
    }
    add_action('wp','bp_my_restrict');

    Thank you for your help.

    #170620
    shanebp
    Moderator

    @eflouret
    >Do you think that moving the templates to the main theme is wrong?

    No, it’s what you should do when you want to customize templates.
    I thought you did it solely as part of your attempt to get the new nav item working.

    If you want, you can add new templates to that dir.
    And call a template from your show_content function:

    function show_content() { 
    	locate_template( array( 'buddypress/members/single/my-trips.php' ), true );
    }
    #170618
    Henry
    Member

    Just read through your original question. The code snippet you’d want to add to your theme’s functions.php is something like this:

    function bp_my_restrict() {
       global $bp;
       $user_id = bp_loggedin_user_id(); 
       $user = new WP_User( $user_id );
    	
          if ( bp_is_current_component('members') || bp_is_current_component('activity') ) {
    
             if ( ( $user->roles[0] != 'administrator' ) ) {
                wp_redirect( $bp->loggedin_user->domain );
    	    exit();
    	 }
          }
    }
    add_action('wp','bp_my_restrict');
    #170617
    Henry
    Member

    Try this

    <?php
    
       $user_id = bp_loggedin_user_id(); 
       $user = new WP_User( $user_id );
       
       if ( $user->roles[0] != 'administrator' ) {
         // your code
       }
    
    ?>
    #170615
    Squirrel
    Participant

    There is still a problem though in that if I do this it stops any member who is not an admin level user accessing their profile page. Not sure why it should affect that- tried with just the activity conditional and it stops profile page access as well.

    elseif (bp_is_current_component( 'members' ) || bp_is_current_component( 'activity' )) :
    get_header('restrict');

    I’m using a header-restrict.php which redirects them with this redirect at the very top of it:

    <?php if(!current_user_can('delete_others_pages')) { wp_redirect( home_url() ); exit; } ?>

    Any ideas?

    #170613
    Squirrel
    Participant

    Thanks for your help Henry- I tried the is_page conditional but it does not work with the BuddyPress Pages.

    So I tried bp_is_Page which worked, but was depecated.
    Then I tried
    bp_is_current_component( 'activity' ) || bp_is_current_component( 'members' )
    and they work for what I want.

    Thanks for your feedback it helped a lot 🙂

    Chris

    #170611
    Henry
    Member

    You could use the WordPress conditional is_page() to check if the user is on the activity or members page:

    if ( is_page('members') || is_page('activity') ) {
    
    } else {
    
    }

    Note: I’m assuming you haven’t changed the default slugs

    #170594
    eflouret
    Participant

    Thanks! It worked! I can´t believe that I spent almost four hours trying to figure this out and all I needed was to set the parent slug and url.

    I moved the Buddypress member templates to my theme, inside a directory named Buddypress just because I needed to do some heavy tweaking. This way the templates stay with the main theme and since I uploaded BuddyPress from WordPress control panel, I don´t have permissions to make changes to the templates. I can use the internal wordpress plugin editor, but that would drive me crazy.

    Do you think that moving the templates to the main theme is wrong? Is there a better way to make changes to the templates code? Buddypress template system is like ancient chinese to me.

    Thanks again!

    Enrique

    #170583
    Henry
    Member

    It is easily done. You’d need to create a new page template:

    https://codex.wordpress.org/Page_Templates

    You can then use a modified members loop inside the page template you create:

    Members Loop

    #170577
    Roger Coathup
    Participant
    #170570

    In reply to: Registration Process

    Henry
    Member

    Your theme’s functions.php file wouldn’t get overwritten with each update. The changes you make to this file will be safe going forward.

    A great place to hire a BuddyPress developer would be the BP Jobs Board:

    BP Jobs Board

    #170568

    In reply to: Registration Process

    tayenewm
    Participant

    But wouldn’t I run into the same problem with every theme update? I don’t know code and don’t like diddling in it. Maybe I need to just hire a developer to resolve all my little issues. Does BuddyPress offer dev services? Where do I go to sign up? thanks

    #170556
    bp-help
    Participant

    Please do not make duplicate topics that regards the same subject matter as it clutters the forum. @mercime and @modemlooper has already responded on the first topic here:
    https://buddypress.org/support/topic/charge-a-fee-to-upload-media/
    If their suggestions doesn’t work the only options you have is build this functionality yourself or hire a developer to do it for you. You may want to post on the jobs board:

    BP Jobs Board


    or here:
    http://jobs.wordpress.net/
    Good luck!

Viewing 25 results - 19,326 through 19,350 (of 69,104 total)
Skip to toolbar