Quote:
Originally Posted by 69khz Is there a mod that makes it so user has to click confirmation in email before they can submit?
I'd like to have my site so that users can't register with invalid emails & make them have to confirm before they can submit?
Also, is there a mod where submissions won't appear in upcoming unless I approve the link? better yet, how do I set my pligg so that new entries automatically end up as discard instead of queued?? |
Change Default status submited post I dont know if its the right way to do it but i just tested it and it works.
Before doing this backup the file you are editing!
open submit.php
Find
PHP Code:
// submit step 3
function do_submit3() {
global $db;
$linkres=new Link;
$linkres->id=$link_id = strip_tags($_POST['id']);
$linkres->read();
totals_adjust_count($linkres->status, -1);
totals_adjust_count('queued', 1);
$linkres->status='queued';
$linkres->store_basic();
$linkres->check_should_publish();
check_actions('do_submit3',array('linkres'=>&$linkres));
if(!empty($_POST['trackback'])) {
require_once(mnminclude.'trackback.php');
$trackres = new Trackback;
$trackres->url=trim($_POST['trackback']);
$trackres->link=$linkres->id;
$trackres->title=$linkres->title;
$trackres->author=$linkres->author;
$trackres->content=$linkres->content;
$res = $trackres->send();
}
Find Line
PHP Code:
$linkres->status='queued';
and replace with
PHP Code:
$linkres->status='discard';