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 - Deluxe vB User login and access control on non vB pages (https://vborg.vbsupport.ru/showthread.php?t=173698)

ViciousCode 11-29-2008 12:32 AM

i get the same error

Code:

Fatal error: Call to a member function query_read() on a non-object in /home/services/public_html/login_inc.php on line 151

ptiteuf 12-17-2008 10:27 AM

Hello,
grieve for English but it was translated with google, voila I have a vBulletin license and your script "vB Deluxe User login and access control on non vB pages" because I'm interested me was that the root of my site there I have a system that manages the login. could you tell me if your latest version works for vBulletin 3.7.4 pl1. and say the modifications because I'm new to php.

Thank you in advance

reimic 01-03-2009 04:00 PM

I always get

Quote:

Fatal error: Call to a member function query_read() on a non-object in /var/www/******/blog/login_inc.php on line 152
If someone could fix that for me, i am willing to pay! Please consider me! apfelphone @mac.com

Vaupell 01-08-2009 11:00 PM

just testing and helping a guy out, cause im a asp guy..
but i got it working on a test page..

http://www.evisystems.org/test.php

running on a win2k box with php 5 something..

dont use all those ///// on a windows server.
apache perhaps,, baah who uses that.. (Just kidding. ) :p

Code:

<?php
$curdir = getcwd ();
chdir('yourforumfolder');
require_once('yourforumfolder/global.php');
chdir ($curdir);
?>

edit yourfolder url.

Howewer its only really usefull when u add your profile img and such..
missing a few pointers in the readme, but it works.. Nice job..

Works on 3.8 gold - MArked as installed cause i love the mod!

Wstar 01-19-2009 03:55 PM

I am having trouble with this. I have added the following code

Code:

$curdir = getcwd ();
chdir('/nfs/c02/h04/mnt/40498/domains/dev.scotthermanfitness.com/html/forum');
require_once('/nfs/c02/h04/mnt/40498/domains/dev.scotthermanfitness.com/html/forum/global.php');
chdir ($curdir);

When I load the page up, it goes right to the forum page telling me im not logged in. Its like its forwarding me to the forum.

Any ideas?

AzzX 01-23-2009 07:12 AM

Quote:

Originally Posted by ViciousCode (Post 1674862)
i get the same error

Code:

Fatal error: Call to a member function query_read() on a non-object in /home/services/public_html/login_inc.php on line 151

Replace $db with $vbulletin->db on line 151 and 152

BlackJacket 01-28-2009 01:43 AM

I need help. I have been at this for hours and i still have not figured it out.

I want this page to only be displayed to moderators and administrators. But its not working when i try to input ANY of the php scripts included with this hack.

PLEASE HELP! :D:D

AzzX 01-29-2009 12:05 PM

Edit : It Does seem to work with Vb 3.8

Aresetyr 03-16-2009 01:56 PM

Is there any way to get this working under joomla 1.5? I am sitting here, trying to get it work with the jumi component, but won't really work :(

ps: with vb 3.8!

Davey-UK 03-24-2009 06:46 PM

This has worked fantastically for me for months now, but am now trying to add newest members etc via another mod called vBexternal.

Everything works fin apart from when i have both scripts on the same page, the login form shows up on my page instead of the welcome message, even though i am logged in on the forum page.

If i remove the vBexternal include from the page, it all works fine..

I have to add
Code:

require_once('./vBExternal.php');
to the top of the page, and wondered if you can only use "include_once" a certain number of times in one page, but i am thinking its more likely to be a set cookie problem

Any ideas please?


All times are GMT. The time now is 01:59 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.01099 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
  • (5)bbcode_code_printable
  • (2)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