Module Comments: nothing happens

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
WickedChicken

Re: Module Comments: nothing happens

Post by WickedChicken »

calguy1000 wrote: You'll have to get the latest svn version of the comments module (not the snapshot, as these fixes are red-hot).  or wait  till tomorrow, when the snapshots are updated overnight.... and this problem will be fixed.
What is the version number of the latest?  I just grabbed the runk from SVN last night and am still having the issue.
MichaelK

Re: Module Comments: nothing happens

Post by MichaelK »

Hi,


I also get this problem:
../index.php?mact=Comments,m3,addcomment,1&../index.php?mact=Comments,m3,addcomment,1&m3returnid=29&m3returnid=29&page=29
m3returnid=29&m3returnid=29&page=29


But when I delete this text " m3action=default& " it works just fine  ???....
How can I make this like that these words don't show up anymore? Is there
a fix for it?

Please let me know.
M.
MichaelK

Re: Module Comments: nothing happens

Post by MichaelK »

Please can someone help me? ???
MichaelK wrote: Hi,


I also get this problem:
../index.php?mact=Comments,m3,addcomment,1&../index.php?mact=Comments,m3,addcomment,1&m3returnid=29&m3returnid=29&page=29
m3returnid=29&m3returnid=29&page=29


But when I delete this text " m3action=default& " it works just fine  ???....
How can I make this like that these words don't show up anymore? Is there
a fix for it?

Please let me know.
M.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Module Comments: nothing happens

Post by Elijah Lofgren »

MichaelK wrote: Please can someone help me? ???
MichaelK wrote: Hi,


I also get this problem:
../index.php?mact=Comments,m3,addcomment,1&../index.php?mact=Comments,m3,addcomment,1&m3returnid=29&m3returnid=29&page=29
m3returnid=29&m3returnid=29&page=29


But when I delete this text " m3action=default& " it works just fine  ???....
How can I make this like that these words don't show up anymore? Is there
a fix for it?

Please let me know.
M.
This should not longer be a problem as Comments 1.7 now displays the comment form on the same page as the comments instead of a separate page like it used it.


Please test with CMSMS 1.0 beta3 and the latest version of Comments which is 1.7

You can download CMSMS 1.0 beta3 here:
http://dev.cmsmadesimple.org/frs/?group ... ase_id=554

You can download Comments 1.7 here:
http://dev.cmsmadesimple.org/frs/?group ... ase_id=551
Release notes: http://dev.cmsmadesimple.org/frs/showno ... ase_id=551

Hope this helps,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
MichaelK

Re: Module Comments: nothing happens

Post by MichaelK »

But I want it to stay working with version 0.12.2 because much modules don't work fine with they new versions of this CMS.
So any help with version 0.12.2?

???
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Module Comments: nothing happens

Post by Elijah Lofgren »

MichaelK wrote: But I want it to stay working with version 0.12.2 because much modules don't work fine with they new versions of this CMS.
So any help with version 0.12.2?

???
I'm unable to reproduce your problem. I install CMSMS 0.12.2 and Comments 1.3 and everything seems to work fine.
The URL I get for adding a comment is like this:
http://localhost/cmsold/index.php?mact= ... 15&page=15

Any idea of what I could do to try and reproduce your problem?
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
MichaelK

Re: Module Comments: nothing happens

Post by MichaelK »

By my url I also get &m3_action. And when I delete this it works just fine.

Any idea how I can manually edit the url for adding a comment?  ::)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Module Comments: nothing happens

Post by Dr.CSS »

Have you tried ver. 13 stable, I think all modules have been updated to work in this ver. at least?
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Module Comments: nothing happens

Post by Elijah Lofgren »

MichaelK wrote: By my url I also get &m3_action. And when I delete this it works just fine.

Any idea how I can manually edit the url for adding a comment?  ::)
Try opening Comments.module.php and replacing this line:

Code: Select all

echo $this->CreateLink($id, 'addcomment', $return_id, $this->Lang('addacomment'), $params, '', false, true);
with this:

Code: Select all

global $config;
echo '<a href="'.$config['root_url'].'/index.php?mact=Comments,m3,addcomment,1&m3returnid='.$return_id.'&page='.$return_id.'">'.$this->Lang('addacomment').'</a>';
Hope this helps,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
MichaelK

Re: Module Comments: nothing happens

Post by MichaelK »

Now nothing shows up! I don't get a link with "Add a comment". I replace the rule that you told me in the message but it don't work :(..



Elijah Lofgren wrote:
MichaelK wrote: By my url I also get &m3_action. And when I delete this it works just fine.

Any idea how I can manually edit the url for adding a comment?  ::)
Try opening Comments.module.php and replacing this line:

Code: Select all

echo $this->CreateLink($id, 'addcomment', $return_id, $this->Lang('addacomment'), $params, '', false, true);
with this:

Code: Select all

global $config;
echo '<a href="'.$config['root_url'].'/index.php?mact=Comments,m3,addcomment,1&m3returnid='.$return_id.'&page='.$return_id.'">'.$this->Lang('addacomment').'</a>';
Hope this helps,

Elijah
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Module Comments: nothing happens

Post by tsw »

you really should upgrade your site.

New functions arent necessarily meant to work on older version and dont have as good support.

Upgrading should be quite painless, but please do take backups of your site

hope this helps
MichaelK

Re: Module Comments: nothing happens

Post by MichaelK »

tsw wrote: you really should upgrade your site.

New functions arent necessarily meant to work on older version and dont have as good support.

Upgrading should be quite painless, but please do take backups of your site

hope this helps

Please read the whole topic!
But I want it to stay working with version 0.12.2 because much modules don't work fine with they new versions of this CMS.
So any help with version 0.12.2?
Post Reply

Return to “CMSMS Core”