Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic This topic is locked: you cannot edit posts or make replies.
Author Message
admun
Nucleus Guru
Nucleus Guru


Joined: 20 Oct 2003
Posts: 4086
Location: San Francisco, CA, USA

Post Posted: Fri Jul 22, 2005 10:54 pm   Post subject: Re: one more question
Reply with quote

admun wrote:
admun wrote:
superman wrote:
admun...you have been a great help, i have one more question. in the comment emails that are sent out, the link shows ---URL: index.php?itemid=9---- in the item notification emails the url is correct i.e. --http://meusprosapia.com/?itemid=9--- any idea where that should be fixed, or where in the plugin i should change

here is the comment.template

A new comment has been made to an item:<br />
%##COMMENT##%<br />
<p />URL: <a href="%##URL##%">%##URL##%</a>

i do not know what to change

Hum..... you might found a bug...... it should not be index?itemid=9..... I will look into it.

Just did a test on my blog and the new comment notification is working correctly with the correct URL..... I'm going to dig into the code a bit and see. This seem like either a setup/environment related problem.

The code looks right to me..... but I know what failed, just can't tell why....

What is $CONF['Self'] you have in index.php in your blog's main directory?

One thing I noticed is I've FancyURL setup and you are not.... it was known to cause grief in the past....

admun

_________________
Personal blog: http://edmondhui.homeip.net/blog/
NucluesCMS dev blog: http://edmondhui.homeip.net/nudn/

Back to top

View user's profile Send private message Visit poster's website
superman
Nucleus Newbie


Joined: 22 Jul 2005
Posts: 12
Location: Texas

Post Posted: Fri Jul 22, 2005 11:48 pm   Post subject: not a member
Reply with quote

i think i might have found the problem. the person who left a comment was not a member. and thus not logged in...think that might be an issue?if so, on this particular blog, how do i limit comments to members only (this is probably a question for another thread)

Back to top

View user's profile Send private message
admun
Nucleus Guru
Nucleus Guru


Joined: 20 Oct 2003
Posts: 4086
Location: San Francisco, CA, USA

Post Posted: Fri Jul 22, 2005 11:52 pm   Post subject: Re: not a member
Reply with quote

superman wrote:
i think i might have found the problem. the person who left a comment was not a member. and thus not logged in...think that might be an issue?if so, on this particular blog, how do i limit comments to members only (this is probably a question for another thread)

No. I just tested the scenario. It works for me.

_________________
Personal blog: http://edmondhui.homeip.net/blog/
NucluesCMS dev blog: http://edmondhui.homeip.net/nudn/

Back to top

View user's profile Send private message Visit poster's website
superman
Nucleus Newbie


Joined: 22 Jul 2005
Posts: 12
Location: Texas

Post Posted: Fri Jul 22, 2005 11:57 pm   Post subject: here is the email sent out with the link error
Reply with quote

(alt+p)

Back to top

View user's profile Send private message
superman
Nucleus Newbie


Joined: 22 Jul 2005
Posts: 12
Location: Texas

Post Posted: Sat Jul 23, 2005 12:00 am   Post subject: what it shows
Reply with quote

the image shows a person (not logged in) leaving a comment and then i left a test comment. the weird thing is that the url changed...weird...by the way thanks for checking this stuff out for me

Back to top

View user's profile Send private message
admun
Nucleus Guru
Nucleus Guru


Joined: 20 Oct 2003
Posts: 4086
Location: San Francisco, CA, USA

Post Posted: Sat Jul 23, 2005 12:00 am   Post subject:
Reply with quote

Thanks for the screenshot. As far as I can tell, the error seem to happen what $CONF['IndexURL'] is empty, but createItemURL() calls failed.... or $CONF['IndexURL'] is not the index URL of the blog..... it might be a normal URL mode specific problem.....
_________________
Personal blog: http://edmondhui.homeip.net/blog/
NucluesCMS dev blog: http://edmondhui.homeip.net/nudn/

Back to top

View user's profile Send private message Visit poster's website
admun
Nucleus Guru
Nucleus Guru


Joined: 20 Oct 2003
Posts: 4086
Location: San Francisco, CA, USA

Post Posted: Sat Jul 23, 2005 12:02 am   Post subject: Re: what it shows
Reply with quote

superman wrote:
the image shows a person (not logged in) leaving a comment and then i left a test comment. the weird thing is that the url changed...weird...by the way thanks for checking this stuff out for me

It does looks like the $CONF['IndexURL'] is empty in some case. I just tried making comment as non memebr and it works in FancyURL mode......

[update] and even URL from a member doesn't look correct to me.... a / is missing between the site's URL and ?itemid=9

_________________
Personal blog: http://edmondhui.homeip.net/blog/
NucluesCMS dev blog: http://edmondhui.homeip.net/nudn/

Back to top

View user's profile Send private message Visit poster's website
admun
Nucleus Guru
Nucleus Guru


Joined: 20 Oct 2003
Posts: 4086
Location: San Francisco, CA, USA

Post Posted: Sat Jul 23, 2005 12:09 am   Post subject:
Reply with quote

Please check and report the following:

1) what is the $CONF['Self'] is set as in index.php in your blog's directory?
2) what is the site URL defined in the blog setting?

_________________
Personal blog: http://edmondhui.homeip.net/blog/
NucluesCMS dev blog: http://edmondhui.homeip.net/nudn/

Back to top

View user's profile Send private message Visit poster's website
superman
Nucleus Newbie


Joined: 22 Jul 2005
Posts: 12
Location: Texas

Post Posted: Sat Jul 23, 2005 12:15 am   Post subject:
Reply with quote

here is the info:

from index.php in root of blog:

$CONF['Self'] = 'http://meusprosapia.com';

...not sure what this means:
2) what is the site URL definite in the blog setting?

in the admin area

URL of Site (should end with a slash) = http://meusprosapia.com/

i think this is what you are asking me..

Back to top

View user's profile Send private message
admun
Nucleus Guru
Nucleus Guru


Joined: 20 Oct 2003
Posts: 4086
Location: San Francisco, CA, USA

Post Posted: Sat Jul 23, 2005 12:17 am   Post subject:
Reply with quote

superman wrote:
here is the info:

from index.php in root of blog:

$CONF['Self'] = 'http://meusprosapia.com';

try to put "." as $CONF['Self']

You can test it as non member to see if your suspusion is right. Cool

Quote:

...not sure what this means:
2) what is the site URL definite in the blog setting?

in the admin area

URL of Site (should end with a slash) = http://meusprosapia.com/

i think this is what you are asking me..

This seem good.

_________________
Personal blog: http://edmondhui.homeip.net/blog/
NucluesCMS dev blog: http://edmondhui.homeip.net/nudn/

Back to top

View user's profile Send private message Visit poster's website
Post new topic This topic is locked: you cannot edit posts or make replies.
Display posts from previous:   

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next

Page 6 of 7

All times are GMT + 1 Hour

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group