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

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: integration with rs gallery2
Pages: [1]   Go Down
  Print  
Author Topic: integration with rs gallery2  (Read 30385 times)
0 Members and 1 Guest are viewing this topic.
baboon
Newbie
*

Karma: -2
Offline Offline

Posts: 8


« on: March 15, 2008, 18:24:37 »

integration with rs gallery2 :

i follow this :

http://www.joomlatune.com/jcomments-rsgallery2.html

but don't work with rsgallery2 1.14.3 (SVN 649) :/
Logged
baboon
Newbie
*

Karma: -2
Offline Offline

Posts: 8


« Reply #1 on: May 01, 2008, 23:57:04 »

always the same bugs :



Code:
Notice: Undefined property: rsgDisplay_semantic::$item in D:\WWW\components\com_rsgallery2\templates\semantic\display.class.php on line 390

Notice: Undefined property: rsgDisplay_semantic::$item in D:\WWW\components\com_rsgallery2\templates\semantic\display.class.php on line 391


so there is a problem with this lines :
Code:
        $obj_title = $this->item['title'];
        echo JComments::showComments($obj_id, 'com_rsgallery2', $obj_title);
Logged
baboon
Newbie
*

Karma: -2
Offline Offline

Posts: 8


« Reply #2 on: May 06, 2008, 13:07:12 »

an idea ?  Huh
Logged
vistamedia
Guest
« Reply #3 on: May 23, 2008, 12:46:05 »

Code:
        $obj_title = $this->item['title'];
        echo JComments::showComments($obj_id, 'com_rsgallery2', $obj_title);

Try to replace your two lines with the following code :

Code:
        $item = rsgInstance::getItem();
        echo JComments::showComments($item->id, 'com_rsgallery2', $item->title);

It works by me but my RSgallery version is very hacked and I didn't test the new SVN version.

Hope it'll help Wink
Logged
baboon
Newbie
*

Karma: -2
Offline Offline

Posts: 8


« Reply #4 on: May 31, 2008, 20:16:06 »

ok ti works so it's :

1 - Open file/components/com_rsgallery2/templates/semantic/display.class.php

2 - Find the line:

Code:
                $this->_showComments();

3 - and replace with:

Code:
      global $mosConfig_absolute_path;
      $comments = $mosConfig_absolute_path . '/components/com_jcomments/jcomments.php';
      if (file_exists($comments)) {
        require_once($comments);       
$item = rsgInstance::getItem();
        echo JComments::showComments($item->id, 'com_rsgallery2', $item->title);
      }

and after it's the same as explain here :

http://www.joomlatune.com/jcomments-rsgallery2.html

thanks

(the rsgallery is the svn 791
« Last Edit: June 02, 2008, 17:07:53 by baboon » Logged
studee
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« Reply #5 on: June 28, 2008, 10:53:43 »

Code:
        $obj_title = $this->item['title'];
        echo JComments::showComments($obj_id, 'com_rsgallery2', $obj_title);

Try to replace your two lines with the following code :

Code:
        $item = rsgInstance::getItem();
        echo JComments::showComments($item->id, 'com_rsgallery2', $item->title);

It works by me but my RSgallery version is very hacked and I didn't test the new SVN version.

Hope it'll help Wink


Hi vistamedia,

i tried your hack but  i am getting same comments on all pics , some how the itemid and title is not echoing any result ,
may be coz i am using the latest version of RSGallery2

any solutions for that!!!

thanks in advance

dee
Logged
hypehopza
Jr. Member
**

Karma: 0
Offline Offline

Posts: 17



WWW Email
« Reply #6 on: September 05, 2018, 07:59:48 »

Promover sociedades pacíficas e inclusivas para o desenvolvimento sustentável, proporcionar o acesso à justiça para todos e construir instituições eficazes, responsáveis e inclusivas em todos os níveis

http://fakaza2018.com/album-zip-download/t-drum-lebo-gang-love-or-lust/

http://hotnewmzansi.com/mixtapes/dj-vidas-the-gathering-feat-ketsosa/

https://hypehopza.com/mike-aremu-nigeria-fiful/
Logged
christeena
Full Member
***

Karma: 0
Offline Offline

Posts: 81


Email
« Reply #7 on: September 07, 2018, 09:58:25 »

The topic here shared is totally new to me and I would like to know more details about the rs gallery2. If possible try to add some more details in this article and also some pictures related to the topic. Hope you will consider my suggestion.   cable tv providers   
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: integration with rs gallery2
 
Jump to: