2009-03-28, 12:43 AM
Hi there,
I am wanting to integrate the user system of my forum to my web site. I tried using the contents from this post: http://community.mybboard.net/thread-6190-page-1.html
This works great, until Smarty comes into the picture. I am using Smarty template engine. I made that script a function.
Now, when I try viewing the site, I get this error:
Alright, now, when I remove the part of the script that requires global.php, I will receive no error but the script will not work.
I understand this has nothing to do with MyBB (at least I don't think so). But, if I cannot get it to work, I'll have to change forum software.
Can anybody help me?
I am wanting to integrate the user system of my forum to my web site. I tried using the contents from this post: http://community.mybboard.net/thread-6190-page-1.html
This works great, until Smarty comes into the picture. I am using Smarty template engine. I made that script a function.
Now, when I try viewing the site, I get this error:
Quote:Fatal error: Call to a member function simple_select() on a non-object in /home/justinw/public_html/forums/inc/class_datacache.php on line 72
Alright, now, when I remove the part of the script that requires global.php, I will receive no error but the script will not work.
I understand this has nothing to do with MyBB (at least I don't think so). But, if I cannot get it to work, I'll have to change forum software.
Can anybody help me?