moonman Posted December 22, 2011 Share Posted December 22, 2011 Hi, on a MyBB forum I have a link on a navigation bar I want to change but I'm not sure how. When I go into the admin editor it's coded as: <ul id="nav"> <li><a href="{$mybb->settings['bburl']}/index.php" class="current">Home</a></li> If I view the page's source it's coded as: <ul id="nav"> <li><a href="http://www.mysite.com/forum/index.php" class="current">Home</a></li> Maybe I'm in the wrong place on the MyBB admin editor or something. What I want to do is make the link be just mysite.com, rather my forum. Link to comment Share on other sites More sharing options...
smiles Posted December 22, 2011 Share Posted December 22, 2011 Goes around admin's editor till u find settings part, edit 'bburl ' property with new value 'http://www.mysite.com' Or directly, just replace {$mybb->settings['bburl']}/index.php with your link (with this option, u may replace it in many files) Link to comment Share on other sites More sharing options...
TheGallery Posted December 22, 2011 Share Posted December 22, 2011 I don't know anything about myBB forums but i am pretty sure you can change the value of $mybb->settings['bburl'] from a settings page, or a config file. Don't just change it in the file you are interested in, because the rest of the links will be broken. (you will also have to move your files to the right directory i believe) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.