-
21-08-08 #31
Pagerank10.co.uk
- Join Date
- Mar 2005
- Location
- uk
- Posts
- 2,571
- Thanks
- 155
- Thanked 112 Times in 78 Posts
Re: Free PHP Voucher Code Framework
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
-
21-08-08 #32
Registered User
- Join Date
- Dec 2006
- Posts
- 462
- Thanks
- 58
- Thanked 15 Times in 14 Posts
-
21-08-08 #33
Pagerank10.co.uk
- Join Date
- Mar 2005
- Location
- uk
- Posts
- 2,571
- Thanks
- 155
- Thanked 112 Times in 78 Posts
-
21-08-08 #34
Registered User
- Join Date
- Jan 2008
- Location
- Yorkshire
- Posts
- 656
- Thanks
- 23
- Thanked 36 Times in 30 Posts
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?)
-
22-08-08 #35
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
JamesJames Little | Head of Affiliate Development | AffiliateFuture
Email/MSN: james.little@affiliatefuture.co.uk | Phone: 0207 927 6579
-
22-08-08 #36
Affiliate
- Join Date
- Aug 2003
- Location
- Bristol
- Posts
- 2,177
- Thanks
- 46
- Thanked 36 Times in 27 Posts
-
22-08-08 #37
Pagerank10.co.uk
- Join Date
- Mar 2005
- Location
- uk
- Posts
- 2,571
- Thanks
- 155
- Thanked 112 Times in 78 Posts
-
22-08-08 #38
Typing with both fingers.
- Join Date
- Aug 2003
- Location
- Allt Y Coed Farm, North Pembrokeshire
- Posts
- 3,834
- Thanks
- 215
- Thanked 143 Times in 108 Posts
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
-
22-08-08 #39
Affiliate
- Join Date
- Aug 2003
- Location
- Bristol
- Posts
- 2,177
- Thanks
- 46
- Thanked 36 Times in 27 Posts
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
-
22-08-08 #40
Registered User
- Join Date
- Jan 2005
- Location
- Leeds, UK
- Posts
- 1,054
- Thanks
- 79
- Thanked 51 Times in 37 Posts
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'.
-
22-08-08 #41
Dark Prince
- Join Date
- Aug 2003
- Location
- Behind you
- Posts
- 1,688
- Thanks
- 4
- Thanked 16 Times in 14 Posts
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;
}
-
22-08-08 #42
Registered User
- Join Date
- Jan 2005
- Location
- Leeds, UK
- Posts
- 1,054
- Thanks
- 79
- Thanked 51 Times in 37 Posts
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.
-
22-08-08 #43
Registered User
- Join Date
- Sep 2007
- Posts
- 976
- Thanks
- 34
- Thanked 41 Times in 36 Posts
did u empty the database? goto phpmyadmin click the tables and click empty , then re import the feed in the voucher admin
-
22-08-08 #44
Registered User
- Join Date
- Jan 2005
- Location
- Leeds, UK
- Posts
- 1,054
- Thanks
- 79
- Thanked 51 Times in 37 Posts
I can use
in the description for it to display fine but notCode:& pound ;
... think previously though, it liked neither.Code:£
-
22-08-08 #45
Dark Prince
- Join Date
- Aug 2003
- Location
- Behind you
- Posts
- 1,688
- Thanks
- 4
- Thanked 16 Times in 14 Posts
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.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Webgains weekly updated merchant promotions
By Emma Delaforce in forum WebgainsReplies: 0Last Post: 24-01-08, 12:46 PM -
Weekly Update: Webgains Current Promotions
By Emma Delaforce in forum WebgainsReplies: 2Last Post: 08-06-07, 10:09 AM -
Promotions & offers from Webgains merchants
By Hero in forum WebgainsReplies: 0Last Post: 10-01-07, 08:57 PM


LinkBack URL
About LinkBacks
Reply With Quote


Bookmarks