Login     Sign up
E-Mail Change Module
Dann (@zipp2000)
Join date: Sep 17th 2010
Community posts: 28
View Profile
Send Message

So Jcow has no script to change email ok I had to fix this so....

Download link: [url]http://www.ozupload.com/user_uploads/OZFzipp20006752/mailchangemod.zip[/url]

This mod was made for your members to change account email on your Jcow website. It's basic php/java script it calls checks to see if email is in the database before updating email & rechecks email is a real email address.

members will see a "Change My E-Mail" link in account under username. thats if your replace account.php

Setup:

  1. Copy mailchange folder to /modules/mailchange
  2. backup & Replace account.php in /modules/account
  3. Enable in Admin & your set to go!

I know you can add update script to account.php for this but I wanted make it easy install mod for newbie's

166 months ago
arizon efendi (@arizon)
Join date: Aug 26th 2010
Community posts: 145
View Profile
Send Message

perfect.. how about change username ?
thanks.

166 months ago
Dann (@zipp2000)
Join date: Sep 17th 2010
Community posts: 28
View Profile
Send Message

I recommend only email change for your members for security reasons. however it can be done by changing code from "email" call to "username" call in tables

EG:
[code]
sql_query("update ".tb()."accounts set email='' where id='{$client['id']}' ");

to

sql_query("update ".tb()."accounts set username='' where id='{$client['id']}' ");
[/code]

If you do set this up it's best to set user a confirm email thats request user to confirm change using encoder script in link. "base64_ecode()" is good to use but i wont get in to that lol

For info on encode script see
[url]http://www.php.net/manual/en/function.base64-encode.php[/url]

166 months ago
arizon efendi (@arizon)
Join date: Aug 26th 2010
Community posts: 145
View Profile
Send Message

ok zip2000 i will study it...btw thanks for you answer.

166 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

Nicely done mate thanks for sharing...

166 months ago
Zapto (@zapto)
Join date: Sep 15th 2010
Community posts: 103
View Profile
Send Message

I have make change username script for you. Have make zipfile with mail change and username change...

Thanks Zip2000

[url]http://www.doomday.in/jcow/changemod.zip[/url]

166 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

Nice one guys cheers

166 months ago
arizon efendi (@arizon)
Join date: Aug 26th 2010
Community posts: 145
View Profile
Send Message

i was downloaded your module and install on my network. i have a problem.
when i click "change My username", the page just redirect to dashboard not to app "change My username".
i need help.
for review, this is my network [url]http://temanku.net[/url] but you must sign up first.
"change My E-mail is OK ( no problem )
thanks zapto.

166 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

Yeah I spoke to soon im having a issue with your change user-name script when i change user-name and go to browse user and click on user i just changed name it goes to blank page something to do with the u directory...any ideas

166 months ago
Zapto (@zapto)
Join date: Sep 15th 2010
Community posts: 103
View Profile
Send Message

I have not problems vith the script, try it on my site [url]http://www.zapto.in[/url] I have try it on two servere with no problems.

166 months ago
arizon efendi (@arizon)
Join date: Aug 26th 2010
Community posts: 145
View Profile
Send Message

yes its oke on your network...whats wrong with mine?

166 months ago
arizon efendi (@arizon)
Join date: Aug 26th 2010
Community posts: 145
View Profile
Send Message

its oke right now zapto...that was wrong install on my network..

thanks

166 months ago
1 2 Next