vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   VB Login on a Non-VB Page vB3 RC3 (https://vborg.vbsupport.ru/showthread.php?t=61112)

idwf 02-25-2004 04:53 PM

'
Warning: main(): open_basedir restriction in effect. File(/forums/global.php) is not within the allowed path(s): (/home/indeathw:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/indeathw/public_html/indextest.php on line 2

Warning: main(/forums/global.php): failed to open stream: Operation not permitted in /home/indeathw/public_html/indextest.php on line 2

Fatal error: main(): Failed opening required '/forums/global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/indeathw/public_html/indextest.php on line 2'

on RC4...any ideas????:ermm:

Jensie180 02-28-2004 08:58 AM

I downloaded this hack, work great! I only need some more stuff when the member is logged in. Like the avatar image, new pms, last visited? I know there are codes for this, but can someone help me get these?

Thanks!

cerebro 03-02-2004 09:50 PM

please some hack to login in ASP page..but i other webserver, diferent that forum server.

Chrissicom 03-14-2004 08:42 AM

hmmm I put the code on my index.htm on IIS 6 and it is just working fine, no need to rename it to .php (the .htm file is XHTML 1.1 compliant, but I don't think this affects the php code to working or non-working).... do I need to have index.php on Apache or it won't work?!?

cerebro 03-15-2004 04:53 PM

yeap, not need .php but you have the forum and website in the same SERVER.
I have one computer for my board, and another for my Forum...

brownafroduck 03-20-2004 05:19 PM

This seems to work great for me so far, but I have a question...

Can someone explain what is happening in the first piece of code? Just what does it mean and what is it doing?

Thanks. :)

Kumaro 03-20-2004 07:57 PM

Okay, I finally got this hack to work with my PHPnuke 7.1. There's still 1 problem remaining. It logs in and returns to the main page, however the message does not change to "Welcome username", it always shows the login form....I made it into a phpnuke block, so it is in its' own file. The login is successful, but there is no welcome page.

PHP Code:

if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
  
$content "<align=\"center\"><span class=\"sectionheader\">Welcome back, $username!<br>"

^^is that being ignored or something?

misterfade 03-23-2004 10:24 PM

Quote:

Originally Posted by mcahill
1. This script can occassionally have conflicts with other javascripts. Test before you deploy.

That's the exact problem I'm having with the javascript. The script works, but I always get an error when the page loads (before I login). I tried this hack without the javascript and it still works fine.

So, why is this line of javascript needed to login?
<script type='text/javascript' src='/forum/clientscript/vbulletin_md5.js'></script>

Thanks.

MindTrix 03-25-2004 02:06 PM

Thats the line that calls the java file

Snappa 03-25-2004 02:55 PM

bump!


All times are GMT. The time now is 09:30 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.01103 seconds
  • Memory Usage 1,740KB
  • 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)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