منتدى استراحات زايد

منتدى استراحات زايد (http://vb.ma7room.com/index.php)
-   منتدى أخبار المواقع والمنتديات العربية والأجنبية (http://vb.ma7room.com/forumdisplay.php?f=183)
-   -   Forum FAQ: How to install CMS in Root, Forums in subdirectory (http://vb.ma7room.com/showthread.php?t=448044)

محروم.كوم 07-06-2010 06:11 AM

Forum FAQ: How to install CMS in Root, Forums in subdirectory
 
<div>Have you been pulling out your hair trying to figure out how in the world to simply install the vBulletin Suite's CMS or "portal" page as your front page in the root directory (e.g. http://fixxer.com ) and your forums in the forums directory? (e.g. http://fixxer.com/forums/ )

Well, here's the how to guide, courtesy of me after trying to figure what all the confusing instructions in 48 different places meant. I've just done this clean install on a fresh site and it appears that it works...

1) Create a "forums" directory off the root (or call it "forum" if you prefer, whatever)
If you're a novice, the root is the top level of your web site or http://fixxer.com in my case. Using FTP it's /home/fixxeraccount/public_html/ or something similar like:
/home/fixxeraccount/www/

but you get the point.

2) Upload the entire vB 4 suite into that "forums" directory, not into the root, and install into that /forums/ directory. That would be /home/fixxeraccount/public_html/forums/

NOTE: Install the sample content. You can delete it later but at least you can tell if your install works properly.

3) Don't read the manual here since it will just confuse you, although what I'm explaining is the same thing written here: http://www.vbulletin.com/docs/html/o...tentmanagement

What you need to do is create five blank text files called content.php, editor.php, list.php, widget.php and index.php. If your forum directory is called "forums", you can copy the exact text corresponding to each file into that file, e.g. the four lines below content.php will be copied into the content.php file. Then you will upload all those five files into your root directory: /home/fixxeraccount/public_html/

Note: If you've installed your vb forum into a directory other than one called "forums", just replace "forums" with "forum" or whatever directory you use for each of the five files below.

Note: If you need to understand what is going on, all these files are telling the browser that the files it needs to run the CMS portion in the back end are really contained in your forums directory so use them... but still output the result in this directory, the root or front page of your web site.

content.php

<div class="bbcode_container"> PHP Code:
<span style="color: #000000"><span style="color: #0000BB">


الساعة الآن 05:46 AM

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227