The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Getting rid of 'Register' and 'Help' nav buttons - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23) +--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26) +--- Thread: Getting rid of 'Register' and 'Help' nav buttons (/showthread.php?tid=988) |
Getting rid of 'Register' and 'Help' nav buttons - Synergic - 03-02-2018 Hello. I have an issue that has me completely stumped. I'm trying to remove the 'Register' and 'Help' buttons from the upper right-hand corner in nav bar (which appear when no user is logged in), but they just won't die. I removed the following code from users/includes/navigation.php: <pre> Code: <li><a href="<?=$us_url_root?>users/join.php" class=""><i class="fa fa-plus-square"></i> Register</a></li> But the buttons remain in place, fully functional. I've tried grepping through the source and editing various different things, but the mighty buttons stand strong. Already tried flushing browser cache, and even tried using a completely different machine. A shove in the right direction would be highly appreciated! Getting rid of 'Register' and 'Help' nav buttons - mudmin - 03-02-2018 Are you using the database driven navigation? If you go in the admin-dashboard, there is a menu manager in there. Getting rid of 'Register' and 'Help' nav buttons - Synergic - 03-02-2018 Ah, that was it. Yes apparently I was using the database-driven navigation. The mighty buttons were conquered at last. Guess I should have read the docs. Thanks for the help! Getting rid of 'Register' and 'Help' nav buttons - mudmin - 03-02-2018 haha. No problem. You might want to revert that navigation code just in case. I'm working on a document that pretty much explains the way around editing any of our source code so you don't break future updates. If there's ever anything you want to do that seems like it would require a code edit, let us know and we'll tell you if there's an alternative. |