Album Problem. »  Show posts from    to     

Icy Phoenix


Old Support Topics - Album Problem.



Riwer [ Wed 27 May, 2009 11:01 ]
Post subject: Album Problem.
(sorry for my bad english)

I have 2 problem:

Problem 1:
I have a lot of categories and, when I try to copy image/images to another category, I receive the error "the pic doesn't exist", but the function "move" work fine ._.

Problem 2:
I have visible the block "recent images" "popular images" etc etc
but, I have 2 categories where the images.... are for adults
how i can remove these categories for these blocks?

I really need help for this problems >_<

PD: I'm using the version RC1 of icy

EDIT: and a little question:
is possible.... open images for a specific categories, "cost money"? (using cash shop)


Limun [ Wed 27 May, 2009 11:18 ]
Post subject: Re: Album Problem.
Riwer wrote: [View Post]
(sorry for my bad english)

I have 2 problem:

Problem 1:
I have a lot of categories and, when I try to copy image/images to another category, I receive the error "the pic doesn't exist", but the function "move" work fine ._.

i m getting the same with RC2 so maybe this is a bug

Riwer wrote: [View Post]

Problem 2:
I have visible the block "recent images" "popular images" etc etc
but, I have 2 categories where the images.... are for adults
how i can remove these categories for these blocks?

I really need help for this problems >_<

PD: I'm using the version RC1 of icy

this i dont understand what you mean


Riwer [ Wed 27 May, 2009 11:29 ]
Post subject: Re: Album Problem.
ummm I try explain me with a example:

• Category A
• Category B => contain mature content
• Category C => contain mature content
• Category D
• Category E

I upload images to all categories.

In the "recent images block" i can see the last uploaded images,
but.. I dont like see the images for the categories B and C in the block.
I can "say" "not show images for specific categories"?


Limun [ Wed 27 May, 2009 11:41 ]
Post subject: Re: Album Problem.
so your categories are album Public Categories , right?

i think you shoud play with this , see pic

album_1243417146_510391

so all number categories id what you dont out in Category To Retrieve Pics From this categories will be not showed

EDIT :
and to know what is category id is when you click on some category you get this
cat_id

i think but maybe Chaotic can help you better ... he is CMS man


Riwer [ Wed 27 May, 2009 11:56 ]
Post subject: Re: Album Problem.
the problem is.... i'm not talking about cms blocks, i'm talkin about album blocks (in the album config in the ACP)

i have active the blocks:
Recent Images
Most rated images
Most viewed images


but i try to add a cms block to album page and deactivate the album blocks
and... thank you!


spydie [ Wed 27 May, 2009 13:49 ]
Post subject: Re: Album Problem.
You don´t need to ad an album block in cms.
It´s already there.
Just change the permissions Limun told you


Riwer [ Wed 27 May, 2009 15:17 ]
Post subject: Re: Album Problem.
the "polemic" categories have a specific permission for certain groups, (based in number of posts)
but isn't the problem.

I find the solution, in album.php this function:


Code: [Hide]
  1. // --------------------------------  
  2. // Build allowed category-list (for recent pics after here)  
  3. // $catrows array now stores all categories which this user can view.  
  4. // --------------------------------  
  5. $allowed_cat = ''; // For Recent Public Pics below  
  6. for ($i = 0; $i < count($catrows); $i ++)  
  7.  
  8. {  
  9. // --------------------------------  
  10. // build list of allowed category id's  
  11. // --------------------------------  
  12. $allowed_cat .= ($allowed_cat == '') ? $catrows[$i]['cat_id'] : ',' . $catrows[$i]['cat_id'];  
  13.  
  14. }  
  15. //  
  16. // END of Categories Index  
  17. //  
  18.  


I'm edited this function and work fine for:
Random_Pictures
Highest_Rated_Pictures
Most_Viewed_Pictures

but not work ok for:
Recent_Public_Pics

i'm looking this better but I think what this fuction is bug too


TheSteffen [ Thu 28 May, 2009 08:28 ]
Post subject: Re: Album Problem.
Normaly you should not see random pic in your album from folders you don't have access for.

I will check this on my site with over 10.000 pics
But I have disabled this function.

By the way, glad you solved your problem this way.




Powered by Icy Phoenix