anyone got a mod for email confirmation? Some other mods???

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-12-2007, 08:50 PM
New Pligger
 
Join Date: Sep 2007
Posts: 24
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??
Reply With Quote
  #2 (permalink)  
Old 09-12-2007, 09:06 PM
Casual Pligger
Pligg Version: 9.9
Pligg Template: convergence
 
Join Date: Sep 2007
Location: Netherlands
Posts: 37
Quote:
Originally Posted by 69khz View Post
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'

Last edited by thuggster; 09-12-2007 at 09:12 PM.
Reply With Quote
  #3 (permalink)  
Old 09-12-2007, 09:45 PM
dollars5's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: India
Posts: 1,960
Quote:
Originally Posted by 69khz View Post
Is there a mod that makes it so user has to click confirmation in email before they can submit?
You can try http://forums.pligg.com/pligg-mods/4...il-v0-1-a.html but that is not for the latest version - but you could easily port following the instructions.

using it only after users confirm their e-mail they will be able to login.
Reply With Quote
  #4 (permalink)  
Old 09-12-2007, 10:28 PM
New Pligger
 
Join Date: Sep 2007
Posts: 24
Thanks guys. I'm trying both these..
Reply With Quote
  #5 (permalink)  
Old 09-12-2007, 11:10 PM
New Pligger
 
Join Date: Sep 2007
Posts: 24
Fantastic.. both of these work well..

The email confirmation registration works like a charm perfectly.
Reply With Quote
  #6 (permalink)  
Old 09-12-2007, 11:13 PM
Casual Pligger
Pligg Version: 9.9
Pligg Template: convergence
 
Join Date: Sep 2007
Location: Netherlands
Posts: 37
Good
Just glad i could help
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Have specific mods - need a developer (willing to open source mods post payment) pliggy Questions and Comments 1 10-22-2008 04:29 PM
List of mods webdevil2003 Questions and Comments 1 11-19-2007 11:20 PM
Including existing Mods termite Questions and Comments 3 07-28-2007 03:06 AM
MODs needed - will pay for your work :) submitlink Questions and Comments 3 07-20-2007 08:25 AM
I have a couple of hacks / mods unohoo Questions and Comments 5 05-24-2007 01:19 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development