FAP CUSTOMIZATION - SOLVED - Standard Unrelated Gallery In Personal Gallerys


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.

Profile PM  
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...

:mrgreen: :mrgreen:

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: [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 . "'

Profile PM  
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..

:D :D

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. 8)

Profile PM  
Subject: Re: SOLVED - Standard Unrelated Gallery In Personal Gallerys
Should work :shock:
What kinda errors are you getting ?

Profile PM  
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 :shock:
What kinda errors are you getting ?

Profile PM  
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?

Profile PM  
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.

Profile PM  
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.

Profile PM  

Page 3 of 3


  
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

   

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
Generation Time: 0.4367s (PHP: 4% SQL: 96%)
SQL queries: 29 - Debug Off - GZIP Enabled