Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:50:40 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155528 Posts in 21713 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1] 2 3 4   Go Down
Print
Author Topic: myBB forum integration  (Read 10712 times)
syncgw

Offline Offline

Posts: 129



WWW
« on: November 12, 2009, 10:03:35 AM »

Hi,

thank you WebSiteBakers for that fantastic piece of software! It took me only four days to move from another CMS to WebSiteBaker.

Here is my contribution:

I created a forum integration of http://www.mybboard.de/. Please download attached file and install. Create a new page with myBB forum content and follow the instructions.

A sample can be viewed here

Update:
  • 0.71
    - Support for myBB 1.6.7
  • 0.70
    - Replacement of preg_match() with substr()
  • 0.69
    - Support for myBB 1.6.6
  • 0.68
    - Support for myBB 1.6.5
  • 0.67
    - Footer was removed from template
  • 0.66
    - Takes care about "magic_quotes_gpc" "On"
    - Inline selection now enabled in administrator panel
  • 0.65
    - Support for myBB 1.64 and WB 2.8.2
  • 0.64
    - Attachment download bug fixed (thanks to LordDarkMan)
  • 0.63
    - Captcha not displayed on first attempt in registration panel
  • 0.62
    - Updates to debug code
    - support for web server "Alias" settings
  • 0.61
     - Minor updates to installation instructions
  • 0.60
     - Typo in patch for gerneral.js fixed


Known problems:
  • none

Please enjoy!

Download is now availavle in AMASP
« Last Edit: April 05, 2012, 05:44:19 PM by syncgw » Logged

Florian Däumling
sync•gw Developer
http://syncgw.com
maverik

Offline Offline

Posts: 1568



WWW
« Reply #1 on: November 12, 2009, 11:45:42 AM »

Quote
Please download attached file and install. Create a new page with myBB forum content and follow the instructions.

thats what i have done but no instructions follow, only a white page, whats to do?
Logged

Signatur wird geladen...
Waldschwein
Guest
« Reply #2 on: November 12, 2009, 01:07:13 PM »

Hello,

from looking at the code I can only say it seems to be a wrapper for MyBB... But of course you need to have a MyBB Forum installed.

Yours Michael

Logged
syncgw

Offline Offline

Posts: 129



WWW
« Reply #3 on: November 12, 2009, 01:23:27 PM »

Blank page error fixed (see first post).

Yes, it is a wrapper and you have to install myBB.
Logged

Florian Däumling
sync•gw Developer
http://syncgw.com
maverik

Offline Offline

Posts: 1568



WWW
« Reply #4 on: November 12, 2009, 02:28:09 PM »

Quote
Due to a limitation in myBB you cannot use the same MySQL table for WebSiteBaker and myBB forum. Additionally, you MUST use the same table name prefix during myBB installation.

does it mean that i must have two databases?  sorry my english is not the best  grin

now i have one database, tableprefix is mybb and the other prefix for wb

i can reach the mybb admin cp from wb backend but i see only a blank page in frontend
Logged

Signatur wird geladen...
syncgw

Offline Offline

Posts: 129



WWW
« Reply #5 on: November 12, 2009, 06:39:06 PM »

Yes, there is currently no other solution. You can't put both tables into one database (without prefix), since they partially use same table names. Using a different table prefix is not possible. In myBB definition is currently lost during call to forum. I'll check if I can find any solution to this issue.

That's the reason, why you see a blank page. If you wish to call myBB standalone, you need to add an "exit;" to websitebaker.php plugin in the second row temporary (one task of the plugin is to disables any standalone call to myBB) - or reinstall myBB  rolleyes

Stay tuned.
Logged

Florian Däumling
sync•gw Developer
http://syncgw.com
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4884



« Reply #6 on: November 12, 2009, 06:53:35 PM »

Hello.

I think this could be a really nice contribution to this cms.

Looking forward to it.

Kind regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
maverik

Offline Offline

Posts: 1568



WWW
« Reply #7 on: November 12, 2009, 07:16:43 PM »

if i deactivate the plugin the standalone version comes up and when i activate the page is blank. as i said the admin cp from forum i can reach from wb backend.

