Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Aug 2002, 22:30
cybrcyfr cybrcyfr is offline
 
Join Date: Aug 2002
Accesing the bbuserinfo array from a PHP page

First off, I asked this question on vbulletin.com, and Jakeman suggested I ask here. Thanks in advance!

We have just purchased vB for the new version of Klient.com.

We decided to use vB's intrinsic user registrration and suthorization system instead of writing our own. Our main problem is we can not access the bbuserinfo[] array from parent pages.

Our site design is obviously "http://localhost/forums/" (this is on our development server...). We want to be able to access the array from our standard_header.php that is located in the root of the web. This file builds our headers and navigation structure.

We have tried all that we can think of, we set the cookie path to "/", even tried directly including the "forums/admin/sessions.php" (and a few others...) still to no avail.

As soon as I require "./forums/global.php" the page display halts.

It will display up until the point where it is looking for the required file. I would assume it is due to the dependancies in the global.php file...

We can not even preform a simple echo afer logging in:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Can you please offer some assistance?



-Tyler Lynch
Klient.com Staff

------------------

Got it working thanks to eiSecure on vB.com!


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by cybrcyfr : 08 Aug 2002 at 02:33.
Reply With Quote
  #2  
Old 08 Aug 2002, 17:15
cybrcyfr cybrcyfr is offline
 
Join Date: Aug 2002
Have subdirectories? Use this fix...

Here is a post in the vB.com forums to fix the include problems if you have subdirectories...


http://www.vbulletin.com/forum/showt...142#post332142
Reply With Quote
  #3  
Old 06 Sep 2002, 11:14
cybrcyfr cybrcyfr is offline
 
Join Date: Aug 2002
Blowing up on FreeBSD

How it is blowing up on our FreeBSD production server.

Unix doesn't like the:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So change that to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Here is the complete script, works in Win32 an Unix.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 01:00.

Layout Options | Width: Wide Color: