My Adapted MOD?

Need help with your forum? Ask away. Remember though that there's always http://www.phpbb.com/community

Moderator: Experts

Post Reply
Graham
Posts: 76
Joined: Mon Oct 20, 2008 3:31 am
Location: UK
Contact:

My Adapted MOD?

Post by Graham » Fri Jun 19, 2009 4:23 am

Morning David,

Hope all is OK with you and yours.

I recently adapted a MOD called Mood Swings so that it would show the Country Flag under the members Location.

It all works fine apart from one area in the ACP where it puts the settings in the same panel as the Mood Swings.(see image below)
I've found out that it does this when install.php is run and this line is executed

Code: Select all

$language_file = 'mods/info_acp_flags'; 
here it is in the mood swings mod.
language > en > mods > info_acp_moods.php

Code: Select all

'ACP_MOOD_SETTINGS'					=> 'Mood Swings Settings', 
Here's what I have in country flags mod.
language > en > mods > info_acp_flags.php

Code: Select all

'ACP_FLAG_SETTINGS'					=> 'Country Flag Settings',
The idea is that it places the setting in here in adm > style >acp_flags.html

Code: Select all

<legend>{L_TITLE}</legend>
How do I get my adapted MOD to appear in it's own panel?

Image

If you want to look at the whole thing you can download it here
http://www.poem-n-verse.co.uk/CountryFlags.zip

Hope I've explained this OK as I'm not really very good with codes and stuff but doing this has helped me understand a little better.

Thanks
Graham

Graham
Posts: 76
Joined: Mon Oct 20, 2008 3:31 am
Location: UK
Contact:

Re: My Adapted MOD?

Post by Graham » Mon Jun 22, 2009 5:47 am

Hi

It's OK I figured it out! ;)

User avatar
DavidIQ
Site Admin
Posts: 581
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: My Adapted MOD?

Post by DavidIQ » Mon Jun 22, 2009 10:38 am

:)

Glad you did. Hadn't had time to take a look :oops:

Post Reply