MyBB Community Forums
MyBB Community Forums
>
Extensions
>
Plugins
>
Plugin Support
> How to get the Forum root URL?
Full Version:
How to get the Forum root URL?
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
blogantinom
2013-05-17, 06:47 AM
How inside the code I can find the mybb root URL?
It could be a
http://localhost
or
http://myforum.com
, for example.
Eco
.m.
2013-05-17, 07:01 AM
in templates it is
{$mybb->settings['bburl']}
(can be also used in plugins etc)
blogantinom
2013-05-17, 07:53 AM
Thank you very much, that worked!
MyBB Community Forums
>
Extensions
>
Plugins
>
Plugin Support
> How to get the Forum root URL?