|
Change location of 'archive' folder
|
|
02-11-2008, 05:27 PM
(This post was last modified: 02-12-2008 11:31 AM by Dale Hay.)
Post: #1
|
|||
|
|||
|
Change location of 'archive' folder
If you're like me and have a .htaccess conflicting with your 'archive' folder, then this small simple tutorial will tell you how to get around it and change the location of the 'archive' folder. Note: In this example, I am changing the archive folder to 'lite' - however you can change it to whatever you wish - just change 'lite' to whatever you want.
Open: /archive/global.php Goto Line 47: Code: $base_url = $mybb->settings['bburl']."/archive/index.php?";Code: $base_url = $mybb->settings['bburl']."/lite/index.php?";Goto Line 65: Code: $base_url = $mybb->settings['bburl']."/archive/index.php/";Code: $base_url = $mybb->settings['bburl']."/lite/index.php/";Goto Line 72: Code: $archiveurl = $mybb->settings['bburl'].'/archive';Code: $archiveurl = $mybb->settings['bburl'].'/lite';Goto Line 160: Code: $navbits[0]['url'] = $mybb->settings['bburl']."/archive/index.php";Code: $navbits[0]['url'] = $mybb->settings['bburl']."/lite/index.php";Rename: 'archive' folder to 'lite' Edit Template: *template set* -> footer Find: Code: <archive_url>Replace: Code: {$mybb->settings['bburl']}/lite/Done! ![]() -- EDIT -- It does work too as you can see from my personal forum. (dalehay.com/convo/lite/) Dale Hay . com :: ConvoWorld :: Sound Upload
|
|||
|
02-24-2008, 01:14 AM
Post: #2
|
|||
|
|||
|
RE: Change location of 'archive' folder
thanks, good tutorial!
Creativity is a drug I cannot live without. |
|||
|
02-24-2008, 01:56 AM
Post: #3
|
|||
|
|||
|
RE: Change location of 'archive' folder
Nice! Gj!
"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Doug Adams |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help





