A completely rewritten version of the wire plugin with new features like:
It is compatible with the original plugin. We recommend disabling it, removing its code, copying this code in its place, and enabling this plugin. If you desire to go back to the original plugin, you can. Just note that this plugin allows 200 character posts rather than the 140 characters allowed by the original. Also, this plugin uses "following" language rather than friends language. This can be easily overridden.
First release of this rewritten plugin. Requires Elgg 1.7
thanks for this.. :)
i'm using the autodash plugin too which places the wire box above the river.. and the two aren't presently working together..
i see 3 wire boxes above the river.. either that or none if i disable the option for wire in admin settings.
i tapped a message into the bottom one and submitted it.. now the whole site is non functional.. ;0(
if anyone has these 2 plugs working together i'd appreciate some assistance.. cheers
First of all, thank you for your contribution to the elgg community. A couple issues: I'm not using the river and was using an older version of the wire which actually had a wire widget as well as a wire post widget. Your offering only has the wire post widget and does not provide the ability to begin a wire post directly from the dashboard or profile. Instead you have to go to Tools > The Wire to start a new post.
Another issue I have with this is that wire posts are now showing up on the login page, which is something I cannot have for security purposes.
I really like the reply feature, but I'm going to have to revert back to my old wire due to these concerns.
@tunist - latest zip of autodash is corrupted. It puts the views directory under actions. Besides that it looks like the add wire action in autodash uses different arguments than our thewire_save_post(). You could try commenting out the extend_view() call in autodash's start.php and changing the arguments in autodashes call to thewire_save_post().
@Buddy Boy - no release from Curverider included a post from profile widget that I'm aware of. You can probably just copy that code from whatever plugin you were using to this one. Also, this plugin sets the access level on wire posts to public. That can be changed in the add action.
@Dan, copy the code means ftping it to your server just like any other plugin. Again, we recommend disabling the original wire plugin first. I can guarantee that a proper install of the plugin will not crash the site. Also make sure you are using Elgg 1.7.0 or newer.
@k5jat - just checked and no it doesn't. It will be an easy fix. We'll add that for the next release. All it takes is adding these lines to the bottom of
// tweet $params = array('plugin' => 'thewire', 'message' => $thewire->description); trigger_plugin_hook('tweet', 'twitter_service', $params);
Ok, the twitter addition is a little more involved, you have to initiate the hooks and add a function, but I got it in there and tested it out.
Now I can post to twitter but the view is messed up. It shows the view/delete/reply as a bulleted list instead of the way your screenshot looks.
After installing your plugin unmodified, the formatting still doesn't work. It could be my theme (theme_666), but this is the first issue I've had with a plugin.
OK, I found where the bullets were coming from. It was in thewire/views/default/object/thewire.php. I took out the bulleting and added some simple pipe characters. It works much better now.
JHUAPL, if you would like me to email you my patched file to make twitter work please PM me. :)