MyBB Hacks

Full Version: Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i renamed my index.php to forum.php and my portal.php to index.php.
and i searched and replaced the index.php to be forum.php.

i was just wondering how to get this:
[attachment=84]

to direct me to the forum.php instead of the index.php

also how do i make it so in the who's online page the forum.php is not an unknown location?


Thanks

-IncadudeF
In global.php, find:

PHP Code:
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";

and change it appropriately.

For Who's online, find in online.php:

PHP Code:
		case "index":
		case '':
			$user['activity'] = "index";

Replace with

PHP Code:
		case "forums":
		case '':
			$user['activity'] = "index";

Find:

PHP Code:
		case "portal":
			$user['activity'] = "portal";

Replace with:

PHP Code:
		case "index":
			$user['activity'] = "portal";

Thank you Zinga.
humm it seems like im still getting "unknown location" on the who's online page. The other thing worked.
Never mind you can edit it in the language file. Just for others to know.
Reference URL's