1
dlemkin
Error in email registration confirmation link
  • 2005/12/6 2:12

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


Hi,

I seem to have an error in my registration emails. When a user registers, the confirmation email is sent to the user for user-activation. But the link they receive is incomplete.

Whereas it should read:

-----
To become a member of mysite.org, please confirm your request by clicking on the link below:

http://www.mysite.org/x/modules/profile/activate.php?op=actv&id=6&actkey=c8e4c439
-----

it is producing a link that cuts off the website address:
-----
To become a member of mysite.org, please confirm your request by clicking on the link below:

/x/modules/profile/activate.php?op=actv&id=6&actkey=c8e4c439
-----
The closure is also truncated:

-----------
Best Regards
mysite.org
(/x/)
admin@mysite.org

version 2.2.3
Template: imago06c

any ideas?

2
dlemkin
Re: Error in email registration confirmation link
  • 2005/12/6 2:19

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


I found the email template in:

language -> english -> mail_template -> register.tpl


The two dynamic strings? are:

{X_UACTLINK} and ({SITEURL})

Where can I define these?

3
m0nty
Re: Error in email registration confirmation link
  • 2005/12/6 2:28

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


they should be defined in register.php

but the link is taken from your mainfile.php

// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://www.yoursite.com');
    
define('XOOPS_URL''http://www.yoursite.com');

4
dlemkin
Re: Error in email registration confirmation link
  • 2005/12/6 13:30

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


That took care it it.

Thanks a lot. Any idea why that was not registered during setup?

Login

Who's Online

188 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits