vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   New vb5 user --- please advice me. (https://vborg.vbsupport.ru/showthread.php?t=329053)

mofeu 12-01-2021 04:21 PM

New vb5 user --- please advice me.
 
From today I bought vb5 in order to upgrade my old vb4.

so the steps that i will follow is to :

to back up my database from server ...

to rename "core" to "forums" and then with ftp to rewrite it to my public_html?

What will happen to 1st page? Is anyway to construct it from the beginning?
The first page of vb4 cannot connect users (username and password).
So I would like features like rss feeds from other sites , weather plugin and youtube channel
Also I would like to install new templates (black-orange , red-black and black-white) .


What is your opinion about plugins
Here is my vb4 forum

Please advice me!

TheLastSuperman 12-02-2021 12:20 AM

Quote:

Originally Posted by mofeu (Post 2607875)
From today I bought vb5 in order to upgrade my old vb4.

so the steps that i will follow is to :

to back up my database from server ...

to rename "core" to "forums" and then with ftp to rewrite it to my public_html?

What will happen to 1st page? Is anyway to construct it from the beginning?
The first page of vb4 cannot connect users (username and password).
So I would like features like rss feeds from other sites , weather plugin and youtube channel
Also I would like to install new templates (black-orange , red-black and black-white) .


What is your opinion about plugins
Here is my vb4 forum

Please advice me!

Copy your vB4 forum database and folder to a new directory let's say /vbtest/ and make sure it loads there! *Remember to change the config.php file so it connects to the NEW (copied) database.

Once the site loads fine there, but you know it's a copy (someone may post on the actual site, and then you'll see how each differs). Now you can follow the steps to upgrade from vB4 to vB5 and see how the site looks in vBulletin 5, at the "test" URL which is www.yoursite.com/vbtest/ <-- which will load your site in vBulletin 5 if done correctly.

Once you have that working, this is how your site would look in vBulletin 5 format, remember to check for styles and plugins you may wish to install, so you can test those now prior to launching the (new vB5) site.

*Finally, once you have things as you wish them to be, you can basically repeat the process on the live site, but now you already have a list of plugins you installed on the test site (and the files for those plugins already downloaded) and you can export your style out from the test site, and once your live site is updated to vB5 you import your theme and voila! You're site is now powered by vBulletin 5 instead of 4!

mofeu 12-06-2021 05:42 PM

1 Attachment(s)
I will make my first try this weekend ...
I did backup on my server so if something does not work then i will return it to vb4.

I suppose i will upload the folder "upload" and rename the folder "core" to "forum"
Am I right?
Vb4 does not have folders " fonts,images ,includes ,js " outside "forum"

TheLastSuperman 12-06-2021 08:31 PM

Quote:

Originally Posted by mofeu (Post 2607893)

I suppose i will upload the folder "upload" and rename the folder "core" to "forum"
Am I right?
Vb4 does not have folders " fonts,images ,includes ,js " outside "forum"

No, don't upload the vB5 folders and files yet, just make sure the "copied" vB4 in the new folder /vbtest/ and ensure it's connecting to the newly (copied) database. You can do this by making a test post on the copied site, if you see the same post on the normal vB4 site you have then you made a mistake and need to start over.

Once you know the new /vbtest/ vBulletin 4 is working, then you remove all the contents of the vbtest folder, and upload the vB5 files there. *Why? You can't install vBulletin 5 in a folder with vB4, it needs to be an empty folder. **But guess what? We already tested, and see the site is a copy, and the database we still need to be there, in order to run the vB5 upgrade still exists :cool:.

Once you see vB5 running great in the /vbtest/ folder, then you know it will work on the live site, and you can repeat the process there (run backups again just in case).

mofeu 12-07-2021 06:14 AM

It's seems little bit complicated to me ????
So I dublicate my forum ... Let's say it vbtest with vb4...
If it works .... I will delete all the contents inside vbtest and i will upload vb5 folders .
Do I understand good?
Thanks again in advance!

TheLastSuperman 12-07-2021 09:27 PM

Quote:

Originally Posted by mofeu (Post 2607900)
It's seems little bit complicated to me 🙂
So I dublicate my forum ... Let's say it vbtest with vb4...
If it works .... I will delete all the contents inside vbtest and i will upload vb5 folders .
Do I understand good?
Thanks again in advance!

Yes :cool: and Good Luck!

mofeu 12-12-2021 04:56 AM

I am doing the following steps

I rename this file:

htaccess.txt

To:

.htaccess
(Note the 'dot' at the start)


Then

rename this file:

/config.php.bkp

To:

/config.php

Then, I rename this file:

/core/includes/config.php.new

To:

/core/includes/config.php


Then , in that file, I need to complete the following fields:

$config['Database']['dbname'] = 'forum';
Change forum to whatever your database name is.

$config['Database']['technicalemail'] = 'dbmaster@example.com';
Change the email address to your own.

$config['MasterServer']['username'] = 'root';
Change root to the database username

$config['MasterServer']['password'] = '';
Enter the database password inside the '' marks.

All other fields should be left as default, unless your database is on a separate server, in which case this will need changing:

$config['MasterServer']['servername'] = 'localhost';


Which is the correct path?
http://www.mysite.com/forum/install/upgrade.php
or
http://www.mysite.com/forum/core/install/upgrade.php

--------------- Added [DATE]1639292929[/DATE] at [TIME]1639292929[/TIME] ---------------

Shall i change also to the .htaccess ? I did forums to forum
Quote:

<IfModule mod_rewrite.c>
RewriteEngine On

# In some cases where you have other mod_rewrite rules, you may need to remove the
# comment on the following RewriteBase line and change it to match your folder name.
# This resets the other mod_rewrite rules for just this directory
# If your site was www.example.com/forum, the setting would be /forum/
#RewriteBase /

