pearI think this plugin is in a usable state now. I actually more or less lost interest in WordPress and PHP in general. This means that it’s also not very interesting to continue to work on my plugin.

I’m hereby abandoning the project, I should fix it, but that is unlikely to happen. If it works for you, good! If it does not work, contact me, you can take over the project.

It’s not that WordPress and PHP are bad systems, not at all! But I started to learn Python a few weeks ago, and I LOVE IT! I’ll post my progress on learning Pylons on my blog, and maybe one day I’ll write my CMS with Pylons.

Here’s the deal… I’ll continue to add features and bugfixes, but only on request! So now it’s really up to you. And remember: it’s the small things that make life good. A request doesn’t have to be a big feature, even some more margin on the input fields for example is a good request. The point is that I don’t want to spend time on thinking what I could possibly improve, just doing a quick fix or improvement is fine.

Advertisements

19 Responses to “P2P Social Networker”


  1. June 21, 2009 at 3:32 pm

    Hi

    When I tried to activate the plug in it reported this back to me as it failed to activate:

    Fatal error: Class ‘WP_Widget’ not found in /home/parryso1/public_html/go/wp-content/plugins/p2p-social-networker/p2p-social-networker.php on line 94

    Can you help?

    Ta

    Al

  2. 2 pepijndevos
    June 21, 2009 at 5:37 pm

    Hi Alun,

    Which version of WordPress are you running?
    Please use version 2.8 with this plugin, because it uses the new widget api.

    Please tell me if it is a problem for you to upgrade.
    You are the second one who reports this ‘bug’, so if there are people out there who don’t want to or can’t upgrade I’ll use the old widget method for a while.

    Thank you for your feedback!
    Pepijn

    [edit]
    Nice music!

  3. June 21, 2009 at 5:52 pm

    Hi Pepjin

    Yes I’m using 2.7 not 2.8.

    I didn’t upgrade for fear of losing my data. But I’ll have a look at backup solutions and upgrade.

    That will be the problem.

    Al

  4. 4 pepijndevos
    June 21, 2009 at 6:42 pm

    If you have PHPMyAdimin installed, it’s very easy: Login, select the right database, click export(somewhere at the top), click the file checkbox and then submit. This will download a SQL file containing the whole database to your computer.

    For the wp files it’s equally easy, just open your FTP application, download the whole wp folder, finished!

    If you have a local server running(search google for WAMP) you could try to update your blog locally first, fix the possible problems and upload it. šŸ˜‰

  5. June 21, 2009 at 6:54 pm

    I used WP-DB-Backup plug in. Nice and easy.

  6. June 21, 2009 at 10:06 pm

    Hello!!

    When trying to add a friend url on WP-2.8 I receive the following error:

    Fatal error: Call to undefined function xmlrpc_encode_request() in /correct/path/to/wp-content/plugins/p2p-social-networker/p2p-social-networker.php on line 315

  7. 7 pepijndevos
    June 22, 2009 at 7:05 am

    Hi!

    Another requirements problem… Can you check your PHP version?
    Try running this code and look for the php version and the xmlrpc extension:
    <?php phpinfo(); ?>

    A php extension which uses this library is also available and is included with php as of php 4.1.0.

    I guess this extension is missing…

  8. 8 Erick
    November 3, 2009 at 9:40 pm

    Hi, I’d love to try out your plugin, but I’m having the same xmlrpc error. I ran phpinfo() and it lists a few xml_rpc variables, but I’m not sure if that means xmlrpx is installed or not. I found the manuals on xmlrpc on php.net but can’t find an example of what the output of phpinfo should look like to verify that xmlrpc is indeed installed (or not). Could you post a snapshot of what the chunck from phpinfo that verifies xmlrpc is (or isn’t) installed?

    Thanks! The problem is I’m on shared hosting and have limited access to customize my installs. Here’s a response from godaddy (after I explained sent them the link to http://us2.php.net/manual/en/book.xmlrpc.php and had to convince them that the xmlrpc.php file they grepped in my root wasn’t in fact what I’m talking about, LOL)

    [quote]
    We have reviewed your erickmiller.com account and have verified xmlrpc is installed. The phpinfo.php does show the following settings for xmlrpc:
    xmlrpc_error_number 0 0
    xmlrpc_errors Off Off

    If this is not the version you need, we will not be able to modify the php installation in our shared hosting environment. Our virtual dedicated and dedicated servers allow customers to install their own customer applications and to modify the server environment.
    [/quote]

    Your plugin looks really cool and I’d really love to try it out, but this problem has been persisting for days now with me now going back and forth with Godaddy about if xmlrpc is installed or not. Oh, I’m running WP 2.85, Php 5.2.8, MYSQL 5.0.67.d7-ourdelta-log on an Apache server I even double checked that:
    $HTTP_RAW_POST_DATA = file_get_contents( ‘php://input’ );
    is defined in xmlrpc.php from WordPress.

    Help! Thanks in advance!

  9. 9 Erick
    November 6, 2009 at 11:15 am

    Hey Pepijn,

    Any chance you could post the output chunk of what phpinfo() shows when xml-rpc is installed?
    Please? This darn shared hosting account I have right now, I don’t have access to reinstall php.

    I understand XML-RPC enabled applications to call the methods of other XML-RPC enabled applications, regardless of the language, and there are other xml-rpc libs out there other besides this one.

    If I’m not able to get it installed correctly, could you recommend any libraries w/ compatible read/write functions to use in place of xmlrpc_encode_request() and xmlrpc_decode() ?

    Thanks for your help…

  10. 10 pepijndevos
    November 6, 2009 at 12:45 pm

    I’m not sure… For me it shows these 2 variables that seem XMLRPC-ish:
    xmlrpc_error_number 0 0
    xmlrpc_errors Off Off

    There are a bunch of XMLRPC libraries out there. I don’t know them but I guess you can use any of them as long as you call the same XMLRPC-functions.

  11. 11 Erick
    November 6, 2009 at 6:41 pm

    Ah-ha. Thanks for your response. I have those vars defined w/ those values too. Interestingly, I do have the variables, but I am still getting undefined function errors on the xmlrpc_encode_request() call. I wonder could be some sort of search path, compatibility problem or something else…

    I think this plugin looks super cool and has great potential, but b/c of these errors I can’t even test it out. Are you able to use it on the latest version of WP?

    I know you’re moving beyond the whole php thing …I code in python (& C++) too, it is awesome, but any more insight on this problem (if you have any) would be super cool. What’s your wordpress/server environment?
    Mine is:
    WP 2.85, Php 5.2.8, MYSQL 5.0.67.d7-ourdelta-log on an Apache server

    So, that leaves the question of what could be causing these undefined function errors. I’ll look into some more w/ my host, server env, and try to dumb down the wordpress bootstrap, etc, and report back my findings. Might be a couple days though, have some other things going on this week.

    Thanks again and stay tuned. Any extra info you might have to help me troubleshoot would be really cool.
    Erick

  12. 12 pepijndevos
    November 6, 2009 at 9:59 pm

    I’m using the SVN head of WordPress with MySQL and LigHTTPD installed via MacPorts.

    Could you try running a separate PHP file to try out some functions without WordPress?
    I can imagine WordPress is doing something strange or your version of XMLRPC has different functions. I’ll see if I can find out what the problem is.

  13. 13 Social WordPress
    November 13, 2009 at 10:28 am

    Can you include a simple and small XmlRpc server that process your Methods-arrays in lines 320 and 324 on your PHP plugin ? or tell us an alternaive form to call the functions, like this tip- http://www.webmasterworld.com/php/4009994.htm – and this other tip can help to make a xmlrpc server to this 2 methods: http://techchorus.net/xml-rpc-server-and-client-php-determine-clients-ip-address. I think that is not necessary to load and compile a complete library to work on 2 encode_request funtions, an better if the script dont need to load a server extension, all can be better if the plugin is totally “Universal Server”

    Other bugs is when you Add a contact from Different Network, they work in name, show gravatar or image url and the webSite Link, the widget is ok, a warning server appear and say:

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/path/to/wp-content/plugins/p2p-social-networker/p2p-social-networker.php on line 429

    Warning: usort() [function.usort]: The argument should be an array in home/path/to/wp-content/plugins/p2p-social-networker/p2p-social-networker.php on line 430

    Warning: array_slice() [function.array-slice]: The first argument should be an array in home/path/to/wp-content/plugins/p2p-social-networker/p2p-social-networker.php on line 433

    Warning: Invalid argument supplied for foreach() in home/path/to/wp-content/plugins/p2p-social-networker/p2p-social-networker.php on line 433

    And when you send a Message in your Other Networks Contacts, again the encode_request warning appear:
    –Fatal error: Call to undefined function xmlrpc_encode_request() inhome/path/to/wp-content/plugins/p2p-social-networker/p2p-social-networker.php on line 320 —

    The better solution to this incompatible servers functions is to include an XmlRpc server (and Why not, a RSS server too) because some hosting servers can brake the output/input text/html functions from their self server libraries.

    You have a P2P-SN Plugin/Widget working fine on a Website to show ?

  14. 14 pepijndevos
    November 13, 2009 at 11:14 am

    I see… With so many people having problems with the XMLRPC methods, I should work around them and find some free time to do some work on this plugin again. Thanks for all your reports!

    It’s been a while since I looked at that code, so I can’t tell you now what those warnings are, but I’ll try to fix them.

    It’s somewhat dangerous for me to look at code I wrote a while back, usually I feel the need to start over completely and redo the design…

    About a place to show the plugin: I don’t think WordPress.com allows me to install plugins. šŸ˜¦ I got pepijndevos.nl, but that is not really maintained and will be replaced by my own CMS when I’m finished with it. I could for now install it there to see if it works. So far I only tried it on my local webserver. It runs fine, and has been running fine since the start(I’m using a dev version of WordPress).

  15. 15 pepijndevos
    November 24, 2009 at 12:24 pm

    Sorry, not going to happen very soon, my MySQL server gave up working.

    11/24/09 12:15:15 PM org.macports.mysql5[885] ERROR! Manager of pid-file quit without updating file.

    For those who really need it, I’ll try to fix the XMLRPC thing, but not the warnings, without the SQL server.

  16. 16 A
    January 30, 2010 at 7:03 pm

    Seems like nice work. Thanks for your efforts

    What is missing from your readme file is the name of the widget. The ‘Friends’ widget is somewhat obvious after a little hunt around the widget selection, but is that it. I also see ‘Nice cloud tags’ and ‘Cloud tags’ but it might be from a different plug-in that was added at near the same time. Your website has cloud tags so im wondering if you made them too. Hmm.

  17. 17 A
    January 30, 2010 at 7:52 pm

    im becoming a bit more familiar with your plugin.

    it requires a good amount of work adding friends. having a method for friends adding themselves, and an approval method would be great.

    perhaps that might make it too easy. i suppose friends should take some work.

    cool

  18. 18 A
    January 30, 2010 at 7:57 pm

    ha. your right about phyton versus php. not many know that php stands for ‘personal home page’

    debugging php is irritating to the nth degree.

    a great aspect of python is its ability to optimize sections with c (maybe c++) code that is superior in speed.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




My blog has moved!

My blog has permanently moved to a self hosted Wordpress at http://pepijndevos.nl

This blog will stay around for accidental search engine visitors.

Me

This is me

Blog Stats

  • 22,541 hits

@PepijnDeVos

Error: Twitter did not respond. Please wait a few minutes and refresh this page.


%d bloggers like this: