Currently 18:22:40 GMT

(Login | Register)

Owner: Alex

Type: WPMU Plugin

Created: 2006-08-31 16:17:58

Last Modified: 2007-12-04 20:05:08


wordpressmu_1.0.803-friend_list-1.0.0.zip (2202 download(s))

wordpressmu_1.0.753-friend_list-0.9.4.tar.gz (264 download(s))

wordpressmu_1.0.733-friend_list-0.9.3.tar.gz (149 download(s))

wordpressmu_1.0.733-friend_list-0.9.2.tar.gz (108 download(s))

wordpressmu_1.0.728-friend_list-0.9.1.tar.gz (84 download(s))

wordpressmu_1.0.728-friend_list-0.9.0.tar.gz (90 download(s))

Gives WordPress MU a Buddy List of bloggers on the same site. Allows users to search for a friend and Add them to their "Friends List".



Posted 2006-09-08 00:45:41 by suleimankhan.

I just tried using this on my site and it stopped loading the website.


Posted 2006-09-08 17:47:57 by Alex.

suleimankhan email me (abarker [at] clunet.edu) and let me know where you put it and what happend... It was only tested in the admin area for users so I dont know how it will respond in a template. Also it has only been tested on nightly 733-734.


Posted 2006-09-15 18:24:32 by Alex.

wordpressmu_1.0.753-friend_list-0.9.4.tar.gz Removed some code that was not needed. Please note that all your settings will be reset with this upgrade!


Posted 2006-10-19 04:30:20 by Spock.

Just installed wordpressmu_1.0.753-friend_list-0.9.4 to wordpressmu-1.0-rc4 and got the following error:

Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /home/pctalkin/public_html/WordPressMU/wp-content/plugins/friend-list.php on line 43

I looked at the code but am not a strong enough php programmer to be able to notice anything obvious. The line called out is a close script tag, so it would appear that something missing or extra somewhere before there or, perhaps, another ending or starting tag has been misplaced.

Hope my humble efforts of at least reporting the problem help you to find a solution. This seems like a worthy addition.

Admin: Please delete the above two posts. The tags used to generate blank lines for those interested are "br" or "/br" enclosed in the less-than and greater-than symbols. These are required as multiple blank spaces and returns are collapsed into a single space as with standard HTML code.


Posted 2006-10-19 16:25:26 by drganes.

I have the same problem with spock. I use wpmu 1.4 and friend-list plugin 0.9.4. I get this error message: Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /home/pctalkin/public_html/WordPressMU/wp-content/plugins/friend-list.php on line 43 This error is related to following code: I then deleted this code, and got this new error message: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/blognest/public_html/wp-content/mu-plugins/friend-list.php on line 133 this related to following code: data->display_name == "admin") { I've made some comparation with the previous version of friend-list which are not contain with those two code (version 0.9.1). This 0.9.1 is working ..no error message, but it mess up my admin area layout.. anybody can help here?


Posted 2006-10-19 16:29:08 by drganes.

I have the same problem with spock. I use wpmu 1.4 and friend-list plugin 0.9.4. I get this error message:

Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /home/pctalkin/public_html/WordPressMU/wp-content/plugins/friend-list.php on line 43

This error is related to following code:



I then deleted this code, and got this new error message:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/blognest/public_html/wp-content/mu-plugins/friend-list.php on line 133

this related to following code:

data->display_name == "admin") {

I've made some comparation with the previous version of friend-list which are not contain with those two code (version 0.9.1). This 0.9.1 is working ..no error message, but it mess up my admin area layout..

anybody can help here?


Posted 2006-10-19 18:32:45 by Alex.

Ok, I think current version of the plugin only works with php5 so I am currently working on a downgrade that should be php4 compatible. I will post it here either today or tomarrow. I also noticed a few other bugs with the html editor that have now been fixed.


Posted 2006-10-24 03:56:04 by JoshEH.

Question, shouldn't it be 'data->user_login == "admin"' instead of 'data->display_name == "admin"'? A non-site owner can change their display name and gain access to the settings. I'm sure someone would think it was funny to change the new friend message to something ugly.


Posted 2006-10-25 07:33:29 by Spock.

drganes, How could you get the exact error message I got unless you were logged into my site!? 8O


Posted 2006-10-25 07:34:40 by Spock.

Hmm, why don't the standard emoticons work in here?


Posted 2006-10-25 21:41:23 by bishop.

Hi Alex, will your plugin work with WPMU 1.0 (officially released)? Waiting for version that will support PHP4 ;-)


Posted 2006-11-07 20:51:28 by mrmumu.

Are you almost done with a php 4 version??????


Posted 2006-11-07 23:48:07 by Alex.

