nicholasmr / obblm

Automatically exported from code.google.com/p/obblm
26 stars 54 forks source link

Adding a custom team to game_data.php? #722

Closed Talarius closed 8 years ago

Talarius commented 8 years ago

Hi,

I am trying to add a custom team to our OBBLM site (www.babbl.obblm.com) for one of our players. Initially, I created a separate php file, similar to the Apes of Wrath/Bretonnians/Khorne rosters. I then went into the settings.php file and added a line: 'Deep Ones' => true,

After synchronizing the database... nothing visibly changed. I couldn't select a "Deep Ones" team from the drop-down menu when creating a new team. Today I tried adding the Deep Ones code directly to the game_data.php file, which caused the website to go into a tailspin of unhappy redirect loops. So, I restored the game_data.php to the original file and am back to square one.

I'm hoping to get this roster added to the website as soon as possible, as our new season starts Wed. night. Any idea what I've done wrong? I'll attach the Deep_ones file. Thanks for any assistance you can provide. :-) - Talarius

game_data_deepones.txt

Talarius commented 8 years ago

With the assistance of williamleonard, I was able to resolve this issue. He explained how I needed to modify the header.php file and everything is working fine.

This issue was started as a result: https://github.com/TheNAF/naflm/issues/169