Page 6 of 16

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Thu Mar 02, 2017 10:18 am
by Ger
I have no idea what you mean. You can take a look at the template ./ext/ger/cmbb/styles/all/template/article.html or samepath/category.html for category pages.
The read_more is a language variable which is injected in ./ext/ger/cmbb/controller/article.php

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Thu Mar 02, 2017 10:24 am
by rec0d
thank you controller did the trick

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Sat Mar 04, 2017 1:18 pm
by travel
I know
No Extensions within this forum should be used within a live environment!
but has somebody tried Ger's extension on live board?
No problems?

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Mon Mar 06, 2017 12:11 pm
by Ger
I'm not aware of anyone using this on a live board. And as the warning states; you really shouldn't. The extension is in RC stage, which means I submitted it to the CDB and the Extension team will review it. If they find nothing wrong with it, it's validated and visible in the CDB.

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Wed Mar 08, 2017 3:31 am
by Alden20
Hi.

When I try to post an article, I receive this error:

General Error
SQL ERROR [ mysqli ]

Data truncated for column 'topic_id' at row 1 [1265]

SQL

INSERT INTO phpbb_cmbb_article (title, alias, user_id, parent, is_cat, category_id, content, visible, datetime, topic_id) VALUES ('Test article', 'test-article', '2', '3', 0, '3', '<h1><strong>TEST</strong></h1>\n\n<p>This is a test of an article.</p>', 1, 1488942029, '2&amp;sid=be673b5975a34a06a34b92b40397b6a1')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 999
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/ger/cmbb/cmbb/driver.php
LINE: 125
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/ger/cmbb/controller/save.php
LINE: 159
CALL: ger\cmbb\cmbb\driver->store_article()

FILE: (not given by php)
LINE: (not given by php)
CALL: ger\cmbb\controller\save->handle()

FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 144
CALL: call_user_func_array()

FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 64
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 35
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Wed Mar 08, 2017 8:01 am
by Ger
Alden20 wrote:
Wed Mar 08, 2017 3:31 am
Hi.

When I try to post an article, I receive this error:
Thanks for reporting. This seems the result of incorrect cookie settings, when an SID is appended as a fallback. That shouldn't result in a SQL error though, so I've fixed it for now. Checkout the latest version from Github.

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Wed Mar 08, 2017 10:23 pm
by Alden20
Hi.

After posting an article, when I click on read more I receive this error message:

No route found for "GET /new-article" (from "http://espanishforum.com/app.php/articl ... c344f49bff")

Regards,

Chema

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Thu Mar 09, 2017 7:43 am
by Ger
When I go to http://espanishforum.com/app.php/article/articles
As well as when I go to http://espanishforum.com/viewtopic.php?f=2&t=4

The "read more" link points to
http://espanishforum.com/app.php/article/new-article-2
Which is correct.

However, via your link I find:
http://espanishforum.com/app.php/new-article-2
This is incorrect, since it misses the /article part behind app.php. That's wrong of course.

Do you have some rewriting enabled on your board, or maybe some conflicting extensions? I see there are quite some extensions installed.

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Thu Mar 09, 2017 9:27 am
by Alden20
Ger wrote:
Thu Mar 09, 2017 7:43 am
When I go to http://espanishforum.com/app.php/article/articles
As well as when I go to http://espanishforum.com/viewtopic.php?f=2&t=4

The "read more" link points to
http://espanishforum.com/app.php/article/new-article-2
Which is correct.

However, via your link I find:
http://espanishforum.com/app.php/new-article-2
This is incorrect, since it misses the /article part behind app.php. That's wrong of course.

Do you have some rewriting enabled on your board, or maybe some conflicting extensions? I see there are quite some extensions installed.
I have checked that this only happens when I'm logged in. With guest user it doesn't happen.

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Thu Mar 09, 2017 10:24 am
by Ger
Hmmm.. I see that somehow when you omit the /index from the index URL, the links get malformed. Now I'm not sure how you'd get there, but I guess I need to fix it. Keep an eye on this topic, I'll probably fix this within a couple of days.

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Fri Mar 10, 2017 8:56 am
by Ger
Alden20 wrote:
Wed Mar 08, 2017 10:23 pm
(quote instead of mention)
Should be fixed now, check github

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Mon Mar 20, 2017 3:55 pm
by lighthart2000
Any idea when this awesome extension will get validated? I plan to test via a non-production forum, but have an immediate need for html pages within the confines of the forum, and Pages disappoints. Pages doesn't seem to work in the navbar/breadcrumb (I can only get one page to appear in either, although Quicklinks seems to work.)

Also, I have a background image in my header (no site logo/ description). Do the menu items float?

Regards,
[m]

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Mon Mar 20, 2017 4:11 pm
by Ger
lighthart2000 wrote:
Mon Mar 20, 2017 3:55 pm
Any idea when this awesome extension will get validated?
It's in the validation queue now, but I guess it will need another round since I have discovered some (minor) issues since I've submitted it to the CDB.
lighthart2000 wrote:
Mon Mar 20, 2017 3:55 pm
Also, I have a background image in my header (no site logo/ description). Do the menu items float?
I'm not sure what you mean?
I have provided some basic styling through events and such, the menu is added to the bottom of the header. However: if you have a custom style you probably need to tweak this a bit to make it fit for you.
You should add it to a test forum first and see how it works with your style.

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Thu Mar 23, 2017 8:19 pm
by lighthart2000
Ger wrote:
Mon Mar 20, 2017 4:11 pm
I'm not sure what you mean?
I have provided some basic styling through events and such, the menu is added to the bottom of the header. However: if you have a custom style you probably need to tweak this a bit to make it fit for you.
You should add it to a test forum first and see how it works with your style.
Ger,
Running pro-silver, but removed site logo and description. Similar to the phpbb site. I am wondering what it would look like graphically. My site is http://theshackbook.com/discussion/. In the screenshot it shows the menu background default blue. Can that be changed? Can an image be used?

Regards,
[m]

Re: [3.2][RC] cmBB - Simple Content Management for phpBB

Posted: Fri Mar 24, 2017 7:57 am
by Ger
All the styling is provided in the style/all directory. That means it extends your boards style, whatever it may be. What it looks like in the end depends on you board style of course.