[CDB] 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!
Get Involved
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)
User avatar
Ger
Registered User
Posts: 2108
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 »

It seems you don't have any topics yet visible for the logged in (or anonymous) user. Didn't think of that possibility. Fixed that just now (see Github), but usually there's at least 1 topic visible for everyone.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

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

-Don't PM me for support-
lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

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

Post by lifeguard81 »

Ger wrote: Mon Oct 30, 2017 10:53 am
lifeguard81 wrote: Sun Oct 29, 2017 2:10 pm @Ger,

When i disbale the right sidebar, there is a big whitespace on that side.
Can you fix this? so thet whole screen will be used.
It is designed that the content (middle) part also uses the space of the right sidebar when that is disabled. It works for me. It might be overriden at some point by your board's style?
When i add an image, it is not responsive :(
Possible to fix also?
I've incorporated some simple responsiveness in the latest version (check Github). Keep in mind though that I only provide some generic styling which might clash with your board's style.
Sorry for my late comment, but what i mean is this.
On normal screen, there is no whte space, but on smaller screens, mobile for example there is a big white space. Please see screenshot.
Image
Any idea how i canmake it full width?
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!
User avatar
Ger
Registered User
Posts: 2108
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 »

lifeguard81 wrote: Thu Jan 18, 2018 2:53 pm Sorry for my late comment, but what i mean is this.
On normal screen, there is no whte space, but on smaller screens, mobile for example there is a big white space. Please see screenshot.
Image
Any idea how i canmake it full width?
I see what you mean now. latest commit should fix that.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

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

-Don't PM me for support-
fliper4o
Registered User
Posts: 267
Joined: Wed Mar 23, 2011 8:15 pm
Contact:

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

Post by fliper4o »

Ger wrote: Thu Nov 30, 2017 3:05 pm
fliper4o wrote: Thu Nov 30, 2017 2:55 pm From where/How do you access to the Articles :D
First article can be created from the ACP -> cmBB settings page.
Btw I've got some style problems
Hi again. : )
I really want/search for an Article Page ext or something similar.
Anyway I've found "First article can be created from the ACP -> cmBB settings page." but...

Code: Select all

General Error
SQL ERROR [ mysqli ]

Column 'topic_desc' cannot be null [1048]

SQL

INSERT INTO phpbb_topics (topic_poster, topic_time, topic_last_view_time, forum_id, icon_id, topic_posts_approved, topic_posts_softdeleted, topic_posts_unapproved, topic_visibility, topic_delete_user, topic_title, topic_first_poster_name, topic_first_poster_colour, topic_type, topic_time_limit, topic_attachment, topic_status, topic_desc) VALUES (2, 1516394647, 1516394647, '53', 0, 1, 0, 0, 1, 0, 'New article', 'daydreamer', 'AA0000', 0, 0, 0, 0, NULL)

BACKTRACE

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

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 996
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]/includes/functions_posting.php
LINE: 1865
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/ger/cmbb/controller/save.php
LINE: 319
CALL: submit_post()

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

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: 137
CALL: call_user_func_array()

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

FILE: [ROOT]/app.php
LINE: 35
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
Can you help me make it works ? Thanks for it anyway. Using 3.2.2 prosilver a bit modified style.
------------
Edit:
Made it happen/work!?/ but it's so broken & stylish for me atm.
So this error occurred when ACP > CMBB > Categories - the default #3 Articles is set to anything else(place in forum) but NOT disable comments. If disable comments it's working dunno. #2 News is working without problems for now.
I can make comments, always are disabled even if it's not checked if try to create a category in forum to try to add comment & see how it works inside forum(I don't see any articles in my forum) & got an error when submitting an article with category.
Add category > show in menu bar > can't see it...
ImageImage
Where are the settings btw (comments might already be disabled through category setting)?
> Tied into the phpBB breadcrumbs.
Where?
Image
> Use the forum for article comments, a forum topic will be automatically created when posting an article.
Is it just me or I can't see them!?
What's that?
Image
I can provide more info & more specific I'm sick & sleepy these days so...

I am experience some problems by myself but still it's cool...it's always like that but with the time & some help can be fixed. I think much effort is placed for it ; )
lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

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

Post by lifeguard81 »

Ger wrote: Thu Jan 18, 2018 3:26 pm
lifeguard81 wrote: Thu Jan 18, 2018 2:53 pm Sorry for my late comment, but what i mean is this.
On normal screen, there is no whte space, but on smaller screens, mobile for example there is a big white space. Please see screenshot.
Image
Any idea how i canmake it full width?
I see what you mean now. latest commit should fix that.
Nice Ger! +1
Edit: Ger, is it maybe possible, to show on small devices a little snippet of the article? now you only see the title :D
Not a big problem, but it would be nice, to see 25 or 26 words after the title.
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!
fliper4o
Registered User
Posts: 267
Joined: Wed Mar 23, 2011 8:15 pm
Contact:

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

Post by fliper4o »

Any live board that I can see how it works?
thanks
User avatar
Ger
Registered User
Posts: 2108
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 »

fliper4o wrote: Fri Jan 19, 2018 8:50 pm Anyway I've found "First article can be created from the ACP -> cmBB settings page." but...

Code: Select all

General Error
SQL ERROR [ mysqli ]

Column 'topic_desc' cannot be null [1048]
Can you help me make it works ? Thanks for it anyway. Using 3.2.2 prosilver a bit modified style.
You're using the topic description extension. That conflicts with every other extension that creates topics. I've already explained how they can fix this very easily. It's up to them to do so I'd say.
So this error occurred when ACP > CMBB > Categories - the default #3 Articles is set to anything else(place in forum) but NOT disable comments. If disable comments it's working dunno. #2 News is working without problems for now.
I can make comments, always are disabled even if it's not checked if try to create a category in forum to try to add comment & see how it works inside forum(I don't see any articles in my forum) & got an error when submitting an article with category.
Add category > show in menu bar > can't see it...
ImageImage
Where are the settings btw (comments might already be disabled through category setting)?
> Tied into the phpBB breadcrumbs.
Where?
Image
> Use the forum for article comments, a forum topic will be automatically created when posting an article.
Is it just me or I can't see them!?
What's that?
Image
I can provide more info & more specific I'm sick & sleepy these days so...

I am experience some problems by myself but still it's cool...it's always like that but with the time & some help can be fixed. I think much effort is placed for it ; )
Perhaps its because you are sick & sleepy but I can't make head nor tail of this part...

For what I understand it should work but both some style adjustments and / or other extensions seem to confict at some point. Most notably the topic descriptions. Maybe I'll figure something out to bypass this and post that as a unofficial manual fix somehow, but I don't intend to make changes to the core of cmBB to support a malformed other extension.
Last edited by Ger on Mon Jan 22, 2018 3:40 pm, edited 1 time in total.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

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

-Don't PM me for support-
User avatar
Ger
Registered User
Posts: 2108
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 »

lifeguard81 wrote: Sat Jan 20, 2018 8:19 am Edit: Ger, is it maybe possible, to show on small devices a little snippet of the article? now you only see the title :D
Not a big problem, but it would be nice, to see 25 or 26 words after the title.
Not sure I understand you correctly, but I think what you mean is defined here:
https://github.com/GerB/cmbb/blob/maste ... #L415-L418

You can override this behaviour in your own style.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

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

-Don't PM me for support-
User avatar
Ger
Registered User
Posts: 2108
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 »

fliper4o wrote: Sat Jan 20, 2018 1:43 pm Any live board that I can see how it works?
thanks
Not from me
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

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

-Don't PM me for support-
fliper4o
Registered User
Posts: 267
Joined: Wed Mar 23, 2011 8:15 pm
Contact:

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

Post by fliper4o »

