Admin Extra Discussions  

Go Back   Admin Extra Discussions > Resources > Tutorials > vBulletin Tutorials


Some Details: Posted by Ryan Ashbrook on 22-02-2010 (01:37 PM), last reply was on 23-02-2010 (08:20 PM). This thread has received 1 replies and been viewed 726 times.

Reply
 
LinkBack Thread Tools
[How To] Enable multiple entry points to vBulletin 4 on Localhost.
Old 22-02-2010, 01:37 PM   #1 (permalink)
[How To] Enable multiple entry points to vBulletin 4 on Localhost.
Ryan Ashbrook Ryan Ashbrook is offline 22-02-2010, 01:37 PM

Author of thread
This is a simple How To that will allow Modification developers enter their localhost vBulletin 4 installations to test via multiple user accounts.

vBulletin 4 introduced the usage of the <base> tag. While this is great for websites to ensure that your users are going to the correct site, it's a huge annoyance when doing multi-user testing via localhost.

To fix this, follow these steps.
  1. Login to your Admin CP.
  2. Go to Styles & Templates > Style Manager
  3. Expand the Default Style templates. Do not do this on the Master Style.
  4. Find the template "headinclude"
  5. Remove the following line from that template.

    <HTML Code

    <base href="{vb:raw vboptions.bburl}/" /><!--[if IE]></base><![endif]-->
  6. Save.
Now you can access your vBulletin 4 localhost through several locations, depending on your server setup. For example, I can now access my installation and login as several different users via the following URL's, all while using the same browser.
  1. http://localhost/vbulletin4/ - Standard Localhost URL.
  2. http://127.0.0.1/vbulletin4/ - Localhost loopback address.
  3. http://ryan-pc/vbulletin4/ - You can also use your computer name as an access point to localhost. You can find your computer name by looking at your System Properties. I'm not sure how/if this one works for Mac and Linux, so please don't ask.
  4. http://192.168.200.252/vbulletin4/ - You may also use your internal IP Address. This will be different for your computer, so you'll have to find your own internal IP address, as this one might not work. Windows Vista/7 users can download a Sidebar Gadget called "Network Meter" which will display your internal IP address. Remember that all internal IP addresses start with 192.168.
In essence, you can increase multi-user testing by 4 x the amount of browsers you have installed.

Using the four URL's above, I can log into 4 different accounts in one single browser. I have 5 browsers installed. So I can login as 20 different users simultaneously.

External connections (connections made outside of your network) cannot access your localhost unless you explicitly configure your Web Server, Firewall, and Router to allow them to do so. If you do this, then that effectively means you have added yet another access point via your External IP Address.

Added Bonus - If you have multiple computers within your network, they can also access your localhost via the Internal IP Address assigned to your computer. However, this is the only access point they have to your localhost. You can also set up an FTP Server so that you can download and upload files using other computers on the network. This is handy for if your main development system is a Desktop, but you wish to work using a Laptop. This will be the topic of another Article I'll be writing in a few days.

Added Bonus 2 - This also works for other software, you will have to check and make sure the <base> tag is not defined, though, in order for it to work properly.

Thanks! Feel free to ask any questions you may have pertaining to this article.
__________________
AdminExtra Administrator | Follow us on Twitter! | Become a Fan of AdX on Facebook!
Evolution-X Money/Points System - An AdX Exclusive Product
ImperialBB Developer | My Blog | Twitter | Facebook
Final Fantasy Crystal Cosmo | The Glass Prison (Mildly NSFW)
| Audentio Design

Don't forget to Rate people who perform work for you!

Please do not PM me for coding help. If you need guidance, please post in the appropriate programming help forum for your needs. If you'd like to hire me (or someone else) for custom work, please post in the Site Positions and Contests forum. All unsolicited Coding Help PM's are ignored. Thank You.

Ryan Ashbrook
Code Monkey
 Ryan Ashbrook's Avatar
Views: 726
Reply With Quote
Re: [How To] Enable multiple entry points to vBulletin 4 on Localhost.
Old 23-02-2010, 08:20 PM   #2 (permalink)
Code Monkey
 
Ryan Ashbrook's Avatar
 
Author of thread
Default Re: [How To] Enable multiple entry points to vBulletin 4 on Localhost.

It was brought to my attention that this can break functionality if you are using Friendly URL's.

Since it's localhost, there is no real need to rewrite URL's. Therefore, if you're going to use this make sure you set your Friendly URL setting to Standard or Basic URL's.
__________________
AdminExtra Administrator | Follow us on Twitter! | Become a Fan of AdX on Facebook!
Evolution-X Money/Points System - An AdX Exclusive Product
ImperialBB Developer | My Blog | Twitter | Facebook
Final Fantasy Crystal Cosmo | The Glass Prison (Mildly NSFW)
| Audentio Design

Don't forget to Rate people who perform work for you!

Please do not PM me for coding help. If you need guidance, please post in the appropriate programming help forum for your needs. If you'd like to hire me (or someone else) for custom work, please post in the Site Positions and Contests forum. All unsolicited Coding Help PM's are ignored. Thank You.
Ryan Ashbrook is offline   Back to Index Reply With Quote
Reply

Bookmarks

Tags
enable, entry, localhost, multiple, points, vbulletin

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Your weak points in designing? Shelley Graphics Lounge 20 18-05-2010 06:27 PM
Multiple meta? Shawn Search Engine Optimisation 4 23-02-2010 01:34 AM
vBulletin Discussions - Free vBulletin Support ChopSuey Community Showcase 86 17-01-2010 10:29 AM




All times are GMT. The time now is 08:44 AM.
Search Engine Optimization by vBSEO 3.3.2
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Admin Extra 2010
Style & Imagery copyrighted to adminextra.com



adminextra Top