houseofstrauss
Member
Posted 2 years ago #
I'm cloning this plugin so that I can use it twice on the same site. I changed all occurances of 'like' to 'want' The cloned plugin appears to install and work ok with no conflict with the original version. Are you aware of anything else I need to change, ie in the cookie function?
many thanks for your comment.
http://wordpress.org/extend/plugins/wp-likes/
s_ha_dum (was apljdi)
Member
Posted 2 years ago #
Well, the plugin must be saving information somewhere. I'd guess its saving to the database, so you'd want to make sure the one plugin isn't overwriting values from the other one. Maybe the changes you've already made took care of that.
houseofstrauss
Member
Posted 2 years ago #
Looks like the database table uses $wpdb->wants=$wpdb->prefix."likes"; so my global change of likes to wants changed that also. The plugins appear to work side by side without any problem, I'm running a local server test, so I have to create different users, clear cookies and see if votes remain accurate. It takes a while, but I'll post back if successful