MyDonations 1.4.2 released .
How to determine base address of Mybb
Does mybb stores forum base address anyware?

suppose Mybb web address is as below

$_SERVER['HTTP_HOST'] will only return ""

$_SERVER['SCRIPT_NAME'] will return the path to the script from where it is being running which may be a file within admin root

But I need forum base address i.e

Thanks Heart
$mybb->settings['bburl'] for the base URL. MYBB_ROOT for the base path.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
(07-09-2014, 07:43 PM)Pirata Nervo Wrote: $mybb->settings['bburl'] for the base URL. MYBB_ROOT for the base path.

Thanks a Million HeartHeartHeart

Going to contribute a free plugin soon..

Users browsing this thread: 1 Guest(s)

About MyBB-Plugins

Plug Yourself into the best MyBB AddOn.

Copyright © 2009-2021 MyBB-Plugins Forums.


  • 51,000+ Posts
  • 19,000+ Members
  • 3,600+ Threads

Impressed? For sure
Check Full Stats here