Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Bug-reports    Topic: admin email publish link wrong
Pages: [1]   Go Down
  Print  
Author Topic: admin email publish link wrong  (Read 2595 times)
0 Members and 1 Guest are viewing this topic.
gdws
Newbie
*

Karma: 0
Offline Offline

Posts: 3


Email
« on: December 29, 2011, 12:25:21 »

when i receive the notification email when someone posts. when i click the publish link the url is missing a w from www.

http://ww.domain.com/index.php?option=com_jcomments&task=cmd&cmd=publish&id=10&hash=a2befcd30bcdd6e10b317a469b2513fd&format=raw

where can this be corrected?
« Last Edit: December 29, 2011, 12:30:14 by gdws » Logged
gdws
Newbie
*

Karma: 0
Offline Offline

Posts: 3


Email
« Reply #1 on: December 30, 2011, 01:17:43 »

i found the file which contains the info

Code:
// fix to prevent cross-domain ajax call
if (isset($_SERVER['HTTP_HOST'])) {
$httpHost = (string) $_SERVER['HTTP_HOST'];
if (strpos($httpHost, '://www.') !== false && strpos($link, '://www.') === false) {
$link = str_replace('://', '://www.', $link);
} else if (strpos($httpHost, '://www.') === false && strpos($link, '://www.') !== false) {
$link = str_replace('://www.', '://', $link);
is whats within the jcomments.class.php file

but within the email its still only http://ww.
Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #2 on: May 30, 2012, 15:37:21 »

JComments and Joomla version?
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Bug-reports    Topic: admin email publish link wrong
 
Jump to: