SOLVED - Standard Unrelated Gallery In Personal Gallerys

SOLVED - Standard Unrelated Gallery In Personal Gallerys
Article
Quote    Download Post  
Post Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys 
 
krisbfunk wrote: [View Post]

The pre-existing galleries do not appear in the list of member galleries until someone has uploaded a photo, they do not get the link to create a gallery, it simply exists (unless i delete it, then they get the link).


This is true.... no reason to list an empty gallery.
I think it best that you start a new topic for further discussion on this.



 
Artie - Profile PM  
Artie [ Sat 03 Feb, 2007 00:49 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


SOLVED - Standard Unrelated Gallery In Personal Gallerys
Comments
Quote    Download Post  
Post Making Sub Cat Private By Default.. 
 
Hi

I am using this mod here

http://www.icyphoenix.com/viewtopic.php?f=25&t=829

which automatically adds a sub cat for user in their personal gallery... I was wondering is there any way to make the view private automatically as it is set to reg by default...

Thanks for any help...

 :mrgreen:  :mrgreen:



 
DWho - Profile PM  
DWho [ Tue 22 Jan, 2008 13:09 ]
Quote    Download Post  
Post Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys 
 
Moved and Merged with existing topic

DWho wrote: [View Post]
... I was wondering is there any way to make the view private automatically as it is set to reg by default...


Try this for making the created sub-cat private

In this section of the mod's code
Code: [Download] [Hide] [Select]
// Here we insert a new row into the db

            $sql = "INSERT INTO ". ALBUM_CAT_TABLE ." (cat_title, cat_desc, cat_order, cat_view_level, cat_upload_level, cat_rate_level, cat_comment_level, cat_edit_level, cat_delete_level, cat_approval, cat_parent, cat_user_id)
                    VALUES ('". AUTO_CREATE_SUB_CAT_TITLE ."', '". AUTO_CREATE_SUB_CAT_DESCRIPTION ."', '$cat_order', '$view_level', '$upload_level', '0', '0', '" . ALBUM_PRIVATE . "', '" . ALBUM_PRIVATE . "', '0', '$cat_parent', '$user_id')";

FIND
Code: [Download] [Hide] [Select]
'$view_level'

AND REPLACE IT WITH

Code: [Download] [Hide] [Select]
'" . ALBUM_PRIVATE . "'




 
Artie - Profile PM  
Artie [ Sat 26 Jan, 2008 00:16 ]
Quote    Download Post  
Post Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys 
 
Sorry for the late reply I couldnt find this post....

Thank you very much Artie it worked like a charm... at least I know a bit how that part works...

Also how do you make it so members albums are created as soon as they join instead of them having to create it....

Thanks again for the help..

 :D  :D



 
DWho - Profile PM  
DWho [ Thu 31 Jan, 2008 22:26 ]
Quote    Download Post  
Post Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys 
 
This is very cool. awesome.

Is there a way that I can use spaces in title and discription?
I get erros if I use spaces  for obvious reasons.

define('AUTO_CREATE_SUB_CAT_TITLE', 'Your first category');

Is a no go

define('AUTO_CREATE_SUB_CAT_TITLE', 'Your_first_category');

Works... but I mean, it would be cool without the underscore. 8)



 
Pete_Z - Profile PM  
Pete_Z [ Sat 02 Feb, 2008 12:01 ]
Quote    Download Post  
Post Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys 
 
Should work  :shock:
What kinda errors are you getting ?



 
Artie - Profile PM  
Artie [ Thu 07 Feb, 2008 23:53 ]
Quote    Download Post  
Post Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys 
 
Strange!  it's working fine now. I had an error with my portal... oops.  :|


Artie wrote: [View Post]
Should work  :shock:
What kinda errors are you getting ?




 
Pete_Z - Profile PM  
Pete_Z [ Tue 12 Feb, 2008 11:44 ]
Quote    Download Post  
Post Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys 
 
I understand this mod creates a default subcategory that you cannot delete.

What happens with already created personal galleries. Will this default subcategory appear there as well or not?



 
sharkattaq - Profile PM  
sharkattaq [ Sat 27 Dec, 2008 14:42 ]
Quote    Download Post  
Post Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys 
 
This mod has no effect on user galleries that were created before the mod was installed.



 
Artie - Profile PM  
Artie [ Sat 27 Dec, 2008 23:40 ]
Quote    Download Post  
Post Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys 
 
Is there a way to mass-create this for existing galleries? My gallery in a quite mature state with thousands of active users so my concern is mostly towards the past.



 
sharkattaq - Profile PM  
sharkattaq [ Sun 28 Dec, 2008 02:32 ]
Display posts from previous:    
HideWas this topic useful?
Post new topic  Reply to topic  Page 3 of 3
Goto page Previous  1, 2, 3
 




 
   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Design by DiDiDaDo

Generation Time: 1.4712s (PHP: -80% SQL: 180%)
SQL queries: 31 - Debug On - GZIP Enabled