Member
Member
Largo   2010-06-07, 13:10
#1

Hi,

When I try to add new album and I checked to not publish album this not working. I try to debug code and it return OK values as boolean. But in uploader the code is always checked.

Can You check it?

Administrator
Administrator
acrylian   2010-06-07, 14:29
#2

The logged in admin sees all albums. So you have to log out to see the effect.

Member
Member
sbillard   2010-06-07, 17:35
#3

I do not see this failure. Perhaps more detail on exactly your process would help.

Member
Member
Largo   2010-06-08, 06:10
#4

I know, that when I'm logged I see everythink. Try this method:

  1. Log to ACP.
  2. Create new album without publishing it to public ( uncheck checkBox ).
  3. Uploader redirect You to new album images details, return to album view.
  4. Check for state of checkBox.
Member
Member
Largo   2010-06-08, 07:44
#5

I found an error:

Publikacja albumu: /true. Typ zmiennej: string
{Tue, 08 Jun 2010 07:43:03 GMT}
Publikacja albumu: /false. Typ zmiennej: string

Sorry for my language, but I think You understand it :-)

Administrator
Administrator
acrylian   2010-06-08, 07:56
#6

Indeed I can reproduce this.

Member
Member
Largo   2010-06-08, 07:58
#7

$setShow = substr($albumparmas[0],1);
if($setShow == 'false') { $setShow = 0; } else { $setShow = 1; }

$album->setShow($setShow);

Or You can convert it to boolean :-)

Member
Member
Largo   2010-06-14, 07:21
#8

Next problem with publishing albums - when I go to the publishing section I try to publish all un-published albums. But nothing change, settings work but approving albums not. I try to debug it, but I can't, becsause code of Sql Query not working.

Member
Member
Largo   2010-06-14, 07:44
#9

OK, I make a fix for You - http://paste.org/pastebin/view/19667

Administrator
Administrator
acrylian   2010-06-14, 08:44
#10

Please use our bugtracker and attach the patch there. Thanks.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.