View Single Post
  #15 (permalink)  
Old 02-26-2007, 08:45 AM
dollars5's Avatar
dollars5 dollars5 is offline
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,154
Thanks: 290
Thanked 266 Times in 177 Posts
A temporary solution would be is to do the following modifications:
1] open submit_empty_submit_form.tpl before
Code:
<input type="text" name="url" id="url" value="http://" size=55 class="form-full" />
add the following lines
Code:
<input type="hidden" name="ts_random" value="{$submit_rand}" /><br />
		<img src="{$my_pligg_base}/ts_image.php?ts_random={$submit_rand}" class="ch2" />
		<p><input type="text" size="20" name="ts_code" /><br /><br />
2] Open submit.php, in function do_submit1(); before
Code:
if($url == "http://" || $url == ""){
		if(Submit_Require_A_URL == false){$linkres->valid = true;}else{$linkres->valid = false;}
	}
add
Code:
if (!ts_is_human()) {
		$main_smarty->assign('register_error_text', "badcode");
		$main_smarty->display($the_template . '/register_error.tpl');
		return;
	}
This uses the same register_error.tpl files - should need another type of display, edit or forward accordingly.
Reply With Quote