×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: EasyBlog Integration

EasyBlog Integration 6 years 3 months ago #13596

  • Hasan Sever
  • Hasan Sever's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Hello,

I was using JComments for a long time but the owner is not very eager to upgrade to J1.7. So I decided to give CompoJoom a try.
However I have a big problem; I need EasyBlog integration. Compared with JComments this is the only major feature missing in CompoJoom.. Would it be possible to integrate easyblog? That's quite important for us as we have been using comments heavily in Blogs.

I already contacted EasyBlog owner. He says he never got a copy of CompoJoom installation package in order to study on how to integrate. Can you please coordinate with EasyBlog and make this integration?

Thanks..

EasyBlog Integration 6 years 3 months ago #13601

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Hey Onder,
I'll try to see what we can do about it. I have this on my todo list since a lot of time, but I never came to write the plugin. If the guys from easyblog want to do it, I'll be more than happy to give them a copy.

I'll see if we can find a fast solution for you and I'll write again in this thread.
Daniel

EasyBlog Integration 6 years 3 months ago #13607

  • Hasan Sever
  • Hasan Sever's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Hi Daniel,

Thanks a lot..I'll be looking forward to hear the good news from you. The completion of my J1.7 migration totally depends on this.

Cheers..

EasyBlog Integration 6 years 3 months ago #13611

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
SO, I just had a talk with Jack from easyblog. I have given him the extension and he will try to write the plugin.

Cheers,
Daniel

EasyBlog Integration 6 years 3 months ago #13615

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Wow!!! That was fast! Jack from easyblog already wrote the plugin :)
He said that they will include support for compojoomComment in version 2.1 of easyblog.
On my end I'll release a new version that includes the new plugin.

If you can't wait till next week, I can send you a copy of the plugin and instructions what to change in which file to get it running.

Cheers,
Daniel

EasyBlog Integration 6 years 3 months ago #13618

  • Hasan Sever
  • Hasan Sever's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
That's a big woaaw..Jack is a very good guy, yesterday I had contacted him as well, I knew he would do it very fast..

This is a big improvement for CompoJoom...Now MyBlog being extinct, EasyBlog is the standard Blog component without any serious rival, and same goes for CompoJoom after JCoomment being too late to switch to J1.7.

I'd appreciate if you can send me the plugin and instruction, Daniel..I must get over with this J1.7 migration, it is taking too much time..

EasyBlog Integration 6 years 3 months ago #13713

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Ok, check your mail. I've send you the plugin for easyblog that you need to put in:
administrator/components/com_comment/plugin/

one you put the folder there, then go to your backend -> extensions-> compojoomComment->settings. Create a new setting ->from the dropdown choose com_easyblog. Save it.

Then do the following changes

/components/com_easyblog/helpers/comment.php line 200
$file = JPATH_ROOT . DS . 'administrator' . DS . 'components' . DS . 'com_comment' . DS . 'plugin' . DS . 'com_easyblog' . DS . 'josc_com_easyblog.php';
 
   if( JFile::exists( $file ) )
   {
	   require_once($file);
    $blog  = JTable::getInstance( 'Blog' ,'Table' );
    $blog->load( $blogId );
    return CommentEasyBlog::output( $blog , array() , true );
   }

and at line 300 add this
$file = JPATH_ROOT . DS . 'administrator' . DS . 'components' . DS . 'com_comment' . DS . 'plugin' . DS . 'com_easyblog' . DS . 'josc_com_easyblog.php';
 
   if( JFile::exists( $file ) )
   {
	   require_once($file);
    return CommentEasyBlog::output( $blog , array() );
   }

Don't forget to enable comments in easyblog and actually this should be all to rock & roll :)

If you can't manage to do the changes, then you'll have to wait a little bit for the next version of compojoomComment and easyblog. Then you won't have to upload files or change something in files :)

Cheers,
Daniel
  • Page:
  • 1
Time to create page: 0.096 seconds