General Community > Off-Topic
WebsiteBaker SMF Forum Modul Update
TiGGeR:
Hello,
i was trying to update my SMF Forum Modul, but to say it short it simply doesnt works.
so i have an extremely old version. :(
also i tryed to uninstall it and i keep getting the "is in use" message.
if this is already answered in another threat im sry, i used the search function...
can somebody pls tell me how i can update it ?
Greetings TiGGeR
doc:
Hello,
the WB module of the SMF forum was removed due to license issues. The SMF module is no longer supported by WB - sorry.
Regards Christian
BartB:
That's a shame... I am currently working WB around my SMF forum, and it works ok, but I can't get the SSI.php functions to work.
Well, to be precise: I can't call the SSI.php from within the template of WB, or WB will go nuts over it. Only when I use SSI.php calls within an IFRAME, I can get it to work.
The InlineFrameWrapper didn't help out either... :oops:
marathoner:
I use the SSI.PHP functions in a code section with no problem. I include a SMF log-in, and the 5 most recent postings as a teaser. What are you trying to do?
Paul_G:
I wanted to add a SMF Forum login box to my website baker template.
I read this page, http://docs.simplemachines.org/index.php?topic=789
So I included the SSI.php file at the top of my template, and the WB page crashed.
The problem was in the wb/framework/class.database.php file. For some reason the $this->db_handle variable was missing from most of the mysql function calls. :)
So I quick fixed the class.database.php file and now the login form will show up and the page doesn't crash, and I can login using the login form, but the SMF $_SESSION['login_url'] thing doesn't work. and the SMF $context['user']['is_admin'] variables don't work.
Likely what's happening is both the WB and SMF code is confused about what database each one is supposed to be connecting to.
so, I guess one solution is to make my own module to replace SSI.php, just the functions I need, like a login form and getting the member id. and ensure that my code only connects to the proper db. or I could try installing both WB and SMF under the same database, and see what happens.
Navigation
[0] Message Index
[#] Next page
Go to full version