Go Back   Pligg Forum > Pligg Development > Pligg Mods
Reply
 
LinkBack Thread Tools Display Modes
  #91 (permalink)  
Old 12-12-2007, 04:30 AM
binjamin binjamin is offline
New Pligger
Pligg Version: Plig Beta 9.8.2
Pligg Template: Default?
 
Join Date: Oct 2007
Posts: 4
Downloads: 1
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
So theirs no way to get this thing working for php4? only php5? That's kind of a disadvantage as MANY sites still use php4
Reply With Quote
Sponsored Links
Check out the New Modules at the Pligg Pro Shop.
  #92 (permalink)  
Old 12-12-2007, 07:49 AM
bbrian017 bbrian017 is offline
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 917
Downloads: 30
Uploads: 0
Thanks: 171
Thanked 17 Times in 17 Posts
Quote:
Originally Posted by binjamin View Post
So theirs no way to get this thing working for php4? only php5? That's kind of a disadvantage as MANY sites still use php4
I got it to work but I'm still facing these issues. I am using php 4

Single step registration + Confirmation e-mail v0.1
Reply With Quote
  #93 (permalink)  
Old 12-12-2007, 08:57 AM
TobiParrot's Avatar
TobiParrot TobiParrot is offline
Casual Pligger
Pligg Version: Pligg beta 9.8.2
Pligg Template: Default
 
Join Date: Dec 2007
Location: UK
Posts: 45
Downloads: 1
Uploads: 0
Thanks: 5
Thanked 8 Times in 6 Posts
I agree with binjamin. Sad I can't use this module.

Email confirmation for registration is a core feature for nearly all the CMS applications I use. It's not the sort of feature I would have thought needed to be PHP or MySQL version dependent.
Reply With Quote
  #94 (permalink)  
Old 12-12-2007, 09:36 AM
AshDigg's Avatar
AshDigg AshDigg is offline
Mayor of PliggVille
 
Join Date: Dec 2005
Posts: 1,623
Downloads: 34
Uploads: 10
Thanks: 237
Thanked 346 Times in 207 Posts
I'll be re-working this module to make it compatible with the new Captcha module and php4 compatible. It'll be ready later this week.
__________________
- Ash
Reply With Quote
The Following 7 Users Say Thank You to AshDigg For This Useful Post:
  #95 (permalink)  
Old 12-12-2007, 09:42 AM
bbrian017 bbrian017 is offline
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 917
Downloads: 30
Uploads: 0
Thanks: 171
Thanked 17 Times in 17 Posts
yahooo thanks Ash this is awesome.

Reply With Quote
  #96 (permalink)  
Old 12-12-2007, 10:52 AM
TobiParrot's Avatar
TobiParrot TobiParrot is offline
Casual Pligger
Pligg Version: Pligg beta 9.8.2
Pligg Template: Default
 
Join Date: Dec 2007
Location: UK
Posts: 45
Downloads: 1
Uploads: 0
Thanks: 5
Thanked 8 Times in 6 Posts
Quote:
Originally Posted by AshDigg View Post
I'll be re-working this module to make it compatible with the new Captcha module and php4 compatible...
That is indeed excellent news. Many thx.
Reply With Quote
  #97 (permalink)  
Old 12-13-2007, 01:24 PM
bbrian017 bbrian017 is offline
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 917
Downloads: 30
Uploads: 0
Thanks: 171
Thanked 17 Times in 17 Posts
Quote:
Originally Posted by binjamin View Post
So theirs no way to get this thing working for php4? only php5? That's kind of a disadvantage as MANY sites still use php4
Sorry Benjamin I was incorrect I am using php 5 I'm sorry about the confusion!



I'm still having issues with this DOLLARS5 please hep me

ght I played with it and now I get this,

Quote:
Welcome to BlogEngagePLIGG_Visual_Name‏
From: admin@blogengage.comPLIGG_PassEmail_From
When I try and delete the extra text I get a parse error ?

This is where I'm at,
Code:
			echo "Welcome $username<br />";
			echo "Check your e-mail for activating your account.<br />";
			$from = 'From: admin@blogengage.com' . PLIGG_PassEmail_From . "\r\n";
			$subject="Welcome to BlogEngage" . PLIGG_Visual_Name;
			$message = "Hello " . $username . ",\r\n\r\nThanks for registering with us. Please confirm your activation by clicking the following link or by copy, pasting it into your url address field of your browser.\r\n" . my_base_url . my_pligg_base . "/validation.php?code=$encode&uid=$username\r\n\r\nRegards,\r\nAdministrator";
			$to=$email;
			mail($to, $subject, $message, $from);
EDIT: I just did it like this and I don't have an error I will try it and see if it works,

Code:
		echo "Welcome $username<br />";
			echo "Check your e-mail for activating your account.<br />";
			$from = 'From: admin@blogengage.com' . 
			$subject="Welcome to BlogEngage" .
			$message = "Hello " . $username . ",\r\n\r\nThanks for registering with us. Please confirm your activation by clicking the following link or by copy, pasting it into your url address field of your browser.\r\n" . my_base_url . my_pligg_base . "/validation.php?code=$encode&uid=$username\r\n\r\nRegards,\r\nAdministrator";
			$to=$email;
			mail($to, $subject, $message, $from);
Alright I still get an error when I do it this way,

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
Line 173 is,

Code:
		mail($to, $subject, $message, $from);
Cheers,

bbrian017
Reply With Quote
  #98 (permalink)  
Old 12-13-2007, 05:40 PM
AshDigg's Avatar
AshDigg AshDigg is offline
Mayor of PliggVille
 
Join Date: Dec 2005
Posts: 1,623
Downloads: 34
Uploads: 10
Thanks: 237
Thanked 346 Times in 207 Posts
Just by taking a look at the code you posted, I see a problem here...

PHP Code:
            $from 'From: admin@blogengage.com' 
            
$subject="Welcome to BlogEngage" 
You cut off half of the original code, and you're ending the lines with a . (period) instead of a ; (semicolon).
__________________
- Ash
Reply With Quote
The Following User Says Thank You to AshDigg For This Useful Post:
  #99 (permalink)  
Old 12-13-2007, 09:06 PM
bbrian017 bbrian017 is offline
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 917
Downloads: 30
Uploads: 0
Thanks: 171
Thanked 17 Times in 17 Posts
When I add the code back in ashdigg,
Code:
$from = 'From: admin@blogengage.com' . PLIGG_PassEmail_From . "\r\n";
$subject="Welcome to BlogEngage" . PLIGG_Visual_Name;
Then when you recieve the confirmation it looks like this,
Quote:
Welcome to BlogEngagePLIGG_Visual_Name‏
From: admin@blogengage.comPLIGG_PassEmail_From
Reply With Quote
  #100 (permalink)  
Old 12-15-2007, 02:36 AM
bbrian017 bbrian017 is offline
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 917
Downloads: 30
Uploads: 0
Thanks: 171
Thanked 17 Times in 17 Posts
I got this to work, thanks everyone
Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks Enabled by vBSEO 3.0.0