now i will dump the tables from forum and make a new database with it.

i will report
« Last Edit: November 12, 2009, 08:04:31 PM by maverik » Logged

Signatur wird geladen...
maverik

Offline Offline

Posts: 1568



WWW
« Reply #8 on: November 12, 2009, 07:34:48 PM »

ok now i have two databases, one for wb and one only for mybb. the same procedure as before, admin cp is reacheable from backend, forum in frontend white page, debug e all strict but no messages

you can look the white page here  grin

http://template.developer-base.de/pages/mybb.php

« Last Edit: November 12, 2009, 11:26:29 PM by maverik » Logged

Signatur wird geladen...
LordDarkman
Development Team
*****
Offline Offline

Posts: 343


WWW
« Reply #9 on: November 12, 2009, 08:57:57 PM »

[offtopic]I like the design. How you get the white fond color on the wite background?[/offtopic]
Logged
maverik

Offline Offline

Posts: 1568



WWW
« Reply #10 on: November 12, 2009, 09:20:42 PM »

Quote
white fond color on the wite background?

with very tricki css rules  grin
Logged

Signatur wird geladen...
syncgw

Offline Offline

Posts: 129



WWW
« Reply #11 on: November 13, 2009, 02:05:45 PM »

Okay, fixed problem with two databases. I rewrote code to call forum and now there is no more table limitation  grin

There is no upgrade module required. To use please unpack file to modules/myBB directory. Copy websitebaker.php to your forum plugin directory.

Then try out again. May be there are still some link issues. Please report.

Live long and prosper
Logged

Florian Däumling
sync•gw Developer
http://syncgw.com
syncgw

Offline Offline

Posts: 129



WWW
« Reply #12 on: November 13, 2009, 02:09:29 PM »

CSS:

I use standard myBB tempate and CSS file. The only thing I customized is to disable "body" definition in global.css and "archive/screen.css" to get my background I use in my template.

Maybe we need some more customization. Let's see...
Logged

Florian Däumling
sync•gw Developer
http://syncgw.com
maverik

Offline Offline

Posts: 1568



WWW
« Reply #13 on: November 13, 2009, 03:12:37 PM »

great work so far

i found only one of my templates without css issues http://template.developer-base.de/pages/mybb.php?index.php

login not possible

no more time at the moment, more in the evening

greets from niederrhein
« Last Edit: November 13, 2009, 03:15:47 PM by maverik » Logged

Signatur wird geladen...
syncgw

Offline Offline

Posts: 129



WWW
« Reply #14 on: November 27, 2009, 08:24:36 PM »

Error for login fixed in 0.13. After unpacking files to "/modules/myBB", go to forum page and click on "save" button to update installation.

I'm now working on registration module. Please send me feedback.
Logged

Florian Däumling
sync•gw Developer
http://syncgw.com
maverik

Offline Offline

Posts: 1568



WWW
« Reply #15 on: November 28, 2009, 12:38:24 AM »

Quote
click on "save" button to update installation.

Error copying file "/srv/www/vhosts/mydomain.de/subdomains/template/httpdocs/modules/myBB/myBB/jscripts/captcha.js" to "/srv/www/vhosts/mydomain.de/subdomains/template/httpdocs/modules/myBB/myBB/jscripts/captcha.js.bak"!
Logged

Signatur wird geladen...
syncgw

Offline Offline

Posts: 129



WWW
« Reply #16 on: November 28, 2009, 02:38:16 PM »

Thank's maverick,

seems you need to enable write acces for your webserver user to the directory where you installed your forum. As you hit "save" button, script is copying a couple of files in "/srv/www/vhosts/mydomain.de/subdomains/template/httpdocs/modules/myBB/myBB/jscripts/" and "/srv/www/vhosts/mydomain.de/subdomains/template/httpdocs/modules/myBB/myBB/inc/". In next step, script is patching a couple of files to fix some path definitions.

The solution to your problem is to enter "chown -R www-usr:www-usr /srv/www/vhosts/mydomain.de/subdomains/template/httpdocs/modules/myBB/myBB/" (www-usr is your webserver user id).

Logged

Florian Däumling
sync•gw Developer
http://syncgw.com
maverik

Offline Offline

Posts: 1568



WWW
« Reply #17 on: November 28, 2009, 06:49:37 PM »

ist it possible to make a german thread too? english is not my language and its very difficult to write feedback for me
Logged

Signatur wird geladen...
syncgw

Offline Offline

Posts: 129



WWW
« Reply #18 on: November 28, 2009, 09:26:15 PM »

Created German branch to this modul. See here.
Logged

Florian Däumling
sync•gw Developer
http://syncgw.com
yishay

Offline Offline

Posts: 31



« Reply #19 on: August 26, 2010, 09:37:05 AM »

Code:
Error copying file "/Applications/MAMP/htdocs/modules/myBB/myBB/jscripts/captcha.js" to "/Applications/MAMP/htdocs/modules/myBB/myBB/jscripts/captcha.js.bak"!


why?
Logged
syncgw

Offline Offline

Posts: 129



WWW
« Reply #20 on: August 26, 2010, 10:08:09 AM »

Check your file permission settings. You Web server  user id need write access to myBB sub directory
Logged

Florian Däumling
sync•gw Developer
http://syncgw.com
Yippeekayaye

Offline Offline

Posts: 56



« Reply #21 on: September 08, 2010, 09:35:58 PM »

Just tried to download this and am getting "Coul't find required myBB file "global.php" in '../myBB/myBB'
Gonna move onto one of the other forum modules for now but I'd still like to try this one out.
Logged

"For everything else patience is a virtue, for computer's, it's a minimum requirement! - Lance B"
syncgw

Offline Offline

Posts: 129



WWW
« Reply #22 on: September 09, 2010, 08:35:53 AM »

Hi,

if you want to use myBB, you need to store installation in relative directory you specified. In your case I assume WB base directory is /var/www/wb. According to your path, myBB should be located in /var/ww/wb/modules/myBB/../myBB/myBB. During installation, module looks for the myBB file global.php to validate myBB installation.

Solution: Either install myBB in mentioned directory or move your myBB installation to /var/www/wb/modules/myBB/myBB and don't change path name during page "installation".
Logged

Florian Däumling
sync•gw Developer
http://syncgw.com
nene

Offline Offline

Posts: 56


« Reply #23 on: September 16, 2010, 12:22:11 PM »

Hello,
Am having the same issue with the installation. I installed just like installing any other module. But when I created a page for it, it kept telling me "Coul't find required myBB file "global.php" in '../myBB/myBB'

Please help with the step by step approach to install.

Regards
Nene
Logged
datas0ft

Offline Offline

Posts: 2


« Reply #24 on: October 14, 2010, 08:15:36 PM »

Great, it works and looks good. But ... i get many many errors

Quote
Notice: Undefined index: pconnect in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 189

Notice: Undefined offset: 1 in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 199

Notice: Undefined index: write in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 169

Notice: Trying to get property of non-object in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 324

Notice: Trying to get property of non-object in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 324

Notice: Undefined index: pconnect in /home/chatserv/www/wb/username/myBB/forum/inc/db_mysqli.php on line 189

Notice: Undefined offset: 1 in /home/chatserv/www/wb/username/myBB/forum/inc/db_mysqli.php on line 199

Notice: Undefined index: write in /home/chatserv/www/wb/username/myBB/forum/inc/db_mysqli.php on line 169

Notice: Trying to get property of non-object in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 324

Notice: Trying to get property of non-object in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 324

Notice: Undefined index: pconnect in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 189

Notice: Undefined offset: 1 in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 199

Notice: Undefined index: write in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 169

Notice: Trying to get property of non-object in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 324

Notice: Trying to get property of non-object in /home/username/www/wb/modules/myBB/forum/inc/db_mysqli.php on line 324

Notice: Undefined offset: 1 in /home/username/www/wb/modules/myBB/view.php on line 324

and strange, its works still

EDIT: No, it like works, but no login with site username. Errors gone because maded on baker side change to no errors.
Any solution?
« Last Edit: October 14, 2010, 08:46:59 PM by datas0ft » Logged
Pages: [1] 2 3 4   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!