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

منتدى استراحات زايد (http://vb.ma7room.com/index.php)
-   منتدى أخبار المواقع والمنتديات العربية والأجنبية (http://vb.ma7room.com/forumdisplay.php?f=183)
-   -   CMS My Suggestions For People installing vB 4.0 (http://vb.ma7room.com/showthread.php?t=297405)

محروم.كوم 12-31-2009 05:10 AM

CMS My Suggestions For People installing vB 4.0
 
First I'd like to thank The vB Team for working with Me on My license issue.

OK, I had a time getting The CMS Suit installed correctly.

If your running a linux system you can backup your system quite easily like this...

1) First cd into the directory where you'd like to store your backup.

2) Then run this command...

Code:
tar -cvzpf myvbbackup.tar.gz /var/www/vhosts/your_domain.com/httpdocs
If you need to restore later just do this...

4) Code:
tar zxf myvbbackup.tar.gz
cd myvbbackup

keep cd'ing into each directory until you get to your forum ( website ) then...

Code:
cp -r * /var/www/vhosts/your_domain.com/httpdocs
Also be sure to make at least two backups of your Mysql database. ( In case one is corrupted )

5) After about 3 FULL restores I finally was able to get my site upgraded.

TIPS:
A) Uninstall "ALL" plugins.
B) Download a freash copy of your current vB Release and upload it to your server over writing everything.
C) Now Upload your new vB 4.0 overwriting everything.

Everything should go well for you now.

6) OK, Now you have everything installed, you well have to fix the smilie issue first. ( Found this here at vB )
To fix it do this...

Quote:
Edit the editor_smilie_row and editor_smilie templates, remove the {vb:raw vboptions.bburl}/ references

Search for those phrases in your "Search in Templates" Styles & Templates Manager.

Now after I turned on debug mode I found alot of templates not caching as they should.
To fix this I just looked in My Plug-in Manager in found a "cache_templates" "Hook Location" and added these to it. ( Don't think it much matters which one you use , and you may not have but one, and it'll be in The "Product : vBulletin Blog" Section. If you haven't installed any plug-ins yet. )

Here's the ones I found not caching.

PHP Code:
$cache[] = 'vbcms_article_css';
$cache[] = 'vbcms_content_article_preview';
$cache[] = 'vbcms_content_section_page';
$cache[] = 'vbcms_content_section_type5';
$cache[] = 'vbcms_grid_5';
$cache[] = 'vbcms_page';
$cache[] = 'vbcms_searchresult_post';
$cache[] = 'vbcms_toolbar';
$cache[] = 'vbcms_widget_categorynavbu_page';
$cache[] = 'vbcms_widget_newarticles_page';
$cache[] = 'vbcms_widget_recentblogposts_page';
$cache[] = 'vbcms_widget_recentcmscomments_page';
$cache[] = 'vbcms_widget_recentforumposts_page';
$cache[] = 'vbcms_widget_sectionnavext_page';

$cache[] = 'editor_clientscript';
$cache[] = 'editor_jsoptions_font';
$cache[] = 'editor_jsoptions_size';
$cache[] = 'editor_smilie';
$cache[] = 'editor_smilie_category';
$cache[] = 'editor_smilie_row';
$cache[] = 'editor_smiliebox';
$cache[] = 'editor_toolbar_colors';
$cache[] = 'editor_toolbar_fontname';
$cache[] = 'editor_toolbar_fontsize';
$cache[] = 'editor_toolbar_on';

$cache[] = 'newpost_attachment';
$cache[] = 'newpost_attachmentbit';
$cache[] = 'newpost_disablesmiliesoption';

$cache[] = 'tagbit_wrapper';
$cache[] = 'vbcms_article_editor';
$cache[] = 'vbcms_content_article_inline';
$cache[] = 'vbcms_content_edit_editbar';
$cache[] = 'vbcms_edit_block';
$cache[] = 'vbcms_edit_metadataeditor';
$cache[] = 'vbcms_edit_page';
$cache[] = 'vbcms_edit_publisher';
$cache[] = 'vbcms_editor_toolbar_on';

$cache[] = 'vbcms_comments_page';
$cache[] = 'vbcms_content_article_page';

$cache[] = 'vbcms_content_section_type1';
$cache[] = 'vbcms_grid_6';
$cache[] = 'vbcms_widget_static_page';

$cache[] = 'vbcms_content_section_type4';
$cache[] = 'bbcode_video';
$cache[] = 'vbcms_content_section_type2';
$cache[] = 'vbcms_grid_1';

$cache[] = 'vbcms_grid_4';
$cache[] = 'vbcms_widget_rss_page';

$cache[] = 'error_message';
$cache[] = 'page';

$cache[] = 'search_threadbit';

You will find more when and if you make new categories, sections, widgets etc... I think in you CMS.

7) To turn "Debug Mode" you can do like I did and add this to your includes/config.php file...
PHP Code:
$config['Misc']['debug'] = ($_SERVER['REMOTE_ADDR'] == 'XXX.XXX.XXX.XXX');

( XXX.XXX.XXX.XXX being you IP Address if you want to be the only seeing the information on your site. )

Almost for-got ! To restore your database easily do this...

Code:
mysql -u yourmysql_username -p thedatabse_name < yourmysqlbackup.sql
It'll prompt you for your passwd...



I Hope this helps someone.

Just thought I'd give something back to the community. :)

Thanks,

P.S.I make no guarantees ! What works for me may not work for other's.

HAPPY NEW YEAR !!!


الساعة الآن 06:15 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