MyBB Community Forums

Full Version: trying to add splash page, getting errors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i am trying to add a splash page to my forum: 667r.us

i found some PHP code which i pasted on the top of the index.php file. it works fine and makes the browser redirect to a splash page if they are coming from another URL besides my own. only problem is it puts tons of errors at the top which are annoying.

here is a screenshot of the error, although it should show up if you navigate to my page.

[Image: Screen_Shot_2013_02_20_at_3_15_53_PM.png]

is there a better way of creating a splash page or disable the error messages?

thanks!!
I believe at the top of the file you have to add a call to ob_start().