MyBB Community Forums

Full Version: Using your portal as your site home page.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11
(2009-11-28, 08:34 PM)Lee Merriman Wrote: [ -> ]Eh. I haven't seen a simple answer to have the portal as http://sld.tld/ and the forums at http://sld.tld/bb/ ... Is there one?

You can, i know http://endlessparadigm.com/ does it. I just don't know how.
That's a big help mark, show him how good it looks, but don't know how to do it, alrighty then.
(2009-11-29, 03:02 AM)EquippedMind Wrote: [ -> ]That's a big help mark, show him how good it looks, but don't know how to do it, alrighty then.

Simply stating it can be done, and is done. Possibely attract the owner to come and share.
(2009-11-28, 08:34 PM)Lee Merriman Wrote: [ -> ]Eh. I haven't seen a simple answer to have the portal as http://sld.tld/ and the forums at http://sld.tld/bb/ ... Is there one?
This is possible but it would take quite a few core file edits and even then I couldn't get it to work 100%. Sad
What if you copied the portals CSS, and just used it as a page feeding off of the RSS feeds?
http://community.mybboard.net/thread-44520.html And using that?
Im sure yumi, would be kind to post it.
(2009-11-28, 08:34 PM)Lee Merriman Wrote: [ -> ]Eh. I haven't seen a simple answer to have the portal as http://sld.tld/ and the forums at http://sld.tld/bb/ ... Is there one?

A simple mod rewrite was posted on this thread for doing something like that.
I am doing this on my site via the portal. Its pretty simple. Forum is in mydomain.tld/board/ and portal is mydomain.tld/portal.php.

Edit portal.php to set forumdir variable as "./board"
Edit root folder .htaccess to include "DirectoryIndex index.php portal.php"
Edit root folder .htacess to rewrite old index.php from previous site design "RewriteRule ^index\.php$ portal.php [L,QSA]"

There are a few template edits to change between $mybb->settings['bburl'] and $mybb->settings['homeurl'] but I forget which ones they were as I have made a ton of edits. But its easy to figure out when links don't take you where you want to go.

I prefer to use the portal.php as the landing page since it is more customizable and gives mroe overall info to the visitor than the index page

See my site for examples: http://www.pavementsucks.com
hello
thanks for the tutorial..
All working perfect to me. Just a simple question i have.
My question is when someone viewing forum.php, in online.php list show Unknown Location.
How do i set/change to "Viewing Forum index" in online.php.
you need to edit \inc\functions_online.php and \inc\init.php

in the files you renamed, you need to be sure to update the THIS_SCRIPT constant to the new filename

then edit the functions_online.php file and edit/replace the index and portal sections to use the new filenames

then in init.php you need to update the URL definitions to the new filenames. dont change the constant name, just the file its defined by
Pages: 1 2 3 4 5 6 7 8 9 10 11