Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
i want to change my web address in postnuke
  • Posted: 20.02.2004, 07:37
     
    ks_kiran_kumar
    rank:
    Freshman Freshman
    registered:
     February 2004
    Status:
    offline
    last visit:
    21.01.05
    Posts:
    15
    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]
  • Posted: 20.02.2004, 22:35
     
    MrWoof
    rank:
    Freshman Freshman
    registered:
     February 2004
    Status:
    offline
    last visit:
    08.04.04
    Posts:
    7
    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
  • Posted: 20.02.2004, 23:41
     
    ks_kiran_kumar
    rank:
    Freshman Freshman
    registered:
     February 2004
    Status:
    offline
    last visit:
    21.01.05
    Posts:
    15
    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
  • Posted: 21.02.2004, 00:38
     
    MrWoof
    rank:
    Freshman Freshman
    registered:
     February 2004
    Status:
    offline
    last visit:
    08.04.04
    Posts:
    7
    that I don't know. I think one of the developers could answer this one as it goes way over my head. :D

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula