Here is the bp-wire for putting the Buddypress wire back to Buddypress 1.2

Jotted by Brajesh Singh in Buddypress, Buddypress Free Plugins, Plugins on May 5, 2010

Well most of you, who visit this site and read the blog will remember that I had ported buddypress Wire component for Cosmic buddy Theme. Yes, that was too much theme specific and did not worked well for bp-default/other themes.

So, after a few requests I decided to do some coding/editing again for the plugin and the theme files and here is the bp-wire back for your BuddyPress site. This is not the full featured wire plugin(IMHO, as I want to put the privacy to the wire), but it does what the older wire was supposed to do.

What it Does:-

  • Allow your users to have a wire/wall where other users can leave comments without messing with the activity stream.

Here is a screenshot from my dev system with bp-default theme

What should you expect in next version:-

  • Fully working notification
  • Notify by email
  • Privacy options for who can see the wire(friends/loggedin/all)

How to Use It:-

Installation:-

  • Download bp-wire-v1.1.zip
  • Unzip it and upload bp-wire to wp-content/plugins
  • Login to wp-admin and activate bp-wire by going to Dashboard->Plugin->Installed
  • Move the folder “wire” from bp-wire to your theme/child theme
  • Copy the content of style.css from wire/style.css and put it in your theme/child theme’s css file

Now go and check your/others profile

Miscellaneous Usage

Using bp-wire on profile landing page(hmm, It’s going to be your Activity page most of the time)

Put the following line just below line 41(If you are using bp-default) or at any appropriate place you want) in yourtheme/members/single/activity.php


<?php if(is_user_logged_in()&&!bp_is_home()&&bp_is_member()):?>
<?php locate_template(array("wire/post-form.php"),true);?>
<?php endif;?>

Credit: All the code used in the plugin has been taken from buddypress 1.1 branch and are original work of Andy Peatling, I have just modified it to work with buddypress 1.2 and packed it as a plugin.

Have questions/comments/suggestion, please feel free to leave below, after all the plugin is for you, so your comments/suggestions will help to shape its futureĀ  :)

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • BlinkList
  • DZone
  • FriendFeed
  • IndianPad
  • MySpace
  • Netvouz
  • Reddit
  • SphereIt
  • StumbleUpon
  • Technorati

Related posts:

  1. BP Wire plugin updated
  2. Using activity as wire in Buddypress 1.2 themes
  3. Cosmic Buddy theme for Buddypress 1.2 available now
  4. BuddyPress Sitewide Activity Widget updates
  5. Buddypress Sitewide Activity Widget for Buddypress 1.2 and above