#If you used friendly urls in vB4, then uncommenting the following rules will redirect the #
#old vB4 urls to a similar location in vB5. This is unnecesary for a new vB5 install.
#RewriteRule ^threads/.* showthread.php [QSA]
#RewriteRule ^forum/.* forumdisplay.php [QSA]
#RewriteRule ^members/.* member.php [QSA]
#RewriteRule ^blogs/.* blog.php [QSA]
#RewriteRule ^entries/.* entry.php [QSA]

#To redirect users to the secure version of your site, uncomment the lines below
#RewriteCond %{HTTPS} !=on
#RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

#Block directories that don't need direct access
RewriteRule ^(core/libraries/|includes|core/includes|core/vb|core/vb5|core/admincp|core/modcp) index.php?routestring=relay/404 [END]

#Block files and directories
RewriteRule (^|/)\.(?!well-known) index.php?routestring=relay/404 [END]

#Block directories that don't need direct access to PHP
RewriteRule ^(css|fonts|images|js|core/cache|core/cpstyles|core/clientscript|core/customavatars|core/images|core/store_sitemap)/.*\.php index.php?routestring=relay/404 [END]

# Send css calls directly to the correct file VBV-7807
RewriteRule ^css.php$ core/css.php [NC,L]

# Redirect old install path to core.
RewriteRule ^install/ core/install/ [NC,L]

# Main Redirect
RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|css)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]
</IfModule>

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/atom+xml \
text/javascript \
application/x-javascript \
application/javascript \
application/json \
application/rss+xml \
application/vnd.ms-fontobject \
application/x-font-ttf \
application/xhtml+xml \
application/xml \
font/opentype \
image/svg+xml \
image/x-icon \
text/css \
text/html \
text/plain \
text/x-component \
text/xml
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType application/x-javascript A1209600
ExpiresByType text/javascript A1209600
ExpiresByType application/javascript A1209600
ExpiresByType text/css A31536000
ExpiresByType image/x-icon A2592000
ExpiresByType image/icon A2592000
ExpiresByType application/x-ico A2592000
ExpiresByType application/ico A2592000
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A1209600
ExpiresByType image/jpg A1209600
ExpiresByType image/png A1209600
ExpiresByType application/x-shockwave-flash A1209600
ExpiresByType font/ttf A2592000
ExpiresByType font/otf A2592000
ExpiresByType font/x-woff A2592000
ExpiresByType image/svg+xml A2592000
ExpiresByType font/truetype A2592000
ExpiresByType font/opentype A2592000
ExpiresByType application/x-font-woff A2592000
ExpiresByType application/vnd.ms-fontobject A2592000
</IfModule>

<IfModule mod_headers.c>

Header set Connection keep-alive

<filesmatch "\.(ico|flv|gif|swf|eot|woff|otf|ttf|svg)$">
Header set Cache-Control "max-age=2592000, public"
</filesmatch>
<filesmatch "\.(jpg|jpeg|png)$">
Header set Cache-Control "max-age=1209600, public"
</filesmatch>
<filesmatch "\.(eot|woff|otf|ttf|svg)$">
Header set Cache-Control "max-age=2592000, public"
</filesmatch>
<filesmatch "\.(css)$">
Header set Cache-Control "max-age=31536000, public"
</filesmatch>
<filesmatch "\.(js)$">
Header set Cache-Control "max-age=1209600, public"
</filesmatch>

# Don't allow other sites to frame in your content. If you do need to frame the
# forum in on another host you will need to remove or change this line.
Header always append X-Frame-Options sameorigin
</IfModule>

#don't allow some files that shouldn't really be present to be directly accessed.
#note that attachements should never be directly accessed by the webserver because
#we have permissions on the that are checked in the PHP code.
<FilesMatch "(^#.*#|\.(bak|config|dist|inc|ini|log|gz|tar|zip| sh|sql|sw[op]|md)|~)$">
Require all denied
</FilesMatch>

growlabz 01-14-2022 07:47 PM

don't bother with vbulletin, cut your losses and get xenforo

mofeu 01-23-2022 04:03 PM

Quote:

Originally Posted by growlabz (Post 2608072)
don't bother with vbulletin, cut your losses and get xenforo

sorry i bought vb5

--------------- Added [DATE]1642965535[/DATE] at [TIME]1642965535[/TIME] ---------------

Quote:

Originally Posted by TheLastSuperman (Post 2607894)
No, don't upload the vB5 folders and files yet, just make sure the "copied" vB4 in the new folder /vbtest/ and ensure it's connecting to the newly (copied) database. You can do this by making a test post on the copied site, if you see the same post on the normal vB4 site you have then you made a mistake and need to start over.

Once you know the new /vbtest/ vBulletin 4 is working, then you remove all the contents of the vbtest folder, and upload the vB5 files there. *Why? You can't install vBulletin 5 in a folder with vB4, it needs to be an empty folder. **But guess what? We already tested, and see the site is a copy, and the database we still need to be there, in order to run the vB5 upgrade still exists :cool:.

Once you see vB5 running great in the /vbtest/ folder, then you know it will work on the live site, and you can repeat the process there (run backups again just in case).

I create a new folder vbtest as you said and i duplicate the databases.I change the (config.php)
['Database']['dbname'] = 'newdatabase';
$config['MasterServer']['username'] = 'newuser';
$config['MasterServer']['password'] = 'newpassword';

but when i do i new post goes to the forum folder :confused:
on vbtest does not appear

mofeu 01-30-2022 11:02 AM

I installed it

isuez.com 02-25-2022 03:43 PM

Good Luck!


All times are GMT. The time now is 05:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01171 seconds
  • Memory Usage 1,784KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete