Jump to content

How Do You Change An Existing Link?


moonman
 Share

Recommended Posts

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.

Edited by moonman
  • Like 1
Link to comment
Share on other sites

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) ^_^

Edited by smiles
Link to comment
Share on other sites

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...