Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > General Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[how to] create a testsite for offline uses
TheSupportForum
Join Date: Jan 2007
Posts: 1,158

 

Show Printable Version Email this Page Subscription
TheSupportForum TheSupportForum is offline 01-14-2010, 10:00 PM

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





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
Attached Images
File Type: jpg 1.jpg (117.4 KB, 0 views)
File Type: jpg 2.jpg (130.7 KB, 0 views)
File Type: jpg 111.jpg (253.6 KB, 0 views)
File Type: jpg 1212.jpg (95.4 KB, 0 views)
Reply With Quote
  #12  
Old 03-24-2013, 05:48 PM
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i use AppServ windows 7
its very easey
but i think i will try that
Reply With Quote
Reply


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 09:12 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.06265 seconds
  • Memory Usage 2,230KB
  • Queries Executed 19 (?)
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
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (4)postbit_attachment
  • (2)postbit_onlinestatus
  • (2)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete