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

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
Ger
Registered User
Posts: 1017
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

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

Post by Ger » Thu Mar 02, 2017 10:18 am

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
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

Like my work? Buy me a coffee to keep it coming. :ugeek:

rec0d
Registered User
Posts: 95
Joined: Tue Jan 03, 2017 11:49 am

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

Post by rec0d » Thu Mar 02, 2017 10:24 am

thank you controller did the trick

travel
Registered User
Posts: 130
Joined: Sun Jan 11, 2015 7:21 pm

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

Post by travel » Sat Mar 04, 2017 1:18 pm

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?

User avatar
Ger
Registered User
Posts: 1017
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

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

Post by Ger » Mon Mar 06, 2017 12:11 pm

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.
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

Like my work? Buy me a coffee to keep it coming. :ugeek:

Alden20
Registered User
Posts: 5
Joined: Sat Feb 25, 2017 11:19 pm

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

Post by Alden20 » Wed Mar 08, 2017 3:31 am

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()

User avatar
Ger
Registered User
Posts: 1017
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

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

Post by Ger » Wed Mar 08, 2017 8:01 am

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.
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

Like my work? Buy me a coffee to keep it coming. :ugeek:

Alden20
Registered User
Posts: 5
Joined: Sat Feb 25, 2017 11:19 pm

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

Post by Alden20 » Wed Mar 08, 2017 10:23 pm

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

User avatar
Ger
Registered User
Posts: 1017
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

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

Post by Ger » 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.
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

Like my work? Buy me a coffee to keep it coming. :ugeek:

Alden20
Registered User
Posts: 5
Joined: Sat Feb 25, 2017 11:19 pm

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

Post by Alden20 » Thu Mar 09, 2017 9:27 am

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.

User avatar
Ger
Registered User
Posts: 1017
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

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

Post by Ger » Thu Mar 09, 2017 10:24 am

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.
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

Like my work? Buy me a coffee to keep it coming. :ugeek:

User avatar
Ger
Registered User
Posts: 1017
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

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

Post by Ger » Fri Mar 10, 2017 8:56 am

Alden20 wrote:
Wed Mar 08, 2017 10:23 pm
(quote instead of mention)
Should be fixed now, check github
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

Like my work? Buy me a coffee to keep it coming. :ugeek:

lighthart2000
Registered User
Posts: 9
Joined: Mon Jan 30, 2017 4:41 am

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

Post by lighthart2000 » Mon Mar 20, 2017 3:55 pm

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]

User avatar
Ger
Registered User
Posts: 1017
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

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

Post by Ger » Mon Mar 20, 2017 4:11 pm

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.
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

Like my work? Buy me a coffee to keep it coming. :ugeek:

lighthart2000
Registered User
Posts: 9
Joined: Mon Jan 30, 2017 4:41 am

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

Post by lighthart2000 » Thu Mar 23, 2017 8:19 pm

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]

User avatar
Ger
Registered User
Posts: 1017
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

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

Post by Ger » Fri Mar 24, 2017 7:57 am

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.
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

Like my work? Buy me a coffee to keep it coming. :ugeek:

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Baidu [Spider], gio73 and 19 guests

cron