vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   General Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=189)
-   -   [how to] create a testsite for offline uses (https://vborg.vbsupport.ru/showthread.php?t=233222)

TheSupportForum 01-14-2010 10:00 PM

[how to] create a testsite for offline uses
 
1 Attachment(s)
one of the things i've always wanted to do is run an offline version to test my templates and mods

today i have a good solution, and hope this should not break the licence terms as its an offline version for testing purposes

i came across a package call XAMPP
http://www.apachefriends.org/images/1240.jpg




Description:
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start. At the moment there are four XAMPP distributions:

XAMPP for Linux
XAMPP for Windows
XAMPP for MacOS X
XAMPP for Solaris

and the great things its free of charge

How to Install:

1) download the package and install the product
2) place you php or html files in htdocs/foldername
important:
Do not delete the following folder or files within htdocs
xampp - folder
index.php
do not place files in root of htdocs

ensure you run
Apache
MySql
FileZilla

as a service

screesnhot provided below



Now for the Vbulletin offline instructions

1) create a folder for vbulletin
2) open include/config.php.new
change the following lines to matahc below

you dont need to change this
Code:

$config['Database']['dbname'] = 'forum';


for this example i have chosen forum as my vbulletin folder you can change this
Code:

$config['Misc']['forumpath'] = 'C:\xampp\htdocs\forum';


change to this
Code:

$config['Mysqli']['ini_file'] = 'C:\xampp\mysql\bin\my.ini';


Last Stage:

open your browser and type

Code:

http://127.0.0.1/xampp/


scroll down to PHPMyAdmin and create a database for the forum
to install vbulletin on your local machine for testing

Code:

http://127.0.0.1/foldername/index.php


this will redirect to the install script


after installation of forum is complete you can visit your forum by typing

Code:

http://127.0.0.1/foldername


ignore the htdocs folder as this is the root for 127.0.0.1



if this does not work please feel free to PM me for support
screesnhots provided below

TheSupportForum 01-19-2010 03:08 PM

xxxx RESERVED xxxx

if you are using this method to test your form

i would like some feedback please

edward hamilton 01-20-2010 10:26 PM

I use a similar installation of xampp and it works well. I should do more testing before I incorporate template changes in my live site, but I'm a bit lazy from time to time.

MultiSoftPR 01-20-2010 11:40 PM

Ok, this procedure worked very nice and no problem. No need for the step to create the database though.

Thanks,
MultiSoftPR

Trip 01-24-2010 11:38 PM

Great write and tip.

I've been using this program for awhile now (18 months or so) and it most certainly saves a ton of headaches. I value my live site too much to be fooling around however, if I had a nickle for every "test forum" I've torpedoed...for every test forum that gets sunk my live site gets that much better :cool:

ProFifaLeagues 02-18-2010 05:25 AM

gonna try this thank you!

motorola 01-09-2011 05:32 PM

Great article. Thank you. I just installed my test forum

pantani 06-25-2011 11:39 AM

scroll down to PHPMyAdmin and create a database for the forum
to install vbulletin on your local machine for testing

Where do i create database??
I'm noobie :)
Would like a test forum, so help step bu step would be nice.
Ik see the phpmyadmin, now what?

Lynne 06-25-2011 03:22 PM

Quote:

Originally Posted by pantani (Post 2212538)
scroll down to PHPMyAdmin and create a database for the forum
to install vbulletin on your local machine for testing

Where do i create database??
I'm noobie :)
Would like a test forum, so help step bu step would be nice.
Ik see the phpmyadmin, now what?

google is your friend. :) http://www.phpeasystep.com/mysql/2.html

nezr 07-08-2011 05:25 AM

awesome, tagged for near future use :)


All times are GMT. The time now is 02:24 PM.

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.01164 seconds
  • Memory Usage 1,741KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete