Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP CUSTOMIZATION - SOLVED - Standard Unrelated Gallery In Personal Gallerys



Artie [ Sat 03 Feb, 2007 00:49 ]
Post subject: 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.


DWho [ Tue 22 Jan, 2008 13:09 ]
Post subject: 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...



Artie [ Sat 26 Jan, 2008 00:16 ]
Post subject: 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: [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: [Hide] [Select]
'$view_level'

AND REPLACE IT WITH

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


DWho [ Thu 31 Jan, 2008 22:26 ]
Post subject: 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..



Pete_Z [ Sat 02 Feb, 2008 12:01 ]
Post subject: 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.


Artie [ Thu 07 Feb, 2008 23:53 ]
Post subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
Should work
What kinda errors are you getting ?


Pete_Z [ Tue 12 Feb, 2008 11:44 ]
Post subject: 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 ?


sharkattaq [ Sat 27 Dec, 2008 14:42 ]
Post subject: 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?


Artie [ Sat 27 Dec, 2008 23:40 ]
Post subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
This mod has no effect on user galleries that were created before the mod was installed.


sharkattaq [ Sun 28 Dec, 2008 02:32 ]
Post subject: 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.




Powered by Icy Phoenix