Well, I suppose im the only one who knows what ours is going be like when complete, although it will be live very soon it wont be complete for some time to come.
Pagerank10 is the best at what it does, and this is going to dwarf it.
Lee
iCodes - Free Voucher and Offer API Available.
listen closely and you can actually hear the sound of people clambering on the bandwagon. Teddy would be so proud
(is there space for one more?)
Personally I think the word is different, not better![]()
We purposely made ours so that users would need to modify it so that all the sites didn't look the same, it's quite easy to template up and we'll be releasing a Wiki soon so that others can contribute (another network have already expressed a desire to build an XML feed and get it integrated, which is great).
This is one of a number of website tools that we'll be releasing over the next 6 months to help expand our affiliates reach and I thank everyone that has found it useful and hope that the others will be just as good!
Cheers
James
James Little | Partnerships Director | TopCashBack
Follow, My Affiliate Marketing Musing on . http://www.twitter.com/purple
As an affiliate - I'll have a go with both Lee's and AF's scripts. They both have different capabilities and are exciting to look at and work with. I dont think there is any 'copycat' behaviour going on.
Ta
Baz
Like Baz I will consider all options made available to see which works best for me. THey all have their own benefits its all good for the affiliate industry. Innovation is what makes us all evolve and grow, and makes the affiliate marketing channel more and more important in any merchants marketing mix
Follow, My Affiliate Marketing Musing on . http://www.twitter.com/purple
I had the same idea to run such a site too on 17th January 2008, when I registered two new domain names 'easyshopcodes' ... erm just one day after Matt Wood posted on here 'I wonder if it would help if we built a proper voucher code database on affiliates4u'.![]()
Fixed that darn £ sign issue! Not ideal, but it is all down to different servers having charsets, so... open up functions.php and replace the cleandata function with this one.
It is a bit of a hack and basically replaces offending characters with their ISO value to sidestep the charset issues, but it should be reliable and consistent, which is what counts.
TAKE THE SPACES OUT OF THE ISO values (& # 36; etc) - I had to put them in to make them display here.
Again, you will need to reimport your vouchers to update them. Empty the DB and re-import or just edit them and save to update them.PHP Code:// Clean Data
function cleandata ($cleantarget)
{
$cleantarget = TRIM($cleantarget);
$cleantarget = STRIPSLASHES($cleantarget);
$cleantarget=strip_tags($cleantarget);
$cleanchars = array("'", "*", "@", "`", ",", "~", "(", ")", "{", "}", "\\", "\"");
$cleantarget = str_replace($cleanchars, "", $cleantarget);
$cleantarget = str_replace("£", "& # 163;", $cleantarget);
$cleantarget = str_replace("%", "& # 37;", $cleantarget);
$cleantarget = str_replace("$", "& # 36;", $cleantarget);
//USEFUL ROUTINES TO KEEP TUCKED AWAY
//Heavy duty one below - uncomment use if you absolutely only want letters and numbers...
//$cleantarget = ereg_replace("[^A-Za-z0-9]", "", $cleantarget);
// Conditional ADDSLASHES CLAUSE - CHECKS IF MAGIC QUOTES IS INSTALLED - MIGHT BE USEFUL
//if (!get_magic_quotes_gpc()) {
//$cleantarget=addslashes($cleantarget);
//}
$cleanedup=$cleantarget;
return $cleanedup;
}
Affiliate Partnership Manager - Kidstart
Hmm, I've updated that but still no joy for me. I've just added a demo description for 123 Cartridges that includes a £ sign.
did u empty the database? goto phpmyadmin click the tables and click empty , then re import the feed in the voucher admin
I can usein the description for it to display fine but notCode:& pound ;... think previously though, it liked neither.Code:£
Looking at the source for your page I can see that the record for that description has not been updated. You need to open it up in the admin and save it again - that will apply the cleaning function to the content and turn the pound signs into ISO values. Or just continue to use & pound; ...
My test installation at urvouchers.co.uk is using the default installation and as you can see that one is fine now (try the description on avanquest).
The zip download has been updated and should now (touch wood) be free of these character issues - it is just a bit niggly making something always look the same when servers are set up differently but we still need to store human readable data for things like urls and descriptions without pulling too much stuff out.
Affiliate Partnership Manager - Kidstart
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks