taking babysteps in the direction of profiles

This commit is contained in:
Sarjuuk 2013-08-03 21:48:40 +02:00
parent 06e5fb7278
commit 3d7c4b8bd7
5 changed files with 212 additions and 85 deletions

View file

@ -57,5 +57,6 @@ $AoWoWconf['register'] = true; // Allow acc
$AoWoWconf['limit'] = 300; // Limit of some SQL queries
$AoWoWconf['debug'] = true; // Disable cache, show smarty console panel, enable sql-errors
$AoWoWconf['map_grouping'] = 0; // Map object grouping factor. Meters = 10^param. 0:disabled; 1|2|3:enabled (1:recommended)
$AoWoWconf['battlegroup'] = 'Pure Pwnage'; // pretend, we belong to a battlegroup to satisfy profiler-related Jscripts; region can be determined from realmlist.timezone
?>

7
config/profile_all.js.in Normal file
View file

@ -0,0 +1,7 @@
var mn_profiles = [/*setup:realms*/];
var mn_guilds = $.extend(true,[],mn_profiles);
var mn_arenateams = $.extend(true,[],mn_profiles);
Menu.fixUrls(mn_profiles,"?profiles=",{useSimpleIdsAfter:1});
Menu.fixUrls(mn_guilds,"?guilds=",{useSimpleIdsAfter:1});
Menu.fixUrls(mn_arenateams,"?arena-teams=",{useSimpleIdsAfter:1});