RegisterMod Plus

Download plugins, language packs and stuff.

RegisterMod Plus

Postby gamezonline » Sun Feb 21, 2010 1:12 am

This a modded version of FI-DD RegisterMod, what I have done is integrated a login script with it. just like the registration portion of the script, the login script uses custom templates.

To be able to use the new script, you use "regForm('default','action');". default is where you enter the folder name of the custom template or leave it at default to use the default ones. where action is put the action you trying to do (registration or login, all lowercase).

full credit go's to FI-DD for making the RegisterMod, only thing i did was add a little more to it.

If you have any question fill free to ask and ll try to help you the best i can

PS. I'm not a PHP pro, so there may be some errors in the script that i didn't run in to, but it worked for what i needed it for, so I'm just sharing the love :D

PSS. before any one ask, if you want to make a log out script add this to your log out page
Code: Select all
@setcookie('md5_password', '', time() - 3600);
@setcookie('username', '', time() - 3600);
@session_destroy();
@session_unset();
@setcookie(session_name(), '');


Edit: Bug fix redownload file or edit your self

plugins/registraton.php, on line 236
Code: Select all
@setcookie('lastusername', mysql_escape_string($_POST['login']['username']), false, '/');
@setcookie('username', mysql_escape_string($_POST['login']['username']), false, '/');
@setcookie('md5_password', md5x($_POST['login']['passw']), false, '/');


replace with
Code: Select all
@setcookie('lastusername', mysql_escape_string($_POST['register']['username']), false, '/');
@setcookie('username', mysql_escape_string($_POST['register']['username']), false, '/');
@setcookie('md5_password', md5x($_POST['register']['passw1']), false, '/');
Attachments
registerMod.rar
(6.89 KiB) Downloaded 112 times
Last edited by gamezonline on Wed Feb 24, 2010 9:21 pm, edited 3 times in total.
gamezonline
 
Posts: 8
Joined: Sun Feb 08, 2009 3:17 am

Postby DarkSlim » Sun Feb 21, 2010 5:54 pm

Nice idea, I'll add this to the index!
I don't use the registration mod as I use the PHPBB
registration, but it is a cool feature to use. :)
User avatar
DarkSlim
 
Posts: 298
Joined: Thu Aug 06, 2009 4:18 pm
Location: IL

Postby Astramak » Sun Mar 28, 2010 10:39 am

Warning: Invalid argument supplied for foreach() in Z:\home\askit\www\panel\plugins\registration.php on line 310
Astramak
 
Posts: 18
Joined: Sun Jan 17, 2010 2:17 am

Postby Julie-zhu » Mon Mar 29, 2010 7:57 am

:) WOW!That's great!
That's very nice of you!
Thanks a lot! :) :wink:
to find us,search everbuying at Yahoo,rank No.1
Julie-zhu
 
Posts: 1
Joined: Mon Mar 29, 2010 7:48 am

Postby jasamja » Wed Sep 22, 2010 8:21 am

I have same problem like Astramak:

Warning: Invalid argument supplied for foreach() in /home/xxx/public_html/web/plugins/registration.php on line 310
jasamja
 
Posts: 11
Joined: Fri Jun 04, 2010 6:37 pm


Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron