Gallery Mod theme

Discussion forum for MOD Writers regarding MOD Development.
Locked
User avatar
Mythyn
Registered User
Posts: 23
Joined: Tue Jun 08, 2010 4:48 pm

Gallery Mod theme

Post by Mythyn »

Hi everyone!

I'm exploring my newly installed Gallery mod on my newly installed PHPBB3.0.7 PL1. I'm currently using the prosilver theme until I finish modding the forum with all I need.
I love the gallery but I was hoping I could use a special theme just for it, that would be obligatory and default to all visitors whatever other theme is displayed for the rest of the forum.
Usually when you create a forum you can choose to do that. I was wondering if anyone knows the best way to do it for the gallery as well.

Thank you!

Best regards,
M
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: Gallery Mod theme

Post by marian0810 »

I believe this should work...

In gallery/index.php find

Code: Select all

$user->setup(array('mods/gallery', 'mods/info_acp_gallery'));
and replace with

Code: Select all

$user->setup(array('mods/gallery', 'mods/info_acp_gallery'), '1');
Make sure you change the 1 to the style_id you want.
You probably need to do the same in all the main php files in the gallery folder.
You and me, time and space. You watch us run!
User avatar
Mythyn
Registered User
Posts: 23
Joined: Tue Jun 08, 2010 4:48 pm

Re: Gallery Mod theme

Post by Mythyn »

It did the trick! Thank you very much!! :P
Locked

Return to “[3.0.x] MOD Writers Discussion”