JOOM::GALLERY::FORUM

JoomGallery 2.x ACL - Extensions => Solved Topics: Plugins => Topic started by: pepperstreet on 15-03-2012 09:38:13



Title: Auto Categories - are not created !?
Post by: pepperstreet on 15-03-2012 09:38:13
Hello again,
Great feature. I tried it serveral times, but i canīt get to work. Everything is activated and i tried it with ID and without. Do i miss something?

Config:
Latest Joomla 2.5.2, latest Joomgallery 2 (today)

Any clues or short configuration check-list? Thanks in advance.


EDIT:
Solved! See fix below...  ;D


Title: Re: Auto Categories - are not created !?
Post by: fotoboss on 08-04-2012 20:32:39
This plugin work only in old version with joomla 1.5
In joomla 2.5 with joomgallery 2.0 it not work at all.
 :'-(


Title: Re: Auto Categories - are not created !?
Post by: pepperstreet on 09-04-2012 18:38:24
This plugin work only in old version with joomla 1.5
In joomla 2.5 with joomgallery 2.0 it not work at all.
 :'-(

Thanks for your confirmation... i thought it was just me ;-)


Title: Re: Auto Categories - are not created !?
Post by: Chraneco on 09-04-2012 23:14:24
Hi,

please edit file 'components/com_joomgallery/interface.php' and add the following code after line 1436:

Code
$row->parent_id = (int) $row->parent_id;
if($row->parent_id < 1)
{
 $row->parent_id = 1;
}

Does it work after that?

Regards
Chraneco


Title: Re: Auto Categories - are not created !?
Post by: pepperstreet on 10-04-2012 02:14:12
Thanks for listening!

Nope. Unfortunately no success.  :-/
I tried the plugin setting with ParentID and without. Checked "yes" for every login.


Title: Re: Auto Categories - are not created !?
Post by: Chraneco on 10-04-2012 09:05:32
Hi,

that's strange, for me it works with that change.

Are you using additional login logic, for example Community Builder or a login component or something like that?

Regards
Chraneco


Title: Re: Auto Categories - are not created !?
Post by: pepperstreet on 11-04-2012 00:59:14
... Are you using additional login logic, for example Community Builder or a login component or something like that?...

Tested with CB Login and with Joomla Core login. No luck.


Title: Re: Auto Categories - are not created !?
Post by: Chraneco on 12-04-2012 10:15:42
Hi,

ah, I see now.

Please edit file 'plugins/user/joomautocat/joomautocat.php' and replace line 89

Code
$user_object  = JFactory::getUser($user['username']);

with this one:

Code
$user_object  = JUser::getInstance($user['username']);

It should work at least with standard login then. Most probably it will work with CB also.

Regards
Chraneco


Title: Re: Auto Categories - are not created !?
Post by: pepperstreet on 12-04-2012 15:40:17
Hi,

ah, I see now.

Please edit file 'plugins/user/joomautocat/joomautocat.php' and replace line 89

Code
$user_object  = JFactory::getUser($user['username']);

with this one:

Code
$user_object  = JUser::getInstance($user['username']);

It should work at least with standard login then. Most probably it will work with CB also.

Regards
Chraneco

Confirmed! Works!
(Please, update download section ;-) )


Title: Re: Auto Categories - are not created !?
Post by: Chraneco on 12-04-2012 16:12:27
Hi,

alright, thanks for the feedback!
Our downloads should already contain a new version of JoomAutoCat.

The change in the interface will come with the new JoomGallery version in a few weeks.

Regards
Chraneco


Title: Re: Auto Categories - are not created !?
Post by: Crash on 19-05-2012 21:16:36
Hi, I have the same issue.
I have added the code th the component and checked to confirm I am using the latest plugin, but still no joy.
I would really appriciate any help.
Thanks.


Title: Re: Auto Categories - are not created !?
Post by: Crash on 19-05-2012 21:22:31
UPDATE
Its working - I changed the plugin Access to"public"
THANK YOU
 ;D