vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Some basics of vB3(mini howto) (https://vborg.vbsupport.ru/showthread.php?t=59939)

Marco van Herwaarden 09-16-2005 07:34 PM

Just remove everything above the opening php-tag.

You can not output ANYTHING before you require global.php.

bigtime 09-30-2005 06:58 PM

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

Thanks.

Quote:

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.


NxTek 10-01-2005 03:04 PM

No, but I'm using vBa.

Quote:

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

Thanks.


PennylessZ28 10-10-2005 09:33 PM

Very nice, good information!


All times are GMT. The time now is 11:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01259 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete