Go Back   Pligg Forum > Pligg Development > Pligg Mods
Reply
 
LinkBack Thread Tools Display Modes
  #151 (permalink)  
Old 02-28-2008, 08:52 AM
ketissak ketissak is offline
New Pligger
Pligg Version: Pligg_Beta_9.9.0
Pligg Template: yget
 
Join Date: Feb 2008
Posts: 2
Downloads: 1
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Perhaps something

Hello every body

I try to do something for the email validation...

For me it looks like to work well. You can try it here : elEcodiario - Agregador de Noticias / Publicadas

It's not a module because i don't have the time neither the knowlege.
I tried to do it but without success by lack of time...

I put an archive with the files and there is the way:
login.php --> ./
register.php --> ./
registration.php --> ./
validation.php --> ./
libs_login.php --> ./libs/login.php
*.tpl --> ./templates/yget/

I Hope it will be usefull
Ketissak
Attached Files
File Type: gzip pligg-Confirmation_emails.gzip (6.8 KB, 36 views - Who Downloaded?)
Reply With Quote
Sponsored Links
Check out the New Modules at the Pligg Pro Shop.
  #152 (permalink)  
Old 03-02-2008, 10:06 AM
mikimiki mikimiki is offline
New Pligger
Pligg Version: ok
Pligg Template: ok
 
Join Date: Jan 2008
Posts: 9
Downloads: 3
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Can this work in pligg 9.8.2

Hi everybody
Can this work in pligg 9.8.2 with yget template.I tried but not good for me.Is there any solution for 9.8.2 confirmation email.
Thanks
Reply With Quote
  #153 (permalink)  
Old 03-02-2008, 10:30 AM
alexxa alexxa is offline
New Pligger
 
Join Date: Feb 2008
Posts: 3
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Where and how