Ger wrote: Mon Jan 22, 2018 3:36 pm You're using the topic description extension. That conflicts with every other extension that creates topics. I've already explained how they can fix this very easily. It's up to them to do so I'd say.
I'll check it & try to do it by myself or just disable it.
Ger wrote: Mon Jan 22, 2018 3:36 pmMost notably the topic descriptions.
What's up with it?
Ger wrote: Mon Jan 22, 2018 3:36 pmPerhaps its because you are sick & sleepy but I can't make head nor tail of this part...
That's a strong statement!
I'm just an artist & got some hobbies nor it's a big deal... : )
User avatar
Ger
Registered User
Posts: 2108
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 »

fliper4o wrote: Mon Jan 22, 2018 5:22 pm
Ger wrote: Mon Jan 22, 2018 3:36 pm You're using the topic description extension. That conflicts with every other extension that creates topics. I've already explained how they can fix this very easily. It's up to them to do so I'd say.
I'll check it & try to do it by myself or just disable it.
Ger wrote: Mon Jan 22, 2018 3:36 pmMost notably the topic descriptions.
What's up with it?
I've poked the author: https://www.phpbb.com/customise/db/exte ... 36#p614636

Like I wrote there, the easiest way is to add a default value for topic descriptions in de DB.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

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

-Don't PM me for support-
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

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

Post by RMcGirr83 »

Ger wrote: Mon Jan 22, 2018 3:36 pm That conflicts with every other extension that creates topics. I've already explained how they can fix this very easily. It's up to them to do so I'd say.
Nope, that would be up to the author of this un-validated extension....aka you. I gave you the code to fix it in your extension.

https://www.phpbb.com/customise/db/exte ... 41#p614641
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
Ger
Registered User
Posts: 2108
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 »

RMcGirr83 wrote: Tue Jan 23, 2018 10:58 am
Ger wrote: Mon Jan 22, 2018 3:36 pm That conflicts with every other extension that creates topics. I've already explained how they can fix this very easily. It's up to them to do so I'd say.
Nope, that would be up to the author of this un-validated extension....aka you. I gave you the code to fix it in your extension.

https://www.phpbb.com/customise/db/exte ... 41#p614641
Sorry, but that ain't gonna happen. There is no sensible way for automatically created topics to create a meaningful description. So it would be an empty string anyway. Why would things need to be so complicated instead of just fixing it with 1 simple change in 1 extension instead of forcing everyone else to change theirs?

I highly doubt my extensions won't pass validation because "you were first" or something like that.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

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

-Don't PM me for support-
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

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

Post by RMcGirr83 »

Ger wrote: Tue Jan 23, 2018 11:20 am Sorry, but that ain't gonna happen.
Well there ya go then.
I highly doubt my extensions won't pass validation because "you were first" or something like that.
Extensions are validated on their own merits and without any other extension installed. So you're saying you would rather people have issues than to fix it within your extension. Excellent. :roll:

And if I wasn't around, how would you then fix it? Assuming no one had picked up the extension. Nevermind, doesn't matter. It's clear laziness has become the mainstay as of late.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
Ger
Registered User
Posts: 2108
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 »

RMcGirr83 wrote: Tue Jan 23, 2018 11:26 am And if I wasn't around, how would you then fix it? Assuming no one had picked up the extension.
What if the world would be flat? Assuming it would still have the same mass :?

If that would be the case, the extension would have been abandoned. That's not the case, you're quite active. So I propose to fix it the way I think is most optimal. Of course, I can fix it. In multiple extensions. And many other authors in their extensions. But you can expect a next author to say "just disable that buggy topic descriptions extension". While it's not buggy at all, it can just use an improvement to make it work better with others.
Nevermind, doesn't matter. It's clear laziness has become the mainstay as of late.
Yeah, clear laziness when one investigates an issue and proposes a fix for someone else...

I'm willing to create a PR but that's useless if you are unwilling to merge it.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

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

-Don't PM me for support-
Locked

Return to “Extensions in Development”