Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 1,201 through 1,225 (of 1,252 total)
  • Author
    Search Results
  • #60753

    In reply to: Wire Posts in bp 1.2

    Mike Pratt
    Participant

    Excellent point. Not all is lost but I will take this opportunity to provide some feedback to @jjj and @apeatling re 1.2 in it’s current state

    1. I get the use of the Twitter @ metaphor and adding “mentions” to the filters. Cool. BUT, it introduces a potential UI snag for users. Throughout 1.2 you make nice use of Display Name which users will become accustomed to and identify with. Now, you are identifying users by their user name as well (mixing metaphors, so to speak) as in ->

    John Doe

    and

    @jdoe

    Given people’s tendencies to use whacky usernames, thee is a big risk of confusion when both start popping up around the site. Not sure what the solution is but I think it’s not a trivial point, imho.

    2. Now that the wire has disappeared and along comes the concept of “Send Public Message” (I get it) let’s look at what vehicle we’re making use of and what it may mean to users. As it currently stands in 1.2, to “Send Public Message” you click that button on someone’s profile and you are taken to your own Status Update field with an @username filled in.

    a. the cursor is highlighted just before the @username not after (don’t forget to include a space) – this will only cause people to write the pubic message and push the @username to the end of the message. clunky

    b. You’ll probably need to include a @mentions on each person’s profile page otherwise, you’ll never be able to easily see the public message to @username you just wrote. The key point being, you want this to show up on THEIR profile.

    c. Probably worth considering including a notification to @username of said public message via email (make optional)

    d. Q: Will these @’s be co-mingled in your own status updates and, thus create confusion. Maybe that doesn’t matter and i am overthinking it.On the activity stream, it says John Doe posted an update, when he really sent @username a public message. In Twitter when @ leads a message as 1st character, it has different context than everywhere else in the Tweet. Perhaps -> John Doe sent @username a public message ? or something.

    I know I am getting fine grained here but theses (excellent) feature adds need to be over the top intuitive when introduced or they will breed unintended usages.

    #60108
    Paul Wong-Gibbs
    Keymaster

    TLDR version: Introduce types of groups. e.g. “User group” type – it has no forum, no “Home” page, just members listing and activity stream. This group added to Activity Stream filters where relevant.

    Would have to filter out custom group type “User group” out of the /groups/directory page & member profile group page.

    These custom group types could be set so they are publicly visible/private to those members involved/or hidden (visible to the creator only). As per current Group privacy settings.

    Could add e.g. “Friends”, “Colleagues” and “Fans” as default, empty groups for each user on user registration. Obviously revise theme to make the “Friends” page (“Connections”, maybe) look like the Friends page rather than a regular Group.

    Different users might create “User group” types with the same name but with different meaning (“Fans” could be interpreted several ways for example). This is no problem as such categorisation is defined — and belongs to — the user who does it. Might need some semantic group kind/type identifier in the code to allow FOAF/SIOC RDF profiles to be able to assigned to these “User groups”.

    #59694
    @mercime
    Participant

    The bp-default and bp-parent-themes are theme frameworks for the BuddyPress plugin. They show what can be done with the BuddyPress plugin and I appreciate that a lot.

    For a current project with WPMU as CMS plus BP for an organization, I went with creating a customized child theme using the bp-sn-parent throughout the site including all blogs for a consistent look and feel.

    Aware of the time I could allocate for this project and my average skillset, creating a child theme was the path of least resistance during continuous trunk upgrades of WPMU and BP since I started this project late September for a tentative launch mid to late January. And I would say the time I invested in creating customized child themes was worth it, 10x over.

    At this time, all I have to watch for in my child themes are code changes in the files from upgraded parent themes – header.php, footer.php, sidebar.php, home.php, functions.php, style.css, and some new page templates I created.

    When the new bp-default theme came out for BP 1.2 trunk, I made a new child theme based on that for blog_id_1 (BP install) specifically because of the new forums layout :-) My only question for the new bp-default parent theme is:

    why is it that the only way I could find to avoid getting a white screen when I activate my bp-default’s child theme (with own home.php) is by consistently copying the code of bp-default/activity/index.php over bp-default/home.php ?

    #59550
    jedbarish
    Participant

    I already set up the permalinks under custom as /%category%/%postname%/ so it went to a blog but not for members and other sections. On the front page of activity stream kept showing the loading icon. It displayed my new post update but appeared with another theme (header). I located the bpthemes under wp-content/themes and everything else in right place. Maybe there is an issue when wp installed under sub-directory like domain.com/wpdn?

    #59526
    @mercime
    Participant

    WPMU 2.9 trunk-r2041 and BP 1.2 trunk-r2207

    – BP on blog_ID_1 and WPMU used as CMS

    Feedback: Child theme of 1.2 trunk bp-default theme

    Getting white screen in front end (all sections) when creating a new Child theme based on new bp-default theme.

    – If I add customized header.php and footer.php (with only additional divs), I get white screen,

    – If I do not upload header.php and footer.php but add customized home.php, I get white screen.

    – Note: the only way I got the child theme recognized was by copying code of activity/index.php over home.php in bp-default theme folder, but like mentioned above, other customizations except the sidebar.php, white screened on me. Too much eggnog last night?

    Feedback: Child theme of 1.2 trunk bp-sn-parent theme

    – custom Child themes of old bp-sn-parent theme transition well to new bp-sn-parents theme generally except Forums pages – only one group shown and nothing else

    #59440
    Bowe
    Participant

    Hi everyone,

    I made a mock-up of how I picture this “friend” page.. Actually a better name for it would be “My Network” or simply “Home”

    The screenshot can be viewed here: http://www.bp-tricks.com/wp-content/uploads/my_friendsv1.jpg

    The design is my own, but the functionality could be used for the new BP theme as well:

    Left: The activity stream as we all know it from the upcoming BP 1.2. Added the options to filter activity based on “Friend Categories”. This works with a vertical dropdown menu so if a user has many friend categories you won’t run out of horizontal space. It would be cool if the same could be done with Groups. So you can not only show activity from all groups but also from specific groups. This would make the activity stream even better imo! In the example I added a custom filter which could be added by a Twitter plugin. It allows the user to filter the Tweets from their friends!

    The right side is filled with boxes which display useful information for the user. It shows:

    – Quick Links: Links to pages which might get used a lot. Users can add their own links to pages they visit often.

    – Friend Categories: Show the 5 most recent friends from every category

    – Groups: The groups a member is part of and an options to show all their groups

    – Custom boxes: these are boxes that are added by the users or by plugins. See it as widgets but then for an individual user. In my example I’ve made two widgets:

    A quick tweet widget: Allows a user to send a tweet to twitter easily

    An RSS widget: The user fills in one (or more) RSS feeds which get displayed in the widget.

    Personally I think this would be a great step forward for BuddyPress profiles. If there would be a “Profile API” similar to the current group API, which allows developers to easily integrate widgets or activity stream filters for their plugins, it would be really great! Some other examples could be:

    Quick Photo uploads (quickly add photos to your album from your “Home”)

    Submit link (BP-Links widget to quickly submit a link)

    It would be even better if users could also drag and drop the widgets to their liking. I’m interested in what others think of my mock-up, and the way I think the Stream/Friend Categories should be handled.

    #7974
    waveslider
    Participant

    Hey everyone,

    I have a BuddyPress installation working pretty well at http://pmasocial.com. I am running WPMU version 2.8.6 and have configured it to use subdirectories. The installation is in the root of the site’s web directory. I am running BuddyPress 1.1.3, and both WPMU & BP were fresh installations. I am using a custom theme but have not modified the core files in any way. I have custom functions. I also have bbPress installed but have no idea how to determine which version.

    The one problem (I’m aware of) right now is that there is evidently an issue with either the .htaccess file or mod_rewrite itself, which causes a redirect to the 404 page whenever I attempt to delete an item from my activity feed at this URL:

    http://pmasocial.com/activity/delete/14?_wpnonce=b3416fe825

    Below is the content of my .htaccess file:

    <br />
    <IfModule mod_rewrite.c><br />
    RewriteEngine On</p>
    <p># Tom: getting max redirects exceeded errors in apache error_log.<br />
    # Increasing from default of 10 in attempt to troubleshoot.<br />
    RewriteOptions MaxRedirects=35</p>
    <p>RewriteBase /</p>
    <p>#uploaded files<br />
    RewriteRule ^(.*/)?files/$ index.php [L]<br />
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*<br />
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]</p>
    <p># add a trailing slash to /wp-admin<br />
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$<br />
    RewriteRule ^(.+)$ $1/ [R=301,L]</p>
    <p>RewriteCond %{REQUEST_FILENAME} -f [OR]<br />
    RewriteCond %{REQUEST_FILENAME} -d<br />
    RewriteRule . - [L]<br />
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]<br />
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]<br />
    RewriteRule . index.php [L,QSA]<br />
    </IfModule></p>
    <p><IfModule mod_security.c><br />
    <Files async-upload.php><br />
    SecFilterEngine Off<br />
    SecFilterScanPOST Off<br />
    </Files><br />
    </IfModule><br />

    I am also getting this error from Apache (1.3):

    Request exceeded the limit of 10 internal redirects due to probable configuration error.

    I have googled and searched the forum but haven’t been able to solve this yet on my own. Any help would be greatly appreciated. Thanks in advance.

    Tom

    Brajesh Singh
    Participant

    thanks.

    you mean the discussion topics shown at the bottom of the home page.

    well, I am using external bbpress with deep integration to buddypress/wordpress mu.

    The topics are coming from https://wordpress.org/extend/plugins/bbpress-latest-discussion/ plugin.

    Though, if you want to do the same using internal integration

    have a look here

    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    specifying the action as “new_forum _post” should do that.

    Hope it helps :)

    #7957
    Roland Fauster
    Participant

    This is my third Post here within 24 hours and I feel I am spamming the forums already – so sorry about this!

    I want to add a class to the member links in the activity stream so I can direct the output to an ajax layer rather than reloading the page.

    I am making progress in changing existing classes of links to my own (unfortunately the member link does not have any class so I will have to fiddle around with my preg_replace a bit futher)..

    This Code:

    <?php
    add_filter( 'bp_get_activity_content', 'add_ajax_class', 1 );

    function add_ajax_class( $content ) {

    $content = preg_replace('/class="([^"]*)"/i', 'class='AjaxDivBox_Link'', $content);

    return $content;
    }
    ?>

    is what does it for me in the bp-customs.php in the mu-plugins directory however the code changes the link on the FULL site and not only in the activity content.. Is there something I overlooked??

    #58487
    Mike Pratt
    Participant

    you should all check out the bleeding edge trunk 2161. It’s pretty stable and likely addresses all your SWA filtering and grouping needs, with the ability to be tweaked further.

    SWA customization really boils down to the ability for a user to choose any combination of “who’s” and “what’s” which is what 1.2 does exactly. so, for ex. you can combine My Friends (who) and Forum Posts Only (what) You can create custom “who”s eg a particular group and add that button or combinations of “what’s’ if it suits your site’s m.o. Combine this with 1.2’s inline commenting and people will never leave your home page :-)

    You can see an example on my dev site -> http://mjpratt.com

    blakicemg
    Participant

    Hello all, before I get started I have spent a good deal of the day searching the forums and trying bits and pieces but I figured I would create a new thread in hopes to salvage whats left of my unproductive day.

    Now the good stuff, I am using a Theme based on Woothemes Fresh News, worked perfectly, so I decide to add buddypress 1.1.3 to the mix and wanted to use my current theme over the BP theme. I saw Andy’s post that all you have to do is copy over the files from bp-sn-parent to my current theme and it would work, so I did that and it works… somewhat :)

    I have uploaded the following directories and files to my current active theme from the bp-sn-parent folder:

    _inc

    activity

    blogs

    directories

    friends

    groups

    messages

    profile

    registration

    status

    wire

    links.php

    optionbar.php

    plugin-template.php

    searchform.php

    userbar.php

    attachment.php

    Then I opened style.css from the bp-sn-parent and copied and pasted the contents into my current style.css.

    /* Font styles */

    @import url( _inc/css/fonts/12px.css );

    /* Layout styles for home page, internal pages and blog/directory pages */

    @import url( _inc/css/layout/home-page/3c-right.css );

    @import url( _inc/css/layout/internal-pages/3c-left.css );

    @import url( _inc/css/layout/blog-dir-pages/2c-right.css );

    /* Admin bar styles */

    @import url( _inc/css/adminbar.css );

    /* Default example styles — these should be your own styles in a child theme */

    @import url( _inc/css/screen.css );

    /// THE ISSUES

    The homepage has the admin bar up top just without any styling (i.e drop down colors, admin bar background) but its there. When I go to a member profile page the admin bar is running down the side not up top where it belongs and the rest of the page has no styling attached. So what am I missing here? None of the styling is attached to my custom theme. I typed all this because im sure other people have this problem maybe this thread can help them.

    Thank you all

    #7641
    Nightlyfe
    Participant

    I read over this but didn’t find a clear answer as to whether the activity stream can be filtered by blog. http://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    I’m mostly looking for the following in one list:

    ___ commented on post ___

    ___ posted ___ (post/page)

    All post-activity for all members of a blog who are Contributors or better, and all comment activity for all members in one list (with bp-avatars). I’d also like to be able to have tabs to filter one or the either (as well as additional items below).

    I’d also like to associate the blog with a group, so that it can incorporate the activity there as well (http://trac.buddypress.org/ticket/567):

    ___ joined (the group) ___

    ___ wrote ___ on the wire/wall

    etc.. The feed would still go on the blog.

    “Group wide activity” would ideally show blog-related activity across several associated blogs.

    The widget could then have the options:

    ( ) sitewide (global)

    ( ) this blog only

    ( ) this blog and the group ___

    ( ) this blog, the group ___ and all blogs in the group ___

    The last option would allow readers of blog X to see what is happening on blog Y from a filtered activity feed.

    What is possible (easy-ish) now with a little bit of code?

    What should I wait for the next point release?

    ===

    Always willing to $ponsor development if this is something you think you can code.

    #7607
    grosbouff
    Participant

    Hi…Big news here.

    But (in parts) bad news :

    I was cleaning the code of my plugin, which is at this point almost finished.

    I was trying to find a reliable way to handle categories and tags : my code is working but categories and tags are in 2 different custom tables (the code is a little dirty); there is no admin page to manage them…

    Well, I was looking at how WordPress was handling them because I wanted the code to be strong enough to keep maintaining my component in future easily.

    Then I start to look at the taxonomy system.

    Then I saw that WP 2.9 will include custom post types…

    And then… I’m half disappointed, half excited :

    Half excited, because “custom post types” means that you will be able to define new post types (-actually, there is just “pages” and “posts”), like, let’s say … “classifieds”.

    That means that you will be able to use the WP dashboard to write a classified like you write a post, and use categories and tags for those classifieds as you do for a post. Those categories or tags will not be those you use for your posts but custom ones just for your “classifieds” post type.

    The wire for a classified is no more necessary as you can will be able to use the core comments system with your classified.

    Idem for pictures that you will be able to upload and attach directly from there.

    That also means that you will be able to search,filter and display those classifieds with the same functions that you do for your posts.

    Well, well, that means that this is a big step for WordPress…

    But this is also a disappointment for me because that means that lot of the time (several months so far – not full time of course, and i’m an autodidact) I spent to write my plugin was useless as now, the WP core will be able to do by itself a lot of what I wrote in my plugin.

    So I think that it would be a wide decision to wait that the custom post type stuff came and to… almost start writing a new plugin from scratches.

    Yes, some pieces of my work will still be reusable to make all this “buddypress-friendly” (attach classifieds to groups, notifications, etc), but 95% of my actual code will potentially be useless as WP core function will do the same, and better.

    But from what I read, we don’t know exactly when all that stuff will came. Some parts of the functions will be available in WP 2.9 but it’s not sure that the whole thing will be usable in that version, neither we know when WPMU 2.9 will be out : in the trac, they say

    I really see no reason we cannot get this into 2.9 since a large majority of the work has been completed already. Even if we only get some of the basic functionality of this into 2.9 it would still be a big help and a basis of something to build off of for 3.0.

    .

    Well… think the best thing to do should be :

    STEP 1 :

    Sleep. Cry. Sleep. Howl. :)

    STEP 2

    -restart from scratches if I feel the courage for it :)

    -write a new plugin that creates a new blog just for Classifieds at the plugin’s activation.

    -All the members of the BuddyPress installation would be members of that blog and so have the capability to write posts.

    -Use the posts on that blog as the “classifieds” displayed in the BuddyPress site.

    -Control the data sent – number of images used in the post, number of chars, post boxes displayed, etc).

    -Add the BP features for notifications, activity, “attaching” classifieds to groups and so.

    -use that blog as the basis of my plugin; then

    STEP 3

    This will be able to make the component ready for WP 2.9 or WP 3.0…

    There shouldn’t be lots of stuff to modify in the code. change the post types of the posts in the custom blog to “classifieds”, move them to the main blog and add specific capabilities to decide who can do what. Example : you could be able, as subscriber, to write classifieds but not posts or pages.

    And why not differenciate classifieds written on the main blog and classifieds written on a user’s blog, if any (ex. company blog).

    STEP 3b

    Add a BP-friendly posting system ?

    So here’s where I am.

    As I said I’m feel a little sorry.

    Maybe I should have though of handle the data from my component from a blog from the beginning. But that when we make mistakes that we go further !

    The good thing is that I learned a lot about WordPress & BuddyPress and that I know now what I can do with it, and i’ll release my own BP project soon or later. And that once that custom post type system will be available, writing the classifieds component should be a piece of cake, or almost.

    If I feel it, i’ll start to rewrite it soon as I explained it in step 2. But I have a lot of work now so I’m not sure I will be able to do this at this moment. I’ll tell you about it in a few days.

    Anyway, RIP (for the moment) my-custom-component :) You can still see some pictures of the work achieved here : http://dev.benoitgreant.be/2009/11/18/classifieds-component-postponed/

    #7564
    Ezd
    Participant

    Hi,

    I’d like the members page to have a more creative layout.

    Is it possible to show like 3 members on each row instead of just showing 1 member on each row?

    Also on each row, I’d like each of the 3 member’s thumb, name and activity-stamp to have a gray square block as “background”, if you know what I mean.

    How is this possible?

    Thanks.

    #56277
    Andy Peatling
    Keymaster

    All of the content that is output with bp_activity_content() is stored in the database. This is mostly for performance reasons. If this data had to be recreated on each page load, you’d be looking at hundreds and hundreds of queries.

    You can modify it with a filter though, but you’re limited to string replacement and css modifications:

    function my_function( $content ) {
    return $content; // do something with the content first
    }
    add_filter( 'bp_get_activity_content', 'my_function' );

    You can put this in your own plugin, or in bp-custom.php.

    #7486
    elemsee
    Participant

    Getting fatal error in upgrading BP that I’ve not found in forum search (long post, the “help us help you” information is lengthy)

    I followed the instructions in this post:

    http://codex.buddypress.org/getting-started/upgrading-from-10x/

    2) Which state to deactivate all BP-related plugins (I only had one, already deactivated)

    3) I deactivated Buddy press

    4) I downloaded latest version, uploaded it via FTP using Firezilla and overwrote the previous BP folder

    5) Returned to plugins page to re-activate BP, which is when I received this Fatal Error:

    Fatal error: Cannot redeclare bp_activity_install() (previously declared in /chroot/home/barliman/barlimans.com/html/wp-content/plugins/buddypress/bp-activity.php:19) in /chroot/home/barliman/barlimans.com/html/wp-content/plugins/buddypress/bp-activity.php on line 52

    Steps 6 I haven’t attempted

    Step 7: I was using default themes, but the instructions imply deleting bp-themes folder and etc. should happen *after* you reactivate BP.

    I’ve looked through the forum and didn’t find another “fatal error” instance with this particular problem, so, as per: http://buddypress.org/forums/topic/trouble-upgrading, I’m creating a new thread

    Here are the details pertaining to the “Help us Help you” questionnaire.

    1. Which version of WPMU are you running?

    Upgraded to 2.8.5.2 just prior to this

    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?

    Directory

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

    Yes, the immediate preceding version

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

    Yes

    6. Which version of BuddyPress (BP) are you running?

    it was 1.1.1, whatever the previous recent version was

    7. Did you upgraded from a previous version of BP? If so, from which version?

    See above

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

    When first attempting upgrade I did have non-BP plugins activated, but after first received error message, I restored my site, deactivated ALL plugins, but still received fatal error

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

    Standard (only had replaced logo with our own, by adopting the default logo name)

    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?

    Not running BPress

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

    I can provide these if needed, but I think they’re preventing my post from showing up.

    #7483
    elemsee
    Participant

    Getting fatal error in upgrading BP that I’ve not found in forum search (long post, the “help us help you” information is lengthy)

    I followed the instructions in this post:

    http://codex.buddypress.org/getting-started/upgrading-from-10x/

    2) Which state to deactivate all BP-related plugins (I only had one, already deactivated)

    3) I deactivated Buddy press

    4) I downloaded latest version, uploaded it via FTP using Firezilla and overwrote the previous BP folder

    5) Returned to plugins page to re-activate BP, which is when I received this Fatal Error:

    Fatal error: Cannot redeclare bp_activity_install() (previously declared in /chroot/home/barliman/barlimans.com/html/wp-content/plugins/buddypress/bp-activity.php:19) in /chroot/home/barliman/barlimans.com/html/wp-content/plugins/buddypress/bp-activity.php on line 52

    Steps 6 I haven’t attempted

    Step 7: I was using default themes, but the instructions imply deleting bp-themes folder and etc. should happen *after* you reactivate BP.

    I’ve looked through the forum and didn’t find another “fatal error” instance with this particular problem, so, as per: http://buddypress.org/forums/topic/trouble-upgrading, I’m creating a new thread

    Here are the details pertaining to the “Help us Help you” questionnaire.

    1. Which version of WPMU are you running?

    Upgraded to 2.8.5.2 just prior to this

    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?

    Directory

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

    Yes, the immediate preceding version

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

    Yes

    6. Which version of BuddyPress (BP) are you running?

    it was 1.1.1, whatever the previous recent version was

    7. Did you upgraded from a previous version of BP? If so, from which version?

    See above

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

    When first attempting upgrade I did have non-BP plugins activated, but after first received error message, I restored my site, deactivated ALL plugins, but still received fatal error

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

    Standard (only had replaced logo with our own, by adopting the default logo name)

    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?

    Not running BPress

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

    ERRORS:

    [Sun Nov 08 15:08:41 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1

    [Sun Nov 08 15:08:43 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1

    [Sun Nov 08 15:08:44 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1

    [Sun Nov 08 15:08:51 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1

    [Sun Nov 08 15:08:51 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1

    [Sun Nov 08 15:08:52 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/wp-admin/plugins.php?error=true&plugin=buddypress%2Fbp-loader.php&_error_nonce=966100c537

    [Sun Nov 08 15:08:53 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/wp-admin/plugins.php?error=true&plugin=buddypress%2Fbp-loader.php&_error_nonce=966100c537

    [Sun Nov 08 15:08:53 2009] [error] [client 68.196.146.62] PHP Fatal error: Cannot redeclare bp_activity_install() (previously declared in /chroot/home/barliman/barlimans.com/html/wp-content/plugins/buddypress/bp-activity.php:19) in /chroot/home/barliman/barlimans.com/html/wp-content/plugins/buddypress/bp-activity.php on line 52, referer: http://barlimans.com/wp-admin/plugins.php?error=true&plugin=buddypress%2Fbp-loader.php&_error_nonce=966100c537

    [Sun Nov 08 15:08:53 2009] [error] [client 68.196.146.62] PHP Fatal error: Cannot redeclare bp_activity_install() (previously declared in /chroot/home/barliman/barlimans.com/html/wp-content/plugins/buddypress/bp-activity.php:19) in /chroot/home/barliman/barlimans.com/html/wp-content/plugins/buddypress/bp-activity.php on line 52, referer: http://barlimans.com/wp-admin/plugins.php?error=true&plugin=buddypress%2Fbp-loader.php&_error_nonce=966100c537

    [Sun Nov 08 15:10:39 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0

    [Sun Nov 08 15:10:40 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/

    [Sun Nov 08 15:10:40 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/

    [Sun Nov 08 15:10:40 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/

    [Sun Nov 08 15:10:40 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/

    [Sun Nov 08 15:10:40 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/

    [Sun Nov 08 15:10:40 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/

    [Sun Nov 08 15:10:40 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/

    [Sun Nov 08 15:10:43 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/

    [Sun Nov 08 15:10:43 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/category/hall-of-regulars/

    [Sun Nov 08 15:10:43 2009] [error] [client 68.196.146.62] PHP Warning: Module ‘mbstring’ already loaded in Unknown on line 0, referer: http://barlimans.com/category/hall-of-regulars/

    Note: “hall of regulars” being where BP is

    #7464
    Bowe
    Participant

    Hi everyone,

    Is it possible to hardcode a widget into your homepage.. so that you can give it a custom width and are not limited to the widget sizes in your theme ?

    I have a 3 Column layout but would like to have 2 columns at the top of my homepage which shows the SiteWide Activity Feed on the Left and the Paginated Site Wide Post (http://webscripts.softpedia.com/script/Modules/WordPress-Plugins/BP-Paginated-Posts-55471.html) plugin on the Right.

    The left part is easy because that’s 1 big column and is widgetized but I need to hardcode the other widget before the actual 2 widget columns to make this work.. Any help would be greatly appreciated! And please keep in mind that I’m a total php n00b :P

    #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.

    #7395
    madyogi
    Participant

    I need some help guys and gals …

    I am designing a custom theme, completely from scratch, for an install of WPMU, including BuddyPress. I’m running WPMU 2.8.4 right now and BP 1.1.1. What I’m trying to do doesn’t seem like it would be that hard. I’m just obviously not understanding the whole scope of what I need to know.

    I basically need to load specific information into header/footer/content areas of various pages (including, but not limited to archives, 404’s, single posts, pages, buddypress pages like profile, activity, etc). My strategy has been to create custom header and footer files for each necessary case, then use an if … elseif … else statement in the main header.php/footer.php files to include the appropriate content.

    While I seem to be able to get this work in many different occasions, blending the buddypress pages with the WPMU pages (particularly search, archive, and 404) has proven difficult. Apparently, BuddyPress pages like Profile, Activity, etc return true to the following WP Conditionals placed in my header.php – is_archive(), is_search(), and even is_404() if you can believe that.

    I know this is dragging on, but please stick with me if you can, because I am highly frustrated. To make matters more confusing, once we have included the header, in this case headerHome.php, I then run an if … elseif … else statement to determine which of the main menu tabs should be set to active, and it always shows correctly.

    I am totally befuddled by this. It seems that the two statements, which are essentially identical except for what info they return, should display the right content. Here are the two code examples:

    From header.php

    <?php

    if ( is_home() ) {
    include (TEMPLATEPATH . '/../ARHealthCareersFrameTheme/customHeaders/homeHeader.php');
    } elseif ( is_single() ) {
    include (TEMPLATEPATH . '/../ARHealthCareersFrameTheme/customHeaders/homeHeader.php');
    } elseif ( is_page(array ('Why We\'re Here', 'ahecs') ) ) {
    include (TEMPLATEPATH . '/../ARHealthCareersFrameTheme/customHeaders/homeHeader.php');
    } elseif ( is_archive ) {
    include (TEMPLATEPATH . '/../ARHealthCareersFrameTheme/customHeaders/homeHeader.php');
    } elseif ( is_search ) {
    include (TEMPLATEPATH . '/../ARHealthCareersFrameTheme/customHeaders/homeHeader.php');
    } elseif ( is_404 ) {
    include (TEMPLATEPATH . '/../ARHealthCareersFrameTheme/customHeaders/homeHeader.php');
    } else {
    include (TEMPLATEPATH . '/../ARHealthCareersFrameTheme/customHeaders/communityHeader.php');
    }

    ?>

    From this code, all BuddyPress pages display the homeHeader.php file. Curiously, however, if I remove the is_archive, is_search, and is_404 lines, communityHeader.php loads correctly.

    Here is the bit of code from homeHeader.php

    <?php
    if ( is_home() )
    $mainMenuTab=0;
    elseif ( is_single() )
    $mainMenuTab=0;
    elseif ( is_archive() )
    $mainMenuTab=0;
    elseif ( is_page(array ('Why We're Here', 'ahecs')) )
    $mainMenuTab=0;
    elseif ( is_search() )
    $mainMenuTab=0;
    elseif ( is_404() )
    $mainMenuTab=0;
    else
    $mainMenuTab=2;
    ?>

    So, with my original header.php file, all BuddyPress pages show homeHeader.php instead of communityHeader.php. However, the variable $mainMenuTab will be set to 2, which means the code atop homeHeader.php is performing as I would expect, but not the code inside the header.php file.

    Anyway, I know this is a lot to weed through, but I would greatly appreciate any thoughts you all might have as to why I am banging my head against the wall on this one. Things would be easier if the BuddyPress conditionals would perform as expected, but I have had no luck with the conditionals like bp_is_user_profile and others.

    Am I just going about this task in the wrong way? Do I not really have a sound understanding of how to accomplish this particular task? Or is something just screwy?

    Please help if you can.

    #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?

Viewing 25 results - 1,201 through 1,225 (of 1,252 total)
Skip to toolbar