Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 54,076 through 54,100 (of 94,565 total)
  • Author
    Search Results
  • #119151
    modemlooper
    Moderator

    @karmatosed I was going to put in a ticket for this issue. Maybe you could come up with a fix?

    modemlooper
    Moderator

    This isn’t a buddyPress issue. Google this for WordPress. There may even be a plugin already.

    If not you create an if statement on e same page template:

    If user_is_logged_in {

    }else{

    }

    #119149
    dyerrington
    Member

    Alright, drilling down a bit further, in bp-groups/bp-grouptemplatetags.php, around line 279, there’s our bp_get_group_avatar() method.

    `
    function bp_get_group_avatar( $args = ” ) {
    global $bp, $groups_template;

    $defaults = array(
    ‘type’ => ‘full’,
    ‘width’ => false,
    ‘height’ => false,
    ‘class’ => ‘avatar’,
    ‘id’ => false,
    ‘alt’ => __( ‘Group avatar’, ‘buddypress’ )
    );

    $r = wp_parse_args( $args, $defaults );

    extract( $r, EXTR_SKIP );
    var_dump(‘buddypress group_avatar_call’, bp_core_fetch_avatar( array( ‘item_id’ => $groups_template->group->id, ‘object’ => ‘group’, ‘type’ => $type, ‘avatar_dir’ => ‘group-avatars’, ‘alt’ => $alt, ‘css_id’ => $id, ‘class’ => $class, ‘width’ => $width, ‘height’ => $height )) );
    /* Fetch the avatar from the folder, if not provide backwards compat. */
    if ( !$avatar = bp_core_fetch_avatar( array( ‘item_id’ => $groups_template->group->id, ‘object’ => ‘group’, ‘type’ => $type, ‘avatar_dir’ => ‘group-avatars’, ‘alt’ => $alt, ‘css_id’ => $id, ‘class’ => $class, ‘width’ => $width, ‘height’ => $height ) ) )
    $avatar = ‘group->avatar_thumb ) . ‘” class=”avatar” alt=”‘ . esc_attr( $groups_template->group->name ) . ‘” />’;

    return apply_filters( ‘bp_get_group_avatar’, $avatar );
    }
    `

    So I’ve var dumped the parameters that are used for bp_core_fetch_avatar() when it’s called from the default group landing page, then var_export($args, true) and copied that output directly to my own code and surprisingly, I get the same result as before, a blank img tag. So, this leads me to believe that this method is not meant to be used in the way I am using it.

    As I find a better solution, I will follow up in case this is useful to someone else.

    Abdelhadi Touil
    Participant

    I find the solution, via admin panel of main site, I just add the user already registred in the network to be member in the main site by entering his email addresse via: Members -> Add new member then I choose add existing memeber.
    It’s manual solution but it’s ok.
    Hope this helps who have the same situation.

    #119147

    In reply to: permalink structure

    amg
    Participant

    Thanks, in the permalink it are frozen urls, so I did a lot of other things, .htacess code and so on. As this is a website on the same account of another website, the provider gave more space and then I started from scratch again, brand new website (not a big problem as the site was from yesterday)

    After installing buddypress: the same notification…error. Grrrt, then I only changed in permalinks the choice from -default- to -custom- and, amazing, that solved the problem.

    So thank you, it is solved.

    Abdelhadi Touil
    Participant

    I’m using WordPress as CMS for a news website, and as I want let users to create their own blogs I’v used WordPress Mu and Buddypress. My goal is to let any registred user to be author in the main site, but as I see buddypress doesn’t allow this.
    Is there a way to integrate buddypress with wordpress multi authors? So every registered user become automaticly an author in the main site with the ability to create his own blog and with using Buddypress?
    I’v tested this plugin: http://wordpress.org/extend/plugins/wpmu-default-user-role/ but I think it doesn’t work with buddypress.
    Thanks in advance, and sorry for my bad English.

    #23877
    dyerrington
    Member

    I’ve found only a few examples of using bp_get_group_avatar(). I can’t seem to get anything returned other then a blank image.

    http://phpxref.ftwr.co.uk/buddypress/bp-groups/bp-groups-template.php.source.html#l380

    So from this method, I’ve tried passing an item_id in the args array as the group ID and also bypassing this wrapper function by calling “bp_core_fetch_avatar()” but without much luck. It would be nice to throw an error or give some feedback other then an unexpected result.

    I would be happy to fetch something from the database if it where there but my best guess without getting too far into the code is that when that fancy jquery cropper thing hands off the file somewhere, it saves it using an MD5 or similar. I’ve spent plenty of hours looking at this by now and if I can do this the right way, I would prefer that then hacking this the wrong way.

    Could anyone give me some pointers? I have a group ID within a plugin I’m writing, I just want to have it return the avatar or even better yet a URL or filename. Using a method that echos an image tag in a loop is not very useful to me. I really need a method that returns something, not echo’ed

    Thanks!

    #119143
    esploded
    Member

    Thanks @mercime for the advice, but it still won’t work! ARGH.
    Setup:
    Single WP, MAMP (mac server), Not on a domain yet, but is on the root of MAMP/htdocs/wordpress
    I did all of the steps above, but still no use. I hate you “There are no posts for this topic.”!

    Also, what do you mean by I didn’t “install/active BP in a subfolder/subdomain”? My buddypress site just has a tab under “community” which leads to the groups, forums, etc.

    #119142
    enderandrew
    Member

    It helps to post with a clear subject of what you’re looking to do.

    Buddypress Media – http://code.google.com/p/buddypress-media/
    BP-Gallery – http://buddydev.com/plugins/bp-gallery/
    BP-YouTube-Feed – http://buddydev.com/plugins/bp-youtube-feed/
    Tubepress – http://tubepress.org/

    But this might be the best solution for you:

    https://wordpress.org/extend/plugins/contus-video-galleryversion-10/

    There are tons of options. I just found that one with a quick Google search, so it can’t be a national secret.

    #23874

    I just finished installing the latest version of wordpress and buddypress. I went through the ‘upgrade your existing WordPress theme’ wizard with the TwentyTen Five html5 theme and everything looks great. When I selected the hide admin bar for logged out users it kept the padding on the top of the site and it moved everything else down. Is there a way to remove the padding for when users are logged out and have it added back in when users are logged in?

    #119139
    @mercime
    Participant

    The basic steps @thewhyteempire

    1. Make sure you installed WordPress manually instead of using webhost scripts which messes up multisite and BuddyPress

    2. Make sure you’ve got mod_rewrite enabled and that your pretty permalinks are working in WP install.

    3. Create a network per link given by r-a-y above. Check that you can create a new subsite and that you can upload images in said subsite.

    4, Then install BuddyPress and activate in main site or in subsite (secondary) created

    #119138

    @Gam3con, open your style css file and change a {color: #717171;} to a{color:#FFFFFF;}

    you done.

    #23871
    Gam3con
    Member

    Hey guys just wondering how do I change the font color for buddypress? Here is the problem i am facing: http://gam3con.com/activity , as you can see the words are really hard to see due to the background I am using. I’d really like to keep using the current background so I am just wondering is there a way to change the font to another color, say…white? ><

    Any help will be appreciated.
    Cheers

    #119135

    I been trying to figure it out for week or two now so im just taking small break hope to find the solution soon. IF not imma have to try and find someone to do it who’s specialty is wordpress, multisite, and buddypress.

    #119134

    yup your the first who has even wrote anything back to me I asked the question in Powweb Support, WordPress Support, and here. I’ve taking a break on figuring it out right now.

    Good question though…. If I just start working on the different blogs correct. I can later add Buddypress correct?? if so imma work on these some and then try the above again. I know if doesnt work I always get it back to normal by deleting buddypress plugin.

    #119131
    modemlooper
    Moderator

    I find this completely odd because BuddyPress does not auto create a username on the registration page from the database. Maybe you have mal-ware or something? Also it could be the browser auto filling.

    #23870
    jcampbell120
    Member

    Hi, Hopefully somebody will be able to help me, I’m pulling my hair out!!!

    I currently have a buddypress installation on my site. I have the admin bar at the top and then my sites main navigation using wordpress custom menus.

    I would like to move all of the links into my sites current navigation and remove the buddypress navigation bar. I do not want to do it the otherway round i want rid of the admin bar to use my own. I have seen countless examples to do it that way but none the way I want. It’s driving me insane!!! Any help would be greatly appreciated. I don’t mind doing any sort of coding, just a point in the right direction would work. It needs to be dynamic as well, so work in the same way as the current admin bar.

    I have the idea of:

    
    if (user logged in) false {
    <li>Log In</li>
    <li>Sign up</li>
    }
    
    if (user logged in) true {
    <li> all other menu items blah blah....
    
    }

    Anybody help?

    Thanks,
    JC.

    #119128
    r-a-y
    Keymaster

    Did you create the network using these steps?
    https://codex.wordpress.org/Create_A_Network

    Because you’re using subdomains, you’ll need to set that up correctly as well:
    https://codex.wordpress.org/Create_A_Network#Step_2:_Setting_Wildcard_Subdomains

    Btw, this is a WordPress problem; did you try posting your question over there?

    Support Forums

    r-a-y
    Keymaster
    #119126

    In reply to: Way to Change Groups

    r-a-y
    Keymaster

    You’d probably want to hijack the $bp global when a group page is displayed.

    If you’re using BP 1.2.x, look particularly at `$bp->is_item_mod` in /buddypress/bp-groups.php

    #119124
    r-a-y
    Keymaster

    @digitalhytop – BuddyPress is a WordPress plugin; front page handling is a WordPress thing.

    Modemlooper’s link is a good place to start.

    When you create a new page for your frontpage, you’ll probably want to create a page template for it:

    Page templates: The untapped potential of WordPress

    #119123
    DigitalHytop
    Member

    I was wondering myself how to do this. But the instructions above do not apply to BuddyPress, since the “Front Page Displays” settings are all missing from the main BuddyPress site under Settings.

    #119120
    modemlooper
    Moderator

    So you basically want someone to develop a site for you? If you do not no how to develop a custom BuddyPress component then hire a developer.

    #119119

    AS SOON AS I ACTIVATE BUDDYPRESS IT SHOWS THIS SMH.

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, cgiadmin@yourhostingaccount.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Viewing 25 results - 54,076 through 54,100 (of 94,565 total)
Skip to toolbar