Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 3 of 3
Goto page Previous  1, 2, 3
 
Reply with 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.
 



 
ArtieSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with 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...

   
 



 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with 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 . "'

 



 
ArtieSend private message  
Back to topPage bottom
Reply with 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..

   
 



 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with 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.
 



 
Pete_ZSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys 
 
Should work  
What kinda errors are you getting ?
 



 
ArtieSend private message  
Back to topPage bottom
Reply with 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  
What kinda errors are you getting ?

 



 
Pete_ZSend private message  
Back to topPage bottom
Reply with 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?
 



 
sharkattaqSend private message  
Back to topPage bottom
Reply with 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.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with 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.
 



 
sharkattaqSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 3 of 3
Goto page Previous  1, 2, 3


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron