Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #106  
Old 30 Apr 2005, 17:54
NxTek NxTek is offline
 
Join Date: Jun 2003
Can that be used for this (from another post) -

I've seen a few scripts that prompt a user to login, but nothing that would redirect the user to the internal login page on non-vB pages.

I have a directory structure like this -

/forums
/ads
/games
/faqs
/blog
and so on.

I want to use vB security throughout my entire site, even outside the actual /forums dir.

If you would go straight to /blog/blog.php for example, a piece of code would detect whether the visitor is logged in or not.

If so, display the page normally.

If not, redirect them to the exact same login screen that's invoked when you go to http://www.onlinepokerlistings.com/forums/calendar.php.

Ok, after logging in, the visitor would be directed back to /blog/blog.php.

It would work exactly the same as normally requiring a login to see a vB page, but in this case it's outside of vB.
Reply With Quote
  #107  
Old 21 Aug 2005, 03:51
hexosex hexosex is offline
 
Join Date: Aug 2005
Where the hell are the templates stored? :O I just cant find them on the installation i have here... Can anyone help please?
Reply With Quote
  #108  
Old 21 Aug 2005, 04:33
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
In the database (you should access them from vBulletin).

AdminCP > Style Manager > (pick a style) > Edit Templates
Reply With Quote
  #109  
Old 16 Sep 2005, 18:56
lem's Avatar
lem lem is offline
 
Join Date: May 2005
Question

I have this system setup for my site locksmithcafe.com. However, when I log out of the forum and go to locksmithcafe.com it gives me the following error:

Unable to add cookies, header already sent.
File: /home/httpd/vhosts/locksmithcafe.com/httpdocs/index.php
Line: 9

whats up with that do you think?

Here is my index.php page:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any ideas?

thanks

Lem
__________________
Diesel Forum
Reply With Quote
  #110  
Old 16 Sep 2005, 18:59
hexosex hexosex is offline
 
Join Date: Aug 2005
You are trying to start another page that is trying to set the http headers after they have allready been set. I had this problem and got around it with some php http posts that then caught the output stripped out the headers and then set them on final output!

Contact me [email protected] if you need any more help on this problem. I'd be happy to help.
Reply With Quote
  #111  
Old 16 Sep 2005, 21:34
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Just remove everything above the opening php-tag.

You can not output ANYTHING before you require global.php.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #112  
Old 30 Sep 2005, 20:58
bigtime bigtime is offline
 
Join Date: Jun 2002
NxTek - that's exactly what I want to do. Did you find the solution? Any one else?

Thanks.

Originally Posted by NxTek
Can that be used for this (from another post) -

I've seen a few scripts that prompt a user to login, but nothing that would redirect the user to the internal login page on non-vB pages.

I have a directory structure like this -

/forums
/ads
/games
/faqs
/blog
and so on.

I want to use vB security throughout my entire site, even outside the actual /forums dir.

If you would go straight to /blog/blog.php for example, a piece of code would detect whether the visitor is logged in or not.

If so, display the page normally.

If not, redirect them to the exact same login screen that's invoked when you go to http://www.onlinepokerlistings.com/forums/calendar.php.

Ok, after logging in, the visitor would be directed back to /blog/blog.php.

It would work exactly the same as normally requiring a login to see a vB page, but in this case it's outside of vB.
Reply With Quote
  #113  
Old 01 Oct 2005, 17:04
NxTek NxTek is offline
 
Join Date: Jun 2003
No, but I'm using vBa.

Originally Posted by bigtime
NxTek - that's exactly what I want to do. Did you find the solution? Any one else?

Thanks.
Reply With Quote
  #114  
Old 10 Oct 2005, 23:33
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Real name: Mike
Very nice, good information!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 01:54.

Layout Options | Width: Wide Color: