Hi,
I can't seem to get to this. I want to prevent duplicate URL's from being entered either from the front-end or the back-end.
I tried the unique-url-v7 plugin but it doesn't seems to work from the either end.
Any help will be highly appreciated.
Hi,
I can't seem to get to this. I want to prevent duplicate URL's from being entered either from the front-end or the back-end.
I tried the unique-url-v7 plugin but it doesn't seems to work from the either end.
Any help will be highly appreciated.
havent checked the plugin for latest update, have it working fine on a previous V7 install, will check for you and update,
I'm asking a lot but it will be great if this plugin check the description also !
Something like:
'
function checkDupe($description){
$description = str_replace('"','',$description);
$desc_cut=wordwrap(stripslashes($desc),100,"",1);
$cut = explode('', $desc_cut);
$cut = $cut[0] ;
$url = 'http://www.google.fr/search?hl=fr&q="'. urlencode($cut).'"&filter=0';
if (function_exists('curl_init')) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$data=curl_exec ($ch);
curl_close ($ch);
}
else {
$data= file_get_contents($url);
}
$page = $data ;
$result = explode('environ ', $page);
$result1 = $result[1] ;
$result2 = explode('pour', $result1);
$result3 = $result2[0] ;
$result3 = trim(strip_tags(str_replace('Â ', '', $result3)));
// If more than 5 results found, stop the process
if ($result3 > 5){
return true;
}
else {
return false;
}
}
'
hey, plugin is free, hack the code as you like
lol
It was only a suggestion !
So did you get any luck with this plugin?
I think Mark could have integrated this plugin right inside the theme and made it as a on/off option.
Hey buddy, did you get any success with this plugin? I need this somehow or the other as I have lot of links to add and its often a tedious job to keep track of which link was added.
About my code, is for the Freeglobes Directory script !
It was only an example !
How about Mark coming forward with a some solution. I desperately need it.
Hey, had some time to make an upgrade for this plugin, and make it work with DP 7099.
I have updated the demo link, as well as the plugin download available on the old link.
You can visit the link in my forum signature for the old links, or just visit the link below to grab the download.
Have tested it, and it seems to be working great now.
Please let me know if you have any hassles with the plugin, or if you spot any issues.
http://www.create-web-directory.com/unique-url-plugin/
Thanks !
NP
It's still best value ... free, and code is open source so get hacking
Thank you @Danie, I added your plugin a couple of weeks ago and then this week have been getting some sneaky buggers so will download your new version and hope it keeps them out
Hey Emma, let me know if any sneaky buggers get through this time, and how, and can make some tweaks, hopefully this works now, tests have been good up to date