Duplicate twitter plugin?

Creating and modifying plugins.
Post Reply
m750
Regular
Posts: 23
Joined: Sun Nov 11, 2007 7:49 am

Duplicate twitter plugin?

Post by m750 »

My wife and I share our blog, and I'd like to duplicate the twitter plugin, to include both our tweets in the sidebar plugin. In the past I hacked the flicker plugin to do the same, but this plugin is a bit more advanced. Any ideas how to duplicate it, so I can run two instances?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Duplicate twitter plugin?

Post by garvinhicking »

Hi!

Try to edit the serendipity_plugin_twitter.php file and search for 'stackable'. Set that variable from "false" to "true" and you can use the plugin multiple times. However, I am not 100% sur ethat the sidebar plugin works twice on a page, so you'd have to experiment with this...?

Regards,
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/
m750
Regular
Posts: 23
Joined: Sun Nov 11, 2007 7:49 am

Re: Duplicate twitter plugin?

Post by m750 »

I'm not sure what is next after making that change? dupe the folder?
Aaron
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Duplicate twitter plugin?

Post by garvinhicking »

Hi!
m750 wrote:I'm not sure what is next after making that change? dupe the folder?
Aaron
No, you would keep that, and simply go to your plugin manager again, and install the twitterplugin a second time by picking it from the list of available plugins...

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/
m750
Regular
Posts: 23
Joined: Sun Nov 11, 2007 7:49 am

Re: Duplicate twitter plugin?

Post by m750 »

That worked, I realize it was a noob question, but I couldn't find a reference to 'stackable' or dulicating a pluggin in the user manuals.
FWIW, it seems to work, there is a note that one should use the php version for multiple instance in the admin page, so that is how I have it configured.
Aaron
Post Reply