Page 1 of 1

Problem including other frameworks/script

Posted: Sun Apr 30, 2006 3:35 pm
by Hammon
I'm tryng to build a portal based on cmsms that integrates with other apps (Vbulletin forum). On this purpose I include global.php of vbulletin (the core script) in my pages using user-defined-tags

I suppose the problem is that either cmsms and vbulletin uses a class named $db so when I try to use code from the vbulletin framework it fails: Fatal error: Call to a member function on a non-object in /forum/includes/functions.php on line 1041
which is a call to the db function:

Code: Select all

$user = $vbulletin->db->query_first("
		SELECT " ....
Is there any solution in order to use both cmsms and vbulletin framework thogether (db class) ?
THanks in advance for your help: being not a good coder myself need helpĀ  :P

Re: Problem including other frameworks/script

Posted: Thu Aug 17, 2006 12:56 am
by zeroality
I'm having the same problem. I'm disheartened to see that your topic received no replies. That doesn't bode well for mine.

Re: Problem including other frameworks/script

Posted: Tue Aug 22, 2006 9:07 pm
by zeroality
If anybody else comes across this thread in a search, here's what I did as a solution.

I put an iframe on my site. You can see the results in my sig.