Previous Thread
Next Thread
Print Thread
Hop To
#235849 03/27/2010 6:35 PM
Joined: Jun 2008
Posts: 48
Likes: 1
A
Newbie
Newbie
A Offline
Joined: Jun 2008
Posts: 48
Likes: 1
I searched a bit and read some threads but can't seem to get to a clear answer.

We have a web site and an active UBB forum within the site. At the moment all our non-forum content is open to the public. The forums require login and password for access.

I want to add content to the web site that will also require login and password. Is there a way to use/call the forum database and/or login screens to handle security? I don't want to maintain two routines and credential databases. I don't want our users to have to maintain two sets of credentials.

Abbott

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
it is possible, but a modification really.

is your 'non-forum content' served up via server side scripting (like php) ?

if so, then you are closer to being able to do it.

otherwise, if you have plain ole' html files, then you'd need to possibly use .htaccess (updated from ubbthreads) to allow viewing etc..

it depends, but is doable as a modification smile

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Wouldn't be too difficult with htauth really, since you can set it up to feed from a mysql database...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
Joined: Jun 2004
Posts: 207
This actually isn't very hard.

If you look on threadsdev there is a user authentication class that works really well, you just need to know how to use PHP.


Won't you take me to Funkytown?
Joined: Jun 2008
Posts: 48
Likes: 1
A
Newbie
Newbie
A Offline
Joined: Jun 2008
Posts: 48
Likes: 1
Thanks guys

A point in the right direction really helps.

I was thinking of leaving the plain html pages as "public" and converting the pages requiring authorization to php.

Time for some learnin'

Abbott

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
i think it is actually a good thing to have *some* public nature to a 'private' board anyway..

gotta get them 'hooked on the heroin' somehow laugh


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Nightcrawler, Ruben), 694 guests, and 214 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)