Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 6 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Activation Link fix test
by jakeabiva on 2005/11/16 8:06:01

Hi,

Are you ver 2.2.3? Because I did not find this code on my common.php. I'm using 2.2.3



Quote:

Mithrandir wrote:
First job for the beta testing team, until we get the infrastructure finalised:

Could you try replacing
le="color: #000000"><?php if (!strpos(XOOPS_URL, "http")) { //Relative URL used, calculate absolute URL $protocol = strtolower(substr($_SERVER['SERVER_PROTOCOL'], 0, strpos($_SERVER['SERVER_PROTOCOL'], "/", 0))); define("XOOPS_ABS_URL", $protocol."://".$_SERVER['HTTP_HOST'].XOOPS_URL); } else { define("XOOPS_ABS_URL", XOOPS_URL); }

with
le="color: #000000"><?php if (strpos(XOOPS_URL, "http") === 0) { define("XOOPS_ABS_URL", XOOPS_URL); } else { //Relative URL used, calculate absolute URL $protocol = strtolower(substr($_SERVER['SERVER_PROTOCOL'], 0, strpos($_SERVER['SERVER_PROTOCOL'], "/", 0))); define("XOOPS_ABS_URL", $protocol."://".$_SERVER['HTTP_HOST'].XOOPS_URL); }

in include/common.php (around lines 119-126)

Then see if it fixes the activation link as well as other links in emails.

Thanks
Re: Activation Link fix test
by Chappy on 2005/9/18 3:52:13

Worked for me as well. Thanks!
Re: Activation Link fix test
by JMorris on 2005/9/17 23:42:41

Sorry it took so long to get back to you on this.

Your fix worked like a charm on MyWebResource. Looks like someone already beat me to it on the beta testing sites.

Best Regards,

James
Activation Link fix test
by Mithrandir on 2005/8/30 11:21:54

First job for the beta testing team, until we get the infrastructure finalised:

Could you try replacing
le="color: #000000"><?php if (!strpos(XOOPS_URL, "http")) { //Relative URL used, calculate absolute URL $protocol = strtolower(substr($_SERVER['SERVER_PROTOCOL'], 0, strpos($_SERVER['SERVER_PROTOCOL'], "/", 0))); define("XOOPS_ABS_URL", $protocol."://".$_SERVER['HTTP_HOST'].XOOPS_URL); } else { define("XOOPS_ABS_URL", XOOPS_URL); }

with
le="color: #000000"><?php if (strpos(XOOPS_URL, "http") === 0) { define("XOOPS_ABS_URL", XOOPS_URL); } else { //Relative URL used, calculate absolute URL $protocol = strtolower(substr($_SERVER['SERVER_PROTOCOL'], 0, strpos($_SERVER['SERVER_PROTOCOL'], "/", 0))); define("XOOPS_ABS_URL", $protocol."://".$_SERVER['HTTP_HOST'].XOOPS_URL); }

in include/common.php (around lines 119-126)

Then see if it fixes the activation link as well as other links in emails.

Thanks

Who's Online

221 user(s) are online (179 user(s) are browsing Support Forums)


Members: 0


Guests: 221


more...

Donat-O-Meter

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

Latest GitHub Commits