I'm not sure if you've noticed, but a small number of URLs just pop up as being blocked, even though Digg takes them without any problem. For example, try to submit anything from the news site Arizona Local News - Phoenix Arizona News - azcentral.com and you'll get the invalid or blocked URL message.
I'd like to modify the code so that Validate URL is set to true (so that I keep the title and trackback capturing features), but it doesn't give me an error if the URL is blocked.
So far, I've figured out that I can get half of the job done by removing the following in submit.php
Code:check_actions('submit_validating_url',array("url" => $url,'linkres'=>&$linkres)); if(!$linkres->valid) { $main_smarty->assign('submit_error', 'invalidurl'); $main_smarty->assign('tpl_center', $the_template . '/submit_errors'); $main_smarty->display($the_template . '/pligg.tpl'); return; }
However, when I submit the link of a blocked story, it updates the link in the database as "1" instead of the actual link (even though it shows up correctly in Submit Step 2).
It looks like I'm missing something here.
Any ideas?



Reply With Quote



