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)

magic168 02-20-2003 08:50 AM

I still haven't seen a definitive reply as to if/how this works with other php scripts. I have a php include at the top of my page already for my content management system...how can I add the php require/chdir line for this hack and not screw up that? I'm not well versed in this stuff so please help!

magic168 02-20-2003 10:22 AM

I definitely can't get this to work properly with my other include statement because of the way it changes directories to the forum...I have the last 10 posts hack by tubedogg...it seems to be able toa access forum info (and plays nice with my other php scripts) without having to chdir?

Is this possible? I really need a log-in on my front page.

Darren Lewis 02-20-2003 12:03 PM

magic168:
You may have to chdir back to your original directory after including the vbulletin global.php file, or before your other includes.

TYorke 02-23-2003 01:57 AM

If I access my vB forums directly (shortcut, per se) and then visit the other, non-vB with the hack, I get that awful error that says "Warning: Cannot add header information - headers already sent by ..."

Why does it do that?

BrAinZ 02-23-2003 04:02 PM

Hi, I wonder if anyone can help with this problem. I have done all needed to install the hack and it sort of works... BUT..

If you are NOT logged in then it simply jumps to the "normal" login page.

What I want is to display my non-vbb HTML page (well PHP actually) but with a nice neat little login box.

Any ideas on what is going wrong ?

Jethro 02-27-2003 04:12 PM

All right! Just about to install this one to our test setup :)

Cheers and thanks for the hack D.Lewis

Kamui Shirou 02-27-2003 07:39 PM

hello
on my server where the forum is it workz perfectly but.............
on the server where the page (forum and page are on seperated servers) is hostet it shows this error message

Warning: ChDir: No such file or directory (errno 2) in /homepages/45/d72897891/htdocs/vashXT/laststyle2/index2.php on line 2

Fatal error: Failed opening required 'global.php' (include_path='.:/usr/local/lib/php') in /homepages/45/d72897891/htdocs/vashXT/laststyle2/index2.php on line 3

TYorke 03-02-2003 07:20 AM

Does anyone know how to get rid of this?

PHP Code:

WarningCannot add header information headers already sent by
(output started at /home/tyorke/public_html/new/test2.php:14)
in /home/tyorke/public_html/community/admin/functions.php on line 1610

Warning
Cannot add header information headers already sent by
(output started at /home/tyorke/public_html/new/test2.php:14)
in /home/tyorke/public_html/community/admin/functions.php on line 1610 

Thanks!

cinq 03-02-2003 09:10 AM

Cool hack , added this without a hitch , easily customizable look thru the templates too :)
Thanks for the hack ! :D

Darren Lewis 03-02-2003 01:42 PM

BrAinZ
You may need to check your templates to make sure that the paths to the forums are correct in the login form. Or make sure the cookie setup is correct in the vbulletin admin panel (see earlier in this thread).

Kamui Shirou
Check the path to the vbulletin global.php file. PHP cannot find it, so displays that message.

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.

Jethro & cinq
Thanks for the kind comments. Glad you like it.


All times are GMT. The time now is 05:05 PM.

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.01140 seconds
  • Memory Usage 1,741KB
  • 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_php_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