Problem including other frameworks/script

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Hammon

Problem including other frameworks/script

Post 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
User avatar
zeroality
Forum Members
Forum Members
Posts: 64
Joined: Mon Aug 14, 2006 10:41 am

Re: Problem including other frameworks/script

Post 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.
User avatar
zeroality
Forum Members
Forum Members
Posts: 64
Joined: Mon Aug 14, 2006 10:41 am

Re: Problem including other frameworks/script

Post 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.
Locked

Return to “Modules/Add-Ons”