Alright i finally got a server alocated for porting this stuff over to 1.0 php4. I am currently working on it as we speek and will hope to finish it by this thursday! Just got done with the LDAP plugin so this is next on the priority list! To many projects soo little time!


Posted 2006-11-08 00:52:58 by Alex.

Ok, christmas came early this year! The php4 and WPMU 1.0 (Build 803) changes have been made with 10 minutes to spare. Please test this release as well i havnt fully tested it but it appears to function correctly on my php4 test server. If you have any problems please post them here or email me at the address in the read me file!


Posted 2006-11-08 15:02:58 by bishop.

Alex, it would be great to add a friend to "Blogroll" links category automatically.


Posted 2006-11-09 23:51:38 by Spock.

I have placed "friend-list.php" in my mu-plugins directory. Now I just need a hint about which program to place the call to list_friends so I can display the list.


Posted 2006-11-12 19:53:13 by suleimankhan.

does this plugin interface with a buddy list style widget?


Posted 2006-11-13 18:52:54 by Alex.

@Bishop, blogroll is a greate idea. I dont have anytime at the moment but when i do i will work on adding it in. @Spock & suleimankhan, the management for the friends list is avaiable to all users on their Users folder. If would like like to add a buddy list to the dashboard use the code outlined in the friend-list.txt file list_friends_use_name($tagBeginWrap, $tagEndWrap, $bLinkToBlog);. Here is the acctual code snipit I am using to add a buddylist to the dashboard. <div id="friendlist"> <h3><?php _e('Friend List'); ?> <cite><a href="users.php?page=friend-list.php"><?php _e('Add'); ?> »</a></cite></h3> <ul> <? list_friends('display', '<li>', '</li>', true) ?> </ul> </div>


Posted 2006-11-22 11:19:28 by Spock.

OK, I added your code to wp-admin\index.php and the Friend List is now available on my Dashboard. What I'm looking for is some way to make this available to all my users. Short of doing something to each user to give them this capability, are you saying that they can all now access a frinds list via their Dashboard or at least under Users?


Posted 2006-11-22 11:25:44 by Spock.

OK, just checked and all my users now have a Friends List on their Dashboard.

Thanks!


Posted 2006-11-22 11:43:18 by Spock.

I still don't understand the usage of:

list_friends_use_name($tagBeginWrap, $tagEndWrap, $bLinkToBlog);


Posted 2006-12-30 16:27:12 by TomWolf.

I second bishops idea. Also I would love the follwoing. Widget with "add to friends" that either only shows for logged in users or sends the others to a "get a blog of your own" page. A page under admin where you get a list of the latest X number of posts made by friends. A widget with the latest X number of posts on your friend blogs. A way to leave messages to your friends in the admin section. A bit easier documentation on how to add a friendslist to your admin panel. Perhaps even do it with a tab under dashboard especially for the friends functions; instead of having it under the user section. My users sometimes get confused and try to search for users in the normal search instead of going into the friendstab. Also I need to say that this is a great plugin =) The above is only ideas to improve it to fit meeee a friends functionality is wonderful and I'm very grateful for your work.


Posted 2006-12-30 23:15:09 by cjennings.

Yes, i'd definitely love the ability for logged in users to see "Add to Friends" and then a small list of their friends that link to the friends' blogs. ALSO: a "view all friends" would allow a list of all of the friends at once. would make my night


Posted 2007-01-11 09:56:54 by johnweb.

Definitely a plugin with a future. Social networking is a great way to stimulate your users, excellent suggestions so far. Include avatars, messages, and you've got a myspace plugin, or widget.


Posted 2007-02-02 20:51:43 by ovizii.

ok, I successfully instaled it and it works with wpmu 1.1 but whats the point of the plugin at this stage? to me it seems all I can do is add friends to my list and thats it - ma I missign something or is this plugin going to be developed further?


Posted 2007-03-11 07:53:40 by aloncarmel2k.

I was wondering, i managed to get this working. everything seem to be fine. but why is the friendslist saved per blog? cant a user have global friendslist? does this happen because of the mu-plugins directory? how can i pull all of the users friends everywhere?


Posted 2007-12-04 20:13:27 by Alex.

Sorry I have neglected this plug-in for quite some time. aloncarmel2k: Friend data is stored in the database under the users options table. If i remember correctly its wp__options. ovizii: The plug-in was originally to add a bit of social networking to the blog for a university. I don't come up with the ideas only implement them. Someone had expressed interest in tying it into the blog roll a while back but I never got around to adding that code. Hopefully someone will start adding features to this plug-in, but at this point i really don't have the time to work on it. As far as i can tell this plug-in still works on wpmu 1.3.1 in case anyone was wondering. Please email me if you have bugs, or would like to help add features.


You must be registered and logged in to post comments. Not registered? Click here to get your free account!