PDA

View Full Version : [Help] Arcade Navbar


Holfy.com
02 May 2008, 13:15
Quick question.

With the navbar inside the arcade (Arcade · Tournaments · Your Settings · Your Favorites · Your Rankings · Leaderboard · Arcade ModCP) how can i add a link to my "Arcade Forum"? I just can't find the code to edit it!

tintructo
02 May 2008, 14:05
to edit that Arcade navbar, you need to manually edit the "arcade/modules/mod_arcade.php" file

i suggest to you that if you are going to add a link, do it this way :

go the the line 1068, paste this on that line


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



and that should add your new link AFTER "Arcade ModCP"

if you want it to be FIRST in the navbar, before "Arcade", then :

go to line 1041 and find this :


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



replace that line with



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



and that should work

Holfy.com
02 May 2008, 23:44
Thanks for that great tip. Works perfectly. I had a feeling it would be a manual file edit. I had already looked through "arcade/functions.php" bu there was nothing of the sort in there and it was the last place i looked too :P