Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 22 results - 726 through 747 (of 747 total)
  • Author
    Search Results
  • #55724
    madyogi
    Participant

    @John James Jacoby – It seems like the bp_is_blog_page() is returning true under every circumstance, even if I’m in my root directory, not the /blog directory. I would love to be able to “just check one or the other,” as you say, but it seems like the wp conditionals like is_archive, is_home, etc. are competing with the bp_is_… conditionals. I am just looking for a way to check if a buddypress component such as profile, messages, activity, wire, etc is being viewed. If this is the case, display one header, otherwise, display another.

    #55720
    madyogi
    Participant

    Alas, my excitement continues to be dissuaded.

    The statement … if ( bp_current_component(profile) ) … seems to be acting just like bp_is_user_profile … they both return true on every page load. The only reason this seemed to work earlier is because I placed the if ( is_home () ) condition above it, so that overrode it until I went to, say a blog archive page (again, there is only one blog on my page … I’m only interested in the profile/wire/activity/friend functions of BP.

    Though it’s still a bit puzzling that the if … elseif … else statement in my actual homeHeader.php file functions as expected in virtually every circumstance, setting the proper menu tab setting.

    #55716
    madyogi
    Participant

    Okay, so I think I’m getting somewhere. Dug through the bp-core-templatetags.php file and found the bp_current_component() tag. So I added the following to my header.php file:

    ...
    } elseif ( bp_current_component(profile) ) {
    include (TEMPLATEPATH . '/../ARHealthCareersFrameTheme/customHeaders/communityHeader.php');
    }

    This seems to work, but all the components are now giving the communityHeader.php file, not just a profile page. So the activity, messages, friends, etc pages are all returning true for this particular elseif statement. Is the parameter “profile” meaningful in this case, or is this just checking to see if there is a bp_current_component or not? Alternatively, are all these pages (activity, messages, wire, etc) considered profile components?

    Thanks again so much for all your help.

    #55712
    madyogi
    Participant

    I am essentially not using the blog function of BP at all, only the extended profiles, the wire, the activity, etc. That said, all pages are in essence the home blog of my WPMU install. So what I’m needing is to figure out if I’m (or one of my users) is looking at a BP component or not, then display the right stuff.

    Would it make sense to query the $bp global here? as in:

    ...
    } elseif ( $bp->current_component == profile ) {
    //include whatever corresponding content here
    }
    ...

    I’m not as up on my php as I should be. Is this a viable option?

    #55708
    madyogi
    Participant

    Thanks to you both for the quick responses!

    @DJPaul – is there somewhere I can find all the parameters bp_is_page() will take? For example, I’m wondering if the profile page has a generic slug/parameter that will return true every time a bp profile page is being displayed. Same with any messages page, activity page, etc.

    @David – I’m actually using a script called Dynamic Drive tabs to display the main menu tabs and their submenus. With this script, as you roll over the various options, it will display the submenu divs. Then it defaults back to the current tab, which is set when you activate the menu via javascript. The $mainMenuTab variable is assigned an integer based on what type of page you’re on, then echoed in the javascript call. It’s working quite well for me so far.

    #55026
    Anointed
    Participant

    (I tried posting this reply as new threads for 2 days now, but it won’t take, so trying it as a reply to my thread to see if it shows up….. this better explains my question)

    I”m not sure what I am trying to do is even possible, so before I install bp again, I figured I would ask first.

    I run a network of mu blogs, and want to give each of the blogs their ‘own’ bp.

    My best guess as to how to do this is to stat by uploading the bp plugin into plugins instead of mu-plugins, and then only activating it on the blogs which I want to use bp.

    I can then add the template/css files from bp into each blogs theme directory, along with any logic files needed. This way each site can have their own ‘unique’ bp theme, matching the blogs theme.

    What I am not sure is possible:

    In this scenario, is it currently possible to filter all of the widgets, like the activity stream, to only show activity for the users belonging to the blog being viewed at the time?

    I have a custom plugin already that allows people to signup on a sub domain blog without having to go to the root blog. Each member is then transparently added to a few other sub-domain blogs as well as the root blog… i have future plans for this.

    This means that each of my sub-domain blogs have their ‘own’ userbase, so separating out the activity in bp ‘should’ be possible?

    My idea is that there should be no reason for a user to ever leave the sub-domain blog to edit or view their profile pages, or the pages of friends etc..

    They would only be able to see the members and groups, groups forums, created by the members of the sub domain blog only… is that possible?

    I plan on offering bp only to my ‘premium’ sub domain bloggers, and most of them will have their own custom domain name mapped.

    So if the sub domain blog ‘xyz.com’ users should not even know that my ‘root’ wpmu install is at ‘123.com’ which is how bp worked for me in the past.

    It was making my bloggers ‘angry’ that their users were sent to another site to update their profiles etc…. so I am trying to figure out a way of giving them bp on their own site.

    I have no problem applying filters myself in order to filter the members to the blog in question only, if filters would work.

    What I don’t get, is I would have to figure out how to ‘assign’ bp to the blog in question instead of a particular blog. (in old bp we had to add command to functions to tell bp which blog id# bp was installed on)

    I hope this makes sense…. is this currently possible?

    #54300
    Anointed
    Participant

    @tonyaccardo – We have spent the past 5 or 6 months now working on a new vb/wpmu/bp system and it’s getting close to completion. I have no plans of releasing the software, but I can give you a little insight into why no-one has responded to your request.

    Bottom line:

    It’s a HUGE job. It has taken the coders hundreds of hours of work to complete the project. The amount of code is actually rivaling the core of bp itself. You REALLY have to have a specific reason for wanting to take on wpmu-bp-vb.

    What we’ve built:

    Well I also run a number of very large vb communities, and while vb has ‘blogs’ they suck, and many members asked to have blogs and social networking. The ‘easiest’ solution would have been to simply dump vb for bbpress, and migrate all of the data over to bbpress.

    However bbpress is nowhere near what vb is, not even close. Yeah it’s nice code, but vb has years and years of development behind it and bbpress is just beginning. So for us dumping vb was not an option.

    So we needed a real plan and decided to bridge the programs together, but the bridge is the smallest part of the equation. Not only did I want one registration/session setting for the users, I also wanted auto vb forum creation upon group creation within bp. I also wanted automatic vb forum creation upon new blog creation within wpmu.

    Simply put, if you signup and create a blog, a new vb forum is created behind the scenes that belongs to that blog. The same thing goes if you create a group within bp.

    Well that’s all and good, but as vb is commercial software, there is no way I wanted to have to install new copies of vb for each blog. I wanted to run only one copy of vb, just like bbpress does. That is where the HUGE amount of work came into play.

    Not only did I want each blog to have their own vb forum, but we also had to deal with member roles and forum creation. So we built the system so that ‘technically’ each blog is able to manage every single aspect of vb from styles, to membership, to permissions, heck you name it. As far as the blog owner is concerned, they are running their own full blown copy of vb, fully integrated.

    There are many other things to consider as well. Many of the function names within the programs are the same, so you can’t just call functions from bp within vb. Even including things as simple as your wordpress header within a vb template took a bit of work. You see, wordpress header navigation is dynamic, add a page/category, and you have a new link. Obviously you do not want to have to manually change your header in vb to match wp everytime a navigation button is added, so you have to automate that part. Well the function names are the same in both, so now you have to create your own header nav functions so it stays dynamic. Not hard but still more work.

    If all you are after is bridging wp/vb together, there is a basic bridge script you can use from vb.org. It does not work with wpmu, but can be modded to work. We started out with this route and after making the changes it worked perfectly.

    However, it is designed to use vb for reg/sessions, and this caused some major issues that we had not thought of in the beginning. Think about hosting ‘paid’ blogs on your network, and telling them that their members have to go to another site forum to register, yeah that went over real well. LOL.

    So that is where we are at now. We are rewriting the bridge code to use wpmu reg/sess so that users signup on whatever wpmu blog they come across and they are registered into the entire system (even having the ability for a visitor to signup directly from a sub-blog in wpmu took a bit of custom code which is done). I expect the coders to have this part finished shortly.

    Once that code is finished then we begin work on bringing in the vb posts into the wire and activity streams of bp. There seems to be little to no documentation on doing this within bp so I can imagine it’s gonna be an interesting project.

    We will then begin work on filtering out the pm system within bp and replacing it with the pm system from vb. (I’d rather use bp pm system, but it’s a kiddy toy compared to vb right now, and I don’t care to wait years for bp to catch up).

    We are not touching the core code of either wp, bp, or vb so future upgrades are not going to be a problem. That is another thing you have to really consider.

    Bottom line is, it was a massive job that took months of work, but we’ve mu’d vbulletin and should have the perfect deep integration replacement for bbpress shortly.

    I hope now you can see why you are not getting any responses. Even in it’s ‘simplest’ form, what you are asking is going to take someone hundreds of hours to build, and that’s only if your coders know vb/wpmu/bp code inside and out.

    anyhow, hope it helps.

    #54131

    In reply to: Forum at front page?

    danbpfr
    Participant

    @david lewis

    it’s not hard: the plugin still exist.

    https://wordpress.org/extend/plugins/bbpress-latest-discussion/

    And works with 1.1 new forum integration. Even if not necessary because latest post appearing in the side wide activity. So the plugin is only interesting if you don’t use SWA or if you use a custom homepage or an external bbpress install…

    If you use it, don’t forget to set the right DB table prefix in the plugin option (default is bb_, but now it’s wp_bb_)

    select the forum you want to exclude, enter connection infos and that’s it !

    Have fun !

    #50459
    Michael Berra
    Participant

    WOW – great!!! That was what I was searching for!

    Can you tell me, how to implement that in my Custom-Friends-Activity?

    (I am using this to get the friends activity for logged in users to the start-page)

    <?php if ( bp_has_activities('type=friends&user_id='.$user_ID.'&per_page=10&max=10&timeframe=-4 Weeks') ) : ?>

    <div class="activity-list">
    <ul id="activity-list">
    <?php while ( bp_activities() ) : bp_the_activity(); ?>

    <li class="<?php bp_activity_css_class() ?>">
    <?php bp_activity_content() ?>
    </li>

    <?php endwhile; ?>
    </ul>
    </div>

    Would be great – thanks!

    #50105

    The way that bp_has_activities is now, you won’t be able to show your friends activity on your own profile page. There’s a few checks to change the type to “personal” if you are viewing your own page or if the current action is “just-me”.

    You could, however, duplicate the function (located in bp-activity-templatetags.php) inside your own functions.php file, remove those checks, and call your custom function instead of this one?

    #49782
    Mariusooms
    Participant

    There are other platforms and have tried a few myself. As new as the bp platform is, it is by far the quickest out of the box that enables much of what you need already (together with wpmu). However other platform might offer more fine grained control, but it comes with a hefty learning curve as the platform is simply more complex. The upside to bp’s less complex architecture makes it also easier to develop for.

    I’ll see if I can give some input on your requirements.

    The main feature is an easy and somewhat restrictive way to post content. The only thing girls can publish is pictures of outfits, and then tag the clothes (describe, tag, categorize…).

    It looks like you need a custom content type that omits the post message. Flutter allows you to create a specific post type. I haven’t tried it with wpmu. There is also a wpmu plugin called ‘toggle_meta_boxes’ which allows you to hide unneeded post boxes to make it super easy for your users to just upload content.

    We want to have some level of control here. BTW not all users can upload content.

    Since you only have one subject users post on I would recommend NOT giving every user a blog at sign up, but just let them post to the main blog. Keeps you in control over categories, tags, etc. Plus it lets you control the user level. I however you do want to give users a blog there are wpmu plugins which allow you to set blog defaults like categories, predefined pages and posts and such. Also you can make new blog users have an editor role rather than an admin role if you want to control what they can or can not do.

    The content published by everyone goes to the main page, same of today.

    This is done by buddypress through widgets or even custom loops if you are adventurous.

    No problem there.

    People con vote their fabs.

    I haven’t looked at this, but I imagine there would be a wp plugin which would let users vote on posts. If you can find a vote plugin that serves an RSS feed you could pull that into the bp user profile. EVen link it to the activity stream with a small custom plugin.

    When user is logged in, she sees the content of the girls she is following (not pictures of everyone, just pictures of the ones that inspire the user).

    In bp through making friends with other users you can follow the activity of your friends only. At the moment the activity stream is text only, afaik, but I think images in the activity stream is in the pipeline?

    User profile is built by the outfits she publishes

    The profile page shows the latest activity, blog posts, wire messages, etc. of the profiles user.

    and the outfits she favorites.

    This is the most dificult part, since I haven’t looked into it. Assuming you can find a good vote/favorite plugin it should be doable.

    You can search for/discover/subscribe to trends, types of clothes, styles, colors, people…

    This is where bp shines as the search is very well done. Combine it with bp_contents plugin which allows your users to tag themselve, groups, blog and add categories…your archiving possibilities are endless.

    Some pitfalls (already mentioned):

    Privacy controls, inappropriate content flagging (is coming in 1.1 though), it is still not an out of the box solution (however for you requirements there is none that I can think of).

    There are still even other approaches when I think about it, I would recommend wp and bp in a heartbeat. Especially since the backend of both are really solid. Plugins are installed and upgraded easily. It is a widely supported and growing platform and would not hesitate to recommend it to you.

    I hope this helps a little bit.

    #47998
    Florian
    Participant

    Another problem: In the global activity widget which is displayed on the home page, only the first two entries use the updated member slugs. The older ones still use the old ones which results in broken links. The same problem occurs in the activity rss feed. Any idea why this may be?

    #47365

    In reply to: Dashboard ?

    Ezd
    Participant

    I Love the Dashboard Andy! Been waiting for something like that which gives a complete overview of the site that i’m involved in and activity.

    Maybe it could even be the first page you see (instead of the profile page) when you click your own username… Making it more visible and easy to customize (Maybe widgetize it in future versions).

    I hope the Dashboard can be implemented in the next/future version of the member theme as a standard.

    #46643
    2731640
    Inactive

    Whee finally! :D Thank you!

    So let’s get started again.

    1. Which version of WPMU are you running?

    – WPMU 2.7.1

    2. Did you install WPMU as a directory or subdomain install?

    – directory

    3. If a directory install, is it in root or in a subdirectory?

    – root

    4. Did you upgraded from a previous version of WPMU? If so, from which version?

    – no

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

    – yes

    6. Which version of BuddyPress are you running?

    – 1.0

    7. Do you have any plugins other than BuddyPress installed and activated?

    – no, not yet.

    8. Are you using the standard BuddyPress themes or customized themes?

    – I have my own but also have same problems with default theme (BuddyPress Default Member Theme (1.0))

    9. If running bbPress, which version?

    – Version 1.0-alpha-6

    10. Please provide a list of any errors in your server’s log files

    – at the moment error log seems to be empty…

    And then my current problems:

    I solved the #1 “I can’t post a new topic or reply to the forums anymore.” by re-installing everything. Forums work fine now, except:

    1) I still can’t invite friends to the groups (they are my friends and aren’t joined the group). I get a messages: Select Friends No friends to invite and Send Invites -button.

    2) I still can’t leave a group. I noticed some weird problems on that page… This page (leave a group) doesn’t have a wp-admin-bar and footer at all! Other pages have. I only get messages: “Confirm Leave Group” and “Are you sure you want to leave this group?” but there’s no options “Yes, I’d like to leave this group.” and “No, I’ll stay!”.

    When logged in and on the Groups Directory/Groups Listing page, it is no problem to leave a group, but when I try to leave a group on group’s own page (e.g. http://domain.com/groups/testgroup ) by clicking the Leave Group -button, I get problem #3 from my 1st post.

    I noticed differences when comparing html codes BP generates:

    comparing testbp.org’s html source and mine that in header I have different code on line 11:

    Mine is: <link rel='stylesheet' href='http://domain.com/wp-content/plugins/buddypress/bp-blogs/css/widget-blogs.css?ver=2.7.1' type='text/css' media='' />

    and testbp.org’s is:

    <link rel='stylesheet' href='http://testbp.org/wp-content/plugins/buddypress/bp-activity/css/widget-activity.css?ver=2.7.1' type='text/css' media='' />

    Meaning that instead of bp-activity I have bp-blogs… so is this a problem? I’m still wondering why my code is different from testbp.org’s.

    When I deleted <?php bp_group_leave_confirm_link() ?> on leave-group-confirm.php file (lines 27 and 28) this way the leave group page displays right but links Yes, I’d like to leave this group and and No, I’ll stay! don’t work (of course they don’t work).

    3) “new” problem is editing profile: when I try to edit profile (Profile > Edit profile) I get a red error message: That group does not exist.

    4) 2nd new problem: When I go to Friends > My friends > Alphabetically again an error or actually info box “Your friends list is currently empty”. I have friends and they are on the lists when I choose “Newest” and “Recently Active”

    I’m sorry but my English isn’t that good, so it’s more than possible that I write some weird and confusing words, sentences :P

    But I really do appreciate your help :)

    And Peterpan77 – I have to agree with DJPaul, please, don’t shout…

    PS: I have to try this one to my problem #3 https://buddypress.org/forums/topic.php?id=2991

    Just find it :)

    #46298
    Jeff Sayre
    Participant

    Dennyhalim-

    I just took a quick visit to the Hoard Hunter plugin page. This is what is says about:

    Hoard Hunter is an online treasure map game designed and developed for people who would like an easy (and fun) method of fund raising online. The system comprises of a custom plugin and integrated theme. The Hoard Hunter site is powered by WordPress MU (though the system will also run on standard WordPress) and uses a number of WordPress plugins to provide additional functionality.

    My First thought is that I would not even attempt to use this with BuddyPress. This looks like a complicated plugin that relies on many other plugins and its own custom theme to do some complex stuff. It is ripe with problems waiting to happen.

    Also, it is not clear if this plugin suite, as it really should be considered, works with WPMU 2.7.1. You need to contact the developer and ask. There does not seem to be an activity on that plugin’s thread for almost 6 months and the images do not load on the website. This is never a good sign.

    As is stated above, Hoard Hunter is a “system [comprised] of a custom plugin and integrated theme” and it relies on “a number of WordPress plugins to provide additional functionality”. You are dealing with a potentially large mess here in figuring out what is going on.

    As John and I both suggested, you need to deactivate the Hoard Hunter plugin and all other plugins that Hoard Hunter is using. Furthermore, you need to switch back to the default BuddyPress themes. In other words, to troubleshoot this issue, you need to strip down your install to the lowest common denominator and see if the problem goes away.

    So, just using the BuddyPress plugins and no other WPMU plugins, and just using the standard, default BP themes, does the problem go away. If so, you then start working your way backwards, adding a plugin at a time until either everything works or you find the problem.

    It could also be an issue with Hoard Hunter’s “integrated theme”.

    I hope this is just a development install and not an ongoing WPMU community to which your trying to add BP. If it is an ongoing community, perhaps you should stick with what you have and forget using BP.

    If you wish to continue troubleshooting, and you have important data to protect, please make sure you know what you are doing, that you are comfortable with troubleshooting this issue. You’ll need to make backups of your database, your themes, upload directories, plugins–in other words everything. Why? Because there are no guarantees.

    #45090
    Jeff Sayre
    Participant

    KitWit-

    Okay, I’ve made a mistake. I did not even notice that you had linked to the members’ theme, not the home theme.

    My widget is for the home them. What you’re asking about is not a widget. It is a coded into the /directories/members/index.php file in the bphome theme.

    You can make your own custom theme, edit this out, and get what you want:

    <div class="item-meta"><span class="activity"><?php bp_the_site_member_last_active() ?></span></div>

    <div class="field-data">
    <div class="field-name"><?php bp_the_site_member_total_friend_count() ?></div>
    <div class="field-name xprofile-data"><?php bp_the_site_member_random_profile_data() ?></div>
    </div>

    Just make sure to place your custom theme in the proper place and then select it in WPMU’s backend via “BuddyPress > General Settings > Select theme to use for BuddyPress generated pages”

    #44213
    Andrea Rennick
    Participant

    ” so we’re left with two choices: 1) Switch to WPMU/BP or 2) Install WPMU/BP in a subdirectory.

    My first question is this: Am I right about our two choices above?”

    Yes.

    Switching the whole thing over to WPMU is actually not so bad. The biggest worry there is plugins. Depending on what ones they are, and which ones are a dealbreaker, you will need to test them somewhere ahead of time before even deciding which option to pick.

    posts, comments, users, the theme itself and ad placement – ALL those can be *exactly* the same in WPMU.

    “The only drawback we have with installing WPMU/BP in a subdirectory is that we’d lose the ability to pull in BP features onto the homepage of our current site such as recent blog activity, avatars, etc. Is that correct or is there some way for the two to communicate even if on separate installs?”

    Actually, you can do that. We did it here on http://wanderlustandlipstick.com, a client site. Note it’s not a BP site, but the main site is a single WP install and the WPMU part is under /blogs/. With some lightweight custom code, we pulled in avatars & recent posts to the front of the main blog.

    Overall, your choices are pretty much 50/50. The big kicker here is how you want your URLs to be formed in the end.

    If you want or don’t care about an extra folder name in the URL where WPMU will live, then it may be “easier” to have it as an add-on, and share databases to share users.

    Personally, I’d lean towards moving the whole site to WPMU. Do the move in a dev environment, then in a low-traffic time planned ahead with full notice, make the switch to the new WPMU site (at the same URL basically).

    Phlux0r
    Participant

    Well, put it this way, the default buddypress home theme is really just a widget framework accomodating the BP widgets for activity, members, groups, who’s online, welcome etc.

    You need to decide where you want to show what and look for themes that fulfill your requirements. There are dozens of mag style themes out there… As long as you have a good range of widget positions in the theme you should be able to put your home page together the way you want to. Besides, it’s easy to create custom widget positions if you need to.

    In any case, some php / theming skills may be needed to get stuff exactly how you want it.

    #43225
    enlightenmental1
    Participant

    copy this, add to it, paste it below in your post…. this will get a little overboard i’m sure, but we should list as much as we can and then narrow it down based on:

    – if it’s possible

    – time to complete

    – cost

    Features Request:

    browser=person browsing the website

    user= the individual user/profile owner

    – seamless integration with buddypress

    – this becomes a component that is activated through the bp admin menu

    – and general settings are controlled by the admin in the wp-admin subnav

    – not a plugin/mu-plugin

    – user can select to only show pics/vids if your the users friend, or show anyone

    – user can subscribe to pics/vids gallery rss just like activity rss

    – browser can select “view random gallery” or “view random video” from the bp nav bar

    – user has “gallery options” under their profile menu

    – add/upload/remove/rename/add caption to images and videos

    – user has “gallery settings” under their settings menu

    – make pics/videos public, show to friends only, etc

    – all media uploaded is searchable through the /members page

    – a new <directory> is created called “Media” just like the “groups” or “members” or “events”

    – this directory shares the default theme of BP and yet is customizable because it has it’s own directory/index.php and directory/media-loop.php (just like BP)

    – admin decides how media should be stored

    – on the website server

    – or on kultura (i have no need for this)

    – etc

    – admin decides max file size, max storage amount per user and is able to delete any media uploaded

    – user is able to choose which uploaded image is set as their avatar

    – user is able to create galleries and select a default gallery icon/image (myspace)

    – galleries could contain both video and images and are browsable as thumbs

    – thumbnail image is “thickbox ready” and pops up both pics and video into a jquery thickbox with button for next / previous / close etc

    – Gallery content/information/descriptions etc becomes bp-Xprofile data that can gotten and displayed much the same as regular bp-xprofile data (get_bp_xprofile data ect)

    – except for the admin options, all gallery controls and content remain on the front-end/profile only

    the list goes on and on… and there’s many ways this could all be done

    add to the above, remove stuff (say why you removed)

    I dont think these features are “too much” considering there’s $700 available for this project… I’m also open to a different developer…. this should be someone who lives and breathes buddypress and who keeps current with both wpmu and bp trunk versions

    we would also need to know/specify which install we want this created for

    wpmu 2.7.1 + BP RC1

    wpmu 2.7 + BP RC1

    wpmu 2.7.1 + BP latest trunk

    etc… because chances of this working well on all the different install variation is tricky

    worst case scenario, all we get is the $200 job and we have to make due

    (im still down with that too)

    I would like the developer to brainstorm and come up with a list of features that THEY think are possible considering the budget

    $200 gets you ___________.

    $700 gets you ___________.

    ($700 would get us something pretty damn cool from the right dev… and remember, if it’s done right Andy will add this to the BP core which I believe is the best option)

    #42443
    nightstalker101
    Participant

    Thanks again for your help. Oh, no, this time, I´m gonna tell you something ;) :

    ´

    <li class=”group-box”>

    <div class=”left”>

    “><?php bp_the_site_group_avatar_thumb() ?>

    <?php $member_count = groups_get_groupmeta( $group->id, ‘total_member_count’ ) ?>

    <?php echo ucwords($group->status) ?> <?php _e( ‘Group’, ‘buddypress’ ) ?>

    <?php if ( $member_count == 1 ) : ?>

    <?php printf( __( ‘%d member’, ‘buddypress’ ), $member_count ) ?>

    <?php else : ?>

    <?php printf( __( ‘%d members’, ‘buddypress’ ), $member_count ) ?>

    <?php endif; ?>

    </div>

    <div class=”right”>

    <div class=”group-top”>“><?php bp_the_site_group_name() ?><?php bp_group_join_button( $group ) ?>

    <div class=”clear”></div>

    </div>

    <span class=”activity”><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, ‘last_activity’ ), __(‘active %s ago’) ) ?></span>

    <div class=”excerpt”>

    <?php // echo bp_create_excerpt( $group->description ) ?>

    <?php bp_the_site_group_description() ?>

    </div>

    </div>

    <div class=”clear”></div>

    ´

    thsi is the code from my custom theme file. And here the Css, maybe there is a better solution, but it works:

    ´

    .group-box{margin:15px auto 10px -30px;height:80px;width:800px;background: url(../images/group_list_item.jpg);

    padding:10px 20px 25px 15px;list-style:none;text-align:justify }

    .left{float:left;width:65px;height:82px;font-size:9px;color:#686868;line-height:11px;text-align:right}

    .group-avatar img{border:1px solid #686868;height:60px;width:60px}

    .right{float:left;height:82px;margin-left:5px;width:725px}

    ul#letter-list li {float: left;height:25px; width:27px;margin-right:5px}

    .group-top{height:20px;}

    .group-link{text-decoration:none;font-size:16px;color: #ff7f00;float:left}

    .group-link:hover{text-decoration:underline}

    .excerpt{color:#1a1a1a;font-size:12px;}

    .activity{font-size:11px;color:#686868; font-style:italic;display:block;margin:0;padding:0}

    .leave_group, .join_group{float:right;display:block;padding:4px 0 0 24px;margin:0;font-size:10px;text-decoration:none;

    color:#bd2100;height:21px;width:96px;background: url(../../bp-groups/images/leave_group.png);font-weight:bold}

    .leave_group:hover, .join_group:hover{text-decoration:underline}

    .join_group{color:green}

    #group-dir-count{margin:0 0 5px 2px;font-size:12px;color:#686868}

    ´

    Can you still tell me, how I get the recent activities that happened on the page?

    I tried to call the function, but all I got, was the time.

    Thanks

    #35056
    Burt Adsit
    Participant

    The bp home theme is really just a widget framework. You can install any widget you like in that theme. You can modify the standard ‘activity’ and ‘recent blog posts’ widgets. You can install a plugin that aggregates feeds from specific blogs. Your requirements are pretty specific so you have to decide if you are going to develop custom code or try to utilize some off the shelf plugins.

    To answer your question. No there isn’t a mechanism in place that allows you to be selective in the posts that show up using the ‘sitewide activity’ or ‘recent blog posts’ widgets.

    Have fun. (but don’t tell anyone we are though)

    #35055
    Burt Adsit
    Participant

    The bp home theme is really just a widget framework. You can install any widget you like in that theme. You can modify the standard ‘activity’ and ‘recent blog posts’ widgets. You can install a plugin that aggregates feeds from specific blogs. Your requirements are pretty specific so you have to decide if you are going to develop custom code or try to utilize some off the shelf plugins.

    To answer your question. No there isn’t a mechanism in place that allows you to be selective in the posts that show up using the ‘sitewide activity’ or ‘recent blog posts’ widgets.

    Have fun.

Viewing 22 results - 726 through 747 (of 747 total)
Skip to toolbar