Xiando(tm) Social Networking Package for WPMU
The Xiando(tm) Social Networking Package for WPMU is a set of plugins for the WPMU WordPress multi-user blogging software.
What’s it all about?
xspn adds many features who are not included in the basic WPMU software, including:
- Profile pictures
- Friends list, with a friends-list widget, list of latest blog posts by friends, optional showing of personal information based on friendsships being muteral or not, and more
- A Subscribe to Blog feature (and list of latest posts in subscribed blogs)
- Presentation addons, including ability to override a themes CSS, background-image, etc.
- A advanced admin-bar with CSS pull-down menus
Technical details
The package includes a whole range of plugins who can use each other. The admin-bar for example, checks if the subscribe to blog plugin is present using function_exists and adds a menu option to subscribe or unsubscribe to the current blog.
However, there are a few files who are required for most of the included plugins, you must have:
- mu-plugins/xsnp.php
- mu-plugins/xsnp/xsnp-functions.php
- mu-plugins/xsnp/languages.php
installed to use many of the plugins (Friends-list, admin-bar, subscribe to blogs, etc) because this file contains a range of functions who are required for many of these plugins (think of it as a wpmu-functions.php addition used by this package).
Good luck!
Here’s the latest snapshot of xsnp (as used on this site):
Good luck using it!
November 26th, 2007 at 10:31 am
I have been using this (an older copy from wpmudev) on a couple installs and i like it very much. Did you eventually add the “upload your own backgorund code” bit?
November 27th, 2007 at 7:26 pm
Good stuff!
Only one question:
I’m using wpmu 1.3, when I send PM does nothing but I redirected to dashboard
How to fix it?
November 28th, 2007 at 2:46 pm
>download link coming very soon!
I’m waiting… realy.
December 6th, 2007 at 1:46 pm
Oops. Comment “awaiting moderation”. Is this project died? I now using “xiando-mu-plugins-2007-08-18″ and even translated this pack into Russian.
So. If you interested for “Xiando(tm) Social Networking Package for WPMU” translation, I can help you.
December 10th, 2007 at 11:03 am
Hi there, sounds interesting, is this project still alive? Waiting for the download link!
Thank you,
Mike
December 14th, 2007 at 11:41 pm
Great job, when will this reliease for download?
December 18th, 2007 at 11:40 am
Yes, It’s happend
. Thank you!
Testing now and because have questions
1. How to install sitewidefooter? I copied it to mu-plugins, but nothing happend
2. How to add button “Subscribe to blog” somewhere at the page?
3. What differences with “Subscribe to blog” and “Add to friend”. When I add user to my friends, I can read users latest posts and when I subscribe to blog..?
4. In the languages.php I see commented lines:
// $xsnp_text['admin_text_friendsblogs']
// $xsnp_text['']
// $xsnp_text['admin_text_privateblog']
Is it means, that I can add my translation there? And what format of that must be?
December 18th, 2007 at 2:34 pm
1: The wp_footer hook needs to be at the very end of all themes in order to make the administration bar (which is added by that hook) display correctly. So I called a function sitewide_footer and added that to every footer.php in the place were the footer text is displayed. Yeah, I know this is a really bad way of doing it for various reasons, but I do not know a better way of doing it when wp_footer needs to be another place than the footer text. I added a tar.bz2 of all the themes here (230+ of them) who are all edited like that, but.. it still sucks that you have to edit the themes you have to use that function (I guess you can just change the function to add itself to the wp_footer hook and thus not require any theme editing).
I actually do the same thing with the function whichs adds a picture in comments.php, the reason is that some themes look better with small pictures (becaues they are very narrow), some look better with the picture in a different place. But, again, this means you have to edit all the themes, others do it using a hook and that probably works, it just can’t be customized pr. theme that way.
2: Look at the code in the admin bar, there is a subscribe to blog thing in that and also in the sitewidefooter php file.
3: A user can have many blogs. If you add a friend then you will see the latest post by this person in ANY blog this person writes in. Subscribe to blog means you subscribe to an actual BLOG, not a _username_ (=friend, a person). Subscribe to blog only shows posts from the actual blog you subscribed to, regardless of who wrote it (one blog can have many authors).
4: heh, there’s some commented lines at the end of language.php. Oh well. Those //commented lines are not important. But.
This file has
if( defined( “WPLANG” ) && constant( “WPLANG” ) == “nb_NO” ) { and just a PHP array with text }else{ the same array with different text, actually },
You can just copy the whole English $xsnp_text array and insert
elseif( defined( “WPLANG” ) && constant( “WPLANG” ) == “ru_RU” ) {
$xsnp_text = array( same thing with other text );
}else{ the english stuff
after the Norwegian gibberish (or just remove it if you do not want anything to do with Norwegian people).
December 18th, 2007 at 4:58 pm
Thank you and Thank you very much!
And I hope is my last stupid question: how can I activate widgets “aboutme” and “myfriends”?
December 18th, 2007 at 6:35 pm
WPMU did not have widget support until a recient version. You traditionally had to install it manually and the way that was done was by putting a file called widgets.php in the mu-plugins which loads widget support and all the widgets, a copy of the one I (ab)use is at http://72.9.108.50/widgets.txt and you could rename that file widgets.php and put it in mu-plugins.
It would also work to just copy the wigets you need into mu-plugins, or just write a wigets.php file which only includes specific files. It doesn’t work for you because the files are not loaded, you could do it by using a file in mu-plugins which loads files in widgets/ or by moving them one folder down.
I like having them in mu-plugins/wigets and a mu-plugins/widgets.php which loads them, that way I know that those files in there are all the widgets. But it’s mostly because that was the way widgets where historically done when you installed it manually.
December 18th, 2007 at 11:37 pm
May i know any .zip package? how to install this into wpmu?
December 19th, 2007 at 9:54 am
Is there a way to not use widgets and still display friendlists?
Is it possible to also code an option where users can add someone as a friend? See they have a message? Send a Message? All via a hardcoded sidebar?
Thanks,
Matt
January 5th, 2008 at 10:16 am
2Matt123:
[quote] “2: Look at the code in the admin bar, there is a subscribe to blog thing in that and also in the sitewidefooter php file.”[/quote] Within copy-and-paste you can create links on sidebar (or write widgets).
January 5th, 2008 at 10:21 am
2oyvinds:
When translated sitewidefooter, found one little bug: links “subscribe”/”unsubscribe” named like “subscribe” both (the same is here: I see “subscribe”, but link looks like “http://user_name.livelyblog.com/wp-admin/index.php?page=show_subscribed_blogs&unsubscribe=578″
January 6th, 2008 at 4:11 pm
Some ideas/questions:
1. Is it possible to display somewhere (like at sidebar) count of blog subscribers and peoples who claim blogowner as friend?
And I think is good to display list of top users by subscribers and friends.
2. I try to use STREATCOWPMU to display mostcommented posts of the day, but here -
$blogs = $wpdb->get_col(”SELECT blog_id FROM $wpdb->blogs WHERE
last_updated >= DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY)
AND public = ‘1′
AND archived = ‘0′
AND mature = ‘0′
AND spam = ‘0′
AND deleted = ‘0′
ORDER BY last_updated DESC”);
there is order by post time creation.
So, when I try -
FROM $blogPostsTable WHERE
post_status = ‘publish’
AND post_type = ‘post’
AND comment_count > ‘0′
ORDER BY comment_count DESC”);
- result is that, as firstly Order by time and then by comment count. Is it possible to rewrite for list mostcommented post of the day, sorted comment count?
January 7th, 2008 at 7:01 pm
Did anyone get the newer version relased working on 1.3? I get errors and had to revert to the older version.
-Matt
January 12th, 2008 at 4:56 pm
I have this plugin working with 1.3 without any problems, but it was a new installation! I really stoked about this plugin! Do you have a mailing list so I can be up to date on any changes or additions that you add to this social networking pack?
January 13th, 2008 at 9:45 pm
I just installed this with a fresh version of 1.3 with sub-directories. www.blog.com)
I can’t seem to get several of the features to work. Is this package supported with sub-directories?
The main one i’m worried about is the friends list. When you click on a friend in the drop down list it just takes you to the main page of the site, and not that users blog.
January 13th, 2008 at 9:47 pm
sorry, that link above didn’t work. it was supposed to be an example of sub-directories. like wwwDOTblogDOTcomSLASHblogusername
January 13th, 2008 at 9:49 pm
Trent,
which was yours? sub-directory install, or domain alias?
blogusername.blog.com
or
blog.com
January 13th, 2008 at 9:50 pm
or
blog.comSLASHblogusername
January 18th, 2008 at 2:03 am
I have been having issues with this. If I would just install everything I get a white screen on my site with nothing loading. I managed to isolate the problem to the xsnp-fuctions.php file. Specifically if I would delete the bottom half of the script under “//Takes an array of blogs and makes a nice list of their blogsposts” my site would have no problems. The message in my error log is: “mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use ‘RewriteOptions MaxRedirects’ to increase the limit if neccessary.” Is anyone able to shed some light on this?
Thanks for your time.
January 20th, 2008 at 12:03 am
I have a structure with subdomains like blog.mydomain.com as well as use the Mulit-Site Manager plugin to have top level domains like domain2.com and domain3.com as well and this works. It also works on another install I have with the latest TRAC version.
Trent
January 22nd, 2008 at 1:08 am
I want to thank you very much for making this plugin! The “subscribe to blog” feature is something I’ve been wanting for my site since I first started building it.
I’ve installed it on my WPMU site — there is only one problem I’m running across. The majority of my installation is Privacy locked to users only. However, I still want users to be able to subscribe to blogs and the subscription feature only works on blogs that are set to Public.
Where would I start looking in the subscribe to blog plugin to change this? Thank you!
February 21st, 2008 at 11:34 pm
This is an exciting plugin pack, I got started testing it and only uploaded the folder xsnp and xsnp.php into mu-plugins and I get an error trying to access blogs:
Parse error: syntax error, unexpected T_ARRAY, expecting ')' in /home/xxx/public_html/wp-content/mu-plugins/xsnp/xsnp-functions.php on line 209February 26th, 2008 at 4:58 pm
Hi,
I have the same error as Joe. If I comment out the functions then everything works fine except the list of posts of course beacause it calls the function.
I can’t tell what needs to be done.
I like the plugins very much and will use it as soon as it is corrected.
Thank you
February 27th, 2008 at 11:36 am
Array problems? Are you using PHP 4? If you are, then you need to change to PHP 5 or rewrite the ‘Array’ part of the codes to be PHP 4 compatible.
February 27th, 2008 at 11:38 am
Anyone tried setting the profile picture thumbnail for comments yet?
March 7th, 2008 at 4:24 am
thanks the PHP 5 did the trick
great plugin it’s nice to see it working
March 26th, 2008 at 10:10 am
Hi there people
hey this package is great!, im a total newbie but i haven’t found too much trouble dealing with it.
one question, is there any way to use more than one profile pic? i mean, using one “main” profile pic, and three or more “secundary” named as “/wp-content/uploads/authors/21/21-32×32_01.jpg”, “/wp-content/uploads/authors/21/21-32×32_02.jpg”, and so?
thanks a lot!
March 26th, 2008 at 1:10 pm
Error in xsnp-functions.php on line 209
How can i use this whith php4?
Thanks!
April 26th, 2008 at 3:43 pm
I’m in the process of trying to rewrite the array’s to work for php 4. (My clients server can’t be upgraded to php 5.)
Has anyone had luck in doing this?
is xsnp-functions.php the only file that needs to be updated, or must they all?
May 20th, 2008 at 1:04 pm
I’m having same problem of
Error in xsnp-functions.php on line 209
PHP version is 4.
Anyone have a solution to this?
June 13th, 2008 at 2:26 pm
I am using the latest version, WPMU 1.5.1 and i cant get the picture in YOUR profile page to show. I can confirm that the picture is uploaded, and thumbnails created, but it doesnt show the picture.Anyone have a solution for this?
July 8th, 2008 at 4:02 pm
Great plugin pack! I just would like to know how to get a friends-list out on my site? Some code that calls the friends-list function. Can someone help me get a friends-list on my site?
August 8th, 2008 at 7:27 pm
Error in xsnp-functions.php on line 209
what can I do?
Thanks!