Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'display users posts'

Viewing 12 results - 276 through 287 (of 287 total)
  • Author
    Search Results
  • #43349

    In reply to: buddypress + p2 theme

    hyrxx
    Participant

    i think the problem your having is the fact that p2 is not a “buddypress theme”

    like in the main theme how it has a large widget area and 2 small ones, and also has a BLOG tab where the main blog is

    the problem your having with p2 (and any other standard wordpress theme) is the BLOG tab is displayed on the main page rather than a large widget sidebar, as the recent blog posts thing is actually a widget, if you put this widget in your p2 sidebar you will see a direct comparison between the 2

    currently you cant have a p2 “theme” that aggregates ALL blog posts like the buddypress widget does,

    all the users will be posting to the main blog if you want them to use p2, and if you do then the current skin should be fine? it was designed to show comments

    im sure you could add some nice jscript to add collapsing comments? this would probably bring better functionallity to your site if you didnt want the comments taking up the whole page?

    thebigk
    Participant

    Hello,

    This must be simple but I\’m not able to figure this out. When I choose the widget to display most recent admin posts on the site front page, it only displays the title text (as a link). I\’d rather want to show the full post or upto \”read more\” link.

    This is just like on buddypress.org where Andy\’s posts are displayed on front page.

    How do I do that?

    Update: There’s a difference between the default “Recent Blog Posts” and “Recent Posts” widgets. The recent blog posts shows the posts from the blogs of all the users registered on the site. The ‘Recent Posts” (admin’s posts) shows the links, instead of the blog text.

    #39023

    In reply to: BP Avatars in bbPress

    Well, while the GF is in the shower, I’ll quick do this… Burt this is aimed directly at you, since I gather most others won’t want to do this kind of thing…

    oci_bb_group_forums.php:


    This prevents wrong inclusion order when using deep forum integration.

    if (defined(BACKPRESS_PATH))
    require_once( BACKPRESS_PATH . '/class.ixr.php' );

    This will return ALL user info, in the event that bbGroups does not exist yet for that user.

    function oci_get_userdata($u){
    $u = (int) $u;
    $user = bb_get_user($u);
    if ($user->bbGroups) {
    return stripslashes_deep((array)$user->bbGroups);
    } else {
    return stripslashes_deep((array)$user);
    }
    }

    oci_bp_group_forums.php:


    This prevents wrong inclusion order when using deep forum integration.

    if (!defined(BBDB_NAME))
    require_once(ABSPATH . WPINC . '/class-IXR.php');

    This is how I passed the user info over from xprofile to bbGroups:

    /**
    * oci_get_user_filter()
    *
    * Live example of how to use the filter mechanism to add info to the data going across to bbpress
    * This filter adds the user's forums and forums where the user is staff into the $user array
    * @return
    * @param associative array $user from oci_get_user()
    */
    function oci_get_user_filter($user){
    $users_group_info = oci_get_users_group_info($user['id']);

    $user['users_forums'] = $users_group_info['forum_ids'];
    $user['user_is_staff'] = $users_group_info['staff_ids'];

    $user['custom_title'] = bp_get_field_data('Custom Title', $user['id']);
    $user['signature'] = bp_get_field_data('Signature', $user['id']);
    $user['aim'] = bp_get_field_data('AIM', $user['id']);
    $user['yahoo'] = bp_get_field_data('Yahoo!', $user['id']);
    $user['gtalk'] = bp_get_field_data('GTalk', $user['id']);
    $user['msn'] = bp_get_field_data('MSN', $user['id']);
    $user['jabber'] = bp_get_field_data('Jabber', $user['id']);
    $user['icq'] = bp_get_field_data('ICQ', $user['id']);

    return $user;
    }
    add_filter('oci_get_user','oci_get_user_filter',10,1);

    oci_bb_custom.php


    How I transfer the username (just in case fullname hasn’t been edited from wordpress.org transfer – see above oci_get_userdata changes):

    function oci_user_name($u){
    $bp_user = oci_get_userdata($u);
    if ($bp_user['fullname']) {
    return $bp_user['fullname'];
    } else {
    return $bp_user['display_name'];
    }
    }

    bbpress/active-theme/functions.php


    What I added to make the custom functions go:

    add_filter('get_user_profile_link', 'bppro_user_profile_link', 10, 2);
    function bppro_user_profile_link($link, $uid) {
    $user = bb_get_user($uid);
    return(bb_get_option('wp_siteurl').'/members/' . $user->user_login);
    }

    function bppro_user_url() {
    global $bp;
    return($bp->loggedin_user->domain);
    }

    function bp_check_title($user) {
    $user_id = get_post_author_id();
    $user = bb_get_user($user_id);
    $user_title = $user->bbGroups['custom_title'];

    if ($user_title) {
    return $user->bbGroups['custom_title'];
    } else {
    return;
    }
    }
    add_filter('post_author_title', 'bp_check_title');
    add_filter('post_author_title_link', 'bp_check_title');

    function post_author_signature() {
    $user_id = get_post_author_id();
    $user = bb_get_user($user_id);
    $user_signature = $user->bbGroups['signature'];

    if ($user_signature) {
    echo '<p class="post-signature">__________<br />' . $user->bbGroups['signature'] . '</p>';
    }
    }

    bbpress/active-theme/post.php


    Displays avatar from BuddyPress if it exists, else bbPress/Gravatar. Also displays hooked data from above functions.php:

    <div class="threadauthor">
    <dl>
    <dt><a class="oci-link" href="<?php echo oci_user_link($bb_post->poster_id); ?>"><?php echo oci_user_name($bb_post->poster_id); ?></a></dt>
    <dd><span class="oci-title"><?php $patl = post_author_title_link(); ?></span></dd>
    <dd><?php if (oci_user_avatar($bb_post->poster_id)) { echo oci_user_avatar($bb_post->poster_id); } else { post_author_avatar_link(); }?></dd>
    </dl>
    </div>
    <div class="threadpost">
    <div class="poststuff">
    <?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> <a href="<?php post_anchor_link(); ?>">#</a> <?php bb_post_admin(); ?><?php bb_quote_link(); ?>
    </div>
    <div class="post">
    <?php post_text(); ?>
    </div>
    <?php post_author_signature(); ?>
    </div>

    #38784
    hyrxx
    Participant

    i would like to see member themes changeable on a per user basis so they can have their own skins as such, and also allow them to create their own, i think we need to collaborate as to what the user can change and what they cant, it would be nice to allow them selected css,

    i would also like to see the modules changeable in a drag and drop kinda way and allow the user to choose which modules they do or do not want to use,

    im interested in a love plugin which allows users to post a little love icon with thier wire posts but i could also see this being extended to comments, i have made a request for it before but got no replies so visit my profile for the topic,

    last fm integration would be majorly cool i think, as it would rival many of the ‘apps’ out there on the larger social networks. building on this area of things you could also add twitter, etc. so i guess what im trying to say is focus on the users ‘lifestream’

    when the user logs in i want them to go straight to the dashboard but the dashboard should have things like pending freind requests, groups to join, latest comments, profile stats (incuding who visited thier profile), options and such like, and an aggregation of thier freinds activity updates. when i visit my site i dont care what user a,b and c are up to im just interested in what my freinds x,y and z did recently,

    so it would be very useful to have these widgets in the dashboard, that way everything is centralised for the user to do things,

    another thing i thought would be useful was profile privacy options, allowing members to discriminate based on age eg, users over X cant visit profiles for members under 18 or whatever, maybe allow the user to choose who can contact them / add them etc,

    also have a block ability and mark as spam,

    the profile itself should have 3 modes of operation, public – everything is displayed, semi private, freinds can see full profile, non freinds can see selected modules / different modules only, and fully private – the user must be freinds to see anything other than name, age and city/ country.

    i have used the profile sidebar plugin, but as of yet there are no freinds or group widgets for it, i would like to see these with a good amount of configurability options allowing for things like top freinds, other half etc

    sorry for such a long post but i would like to see these features implemented as i think they would greatly enhance buddypress!!

    thanks!!

    #36700
    jodyw1
    Participant

    “Can you also then have BP post the most recent -forum- posts from a users blog” should have read “**blog** posts…”

    No need to be unduly confusing.

    #3209
    jodyw1
    Participant

    I’ve got another “do you think this will work?” question.

    On the existing C# site I run, individual bloggers have the ability to tag a post on their individual blog and, provided they’re a member of a special group, that blog entry will then appear on the main page of the website. I’m trying to figure out how to do that in BP.

    In theory, I should be able to adapt the BP “Recent Blog Posts” code right? The simplest thing would be just to tell BP to also look for some specific tag in the tag field and only display those posts.

    What about if you assign users to a particular BP group? Can you also then have BP post the most recent forum posts from a users blog, but only if they are also a member of that group? Is that difficult job or an easy one?

    Right now, under BP, any members from the wider social network would have to join the main-page blog, be given publishing rights, then create and publish an entry there. If they also wanted said entry to appear on their own individual blog they’d have to copy and paste it over. I’m trying to remove one step, to enable the ability to easily “cross-post,” but I go back and forth as to thinking if it’s a major coding job or not.

    #3105
    neuromancer2701
    Participant

    I need a fairly basic widget for the front page that displays “Help Needed”. Users can posts needs and tie them to specific groups. I have looked at some of examples that buddypressdev has but that is more so for pages. Almost all of this functionality is in the widget.

    Where is a good starting point?

    Thanks in advance

    Anonymous User 303747
    Inactive

    I created a number of users for the default blog, let’s say User 1 (admin), User 2 (administrator) and User 3 (contributor). Next I write 3 posts, post 1 attributed to User 1, post 2 attributed to User 2 and post 3 attributed to User 3.

    * Widget ”Site Wide Activity” lists blog activity incorrectly. Post 2 and 3, while written by User 2 and 3, are displayed as written by User 1. “User 1 wrote a new post abcd” where it should have been “User 2/User 3 wrote a new post abcd”.

    * Widget ”Recent Blog Posts” does list the activity correctly (by author from the blog xxx)

    The erroneous behavior continues on the ”my activity” tab on the user profile. The blog posts are lists on User 1’s profile and missing on that of User 2 and User 3 respectively.

    Can anyone confirm this behavior and provide some pointers for a fix?

    #2869
    iamzaks
    Member

    Hi all, I installed Buddypress, followed the instructions, it’s not the first time I do it, so I was familiar with the process and can be sure that all was done properly. I tried installing it on my site (so far I had done t in test sites on my server) and I see that the main blog http://iamzaks.com loads blank when any theme is selected other than the default WPmu home theme. I just updated to WPmu 2.6.5 and installed the latest version of Buddypress.

    I see that all other blogs load no problem, I even loaded the Buddypress Home theme on one of the user’s blogs and it works fine. The User pages work fine and everything else works, the problem is only with the main blog. I believe it to be a Widget problem, since I get a blank “wp-admin/widgets.php” page for the main blog. When I erase BuddyPress from the mu-plugins folder, the main blog is displayed with the BP home theme, but only a small header line is rendered. All other themes work in this situation.

    I don’t know what else to do, and it is very urgent that I fix this problem because this is my main site and there are a lot of impatient users.

    As I was writing this post, I re-uploaded the mu-plugin directory files, and now the Buddypress home theme works, however, there still is a problem with a widget, I am trying to isolate it, and the problem originates in the left column of the BP Home theme, because the problem with the widget page is that the sidebar 1 does not load, sidebar 2, 3 and blog sidebar are editable. In that column, there are only 2 active widgets, the “Welcome” and “Recent Posts” widget.

    Any ideas?

    Thank you very much in advance.

    #34217
    st9bp
    Member

    I’ve also noticed that for certain users who do have blogs, in their Profile it says ‘hasn’t created any blogs yet’

    #2539
    Pedro Candeias
    Participant

    Buddypress is great.

    A couple of suggestions for new features:

    1. Following: User should be able to follow other users activities without having to be friends.

    Example: I really like a users comments so i could follow him and be updated of his activities (where he commented, posted, added as friend).

    2. Followers: A user should be able to see who is following.

    Example: So if I’m followed be some users, maybe some of them like the same subjects as me, i would really like to see who is following me.

    3. Recommended: A user should be able to recommend post from the social network, user, whatever, and display this recommendations.

    Example: I think people should really read this post so, i could recommended it.

    4. Favorites: A user should be able to add favorites from the social network. Like favorites posts, favorites user, favorite groups, etc.

    Example: Like my own personal bookmarks that everyone can see.

    #2435
    Burt Adsit
    Participant

    NOTE: this is a repost from my blog. I realized that this was a more appropriate place to have a discussion.

    My Blogs really should show all the blogs that a user can author posts in. Anything more than subscriber rights should be available under My Blogs. If I’m a contributor or author in a blog, I consider it ‘My Blog’. I have more than a passing interest in that blog.

    The admin bar is now displaying ‘Blog Authors’. Looks like bp goes out and does a get_blogs_for_user() which gets all the blogs that user has created. It builds the ‘My Blogs’ menu. Farther down in the admin bar code we are building the ‘Blog Authors’ for the current blog. Now we know all users with more than a subscriber role.

    If the current logged in user is in the current blog’s authors list AND the current blog is not in the users array of My Blogs (created) then add the current blog to the bp_user_blogs table.

    I don’t know what the implications of that in bp are though. Would it make *any* difference if bp_user_blogs contained blog id’s for blogs other than those that were created by each user? This would make that table more of a ’subscription’ table. I know this would be of value on my site.

    Eventually Groups will have blogs. If I want to easily visit all my fav blogs, I’d go to each group and browse the blog for that group. However, I’m sure that some blogs may not have groups associated with them in the blog community. It would be *alot* easier if I could visit any blog I have authorship in just by picking it out of the My Blogs list.

    Wadda ya say?

Viewing 12 results - 276 through 287 (of 287 total)
Skip to toolbar