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: Quick moderation by email doesn´t work
Pages: 1 [2]   Go Down
  Print  
Author Topic: Quick moderation by email doesn´t work  (Read 5156 times)
0 Members and 2 Guests are viewing this topic.
unleash.it
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #15 on: March 01, 2011, 06:43:47 »

Hi, I'm also having the problem. Just using native Joomla Sef. Here's the site: www.conversationsonphilanthropy.org.

Here's the link that should publish the comment, but won't: http://conversationsonphilanthropy.org/component/jcomments/publish/9/5c8f4afcaae94be387ce6a91200b2f50.html

It just takes me to the home page. I've tried being logged in first, and that doesn't help either.

Thanks
Logged
brunoazevedo
Newbie
*

Karma: 0
Offline Offline

Posts: 5


« Reply #16 on: September 22, 2011, 17:36:57 »

Hi,

The solution for now is in Artio Joomsef -> Extension Manager -> JComments

Handling = Don't SEF

But i found other bug, i think.

I implemented jcomments in a our component (com_swphotogallery) that we show photos.
http://www.portugal-live.net/P/gallery.html

Everthing working well, but the problem is when i receive one e-mail for new comments and i use the quick moderation.
When i click in publish, tis process the url:
/index.php?option=com_jcomments&task=cmd&cmd=publish&id=145&hash=99802cd0efa5b101837aa97cf04e285f&format=raw&lang=p

then go to home page and show /index.html#comment-145

I Don't know, but we need to change the getCmdLink function to redirect, after finnish the $cmd, to the
./com_jcomments/tpl/default/tpl_email_administrator.php:

   function getCmdLink($cmd, $title, $comment)
   {
      $link = JCommentsFactory::getCmdLink($cmd, $comment->id);
      return '<a href="' . $link . '" title="' . $title . '" target="_blank">' . $title . '</a>';

   }


 
In my component com_swphotogallery tpl, i inserted the code:

       <?php
            /* Implement the Jcomments Component  */
            $comments = JPATH_SITE.DS. '/components/com_jcomments/jcomments.php';
            if (file_exists($comments)) {
            require_once($comments);
            echo JComments::showComments($this->photo->id, 'com_swphotogallery', $this->photo->name);
            }

      ?>

Other problem is when the visitors write a new comments, ythis not send the $this->photo->name


Any help? Thanks.

Bruno Azevedo
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #17 on: October 07, 2011, 15:01:53 »

Other problem is when the visitors write a new comments, ythis not send the $this->photo->name
You've to implement simple JComments plugin and put it to /components/com_jcomments/plugins folder. These plugins are helps JComments to get information about commented object (it's name and it's URL).
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: 1 [2]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Bug-reports    Topic: Quick moderation by email doesn´t work
 
Jump to: