vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Displaying username/login fields on non-vB page? (https://vborg.vbsupport.ru/showthread.php?t=22192)

MarkB 07-13-2001 09:08 PM

I've no luck either - manage to get the login boxes showing, and had the login redirect back to the main page, but it would still show the boxes, not the welcome message :confused:

I shall keep trying - thanks for the assistance everyone :)

Stasik 07-14-2001 12:38 PM

was the login procedure sucessfull?

mferrell 07-23-2001 11:49 PM

I've tried this and get this message:

Warning: Failed opening './admin/config.php3' for inclusion (include_path='') in ./bulletinboard/global.php3 on line 66

Fatal error: Failed opening required './admin/config.php3' (include_path='') in ./bulletinboard/global.php3 on line 66

I've tried included the global.php3 on other pages in the past with no luck because of the config.php3 problem. Anyone have an idea on how to solve this?

Thanks,
-Matt

Ruth 07-23-2001 11:53 PM

i had the same problem :(

mferrell 07-23-2001 11:58 PM

Did you find a solution? This has prevented me from using any hacks that require the global.php3.

Ruth 07-24-2001 12:03 AM

no i couldnt find a solution, i'll try to keep at it,
for any script that uses global.php3 try renaming global.php3 to another name and link to it when needed...this saves you the hassle.

RobAC 07-24-2001 12:08 AM

Quote:

Originally posted by GameCrash
If you want to geht the loginform, you have to change the code a bit:

When you say login form, do you mean the username and password boxes? I've installed the code above on my home page and it works since it recognizes me, but if I log out of the forums and return to the home page, there is nothing there. I'd like to be able to have users log in from the main home page of my site.

mferrell 07-24-2001 12:14 AM

Yeah, that's basically what I'm trying to do. I'm trying to have non-vb pages say, "Welcome, username" if you're logged in. If not, I want it to show the login boxes.

However, when I try to require global.php3 on a non-vb page, I get a parse error that it can't find the config.php3 referenced in the global.php3 file. I'm totally stuck.

RobAC 07-24-2001 12:26 AM

I'll work on this in a little while and see what I can come up with.

-Rob

RobAC 07-24-2001 05:43 AM

Here it is: http://vbulletin.com/forum/showthrea...593#post143593


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

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02431 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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