vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   welcome/login panel on non-vB page (https://vborg.vbsupport.ru/showthread.php?t=37134)

TYorke 03-02-2003 05:59 PM

Quote:

Originally posted by Darren Lewis
TYorke
Make sure the call to the vbulletin global.php file is at the very top of your non-vb page not at the top of the webwelcome.php file, as you mention in your earlier post. Make sure there is nothing before that line apart from the <?php opening tag. Make sure no white space before this tag too.

I set this up doing it the way someone else did it earlier. Created a separate 'login.php' with the call to global.php and everything and included THAT file on my non-VB page. I guess this was not a safe practice?

Darren Lewis 03-02-2003 06:53 PM

That's probably why you're getting the header info already sent message. Should disappear if you move the call to the vbulletin global.php file so it's at the top of your non-vb page. You can still include you login.php file, but make sure not to call global.php twice.

TYorke 03-02-2003 08:58 PM

well everytime I include that information at the top, it renders the entire page blank.

Drowned 03-03-2003 04:49 AM

I get this error

Quote:

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mydomain/httpdocs/index.php on line 178

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mydomain/httpdocs/index.php on line 178
Yet I still get all the correct info dislplayed after the error?!

Quote:

Welcome back, Drowned.
You last visited: 03-03-2003 12:09 AM.
There have been 8 threads and 8 posts since your last visit!
View New Posts Since Your Last Visit
Oh yeah... avatars don't show up either :( I get a red x

Jawilliams 03-07-2003 09:04 PM

Heh - This looks just what I want, but cannot seem to get it to work.

I followed the instructions all the way through, however if you take a look at

http://www.time4parties.co.uk/pages/test.php where I was hoping there would be a login box in the big empty space, there is very little - any ideas?

Jawilliams 03-08-2003 06:16 AM

ok - I had a little play, and am not getting the error:

Quote:

Fatal error: Call to a member function on a non-object in /home/virtual/site47/fst/var/www/html/webwelcome.php on line 24
any ideas?

Jawilliams 03-08-2003 07:00 AM

I have tried changing the chdir, and this gives me no help - however I noticed that if I do get it wrong, I get the a different error stating that the global.php cannot be found

I presume that this means its not a problem in chdir then, and something to do with it not connecting to global.php

Megabyt3 03-08-2003 01:20 PM

Hi, i use a PHP Portal on my page ( phpkit ) and i have a index.php and a include.php from the Portal. I need to install this hack in a block on my Portal but i cant get it to work.

...server/page/index.php << is the Portal

...server/board/index.php << is the vB Board

So what i have exactly to do to get it to work on my Portal page in a block? The including in a block is not hard but first i have to know how to get the hack to work and where upload all files.

Zachery 03-08-2003 06:15 PM

.

Megabyt3 03-08-2003 09:58 PM

Faranth thx for ur awnsome reply! ;(


All times are GMT. The time now is 06:48 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.01381 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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