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! :)

36 Responses to “Xiando(tm) Social Networking Package for WPMU”

  1. Andrea_R Says:

    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?


  2. mvkozyrev Says:

    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?


  3. mvkozyrev Says:

    >download link coming very soon!

    I’m waiting… realy.


  4. mvkozyrev Says:

    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.


  5. Michael Says:

    Hi there, sounds interesting, is this project still alive? Waiting for the download link! :)
    Thank you,
    Mike


  6. edward Says:

    Great job, when will this reliease for download?


  7. mvkozyrev Says:

    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?


  8. oyvinds Says:

    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).


  9. mvkozyrev Says:

    Thank you and Thank you very much!

    And I hope is my last stupid question: how can I activate widgets “aboutme” and “myfriends”?


  10. oyvinds Says:

    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.


  11. Edward Says:

    May i know any .zip package? how to install this into wpmu?


  12. Matt123 Says:

    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


  13. mvkozyrev Says:

    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).


  14. mvkozyrev Says:

    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″


  15. mvkozyrev Says:

    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?


  16. matt123 Says:

    Did anyone get the newer version relased working on 1.3? I get errors and had to revert to the older version.

    -Matt


  17. Trent Says:

    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?


  18. Ben Says:

    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.


  19. Ben Says:

    sorry, that link above didn’t work. it was supposed to be an example of sub-directories. like wwwDOTblogDOTcomSLASHblogusername


  20. Ben Says:

    Trent,

    which was yours? sub-directory install, or domain alias?

     blogusername.blog.com
    or
     blog.com


  21. Ben Says:

    or
     blog.comSLASHblogusername


  22. Bob Says:

    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.


  23. Trent Says:

    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


  24. sadieko Says:

    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!


  25. Joe Hayes Says:

    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 209


  26. Philippe Says:

    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


  27. Deen Yusoff Says:

    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.


  28. Deen Yusoff Says:

    Anyone tried setting the profile picture thumbnail for comments yet?


  29. Philippe Says:

    thanks the PHP 5 did the trick
    great plugin it’s nice to see it working


  30. T-1000 Says:

    Hi there people :D
    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!


  31. Nick Says:

    Error in xsnp-functions.php on line 209

    How can i use this whith php4?

    Thanks!


  32. KP Says:

    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?


  33. JH Says:

    I’m having same problem of
    Error in xsnp-functions.php on line 209
    PHP version is 4.

    Anyone have a solution to this?


  34. Wizzrd Says:

    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?


  35. Chris Says:

    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?


  36. Alex Says:

    Error in xsnp-functions.php on line 209
    what can I do?

    Thanks!


Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image


xsnp.livelyblog.comLogin