![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| 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 |
| Sponsored Links |
|
Check out the New Modules at the Pligg Pro Shop.
|
| |||
| 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 |
| |||
| 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. |
| |||
| I'm assuming Ash Digg isn't working on this module for 9.9.0 anymore? |
| |||
| Quote:
|
| |||
| Quote:
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 |
| |||
| 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. |
| |||
| 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. <br /><br /> Please check e-mail for your confirmation link <br /><br /> or <a href='http://www.yoursite.com/resend_confirm.php' />click here</a> here have your confirmation link resent. " //<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" If ($x == "register") {return my_pligg_base."/register.php";} below it add: Code: If ($x == "resend_confirm") {return my_pligg_base."/resend_confirm.php";} If ($x == "register") {return my_pligg_base."/register";} below it add: Code: If ($x == "resend_confirm") {return my_pligg_base."/resend_confirm";} $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 |
| The Following 2 Users Say Thank You to fingerprn For This Useful Post: | ||
| |||
| 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 |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |





Linear Mode
