View Full Version : same db in 2 seperate directories? 1 is pwd protected for members only!
wolfyman
10-20-2007, 05:02 PM
Is it possible to install vbulletin in two directories, on one database?
I'm trying to do this:
mysite.com/forums <!-- open directory
mysite.com/members/forums <-- password protected directory
I want to use the same db for both, but the /members forum would use a seperate style that would allow access to a "members only" section.
The login would be the same, but the "members" forum would only be accessible via the password protected directory.
This is essentially only one install of vb, but it would utilize two different directories.
how do I accomplish this?
Opserty
10-20-2007, 06:27 PM
Correct me if I'm wrong but doesn't that require two vBulletin licenses?
Why can't you set up a user group and just give them access to specific forums? You'd probably need some custom code to allow members only access to a specific style. However its far easier working this way round then trying to achieve what you are saying.
wolfyman
10-20-2007, 06:42 PM
It's the same installation of vbulletin, so I don't think it should require 22 licenses.
Regardless, if my answer DID require 2 licenses, that would defeat the purpose.
Your suggestion is a good one, but I'm using verotel to manage my /members area. verotel isn't supported by vbulletin at this moment, aside from amember. I tried that, and their system is far from desirable.
So I'm thinking 1 database, two directories, two styles. one style is accessible only when in a certain directory (on the same site).
Paul M
10-20-2007, 07:11 PM
How would changing the style stop people viewing the members area ? - all non members would need to do is type in the url.
Marco van Herwaarden
10-21-2007, 04:31 AM
Like paul said, the member forum would be accessible from each installation of the files if the forumid is known (and permissions allow access).
wolfyman
10-21-2007, 04:44 AM
www.mysite.com/forums is open to the public
www.mysite.com/members is htaccess password protected.
therefore, yes - you simply type the address, but you need a password.
Which is managed by verotel.
there is a way to do this, and there is someone on this forum who is intelligent enough to do it.
--------------- Added 1192945615 at 1192945615 ---------------
honestly, I don't care - I will pay for two licenses, if I can avoid making people register 2 times in order to keep te same username.
I have a members only area that people pay to get to. then they want to share posts with other people that also pay to be in that area. at this time, vbulletin does not support verotel paid subscriptions, so I am looking for a solution.
Marco van Herwaarden
10-21-2007, 05:06 AM
Like i said, that will not stop regular members to visit that forum.
www.mysite.com/forums/forumdisplay.php?f=1 (http://www.mysite.com/forums/forumdisplay.php?f=1)
and:
www.mysite.com/members/forumdisplay.php?f=1 (http://www.mysite.com/members/forumdisplay.php?f=1)
Would both lead to the same forum, only the second URL will need additional authentication.
Opserty
10-21-2007, 09:22 AM
I don't know how Verotel works or even what it is but I'm guessing that there must be some kind of data stored in a database somewhere. You could create a (cron)script which updates the users usergroup from a normal member to a authenticated member, or something of the sort.
I think the problem is you are trying to draw a line between two different installations but this line isn't between the actual directories its inside the files in the directory. Try working with vB's in-built features and use them to your advantage instead of trying to go to the extra hassle of major editing of files & other things.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.