vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Simple vB User login and access control on non vB pages (https://vborg.vbsupport.ru/showthread.php?t=173693)

wolbrom 04-22-2010 01:47 PM

Has this scrip been confirmed with vB4 (release) yet?

thenewuser 05-31-2010 10:56 PM

Thank you for this!

Right now I am getting a:

Fatal error: Call to a member function query_read() on a non-object in (path)/www/www/forums/includes/adminfunctions.php on line 2399

When it is loaded into a file with WordPress. It does work in a stand alone PHP file.

If you can help me debug this I shall donate! (Basically paying for your services as is only fair.)

I am using 3.8.5.

Hex_legend 07-22-2010 06:26 PM

My demo site is www.gungeuk.com/newdesign and the forums are at www.gungeuk.com/forum

On my site, I have /includes/header.php and /includes/sidebar.php.

On the sidebar is where I want to put the login box, so in my header, I put the code:

PHP Code:

<?php
$curdir 
getcwd ();
chdir('/home/gungeuk1/public_html/forum/');
require_once(
'/home/gungeuk1/public_html/forum/global.php');
chdir ($curdir);
?>

and in the sidebar, I have:

PHP Code:

<?php
   
require_once('/home/gungeuk1/public_html/forum/login_inc.php');
?>

where the login box is to go.

However, when I login, it will log me in but still shows the login box on the sidebar.

In my ACP cookie path settings, its saved to /

My path can be found at www.gungeuk.com/forum/path.php

Please let me know how I can get it to show me as logged in.

Thanks

Leigh

fake83 07-28-2010 12:53 PM

same problem here

NinjaKiwi 04-04-2011 01:22 AM

Any chance of a solution to this problem for VB4?

theloller 04-23-2011 01:52 PM

Quote:

Originally Posted by fake83 (Post 2075750)
same problem here

help us :confused:


All times are GMT. The time now is 03:37 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.01094 seconds
  • Memory Usage 1,727KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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