51 Comments Already!

  • mercime says:

    Whoa Brajesh! Always coming up with pleasant surprises! I’ve had some requests for a “wall” feature ala Facebook even when I already said that BP is not Facebook :(
    Thank you.

  • Boede says:

    Thanks! Thanks! Thanks!
    That`s what I’m looking for!

    Boede

  • bobs12 says:

    Brajesh, brilliant idea but when I click on the Wire link on profile page I get thrown back to the homepage… :(

  • gregfielding says:

    I’m a bit confused as to the difference with the activity stream…I never used the wire in previous BP versions.

    Wouldn’t the wire show all of YOUR activity (just like FB’s Wall)? Then, your friends can make comments?

    The activity stream does this, no?

    Or is the wire used more for messaging? But wouldn’t that get confusing with the “send message” function?

    • hi Greg
      Wire is less for activity but more oriented towards messaging. Current @mention can be considered as a replacement of wire.

      Yes, It is somewhat like wall but keeping the message separate from activity.

      It should not get confused with send message, as those are something like PM while wire is different than PM.

  • Rahul says:

    Nice plugin Brajesh, please consider the ability to rename this ‘wire’ (at admin end) so it may be seen on user profiles like ‘Scrap Book’ etc.
    I hope to see the updated plugin soon.
    I wish to join your premium club but I didn’t received a email reply from you which I posted through your Contact us page.
    If you reply, I would love to join your club membership.

    • Rahul says:

      Also consider the wire to be replied back like we see in Scrap book at Orkut, I hope you consider the request and realease a new update soon.
      Good luck :-)

      Regards,
      Rahul.

    • Thanks for pointing. It can be done. But currently you will need to do it using the language file(Just in bp-language file add a translation for wire).
      I will do something about this soon in next release.
      Your mail had been kept on my mail server and I did not see it until I saw your comment here. It was some mistake on my part(as I had just got rid of the mailing trouble with the Hosting Provider last month and did not thought It will happen again).

      But anyway, I see you have alredy got a subscription by now. Please feel free to use the forum and provide your inputs/ideas for new plugins/themes etc.

      I will mail back you in the evening(IST, as I mostly work in PST)

  • bobs12 says:

    It worked :) You are a star!

    Only thing is that on the default profile activity page there is a ‘post to wire’ field and underneath it says ‘no one has posted to your wire’ even though there are some posts. But at least it’s back and I have more chance of doing something with it now :)

    Also not all the old wire posts (from before I upgraded to the dreaded 1.2) are there. Plus it would be good if wire posts showed in activity (imho).

    @everyone – the ‘wire’ was indeed the equivalent to ‘wall’ in many other SN sites, but it didn’t show activity – it was like a shoutbox for the owner and anyone else to come along and leave a comment. On my 1.1.x site it was a way to quickly and publicly say ‘hello’ to new members and with mine it very quickly became the main platform for exchange – answering.

    I think 1.2 has become far too complex – there are far too many places where messages are displayed, plus some messages you can reply to, some you can’t – that should never be the case in SN. If you can reply once, you should be able to reply a million times and have a dialogue about anything and everything.

    With the exception of a status update – I think on most SN sites that’s accepted as a quickly editable part of your profile that’s like an extension of your avatar, and not something to directly reply to. But in 1.2 it seems people can reply to your updates, but you can’t reply to their replies and… oooh, it’s just far too complicated…

  • bobs12 says:

    Brajesh, I wanted to post a plugin suggestion on the forum but I couldn’t find a link to start a topic.

    I had an idea for a plugin but I have no idea how to do it myself – something that would allow you to delete spammers quickly from the members page.

    Elgg had an administrator context menu just about anywhere that a user avatar appeared and it was quick and easy to delete or edit members.

    If there was a custom field that you could display on the members list (displaying a field where the spambots enter random strings like 0gHBJ43hu4gl) and a link to ‘mark as spammer’ (preferably with AJAX to avoid page reload) that would be FANTASTIC!

  • Ron says:

    I updated the plugin so it doesn’t require editing the theme. You can download it from http://premiumbpthemes.com/bp-wire-1.1b.zip.

    Also, the CSS has a white background on the wire form. If you removed the background color, the form would look better on themes with a colored background.

  • Paul says:

    I love the idea of having the wire. Unfortunately, there seems to be some conflict with, I assume, the css for the wire. I’m new to WordPress, so I’m not sure how to describe it, but the spacing is off. Widgets that are in the sidebar on other pages are located in the middle of the page. I’m using Buddymatic theme. Is this the problem?

  • Paul says:

    I’ve tried several times to upload the wire, the last time using Ron’s bp-wire-1.1b.zip. I’ve moved the wire folder to the theme folder and I’ve altered the css. Each time when I try to click on the Wire, I get a broken link for http://mydomain/members/user/wire. What am I doing wrong?

  • Paul says:

    Sorry, Brajesh, I should have mentioned that I switched to Cosmic Buddy theme, hoping that I would no longer have this problem. Still using WPMU 2.9.2 and BP 1.2.3.

  • Manny says:

    Hi! I love your plugin. I was wondering if there was any wire comment moderation in the wp-admin and for the admin to have the ability to remove any comment posted by any user? Thanks!

  • flatoutfab says:

    Brajesh I am loving this plug in! I was wondering if there as anyway to integrate “BP Include Non-member Comments” (http://wordpress.org/extend/plugins/bp-include-non-member-comments/) or similar. Basically I want anyone (non members) to have the ability to write a post and make up their own name instead of registering to the site. I want this option because I will only have a small list of personally chosen members and will not have new user registration activated.

  • Michael says:

    Is there a way we can get notifications for this thing? :) It’s awesome though and works great. The only problem is I have no idea when people are writing on my wire!

  • Shane says:

    Hi. Great plugin, though I am experiencing a few issues, mainly with CSS. First, the Wire list page does not show the sidebar, even though sidebar.php is in my theme folder. Second, the Wire List page creates a ‘duplicate’ of my theme over the top of itself. I fixed this by removing the tag from the latest.php file, but this page does not seem to conform with the other pages. I will keep trying to fix these issues and thanks for sharing the plugin. Many thanks, Shane.

  • Shane says:

    Hello again. I fixed the issues with the Wire List page by correcting a typo in the Latest.php file. The div tag id was named ‘contents’, while it is named ‘content’ in BuddyPress. Thanks again, Shane.

  • gwu says:

    is it possible to have a wire for group?

  • [...] you can use any of the active component as the landing page. For example, if you are using my wire plugin, you can define BP_DEFAULT_COMPONENT to be “wire” and the wire will be the landing [...]

  • shane says:

    Hi Brajesh, I’m curious about the wire plugin.. Do you think wire can have:
    1. notifications
    2. replying to posts
    3. ability to post images

    Thats a lot I know, Im just asking so i can get an idea of future possibilites :)

    thanks.

    • hi Shane,
      Thanks for the comment.
      Notification for wire is coming today.
      replying to post(hopefully in next release, not in todays) annd yes, will be working to allow posting images from gallery/or oembed thing in next release.

  • Paradise says:

    Hi,

    is there a way to show the latest wire entries somewhere (home.php)? There was a filter (new_wire_post) in bp_has_activities…

    I also want to show the latest 10 wire entries on the users profile page.

    • I will be releasing updated wire today(with optional group wire support and notifications, will make sure to let you know about the latest entry listing function then).
      Thanks
      Brajesh

    • shane says:

      Hey Paradise, are you talking about putting the last 10 wire entries in the sidebar on profile? I think that would be cool too. I been trying to figure out how to encourage people to use the wall, I tried the wpmudev login-redirect plugin (to redirect users to wire), but it didnt work for me, still always just went to home page.

  • shane says:

    Ok im gonna ask a crazy question. lol. Im thinking of facebook really… (i know, i shouldnt)… Do you think there is some kind of code that could allow the wire to show wire posts, but also show the users’ activity (mixed in according to date)? that would make it exactly like a facebook wall.

    just something I was thinking about. :)

    • shane says:

      I just tried to change my avatar and saw that you actually have it set up pretty cool on your site! How did you get the profile tab to show a peice of everything (base, latest activity, wire)?

      also, it shows both members (yourself and the one your viewing)… is this code you shared also?

  • Shane says:

    Hello again,

    Really looking forward to the update. This is a really cool plugin and thanks for sharing it with us.

    Many thanks,

    Shane

  • moosh101 says:

    Hello again. Any news on the new version?

    Many thanks for all your efforts,

    Shane.

    PS – there seems to be a few people making posts with the same name as me, interesting. From now on I will use my alias, moosh101.

    • moosh101 says:

      Hi. I am trying to get the wire plugin to display the name of the group in the ‘Post a message on user’s wire’ title, just above the textbox.

      When displayed on a users page, it shows their ‘User Name’, and when displayed on your own page it shows ‘Your’ in the title. I would like it to display the name of the group on the group wire page.

      I have added the following code to line 10 of the post-form.php file, but it doesn’t seem to work:

      ,bp_is_group_wire()?__(“the % group wire”) : bp_get_group_name ($bp->current_component->group).”’s”));?>

      I would sincerely appreciate any advice.

      Many thanks,

      Shane.

  • gwu says:

    Hi Brajesh.

    Did u get a chance to look at the pagination issue?
    Also the notifcation and RSS feed.

    Sorry to bug you. But I modify this wire for groups plugin to use in different ways.

    thnks,

    • Shane says:

      Hi gwu,

      Sorry, but I am now using Drupal to power my social network instead of BuddyPress. I find it an incredibly powerful framework with options galore. Personally, I feel that while BuddyPress is good at what it does, it has very limited administration and user options and only a handful of BuddyPress dedicated plugins. Drupal, on the other hand, has a vast amount of modules and you can literally configure it to do anything you need. It also has the perhaps the best performance and scalability with auto throttling options and great CSS, Java and Block caching settings- admin settings all absent in BuddyPress? Don’t get me wrong, I am not criticizing BuddyPress, it’s just that I find that Drupal suits me better and is capable of powering a social network regardless of how large it becomes. Drupal also has strict GNU General Public licensing rules, meaning every single module is open source – no hidden costs of any kind, and the soon to be released Drupal 7 is breathtaking!

  • Shane_NY_777 says:

    Wow, yeah moosh, there are alot of Shanes on here. lol. Im changing my name too (or adding more to it)…

    anyway, whats up Brajesh, The new Wire is GREAT!!!!!

Leave a Reply

Name [*]

Email [*]

Website Optional

Comment [*]

Please Note,The fields marked as * are required fields*


Get Adobe Flash playerPlugin by wpburn.com wordpress themes