Problem with twitter plugin

Creating and modifying plugins.
Post Reply
Greenfreak
Regular
Posts: 5
Joined: Thu May 15, 2008 12:59 pm

Problem with twitter plugin

Post by Greenfreak »

I've a problem installing the twitter plugin..

If i go to install a sidebar plugin there comes following notice:

Code: Select all

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in xxx/serendipity/plugins/serendipity_plugin_twitter/serendipity_plugin_twitter.php on line 13
Can anyone help me?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem with twitter plugin

Post by garvinhicking »

Hi!

This twitter plugin is for PHP5 only, but you're running PHP4. However I made a change to the next version of the plugin (available in 24-48 hours) so that it should be usable for PHP4 as well.

Other that that, you could also simply embed the Twitter JAvaScript inside a HTML nugget sidebar plugin, so that you don't need a standalone plugin for it...

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply