| Topic: | i want to change my web address in postnuke |
|---|---|
|
ks_kiran_kumar
Freshman
Posts: 15 Posted: |
suppose when i registered in this site then i got an automated mail like Welcome to pnForum (http://forums.postnuke.com/)! You or somebody else has used your e-mail address already to create an account. (fake@hotmail.com) to register an account at pnForum. The following is the member information: there in above message it mentioned its web address as http://forums.postnuke.com/ , this i want to change because i have big URL for my site and am using joynic.com short URL to redirect to my site, how can i solve this thanks in advance[/i] |
|
MrWoof
Freshman
Posts: 7 Posted: |
open up html/modules/NS-NewUser/user.php search for the function newuser_user_finishnewuser($var). sorry, i'm not using an editor that shows me line numbers so within that, you'll find the following: Code$message = "" . _WELCOMETO . " $sitename ($siteurl)!\n\n" . _YOUUSEDEMAIL . " ($email) " . _TOREGISTER . " $sitename. " . _FOLLOWINGMEM . "\n\n" . _UNICKNAME . " $uname\n" . _UPASSWORD . " $makepass"; replace ($siteurl) with your URL. I think it should be ok to just enter http://www.joynic.com without any quotation marks or \n's but if I'm wrong, will some coder please correct me? :D remember, back up your user.php just in case. :D |
|
ks_kiran_kumar
Freshman
Posts: 15 Posted: |
Thanks for your reply,.. actually it works with only when a new user registers, but in all other applications it uses dafault site URL , so i thing if i change the functioning of "$siteurl" then it will be useful, so how can i change the function "$siteurl" ? Thanks in advance |
|
MrWoof
Freshman
Posts: 7 Posted: |
that I don't know. I think one of the developers could answer this one as it goes way over my head. :D |