Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 84,876 through 84,900 (of 94,567 total)
  • Author
    Search Results
  • #54911
    madyogi
    Participant

    Secondarily, regarding the actions in BuddyPress, what are the effects of leaving out an action that is found in the default theme? Say, for example, leaving out:

    <?php do_action( 'bp_before_search_login_bar' ) ?>

    and then

    <?php do_action( 'bp_after_search_login_bar' ) ?>

    Finally is there some reliable documentation detailing what these actions actually do within the theme/template/plugin?

    Thanks again!

    #7200

    Topic: Friend Count

    in forum Miscellaneous
    yangers101
    Participant

    I have Buddypress 1.0.3. Is there a way to count the number of friends the each user has? I’m trying to set up a contest to reward users with the higher number of friends/referrals

    #54907
    Mariusooms
    Participant

    I answered this in another post, https://buddypress.org/forums/topic/new-blog-theme-available-for-the-groupblog-plugin, however that addresses only the dashboard link.

    If you would like to also display additional links, e.g. new post, edit posts, new page, edit pages, new link, etc. Send me a pm message and I will send you a drop in code for both your buddypress group template and bp-groupblog theme template.

    It is almost the same as the code mentioned in the post above, but also pulls in user roles and set some conditional values based on that.

    #7199
    madyogi
    Participant

    I am in the process of designing a custom theme for a website running on WPMU 2.8.4 with an install of BuddyPress 1.1.1. I don’t have much need for the multi-user aspect of WPMU, but went with this as my “CMS” because of the social networking components BuddyPress can bring to the table. At least in the near term I will only be using one blog with a pretty extensive home-page involving some content managed through WordPress and some pages that are essentially independent.

    So I have built a theme for the main WordPress blog completely from scratch. Now I’m scratching my head as to how I’m going to integrate the BuddyPress features I need into the areas of the theme where I need them. My strategy so far has been to take all the files in the BuddyPress parent theme that weren’t present in my custom theme, move them into my custom theme folder, then dissect the core template files from the BuddyPress parent theme (header.php, home.php, etc.), extracting the BuddyPress elements, and placing them into my template files where necessary.

    Here is the current result – http://boxmediasolutions.com/wpmuTest/

    It seems to be going along okay at the moment, but I’m thinking there has to be a better way to go about this, so I have a couple of questions for the community if anyone cares to offer advice.

    1) Is there an easier way to do this kind of thing that already has good documentation that I’m just overlooking?

    2) Can I move the div#search-login-bar out of the header, placing it essentially atop the content div in only a few specific pages (ie – the ones that involve connecting with the community)?

    3) Is there documentation somewhere explaining the template hierarchy of WPMU and BuddyPress, how they interact, and what is exactly being called for by commands like do_action( ‘bp_before_search_login_bar’ ), do_action( ‘bp_after_search_login_bar’ ), do_action( ‘bp_before_header’ ), etc?

    4) Can commands like the ones mentioned in question 3 be reversed, like calling for the before/after search login bar after the before/after header actions?

    I am quite comfortable editing/developing WP themes and template files, though I am completely new to BuddyPress and WPMU, and I am not really well versed in PHP coding, just to give you a bit of background.

    Thanks a ton in advance for any advice!

    #54905
    Mariusooms
    Participant

    Does the bp-groupblog have support for child themes? If so, can I copy my BP child theme, set it as a child theme for Group Blogs, and (hopefully) not have to re-theme bp-groupblog?

    It has support for child themes, however in order for buddypress group related content to show you will need to set some function to pull in the group id. It should not be hard for you to adjust your bp child-theme. Just make a copy of it and do a quick study of the groupblog theme on how I pull in the group id belonging to the blog.

    The readme instructs custom bp-groupblog themes to be put into the BP child theme folder and modified. Is there a bit more specific info on that?

    If I understand you correctly, this has to to do with the theme pages that actually load inside the group component. Namely the two files blog.php and blog-latest.php. Both are loaded within the group context. Also both these files use the bp template plugin to make installing the plugin easier. However, if you wish to customize this, I encourage to move that folder to your active buddypress theme and adjust them as necessary.

    So, just to be clear, these two files are not related to the blog theme, but belong to the group and active buddypress theme.

    is there a way to add a link to the group’s blog’s dashboard under the “Blog” link the group side bar?

    Sure there is, something like this might work:

    <?php if ( bp_group_is_member() ) :?>

    <?php
    if ( get_groupblog_blog_id() ) {
    $blog_details = get_blog_details( get_groupblog_blog_id() );
    } else {
    global $current_blog;
    $blog_details = get_blog_details( $current_blog->blog_id );
    }
    ?>

    <a href="<?php echo bp_core_get_root_domain() . $blog_details->path ?>wp-admin"><?php _e('Dashboard', 'buddypress') ?></a>

    <?php endif; ?>

    This checks the member is part of the group. Then get the blog id and parse it in to get the blog details. Alternatively if we are on a blog page we pass in the current blog id. Now we can use that to fetch the blog path. So wether you are on a group page or a blog page the link should always point to the dashboard, but only show for members of the group.

    You can further enhance this code to pull in the user role and show post links depending on their role cap.

    Let me know if you need more help…I will do my best to help when I can.

    Looking at this code, we may actually create some more template functions to make constructing relevant blog links easier, but go ahead if you feel comfortable with juggling some code around.

    #54904
    Mark
    Participant

    @DJPaul, thanks for the feedback and the info you offer. My basics:

    1. wpmu 2.8.4a

    2. subdomain

    3. n/a

    4. upgraded WPMU regularly since 2.7

    5. Was WPMU functioning properly before installing/upgrading BuddyPress? yes

    6. BP 1.1.1

    7. Did you upgraded from a previous version of BP? last week when the current version was released.

    8. Do you have any plugins other than BuddyPress installed and activated? Yes, 2 were activated on the main admin when and since this has occured:

    a. Group Forum Subscription for BuddyPress

    b. BP Groupblog

    In mu-plugins directory:

    akismet-credit-inserter

    akismet

    sitewide-tags

    wordpressmu-favicon

    9. Are you using the standard BuddyPress themes or customized themes? Standard

    10. Have you modified the core files in any way? No

    11. Do you have any custom functions in bp-custom.php? No

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Using built-in bbPress

    13. The errors that occurred during the period these member place holders ’empty’ were created are at the link. The IDs # were different. With bp-groupblog activated this error is generated any time any group is visited (the group doesn’t need to have a groupblog). Prior to this ‘event’, Groupblogs were activated when members joined other groups without any ’empty’ members being added to the group:

    https://wordpress.org/support/topic/319417

    Some blogs (not home blog) have feedwordpress plugin activated. It’s use generates errors/warnings. The ‘Failed to fetch’ started yesterday and the plugin is no longer functioning. Neither of these errors are logged around the time the ’empty’ members were added to groups:

    [20-Oct-2009 17:15:32] PHP Warning: Illegal offset type in /home/xxxx/public_html/wp-includes/rss.php on line 1459

    [20-Oct-2009 17:34:20] MagpieRSS: Failed to fetch (HTTP Error: <url> malforme)

    #54900
    Bowe
    Participant

    It doesnt have to be exactly like this.. just a wordpress theme that has a look that suits with the normal BuddyPress layout.. I’ll try to look into this, and hopefully I can make something, but some help would be needed!

    #7196
    copgarden
    Participant

    Wanted to freshen up this issue by re-posting. Hope that’s ok.

    I disabled all other plugins when testing this, and am using WPMU 2.8.4a, BP1.1.1 and bbPress 1.0.2. Found the issue when trying to get Welcome Pack 1.41 working.

    When BuddyPress is inactive, and a new user is added via Dashboard>Users>Add New menu, WPMU sends out the new user activation email just fine, and skips it when “skip activation” is selected as it’s supposed to. When BuddyPress Plugin is active, WPMU sends out a broken activation email for new users, even when “skip activation” is selected. Email breaks at the link you’re supposed to click. So there seems to be a problem with the WPMU activation email when BuddyPress is active.

    Pertinent info:

    There are 2 places in the WPMU Dashboard an admin can add a new user. Further up in the Site Admin>Users menu, and further down in Users>Add New. Welcome Pack is only activated if a user is added from the further down Users>Add New menu. This is the email that breaks, email works fine from Site Admin>Users menu, but Welcome Pack won’t activate from there.

    Glitch is only present when BuddyPress is active.

    Any ideas?

    shedmore
    Participant

    P.S. stwc – There isnt really much Andy could have done better…its the plugins core that isnt really desinged to work with Buddypress (and Andy didnt write that).

    Andy created a single file “port” (to help the community) that amemnds certain functions to the core of the original plugin – to help “insert” data into buddypress fields. Unfortunately, becuase of the way the core of the plugin was written…there are some problems that can’t be addressed with default hooks (ie globals).

    I am going to write a post about this soon, and hopefully get some input from the community on the best way to handle the registrationn process in accounting for all of these “new” ways to register.

    HOpefully there is a solution I am not seeing

    Paul Wong-Gibbs
    Keymaster

    To defend Mr Peatling, I believe he has just taken the existing WordPress FBC plugin and adapted it to work with WPMU/BuddyPress.

    #54892
    jobjorn
    Participant

    Hi fellow Buddies!

    I’m currently a bit frustrated with WordPress MU, because it seems like it creates totally independent blogs when my users creates blogs on my BuddyPress site.

    Ideally I would like to predefine a set of categories, and share these with the user blogs.

    The users should not be able to create their own categories (I don’t wan’t to end up having a big category mess).

    So that when a visitor clicks on a category, say “Wedding Entertainment” he/she is taken to a category page that shows BOTH blog posts from the main site blog as well as the users blogs.

    Is that at all possible?

    #54891
    Paul Wong-Gibbs
    Keymaster

    That was either a mockup or from a very early version of BuddyPress. I’ve never seen it.

    #54889

    In reply to: Theme buddypress.org

    Paul Wong-Gibbs
    Keymaster

    What Mythailife said. We get asked this virtually every week.

    #54888
    Paul Wong-Gibbs
    Keymaster

    I’ve not seen anything that does this yet. I’ve also marked this post as not a support question, as it concerns a feature discussion/request rather than a bug in the BuddyPress core.

    #54886
    Paul Wong-Gibbs
    Keymaster

    Not seen that before. Very odd. Could you run through https://buddypress.org/forums/topic/when-asking-for-support so we can check the basics?

    #54885
    Paul Wong-Gibbs
    Keymaster
    5. Was WPMU functioning properly before installing/upgrading BuddyPress?
    A. No

    What wasn’t working properly? You can’t expect BuddyPress to work if WPMU wasn’t working properly first.

    I think this error relates to not being able to manipulate files in /var/www/html/SITE/wp-content/blogs.dir/. Hmm.

    With regards to what group/user your web server runs at, if this isn’t your own server, your host can help. Where are you getting hosting?

    #54884
    trusktr
    Participant

    @Detective Thanks for the fix! it worked!

    https://buddypress.org/forums/topic/wp-sigupphp-and-register#post-26127

    By the way, for those of you that are wondering, you have to add Detective’s fix to your theme’s functions.php file!

    I was also having the error where the code was stopping at:

    <script type=”text/javascript”>var ajaxurl = “http://yourdomain.com/wp-signup.php&#8221;;</script>

    Detective, How exactly did you figure this out and how does the fix work and why are we getting this error? This should be a fix for the next release of BuddyPress.

    Also, everyone, make sure you copy over the functions in the “functions.php” file from the bp-sn-parent theme to the “functions.php” file in your own theme. Without these functions, some things won’t work like member and blog listings as well as sidebar customization when using the “home.php” template.

    #54883

    In reply to: Specific Widgets

    Paul Wong-Gibbs
    Keymaster

    Widgets displaying on certain blogs/pages is probably something you are best searching the WordPress forum/plugin directory for, as it’s not something that BuddyPress implements.

    Bowe
    Participant

    Hi Everyone,

    I was browsing the forum and came across this image: http://apeatling.files.wordpress.com/2008/06/blog.jpg and was amazed to find out that somehow this beautiful design for a member blog has not appeared yet. With the latest 1.1 release we even have a forum page which looks perfectly integrated into BuddyPress but somehow there has’nt shown up a member blog theme that matches Buddypress..

    Is there a reason for this, because I think it would make buddypress complete, because the switch from the nicely designed BP-Home to the Kubrick theme that shows up on a member blog is something that hurts my eyes :D Sadly my knowledge of wordpress themes is really low, so it would take me a veeeeeeeeeeeeeeeeeeery long time to acomplish something that looks anything like that screenshot.. So if there are people who can make something like this, I think a lot of people would be very happy and it would be a great addition to the Buddypress package (I think :D)

    #54880
    Paul Wong-Gibbs
    Keymaster

    The text “The default theme for BuddyPress” cannot be translated as it is in a .css file. As only the site administrator will see that text when they activate the theme, is it a big issue? The other text here is part of WordPress.

    The wrong path thing is more interesting and there are some other forum posts here with that problem. I don’t know when I will get time to look into it so maybe someone else can help.

    #54878

    In reply to: Theme buddypress.org

    Mythailife
    Participant

    No, I’ve asked that question already. They want to make this site unique. Makes sense…

    #54877
    kibondo
    Member

    Thanks a lot for that plugin, it solved my problem. :)

    Though BuddyPress should really have a smarter way as to turning this feature on and off, without having to edit the profile templates.

    #54876
    flynn
    Participant
    Bowe
    Participant

    Hi Everyone,

    I am new to WordPress and Buddypress and I’m currently looking at all possibilites for a future community website. So far I am really pleased with the available options and I’m able to implement all the functions I need thanks to the core components or plug-ins, except for a simple Wiki for all users. So I was thinking of ways to achieve this (I’m no programmer sadly) and thought up the following:

    If I install a wiki plugin on my main WordPress MU blog and automatically asign all users in the community as “contributors” then I should be able to integrate a WIKI into my site ?

    If I add a new menu link after Blogs called “Wiki” which points my user towards this Wiki page on my main blog it should work right? Or am I missing something?

    Thanks in advance :D

Viewing 25 results - 84,876 through 84,900 (of 94,567 total)
Skip to toolbar