Single step registration + Confirmation e-mail v0.1

Register an Account
Reply
 
Thread Tools Display Modes
  #101 (permalink)  
Old 12-15-2007, 11:46 AM
TobiParrot's Avatar
Casual Pligger
Pligg Version: Pligg beta 9.8.2
Pligg Template: Default
 
Join Date: Dec 2007
Location: UK
Posts: 41
I think that should be
Code:
$PLIGG_Visual_Name
if you want it to pick up the site name from your prefs.

I haven't used this yet (waiting for PHP 4 version).

Last edited by TobiParrot; 12-15-2007 at 02:18 PM. Reason: Removed trailing dot from code
Reply With Quote
  #102 (permalink)  
Old 12-15-2007, 11:50 AM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 784
When I add it like that without the ; I get an error

Quote:
Warning: mail(): Bad parameters to mail() function, mail not sent. in /home/content/b/b/r/bbrian017/html/blogengage/register.php on line 173
you need the ;
Reply With Quote
  #103 (permalink)  
Old 12-15-2007, 02:06 PM
TobiParrot's Avatar
Casual Pligger
Pligg Version: Pligg beta 9.8.2
Pligg Template: Default
 
Join Date: Dec 2007
Location: UK
Posts: 41
Quote:
Originally Posted by bbrian017 View Post
When I add it like that without the ; I get an error
you need the ;
Sorry bbrian017. Ignore the trailing dot (my copy-n-paste error). I just meant to highlight that the dollar sign is missing from the variable name. You do still need to close the statement with a semi-colon.

Code:
$subject="Welcome to " . $PLIGG_Visual_Name;
N.b. the space just after the word "to" will separate it from the site name, so it *should* say

Welcome to Blog Engage

If it doesn't work I wouldn't struggle. The way you have done it - by hard-coding the site name into the mail template - is perfectly o.k.

Last edited by TobiParrot; 12-15-2007 at 02:15 PM.
Reply With Quote
  #104 (permalink)  
Old 12-18-2007, 01:48 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 784
Thanks it seems to be working great, minus the waiting time to get the e-mails

I don't see why it's taking so long I run phpbb forums and I get e-mail instantly!
Reply With Quote
  #105 (permalink)  
Old 12-18-2007, 02:06 PM
TobiParrot's Avatar
Casual Pligger
Pligg Version: Pligg beta 9.8.2
Pligg Template: Default
 
Join Date: Dec 2007
Location: UK
Posts: 41
Quote:
Originally Posted by bbrian017 View Post
Thanks it seems to be working great, minus the waiting time to get the e-mails
When the PHP 4 version is released I'll check this, but my guess is there *may* be a problem with how the mail script constructs the email headers. In my experience, if the headers are wrong it can delay email quite badly.
Reply With Quote
  #106 (permalink)  
Old 12-18-2007, 04:20 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 784
Quote:
Originally Posted by TobiParrot View Post
When the PHP 4 version is released I'll check this, but my guess is there *may* be a problem with how the mail script constructs the email headers. In my experience, if the headers are wrong it can delay email quite badly.
You know how I could check this Tobi?
Reply With Quote
  #107 (permalink)  
Old 12-21-2007, 11:19 AM
New Pligger
Pligg Version: 9.8.2
Pligg Template: Slightly modified Mrtechie
 
Join Date: Oct 2007
Posts: 2
Is the PHP4 version ready? It would be the best xmas present I ever had!!!
Reply With Quote
  #108 (permalink)  
Old 12-21-2007, 12:54 PM
TobiParrot's Avatar
Casual Pligger
Pligg Version: Pligg beta 9.8.2
Pligg Template: Default
 
Join Date: Dec 2007
Location: UK
Posts: 41
@bbrian017

If you check the headers of a received email (open the message in Outlook Express, select 'file/properties' then the 'details' tab) there should be a 'return-path' header (not to be confused with 'reply-to'). Some mail transport systems require the return path to match the 'from' header.

Or, it may just be that your ISP subscribes to a Block List service like Spamhaus which can slow things down while mail is checked. If the emails have upset your host's own mail server spam filter, there should be an indication of that in the headers too.

One reason I would like to see the Pligg devs address the root vulnerability of this type of spam attack is that sending (potentially) hundreds of registration emails in one go sounds like a sure fire way to get yourself into trouble with your ISP.
Reply With Quote
  #109 (permalink)  
Old 12-23-2007, 11:43 AM
New Pligger
Pligg Version: 9.8.2
Pligg Template: sinegative
 
Join Date: Nov 2007
Posts: 1
would any1 be so kind to give me a complete tutorial on how to get it to work with version 9.8.2, PHP5 and sinegative? where can I download the right files?
Reply With Quote
  #110 (permalink)  
Old 01-08-2008, 10:01 AM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 784
Anyone try this with 9.9.0 how was it after upgrading from 9.8.2
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Email confirmation for registration sbanerjee Questions and Comments 2 11-23-2008 12:42 PM
Single Step Registration+Email Verification arkasun Questions and Comments 6 11-10-2008 11:46 AM
HELP! I'm getting spammed! AshMCairo Questions and Comments 113 11-04-2008 02:58 PM
Single step registration + Confirmation e-mail v0.3 onis Questions and Comments 1 01-17-2008 12:23 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