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".
I just tried using this on my site and it stopped loading the website.
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.
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!
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.
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:
if (wp_get_current_user()->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?
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:
if (wp_get_current_user()->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?
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.
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.
drganes, How could you get the exact error message I got unless you were logged into my site!? 8O
Hi Alex, will your plugin work with WPMU 1.0 (officially released)? Waiting for version that will support PHP4 ;-)
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!
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!
Alex, it would be great to add a friend to "Blogroll" links category automatically.
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.
does this plugin interface with a buddy list style widget?
@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>
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?
OK, just checked and all my users now have a Friends List on their Dashboard.
Thanks!
I still don't understand the usage of:
list_friends_use_name($tagBeginWrap, $tagEndWrap, $bLinkToBlog);
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.
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 ![]()
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.
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?
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?
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_
You must be registered and logged in to post comments. Not registered? Click here to get your free account!