Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'display users posts'

Viewing 25 results - 101 through 125 (of 135 total)
  • Author
    Search Results
  • #74430
    devinday
    Member

    Hi Andrea,

    Thanks for stickin with my questions here :)

    I do understand that single wordpress only has one blog. What I don’t understand is how to display that one blog to users.

    on my buddypress (single wordpress) install I have the homepage showing the activity feed rather than the it showing the latest wordpress post. When I have this the blog seems to disappear entirely.

    Can you tell me how I would create a tab (called blog) that would show all the blog posts instead of showing just a page I titled blog. I am a little lost on how to get the single blog showing up for users to easily find in the navigation.

    I hope I made sense. Thanks Andrea.

    BTW – Love your blog on WPMU – you have a lot of great tutorials and info. Great stuff.

    #73006
    Boone Gorges
    Keymaster

    Perhaps not the optimal solutions, but:

    https://wordpress.org/extend/plugins/forum-attachments-for-buddypress/ allows users to attach files to forum posts, including pictures (which will then display inline).

    https://wordpress.org/extend/plugins/bp-tinymce/ *should* work to give basic bold/italic/link stuff for forum posts. I haven’t done a very good job keeping this plugin up with the latest BP developments, so please test in a development environment first.

    #73106
    Boone Gorges
    Keymaster

    Perhaps not the optimal solutions, but:

    https://wordpress.org/extend/plugins/forum-attachments-for-buddypress/ allows users to attach files to forum posts, including pictures (which will then display inline).

    https://wordpress.org/extend/plugins/bp-tinymce/ *should* work to give basic bold/italic/link stuff for forum posts. I haven’t done a very good job keeping this plugin up with the latest BP developments, so please test in a development environment first.

    #72261
    snark
    Participant

    Thanks @boonebgorges and @3sixty — I went with @3sixty’s solution and decided to make a copy of the function for the post count and then call them out as separate “Forum Topics” and “Forum Replies” counts, rather than totaled together, in the yellow activity bar on the member profile page like this:

    <span class="activity">
    <?php bp_last_activity( bp_displayed_user_id() ) ?>
    | Forum Topics: <?php echo get_new_forum_topic_count_by_user( bp_current_user_id() ) ?>
    | Forum Replies: <?php echo get_new_forum_post_count_by_user( bp_current_user_id() ) ?>
    </span>

    This works well, as you can see on the member pages at http://www.wordlab.com/. I decided to forgo adding the post count to the topic list anyway, so I’m all set.

    The only bit of information I would have liked to have added to the member profile pages is a count of blog posts, which I figured out easily enough, but to only have that count display on the member profiles of those members who have permission to post to the blog, which on this site is only 3 out of over 200 members. So for the three members who have blog posts, there would be an added count, like this, “Blog posts: 46”, but for all other users instead of saying “Blog posts: 0”, I tried to craft a conditional tag but I couldn’t get it to work right — the count just kept showing up on all user profile pages. Any ideas?

    #69921
    arezki
    Participant

    yes, correct assessment, but there is a potential solution, if i am right. first about BP: the default theme used to be “widget” ready or friendly, meaning that you can decide what goes in there from the Widget Admin area. This latest version brings essentially major changes in the codes that organize user behavior, but not so easy on the theme side. In fact, there aren’t any themes, may be 2 or 3, that are BP1.2.2.1 compliant and easy to just deploy. However, the Buddypress creators and developers say that you have to create what they call a child theme and then make whatever changes you want from there, probably including making the first “Activity” page as your landing page. Now, one very smart developer released this base theme, http://freebpthemes.com/onsite/sense-sensibility/ If you have bandwidth, time and some technical capabilities, I would recommend having a look.

    Now WordPress(MU) may allow u to pick your activity page as the landing page. In your WP Admin section, scroll down to the Settings area (left column). You see “Reading”. In it, it will let you choose “Front Page Display.” You may try to select “Static Page” and open the drop down menu for Front Page and select the Activity Stream page. Then save. By doing, I suspect, since I did not try it, the Activity Stream page (Facebook-like section) will be what your visitors will see when they hit your website.

    One think you may want to consider. The Activity Page puts any acvity across your site on that page. If you have a lot of people, that could be overwhelming. There is, however, one plugin u should find on this site called: BuddyPress Friends Only Activity Stream. It essentially should show only activity from the memeber’s friends. Again, I did not try it, but I plan so.

    Good luck

    Arezki

    #69665
    jedbarish
    Participant

    Im so impressed with the beta so far!

    Tags: We need to have options for multiple albums by tag or my own created categories like a regular blog to organize posts both ways.

    Member Tags: It worked… when you create tags then it produced as an album on another member’s my pictures which I have to click through twice to see the picture. It will be easier to click once to see the picture instead creating album if I happen to create my own album with same tag as other created then it will be displaying in my existing album. I think the multiple album need to avoid using tags.

    Picture activity and comments: Its cool but not for each single upload if I want to place them under same album instead postin new activity for each picture. Everyone will lose their interests in activity section with lots of members uploading their pictures.

    Upload picture: It took me a while to upload 10 photos using a single upload option :( We must improve in this area to attract users to stay around instead going back to Facebook. It needs to improve when I upload multiple photos with my categories/albums instead tags because if I mistype the tag name then it create its own album instead the place where I want it to be in.

    http://deafnation.com/bpalbum.jpg: Check the link for the image. It doesn’t look good on bp default theme when I tried to post 9 images without tag so it created its own album without tag so anyway my theme already been fixed at 960px width and the photos screwed up around. I have an issue with Picture title in the menu/navigation of bp-album because if I create a title longer than it should and it ll not be looking good. It should be removed from that area to avoid messing it up with longer title :)

    Whats the difference between scale and resize option? So far, the admin side looked good and so curious how it looks with facebook and flickr at my end!

    We need to improve creating albums instead tags or display my tags (albums) under upload page instead trying to remember many different tags. We need to polish some features before adding new ones. Hope we ll be seeing a mobile upload feature someday. That’s all folks!

    #69576
    Mariusooms
    Participant

    Thanks for giving it a look guys…it is so helpful to get another set of eyes on there as I was looking at completely different things. Here goes:

    @avi-m

    will the tags show up on the main page tags widget?

    On the blog pages they show in relation to the blogs’ tags. For the main page you would need a sitewide tags widget. Look here: http://wpmututorials.com/plugins/sitewide-tags-0-4/

    @Bowe

    The magazine theme layout looks cool, but I feel it’s bit overwhelming for certain users. especially on lower resolutions I feels a bit crammed

    I agree, it needs some testing and wiggling. I noticed the colums are not behaving how I want them to as well. I like your comp, it is in between a Microblog and Magazine layout. I might just include that unless there are other suggestions.

    To avoid confusion I would probably rename Status Update in the groupblog to something like News Update or Blog Update, so that it does not get mixed up with a status/activity update in BuddyPress.

    Yes, it seems posting updates is not needed and we should encourage users to post media from this point. I think Ideally the update form from buddypress would exist in a top screen dropdown (not sure how you call those web 2.0 things). So you could post updates at any time and doesn’t take away real estate.

    Maybe allow the user to switch to a full markup mode or tiny editor to have more control over longer posts.

    This functionality would have to be born at the P2 theme. We just use there functionality. Whatever they develop, we inherit. I already hacked the main P2 a tiny bit to include the allowed categories and ajax feedback. Since it is a theme created by Automattic I think it is a safe horse to bet on.

    @Anointed

    preview blog post before posting it

    Yes, I was surprissed to by this when using P2 the first time. I didn’t expect img code in the post form, but it makes sense. A preview screen would be very nice. Again, this is something that would needed to be developed by the P2 theme. Unless anybody can supply some code we code integrate.

    ability to edit the post after it’s posted.

    There are actually a bunch of P2 features I omissed. Like keyboard shortcuts and inline editing. I’m going through the P2 theme and comb through what is still missing, inline editing is one of them. Thanks for mentioning that.

    @pcwriter

    preview and edit functions are musts

    As mentioned previous :) Basicly inline editing is a core feature so no problem. The preview of posts I’m not sure. I wonder if there’s a feature request section for the P2 developer crew.

    clicking any category tag displays the archive for that tag on a page that has no group header.

    You are absolutely right. I’m only including the group header in single, but this is something I can add in with a few lines. Just didn’t get to it yet, but was already to excited to share what the development was.

    @R-A-Y

    if you have ”Disable activity stream commenting on blog and forum posts?” set to ”Yes” in the BP admin area, I’m guessing this wouldn’t work

    Ha, yes you are right. I want prioritize buddypress activity comments since they are more sitewide than individual blog comments. This helps prevent forking of discussions and the discussion can take place at multiple stages. We could do an easy conditional to check if activity comments are disabled and then include the regular comment form instead.

    I guess for backward compatibility for old blog comments we should show those on the blog posts as well.

    Agree with Bowe about blog status updates.

    yes…

    I must be daft, but I couldn’t find the alternate layout options screen

    Currently this is controlled by the site-admin. So one layout rules them all. We quickly realized that it would be much better for the site-admin to allow group creators to choose a layout. This way you can have diverse groupblog expressions. We just did not get around coding that yet.

    There is still a bunch of stuff we need to add and fix. Pitfalls also include group admins to change the theme of their blog (I just of that) as well as we need to see if we can omit the featured category from the backend for group members who are not admin or mod. An many other stuff.

    So it is a bold task to include P2 support and does add some dependency, but at the end I do think it adds to the overall value. We just need to smooth out what and who the plugin is used. Your feedback help us with that.

    Come WP3.0 I hope P2 changes to post-types rather than categories, but we will see.

    #68867
    Boone Gorges
    Keymaster

    Yeah, it’s a bit of a change, isn’t it?

    My strategy for making the transition easier for my users is two-fold:

    1) Make the profile the default view for users (rather than activity), by adding

    define( 'BP_DEFAULT_COMPONENT', $bp->default_component = 'profile' );

    to wp-config.php

    2) Adding the @mentions profile tab, plus some explanatory text, to the members/single/home.php template in my child theme. Thus, right below

    <?php locate_template( array( 'members/single/profile.php' ), true ) ?>

    I’m adding

    <h4><?php bp_displayed_user_fullname(); ?>'s mentions</h4>
    <p>Whenever anyone posts an update on this site containing <?php bp_displayed_user_fullname(); ?>'s handle (<strong>@<?php bp_displayed_user_username() ?></strong>), it shows up as a public message below.</p>

    <p>Want to leave your own public message for <?php bp_displayed_user_fullname(); ?>?

    <div class="generic-button" id="post-mention" >
    <a href="<?php bp_send_public_message_link() ?>" title="<?php _e( 'Mention this user in a new public message, this will send the user a notification to get their attention.', 'buddypress' ) ?>"><?php _e( 'Mention this User', 'buddypress' ) ?></a>
    </div>

    followed by the activity loop, taken right from bp-default/activity/activity-loop.php, but with the following relevant modification: the arguments for bp_has_activities are

    <?php if ( bp_has_activities( 'scope=mentions' ) ) : ?>

    (You’ll have to do some styling to make it look right, but you get the idea.)

    It’s not an exact duplication of the Wire – I’ve tried to embrace the new @mention stuff, while still capturing the “leave a note for me” spirit of the Wire.

    #68272
    smuda
    Participant

    so same with

    BP_Blogs_Comment::get_total_recorded_for_user($bp->displayed_user->id);

    i guess.

    is there any way to get the total count of a users comments at the moment? i kinda don’t understands Boone Gorges code.

    snark
    Participant

    Ok, I was wrong above. @kriskl is talking about the Forums index page, while my other post — https://buddypress.org/forums/topic/changing-group-tab-display-defaults — is about changing the default tab view within the Groups pages.

    But this is an interesting problem also. I looked at your pointers above, @r-a-y , but I couldn’t figure it out. The Standard Loop page you linked to shows the code for

    bp_has_groups()

    but then below that it has the “accepted parameters” for

    bp_has_site_groups()

    a function which I couldn’t find anywhere in BP. Likewise the “most-forum-topics” & “most-forum-posts” arguments for the “type” parameter of that function.

    Here’s what I think it would be cool do do, but I’m not sure how to do it:

    Currently, logged-in users see two navigation tabs for displaying forum Topics on the “Group Forums Directory” page accessed by clicking “Forums” in the general navigation (default display tab in bold):

    [All Topics (25] [My Topics (12)]

    How to implement the addition of a new default tab that lists all of the Group Forums, with the same filtering options? then the Forums page sub-nav tabs would look like this:

    [All Forums (11)] [All Topics (25] [My Topics (12)]

    #65932
    hotdvl666
    Member

    Thank you! You guys have been of great help.

    @Philip: I have done what you’ve said, exactly, but it seems like I can only make the code work if I edit header.php.

    Here’s the code I used (I adapted the method you used in your first reply and second reply):

    <?php if (is_user_logged_in()) { ?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <head profile="http://gmpg.org/xfn/11">

    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php bp_page_title() ?></title>

    <?php do_action( 'bp_head' ) ?>

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

    <?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?>

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />

    <?php endif; ?>

    <?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?>

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" />

    <?php endif; ?>

    <?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?>

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />

    <?php endif; ?>

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />

    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <?php wp_head(); ?>

    </head>

    <body <?php body_class() ?> id="bp-default">

    <?php do_action( 'bp_before_header' ) ?>

    <div id="header">

    <h1 id="logo">" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></h1>

    <ul id="nav">

    <li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>>

    " title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?>

    <?php if ( 'activity' != bp_dtheme_page_on_front() && bp_is_active( 'activity' ) ) : ?>

    <li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class="selected"<?php endif; ?>>

    /<?php echo BP_ACTIVITY_SLUG ?>/" title="<?php _e( 'Activity', 'buddypress' ) ?>"><?php _e( 'Activity', 'buddypress' ) ?>

    <?php endif; ?>

    <li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>>

    /<?php echo BP_MEMBERS_SLUG ?>/" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?>

    <?php if ( bp_is_active( 'groups' ) ) : ?>

    <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>>

    /<?php echo BP_GROUPS_SLUG ?>/" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?>

    <?php if ( bp_is_active( 'forums' ) && bp_is_active( 'groups' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) bp_get_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?>

    <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>>

    /<?php echo BP_FORUMS_SLUG ?>/" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?>

    <?php endif; ?>

    <?php endif; ?>

    <?php if ( bp_is_active( 'blogs' ) && bp_core_is_multisite() ) : ?>

    <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>>

    /<?php echo BP_BLOGS_SLUG ?>/" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?>

    <?php endif; ?>

    <!--<?php wp_list_pages( 'title_li=&depth=1&exclude=' . bp_dtheme_page_on_front() ); ?>-->

  • Back to The 7th Zone »
  • <?php do_action( 'bp_nav_items' ); ?>

    <!-- #nav -->

    <div id="search-bar">

    <div class="padder">

    <form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form">

    <input type="text" id="search-terms" name="search-terms" value="" />

    <?php echo bp_search_form_type_select() ?>

    <input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ) ?>" />

    <?php wp_nonce_field( 'bp_search_form' ) ?>

    </form><!-- #search-form -->

    <?php do_action( 'bp_search_login_bar' ) ?>

    </div><!-- .padder -->

    </div><!-- #search-bar -->

    <?php do_action( 'bp_header' ) ?>

    </div><!-- #header -->

    <?php do_action( 'bp_after_header' ) ?>

    <?php do_action( 'bp_before_container' ) ?>

    <center>Network: The 7th Zone :: Home | Grand Theft Auto HQ | Hot Devil 666's HQ | Silent Fiona's HQ

    </center><p>

    <div id="container">

    <?php } else { ?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <head profile="http://gmpg.org/xfn/11">

    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php bp_page_title() ?></title>

    <?php do_action( 'bp_head' ) ?>

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

    <?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?>

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />

    <?php endif; ?>

    <?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?>

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" />

    <?php endif; ?>

    <?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?>

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />

    <?php endif; ?>

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />

    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <?php wp_head(); ?>

    </head>

    <body <?php body_class() ?> id="bp-default">

    <?php do_action( 'bp_before_header' ) ?>

    <div id="header">

    <h1 id="logo">" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></h1>

    <ul id="nav">

    <li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>>

    " title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?>

    <?php if ( 'activity' != bp_dtheme_page_on_front() && bp_is_active( 'activity' ) ) : ?>

    <li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class="selected"<?php endif; ?>>

    /<?php echo BP_ACTIVITY_SLUG ?>/" title="<?php _e( 'Activity', 'buddypress' ) ?>"><?php _e( 'Activity', 'buddypress' ) ?>

    <?php endif; ?>

    <li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>>

    /<?php echo BP_MEMBERS_SLUG ?>/" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?>

    <?php if ( bp_is_active( 'groups' ) ) : ?>

    <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>>

    /<?php echo BP_GROUPS_SLUG ?>/" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?>

    <?php if ( bp_is_active( 'forums' ) && bp_is_active( 'groups' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) bp_get_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?>

    <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>>

    /<?php echo BP_FORUMS_SLUG ?>/" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?>

    <?php endif; ?>

    <?php endif; ?>

    <?php if ( bp_is_active( 'blogs' ) && bp_core_is_multisite() ) : ?>

    <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>>

    /<?php echo BP_BLOGS_SLUG ?>/" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?>

    <?php endif; ?>

    <!--<?php wp_list_pages( 'title_li=&depth=1&exclude=' . bp_dtheme_page_on_front() ); ?>-->

  • Back to The 7th Zone »
  • <?php do_action( 'bp_nav_items' ); ?>

    <!-- #nav -->

    <div id="search-bar">

    <div class="padder">

    <form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form">

    <input type="text" id="search-terms" name="search-terms" value="" />

    <?php echo bp_search_form_type_select() ?>

    <input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ) ?>" />

    <?php wp_nonce_field( 'bp_search_form' ) ?>

    </form><!-- #search-form -->

    <?php do_action( 'bp_search_login_bar' ) ?>

    </div><!-- .padder -->

    </div><!-- #search-bar -->

    <?php do_action( 'bp_header' ) ?>

    </div><!-- #header -->

    <center>Network: The 7th Zone :: Home | Grand Theft Auto HQ | Hot Devil 666's HQ | Silent Fiona's HQ

    </center><p>

    <div id="container">

    <div id="content">

    <div class="padder">

    <div class="page" id="blog-page">

    <h2 class="pagetitle">Welcome to the party!</h2>

    <div class="post" id="post-68">

    <div class="entry">

    <p>Social networking at The 7th Zone is like partying! …and more! Joining in the fun at The 7th Zone is nothing like you’ve experienced on Facebook, MySpace, or any major social networking sites! Akin to a crazed, wild college party, The 7th Zone is where fun-loving youths, as well as video game enthusiasts and tech geeks can hang out!</p>

    <p>Staying up late to snag that cool-sounding medal in Halo 3, or piloting that Annihilator helicopter in Grand Theft Auto IV’s Free Mode? Fancy that VAIO Z laptop, or are you going nuts over a MacBook Pro refresh? Think the iPad is gimmicky and expected so much more? Prefer metal over the Jonas brothers, and classic Hip Hop over auto-tuned sh*t? This site is for you, the cool kid!</p>

    <p>Right here at The 7th Zone Community, you can create your own free blogs. With 500 MB of upload space, a feature-packed plugins set, and 117 beautiful themes, just how much more can you get for $0? More details here.</p>

    <p>Join us now. Registration is as easy as a few clicks! Hit the jump below to register yourself!</p>

    <div align="right">

    <h2>Register Me! »</h2>

    </div>

    <p>Edit this entry.</p>

    </div>

    </div>

    </div><!-- .page -->

    <?php do_action( 'bp_after_blog_page' ) ?>

    </div><!-- .padder -->

    </div><!-- #content -->

    <?php locate_template( array( 'sidebar.php' ), true ) ?>

    <?php get_footer(); ?>

    <?php } ?>

    For some reason, my site still displays whatever page I’m on for non-logged in users, and it does so after the footer for the else case. I have no clue what I did wrong. I have no experience in PHP code, but it looks fine to me. Is there an error I made somewhere?

    It also seems that if I set the activity stream to be the home page, the custom home page title that I’ve set in the All-in-One SEO pack doesn’t seem to take effect too. If I want to show logged in users the activity stream as the home page, with my custom home page title, how do I go about doing that?

    Thanks.

#65622
stwc
Participant

Things are looking good! One last thing I’d like to ask about/request: previously, we could link from elsewhere into a single page that displayed all the RSS items for a group, like http://example.com/groups/examplegroup/external-blog-posts. With the advent of dropdown filtering, that doesn’t seem to work anymore, which I understand, but I’d love to be able to do.

Is there anyway we can pass a parameter in a URL, say, that would autofilter the Group page on load, to show RSS feeds (or any of the other ‘sections’ in the Group)? I’d really like to be able to do this, rather than just linking to the Group with instructions (for non-savvy users) to click on the filter button..

#65325
peterverkooijen
Participant

Marius Ooms posted an update about the bp-groupblog plugin here.

Per definition what works within your blog should also work on your groupblog. All you need is the blog id that belongs to the group. If you look at the template files you’ll see how we set the blog id and use switch blog to change blog id’s.

That’s probably what I should focus on to fix my problem!

Looking ahead we are even going further and reversing the concept of pulling in specific blog content into the group, but let the blog be the group and pull in buddypress information to the blog itself. … The main group slug would just forward to the blog home page.

I had thought about that as possible solution to the referrer check mismatch problem; just make the blog homepage, where P2 does work, the group homepage.

But I think it would create more confusion. In my theme I want to keep blogs looking like blogs and turn the group homepages into the centers for social networking activity.

So the group blog homepage would display the same posts as on the group homepage, but in a traditional blog view. Most users would see the group blog posts on the group home page or in the single.php view.

Forwarding the group slug to a blog and then make the blog look like a group home page breaks the logic of the site.

EDIT:

I still think that, atm, posting from the front-end is not developed far enough yet … It is fine for micro-blogging, but I don’t think there are option to include image/video/media uploading, tagging, and categories

There is in P2, leveraging WordPress media buttons. It’s very slick, with lightbox etc. (I see they’re missing from the version I had in my zip…)

In my setup I’m trying to get simple, stripped down microblogging front-end posting on the group homepage, with a traditional blog view on the blog homepage. So more advanced users can still go from the regular blog homepage into the wp-admin backend if they want to do more complicated post editing.

P2 has different tabs for Status Update and Blog Post on the post-form. I’d like to have those options in the group homepage if I can get it to work, but the stripped down Status Update would be priority there.

#63815
gregfielding
Participant

Great idea…think of the customization options that this could bring…

Logged in users could see activity from their friends, groups, blogs they “follow”, and even sitewide posts by certain category or tag.

Maybe there would be defaults where certain “top news” posts are displayed to everyone. (which would be incredible for my real estate site)

It could be like an igoogle page…

#62492
paulhastings0
Participant

So here’s my line of new code:

<?php if ( /*bp_has_activities( 'type=sitewide&max=' . $instance['max_items'] . '&per_page=' . $instance['per_page'] ) */ bp_has_activities( 'type=sitewide&action=new_blog_comment' ) ) : ?>

But it hasn’t made a difference. Like you said, it’s only showing the comments sitewide. It’s killed the rest of the activity stream (posts, wires, status updates, etc). But it’s still not showing comments made by unregistered users.

Are we both running the same versions? WPMU 2.8.6 and BP 1.1.3?

#62340
Anointed
Participant

@Headmine — JJJ had responded to some of my prior posts about this same thing, and he believed it is possible. So instead of just flooding him with a bunch of questions I spent the past few weeks reading through the codex and the bp code to see if I could figure it out on my own.

At this point I am unsure which direction to go, but I’m confident it can be done. Honestly, once people realize what I am asking for I’m pretty certain it will become a highly requested feature.

In a nutshell it would give us the ability to run our own social networks independent of each other.

#61332

In reply to: Wire Posts in bp 1.2

Ezd
Participant

+1

I just want to agree on the confusion between user- and display names. I don’t think this will ever be crystal clear to a regular user. Like if I was to @ myself on testbp.org – not knowing about the difference between user- and displaynames – and a totally different name showed up in the message-textfield, I would probably get confused and think something like:

– Is this notification being sent to the intended user?

– Should I rename @nameA to @nameB because @nameB is the name I see in the profile? (When in fact the right answer is @nameA)

– This is too confusing to continue (fallout).

Just trying to imagine how users would react on this feature. Not saying this feature is bad, but I’ve said from the beginning that it should be more user friendly and I probably don’t need to say that the user- and displaynames confusion are bugging a whole lot of users.

#61034

In reply to: Wire Posts in bp 1.2

abcde666
Participant

having an “auto-complete”-functionality based on both – username and display name – would be much better than remembering and using “@username” all the time.

So even non-techie-users would be able to intuitively understand how the website works.

#60860

In reply to: Wire Posts in bp 1.2

r-a-y
Keymaster

I agree with David about how a user will see the @username and might delete the text.

Originally posted by Andy:

Why would someone else’s activity display on your activity stream?

True, but I think adding an @mentions page on the displayed-user’s profile would help remedy users who like the wire.

You could make this page viewable if you’re logged in only.

One thing I don’t like about Twitter is I have to go to search.twitter.com to view @mentions of another user.

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

#58021

In reply to: iphone web app

jschires
Participant

Ok, I was not thinking right. What is missing is the “clear” link on the new status. It is showing “Status Display” when it should be showing “editable display” in the class code. Anyone wanna give a crack at why that would be?

I was thinking that it would be because it is not seeing the user as logged in, but of course it is…it posts to the correct users wire…

#56327
arghagain
Participant

After looking through global db, I saw the buddypress did not installed any bbpress table at all. After looking into defaults.bb-schema.php, I recreated the bbpress tables as follow:

CREATE TABLE mydb_global.wp_bb_forums (

forum_id int(10) NOT NULL auto_increment,

forum_name varchar(150) NOT NULL default ”,

forum_slug varchar(255) NOT NULL default ”,

forum_desc text NOT NULL,

forum_parent int(10) NOT NULL default 0,

forum_order int(10) NOT NULL default 0,

topics bigint(20) NOT NULL default 0,

posts bigint(20) NOT NULL default 0,

PRIMARY KEY (forum_id),

KEY forum_slug (forum_slug)

);

CREATE TABLE mydb_global.wp_bb_meta (

meta_id bigint(20) NOT NULL auto_increment,

object_type varchar(16) NOT NULL default ‘bb_option’,

object_id bigint(20) NOT NULL default 0,

meta_key varchar(255) default NULL,

meta_value longtext default NULL,

PRIMARY KEY (meta_id),

KEY object_type__meta_key (object_type, meta_key),

KEY object_type__object_id__meta_key (object_type, object_id, meta_key)

);

CREATE TABLE mydb_global.wp_bb_posts (

post_id bigint(20) NOT NULL auto_increment,

forum_id int(10) NOT NULL default 1,

topic_id bigint(20) NOT NULL default 1,

poster_id int(10) NOT NULL default 0,

post_text text NOT NULL,

post_time datetime NOT NULL default ‘0000-00-00 00:00:00’,

poster_ip varchar(15) NOT NULL default ”,

post_status tinyint(1) NOT NULL default 0,

post_position bigint(20) NOT NULL default 0,

PRIMARY KEY (post_id),

KEY topic_time (topic_id, post_time),

KEY poster_time (poster_id, post_time),

KEY post_time (post_time),

FULLTEXT KEY post_text (post_text)

) TYPE = MYISAM;

CREATE TABLE mydb_global.wp_bb_terms (

term_id bigint(20) NOT NULL auto_increment,

name varchar(55) NOT NULL default ”,

slug varchar(200) NOT NULL default ”,

term_group bigint(10) NOT NULL default 0,

PRIMARY KEY (term_id),

UNIQUE KEY slug (slug),

KEY name (name)

);

CREATE TABLE mydb_global.wp_bb_term_relationships (

object_id bigint(20) NOT NULL default 0,

term_taxonomy_id bigint(20) NOT NULL default 0,

user_id bigint(20) NOT NULL default 0,

term_order int(11) NOT NULL default 0,

PRIMARY KEY (object_id, term_taxonomy_id),

KEY term_taxonomy_id (term_taxonomy_id)

);

CREATE TABLE mydb_global.wp_bb_term_taxonomy (

term_taxonomy_id bigint(20) NOT NULL auto_increment,

term_id bigint(20) NOT NULL default 0,

taxonomy varchar(32) NOT NULL default ”,

description longtext NOT NULL,

parent bigint(20) NOT NULL default 0,

count bigint(20) NOT NULL default 0,

PRIMARY KEY (term_taxonomy_id),

UNIQUE KEY term_id_taxonomy (term_id, taxonomy),

KEY taxonomy (taxonomy)

);

CREATE TABLE mydb_global.wp_bb_topics (

topic_id bigint(20) NOT NULL auto_increment,

topic_title varchar(100) NOT NULL default ”,

topic_slug varchar(255) NOT NULL default ”,

topic_poster bigint(20) NOT NULL default 0,

topic_poster_name varchar(40) NOT NULL default ‘Anonymous’,

topic_last_poster bigint(20) NOT NULL default 0,

topic_last_poster_name varchar(40) NOT NULL default ”,

topic_start_time datetime NOT NULL default ‘0000-00-00 00:00:00’,

topic_time datetime NOT NULL default ‘0000-00-00 00:00:00’,

forum_id int(10) NOT NULL default 1,

topic_status tinyint(1) NOT NULL default 0,

topic_open tinyint(1) NOT NULL default 1,

topic_last_post_id bigint(20) NOT NULL default 1,

topic_sticky tinyint(1) NOT NULL default 0,

topic_posts bigint(20) NOT NULL default 0,

tag_count bigint(20) NOT NULL default 0,

PRIMARY KEY (topic_id),

KEY topic_slug (topic_slug),

KEY forum_time (forum_id, topic_time),

KEY user_start_time (topic_poster, topic_start_time),

KEY stickies (topic_status, topic_sticky, topic_time)

);

CREATE TABLE mydb_global.wp_bb_users (

ID bigint(20) unsigned NOT NULL auto_increment,

user_login varchar(60) NOT NULL default ”,

user_pass varchar(64) NOT NULL default ”,

user_nicename varchar(50) NOT NULL default ”,

user_email varchar(100) NOT NULL default ”,

user_url varchar(100) NOT NULL default ”,

user_registered datetime NOT NULL default ‘0000-00-00 00:00:00’,

user_status int(11) NOT NULL default 0,

display_name varchar(250) NOT NULL default ”,

PRIMARY KEY (ID),

UNIQUE KEY user_login (user_login),

UNIQUE KEY user_nicename (user_nicename),

KEY user_registered (user_registered)

);

CREATE TABLE mydb_global.wp_bb_usermeta (

umeta_id bigint(20) NOT NULL auto_increment,

user_id bigint(20) NOT NULL default 0,

meta_key varchar(255),

meta_value longtext,

PRIMARY KEY (umeta_id),

KEY user_id (user_id),

KEY meta_key (meta_key)

);

Unfortunately, test user is still cannot create topic. BBpress forum is essentially broken.

#55585
gazouteast
Participant

Hi JJJ – just had a mosey around the site back end – your avatar image shows in the WPMU users list, but not on the BP user list (e.g. if I go to “make friends” your user name is there, but not your avatar, same if I go to the members list from the main menu buttons below the buddy bar. Similarly, on the BP themed home page, your avatar doesn’t reveal in the site-wide activity in the recent activity (middle) column.

Will run the WPMU upgrade shortly – was waiting for you to finish trying before I did that.

Posts in WPMU blogging have a similar issue with images – example – using the site default blog, an image uploads fine but doesn’t display in media manager or in the post preview (both edit page and save-draft-&-preview.

I still keep coming back to that path name ” /blogs.dir/ ” I am convinced (without rational reason) that the period in that name is the issue. If upgrading to 2.8.5.1 doesn’t fix it, I’ll have a go at changing that folder name to a standard name type and see if that assists, then post back here.

It’ll be a couple of hours thouggh as I have some offline urgent jobs that are long overdue.

Many thanks for investigating

Gaz

#53551
pengume
Participant

update I deactivated all my plugins and then only activated buddypress and it seemed to get rid of the ads code, but still displayed site wide activity for each member. so it was a plugin issue, one that I was using to place ads into the posts and pages. Not crucial but would be nice to have eventually working so users can put in their own code without tweaking the template. one last thing that is a different topic I also upgraded bpPicture Album to the new version thinking it would improve my problem but am getting this error when i activated it and on the album page.Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/content/12/4455612/html/wp-includes/plugin.php on line 414 I’ll ask the creater of the plugin too.

Thanks for the support

-Aaron

#51198
peterverkooijen
Participant

This works!

$array = $wpdb->get_var("SELECT meta FROM $wpdb->signups");

$my_vars = unserialize($array);

$fullname = $my_vars[field_1];

echo $fullname;

I know it’s basically DJPaul’s solution, twenty posts back, but minus the apostrophes.

So now I know how to get the fullname, but still not how to get the fullname of the user that is activating = has the activation key?

Why doesn’t this work then?:

function synchro_wp_usermeta($key) {
global $bp, $wpdb;

$array = $wpdb->get_var("SELECT meta FROM $wpdb->signups WHERE activation_key = %s", $key);

$my_vars = unserialize($array);

$fullname = $my_vars[field_1];

$space = strpos( $fullname, ' ' );

if ( false === $space ) {
$firstname = $fullname;
$lastname = '';
} else {
$firstname = substr( $fullname, 0, $space );
$lastname = trim( substr( $fullname, $space, strlen($fullname) ) );
}

update_usermeta( $bp->loggedin_user->id, 'nickname', $fullname );
update_usermeta( $bp->loggedin_user->id, 'first_name', $firstname );
update_usermeta( $bp->loggedin_user->id, 'last_name', $lastname );

$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET display_name = %s WHERE ID = %d", $fullname, $bp->loggedin_user->id ) );
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET user_url = %s WHERE ID = %d", bp_core_get_user_domain( $bp->loggedin_user->id ), $bp->loggedin_user->id ) );
}
add_action( 'wpmu_activate_user', 'synchro_wp_usermeta', 10, 1);

Viewing 25 results - 101 through 125 (of 135 total)
Skip to toolbar