PDA

View Full Version : Not sure the right question to ask....


Sticky1
05-15-2011, 03:33 PM
Not sure the right question to ask....

I am trying to find out if there is a way to use the forum log in and password as the gateway to a secure area of website pages.

I have a bunch of website pages I want to be able to access only on by signing into the forum. Then mabe set up a category than when clicked on brings you to the pages.

Can I put them in a locked file on the server and have a sub forum point to them?

Just looking for an easy way to do this....or what r my options?

Thanks,

Confused?????

Lynne
05-15-2011, 04:34 PM
You may create a php page and then put any code you want in it to block certain users/usergroups. You will need to write the php, of course.

[HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)

Sticky1
05-15-2011, 06:31 PM
Thanks Lynn,

I am offically lost. I am not a programmer however I can be considered a dabbler. I am not interested in denying anyone acess to the page(s) once they have entered the forum.

kh99
05-15-2011, 07:03 PM
How many html files are you talking about, is it just a few or a lot, and do they change often?

Sticky1
05-16-2011, 10:48 AM
How many html files are you talking about, is it just a few or a lot, and do they change often?


I have about 15 pages. They will not change since they are archives. I will however need to add to them as the years go on.

Thanks in advance......

BirdOPrey5
05-16-2011, 07:09 PM
If you do decide to create your own pages- this is the correct tutorial for your version of vBulletin.

https://vborg.vbsupport.ru/showthread.php?t=62164&highlight=pages

kh99
05-16-2011, 07:42 PM
I have about 15 pages. They will not change since they are archives. I will however need to add to them as the years go on.

Thanks in advance......

What I probably should have asked is, are you linking to them now from outside, and/or do they link to each other? Because if not you could do what Lynne and BOP suggested, put the html in a php file that checks if the user is logged in. But if you're already linking to them as something like "secret_file.html", then that might be a problem (although I think some web server configuration could take care of that issue).