Hi
Where and how to change this step-4: Modify the validation.php with proper database settings. I found validation.php but there is no
define('DB_NAME', 'Database Name'); // The name of the database
define('DB_USER', 'Username'); // Your MySQL username
define('DB_PASSWORD', 'Password'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value.
Do I have to add this and where or is it in some other place.
Please help me I am going crazy.
Reply With Quote
  #154 (permalink)  
Old 03-05-2008, 09:45 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'm assuming Ash Digg isn't working on this module for 9.9.0 anymore?
Reply With Quote
  #155 (permalink)  
Old 03-07-2008, 09:17 AM
fingerprn fingerprn is offline
Pligg Donor
Pligg Version: 9.8.2 +
Pligg Template: yget
 
Join Date: Jul 2007
Posts: 117
Downloads: 5
Uploads: 0
Thanks: 9
Thanked 35 Times in 8 Posts
Quote:
Originally Posted by ketissak View Post
Hello every body

I try to do something for the email validation...

For me it looks like to work well. You can try it here : elEcodiario - Agregador de Noticias / Publicadas

It's not a module because i don't have the time neither the knowlege.
I tried to do it but without success by lack of time...

I put an archive with the files and there is the way:
login.php --> ./
register.php --> ./
registration.php --> ./
validation.php --> ./
libs_login.php --> ./libs/login.php
*.tpl --> ./templates/yget/

I Hope it will be usefull
Ketissak
Ketissak, I tested yours from your site and it says my confirmation notice came from password@pligg.com. You may want to change that.
Reply With Quote
  #156 (permalink)  
Old 03-11-2008, 04:53 AM
ketissak ketissak is offline
New Pligger
Pligg Version: Pligg_Beta_9.9.0
Pligg Template: yget
 
Join Date: Feb 2008
Posts: 2
Downloads: 1
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by fingerprn View Post
Ketissak, I tested yours from your site and it says my confirmation notice came from password@pligg.com. You may want to change that.
Thank you for the remark!!

I changed it..

I forgot to tell that i run the version Pligg_Beta_9.9.0

If there is someone who can tell me a feedback, it works for you, did you try it??

Good bye
Reply With Quote
  #157 (permalink)  
Old 03-11-2008, 12:51 PM
fingerprn fingerprn is offline
Pligg Donor
Pligg Version: 9.8.2 +
Pligg Template: yget
 
Join Date: Jul 2007
Posts: 117
Downloads: 5
Uploads: 0
Thanks: 9
Thanked 35 Times in 8 Posts
It didn't work for me, but I was able to get some ideas from your code and the original to create a version that works. I just need to make a few tweaks and I'll post my solution in the next several days.
Reply With Quote
  #158 (permalink)  
Old 03-17-2008, 08:06 PM
fingerprn fingerprn is offline
Pligg Donor
Pligg Version: 9.8.2 +
Pligg Template: yget
 
Join Date: Jul 2007
Posts: 117
Downloads: 5
Uploads: 0
Thanks: 9
Thanked 35 Times in 8 Posts
Single step reg + email confirm + resend confirm REDUX

Here's my humble attempt at improving the registration system.

Here's what was changed from dollars5 mod:

1. Although the v.0.3 code seems to work fine for most of you, it didn't on my server. I discovered it's because it wasn't accessing my database properly. I replaced the standard MySQL commands with just enough EZsql commands to get it to work. If you were having problems with the old code, my version may work for you.

2. Originally, if the user didn't click on the confirmation email code and tried to log in, it would just say they had the wrong username/password. Now it will tell you that you never completed the confirmation process and offers to send you another confirmation email.

3. Other small tweaks to make the experience more user-friendly.

4. NEW! dollars5's v.0.3 code did not work with the "Send Welcome Private Message" module. This version now includes a private welcome message. However, since I could not get this mod to work with the original "Send Welcome Private Message" module, I just dumped the module code into the register.php file and tweaked a few things until it worked. If you don't want this capability, just delete or comment it out.



Important: I am not a developer. I modified the original mod through hours of trial and error and not through my vast knowledge of PHP. Therefore, if it doesn't work on your system I won't be able to help because I'm not completely sure why it does work on my system.

That said, let's move on:

1. Download the attached files below and put the PHP files in the Pligg root directory and the TPL files in your template/templatename directory. Don't forget that the login.php file goes in your libs directory.

2. Open your libs/lang.conf and place the following at the bottom:

Code:
/////////////////////////////////////////////////////////////////////////////////////////////

//<SECTION>CONFIRM ACCOUNT</SECTION><ADDED>0.983</ADDED>
PLIGG_Visual_Resend_Error_Email_Does_Not_Exist = "That email address does not exist in our system."
//<SECTION>CONFIRM ACCOUNT</SECTION><ADDED>0.983</ADDED>
PLIGG_Visual_Login_Confirm_Error = "ERROR - your account is still unconfirmed.&nbsp;<br /><br />&nbsp;Please check e-mail for your confirmation link &nbsp;<br /><br />&nbsp;or <a href='http://www.yoursite.com/resend_confirm.php' />click here</a> here have your confirmation link resent.&nbsp;"
//<SECTION>CONFIRM ACCOUNT</SECTION><ADDED>0.983</ADDED>
PLIGG_Visual_Resend_Confirmation = "Resend Confirmation"
//<SECTION>REGISTER</SECTION><ADDED>0.983</ADDED>
PLIGG_Visual_Resend_Confirm_Do_Not_Continue = "Resend Confirmation Unsuccessful"
//<SECTION>REGISTER</SECTION><ADDED>0.983</ADDED>
PLIGG_Visual_Resend_Confirm_Success = "Confirmation Sent"
3. Open html1.php and find the following code:

If ($x == "register") {return my_pligg_base."/register.php";}

below it add:

Code:
If ($x == "resend_confirm") {return my_pligg_base."/resend_confirm.php";}
Next, find:

If ($x == "register") {return my_pligg_base."/register";}

below it add:

Code:
If ($x == "resend_confirm") {return my_pligg_base."/resend_confirm";}
Next, find:

$main_smarty->assign('URL_register', getmyurl("register"));

below it add:

Code:
$main_smarty->assign('URL_resend_confirm', getmyurl("resend_confirm"));

4. If you are using the URL2 method, open .htaccess and find:

RewriteRule ^register/?$ register.php

below it add:

Code:
RewriteRule ^resend_confirm/?$ resend_confirm.php

5. Be sure to customize your confirmation code in register.php, resend_confirm.php and validation.php. I currently have it set to "zzzzz".

That should do it!


NOTE: This has not been tested on version 0.9.9.0 If this does work, please let us know.


REVISION HISTORY

5/31/2008 Version 0.3_fingerprn_2 Added private welcome message capability.

Last edited by fingerprn : 05-31-2008 at 06:11 PM. Reason: Updated Code
Reply With Quote
The Following 2 Users Say Thank You to fingerprn For This Useful Post:
  #159 (permalink)  
Old 03-19-2008, 03:32 PM
fingerprn fingerprn is offline
Pligg Donor
Pligg Version: 9.8.2 +
Pligg Template: yget
 
Join Date: Jul 2007
Posts: 117
Downloads: 5
Uploads: 0
Thanks: 9
Thanked 35 Times in 8 Posts
I just noticed that my "Send Welcome Private Message" module isn't working anymore. However, I don't know if it's being caused by the v.0.3 mod, my mod to the mod (above), or something else I've modded over the last few days.

UPDATE: Finally discovered what is going on. Dollar5 did not add this capability back in. My newest version above now includes a private welcome message. However, since I could not get this mod to work with the original Send Welcome Private Message module, I just dumped the module code into the register.php file and tweaked a few things until it worked. If you don't want this capability, just delete or comment it out.

Last edited by fingerprn : 05-31-2008 at 05:18 PM. Reason: Discovered solution
Reply With Quote
  #160 (permalink)  
Old 03-21-2008, 11:42 AM
diggggggg diggggggg is offline
New Pligger
Pligg Version: 1
Pligg Template: diggggggg
 
Join Date: Mar 2008
Posts: 2
Downloads: 1
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, trying
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