Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2021, 04:21 PM
mofeu's Avatar
mofeu mofeu is offline
 
Join Date: Oct 2007
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!
Reply With Quote
  #2  
Old 12-02-2021, 12:20 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mofeu View Post
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!
Reply With Quote
  #3  
Old 12-06-2021, 05:42 PM
mofeu's Avatar
mofeu mofeu is offline
 
Join Date: Oct 2007
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"
Attached Images
File Type: jpg upload vb5.jpg (67.8 KB, 0 views)
Reply With Quote
  #4  
Old 12-06-2021, 08:31 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mofeu View Post

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 .

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).
Reply With Quote
  #5  
Old 12-07-2021, 06:14 AM
mofeu's Avatar
mofeu mofeu is offline
 
Join Date: Oct 2007
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #6  
Old 12-07-2021, 09:27 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mofeu View Post
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 and Good Luck!
Reply With Quote
  #7  
Old 12-12-2021, 04:56 AM
mofeu's Avatar
mofeu mofeu is offline
 
Join Date: Oct 2007
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #8  
Old 01-14-2022, 07:47 PM
growlabz growlabz is offline
 
Join Date: Jul 2021
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

don't bother with vbulletin, cut your losses and get xenforo
Reply With Quote
Благодарность от:
z3r0
  #9  
Old 01-23-2022, 04:03 PM
mofeu's Avatar
mofeu mofeu is offline
 
Join Date: Oct 2007
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by growlabz View Post
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 View Post
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 .

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
on vbtest does not appear
Reply With Quote
  #10  
Old 01-30-2022, 11:02 AM
mofeu's Avatar
mofeu mofeu is offline
 
Join Date: Oct 2007
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04880 seconds
  • Memory Usage 2,299KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete