del.icio.us:How To Fix The LinkShare RSS Deal Feed Wordpress Plugindigg:How To Fix The LinkShare RSS Deal Feed Wordpress Plugin
spurl:How To Fix The LinkShare RSS Deal Feed Wordpress Pluginwists:How To Fix The LinkShare RSS Deal Feed Wordpress Plugin
simpy:How To Fix The LinkShare RSS Deal Feed Wordpress Pluginnewsvine:How To Fix The LinkShare RSS Deal Feed Wordpress Plugin
blinklist:How To Fix The LinkShare RSS Deal Feed Wordpress Pluginfurl:How To Fix The LinkShare RSS Deal Feed Wordpress Plugin
reddit:How To Fix The LinkShare RSS Deal Feed Wordpress Pluginfark:How To Fix The LinkShare RSS Deal Feed Wordpress Plugin
blogmarks:How To Fix The LinkShare RSS Deal Feed Wordpress PluginY!:How To Fix The LinkShare RSS Deal Feed Wordpress Plugin
smarking:How To Fix The LinkShare RSS Deal Feed Wordpress Pluginmagnolia:How To Fix The LinkShare RSS Deal Feed Wordpress Plugin
segnalo:How To Fix The LinkShare RSS Deal Feed Wordpress Plugingifttagging:How To Fix The LinkShare RSS Deal Feed Wordpress Plugin

How To Fix The LinkShare RSS Deal Feed WordPress Plugin

I haven’t tried using the coupon or widget functionality, so this only applies to the RSS functionality via the get_linkshareRSS() function.

After installing the plugin and setting it up, I noticed 2 problems. The first, the configuration panel didn’t seem to save all of my settings. The second, the get_linkshareRSS() function didn’t display anything but the Headline.

Problem 1: After a little investigation, I found out that the settings were getting saved, it’s just that the hard coded values in the option list of the “Choose an RSS feed” (display_type) select control are incorrect. They have “&” between the promoid & token, but the value retrieved from the database only has “&”. So you have to change the line of the feed you want to select.

For example, (in the file linksharerss-ads/LinkshareRSSCoupon.php)
line 1065:
(Original:)
<option <?php if(get_option(‘LinkshareRSS_display_type’) == ‘http://rss.linksynergy.com/promo.rss?promoid=2909&amp;token=’) { echo ‘selected’; } ?> value=”http://rss.linksynergy.com/promo.rss?promoid=2909&token=”>A Matter of Fax – Deals of the Day</option>

(Change To:)
<option <?php if(get_option(‘LinkshareRSS_display_type’) == ‘http://rss.linksynergy.com/promo.rss?promoid=2909&token=’) { echo ‘selected’; } ?> value=”http://rss.linksynergy.com/promo.rss?promoid=2909&token=”>A Matter of Fax – Deals of the Day</option>

After saving the changes to the file, you should see the correct settings in the configuration panel.

Problem 2: After a little more investigation, I found that the token was not getting retrieved from the database in the get_linkshareRSS() function. After browsing through the code I noticed that in the get_linkshareRSS() function the token (linkshareid) is retrieved from the db as ‘linkshareRSS_linkshareid’, but every where else in the code it is retrieved as ‘linkCoupon_linkshareid’. So you have to change the line that retrieves the token to use the correct name.

(in the file linksharerss-ads/LinkshareRSSCoupon.php)
line 27:
(Original:)
if (!isset($args[6])) $id_number = stripslashes(get_option(‘linkshareRSS_linkshareid’)); else $id_number = $args[6];

(Change To:)
if (!isset($args[6])) $id_number = stripslashes(get_option(‘linkCoupon_linkshareid’)); else $id_number = $args[6];

After saving the changes to the file, you should see the deals show up on your page. After that you just have to change the styling & fields you want to display.

To see an example of mine in action check out the More Ragin’ Savin’s section of Ragin’ Savin’s.