Page 2 of 5

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Tue May 08, 2018 3:28 pm
by kjh-mov
Hello Blitze,

I get this error result from the w3.org/css-validator. Sorry, it´s in german.

URI : https://xxx/ext/blitze/sitemaker/styles ... ersion=295
1 In diesem Profil gilt eine sehr spezielle Syntax für die @charset Regel: Auf @charset muss genau ein Leerzeichen folgen, gefolgt vom Namen der Enkodierung in Anführungszeichen, direkt danach ein Semikolon. @charset 'UTF-8';

Do you have an idea what's wrong?

kjh-mov

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Sun May 13, 2018 10:59 am
by NastyBoy
Thanks for your Update.

Invalid argument specified for content_fields

Posted: Sun May 13, 2018 7:15 pm
by Mohus
Whenever I try to make a new type (ACP -> Extensions -> Sitemaker -> Content Types ->Type)
I get the following message.

Code: Select all

Invalid argument specified for `content_fields`. Reason: Required field missing

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Tue May 15, 2018 3:36 am
by Blitze
hi Mohus,

thanks for checking out this extension. When creating a new content type, please be sure to create at least one field. You should see "Type", "Fields*", "Template (?)", and "Settings" tabs. The information in "Type" and "Fields" are required. You cannot have a content type without creating at least one field (Text, Paragraph, URL, etc) for it.

Now if you created at least one field and you are still running into this problem, please let me know.

Thanks

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Tue May 15, 2018 7:45 am
by Lor@n
Hi,
I'm the autor of this post :

https://www.phpbb.com/customise/db/exte ... 20#p632616

I Download this extension with you link : https://github.com/blitze/phpBB-ext-sit ... ease-3.0.0

But de issue is the same :

Code: Select all

Fatal error: Uncaught Error: Class 'Cocur\Slugify\Slugify' not found in C:\wamp64\www\phpBB31\ext\blitze\content\services\form\builder.php on line 234

Code: Select all

#	Time	Memory	Function	Location
1	0.0030	00760648	{main}( )	...\posting.php:0
2	0.2580	19094936	submit_post( )	...\posting.php:1445
3	0.2590	19169200	phpbb\event\dispatcher->trigger_event( )	...\functions_posting.php:1853
4	0.2590	19169312	phpbb\event\dispatcher->dispatch( )	...\dispatcher.php:46
5	0.2590	19169688	Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )	...\dispatcher.php:62
6	0.2590	19171672	Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )	...\EventDispatcher.php:46
7	0.2590	19171672	call_user_func:{C:\wamp64\www\phpBB31\vendor\symfony\event-dispatcher\EventDispatcher.php:184} ( )	...\EventDispatcher.php:184
8	0.2590	19171672	blitze\content\event\posting->modify_sql_data( )	...\EventDispatcher.php:184
9	0.2590	19172448	blitze\content\services\form\builder->modify_posting_data( )	...\posting.php:134
In PHPBB3.2.2
PHP 7.0.10
MySQL(i) 5.7.14

slug version : 1.6.5

The preview work fine, but not the submit

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Tue May 15, 2018 11:41 am
by Blitze
my url was this: https://github.com/blitze/phpBB-ext-sit ... t/releases
yours is pointing to a branch that does not have the vendors folder

You need to download the file " phpBB_Sitemaker_Content_3.0.0-RC1.zip"

check the files and make sure that you have root/phpBB/ext/blitze/content/vendors/ folder

if not, run "composer install" in the root/phpBB/ext/blitze/content folder

Thanks

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Tue May 15, 2018 5:12 pm
by Mohus
Thanks Blitze, it is all working will Now.

I made this Quick video on how to setup this amazing extensions with the responsive file manager.

https://www.youtube.com/watch?v=yJhQO6MmaVI

Thanks for the help again. :)

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Wed May 16, 2018 10:27 am
by Lor@n
Blitze wrote:
Tue May 15, 2018 11:41 am
my url was this: https://github.com/blitze/phpBB-ext-sit ... t/releases
yours is pointing to a branch that does not have the vendors folder

You need to download the file " phpBB_Sitemaker_Content_3.0.0-RC1.zip"

check the files and make sure that you have root/phpBB/ext/blitze/content/vendors/ folder

if not, run "composer install" in the root/phpBB/ext/blitze/content folder

Thanks
Thanks!

But now, i have always an error when submit..

Code: Select all

Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (16 mai 2018, 12:25) at position 0 (1): Unexpected character in C:\wamp64\www\phpBB31\vendor\twig\twig\lib\Twig\Template.php on line 447
( ! ) Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("DateTime::__construct(): Failed to parse time string (16 mai 2018, 12:25) at position 0 (1): Unexpected character") in "cp_content.html" at line 152. in C:\wamp64\www\phpBB31\vendor\twig\twig\lib\Twig\Template.php on line 447

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Wed May 16, 2018 8:21 pm
by panhead
Very nice and promising!
If I use a number field with a min and max value and I enter a value in between I get a warning: FIELD_INVALID_MIN_MAX

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Wed May 16, 2018 8:51 pm
by panhead
Just a question: if I add a new content type, how can I make it visible and how can users add content (apart from within the UCP)?

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Thu May 17, 2018 2:19 pm
by Mohus
panhead wrote:
Wed May 16, 2018 8:51 pm
Just a question: if I add a new content type, how can I make it visible and how can users add content (apart from within the UCP)?
If the user has the permission they could post into the page via

phpbb-->User-->User Control Panel-->Mystuff

To Make It visible add the link to the menu.

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Thu May 17, 2018 7:12 pm
by panhead
To Make It visible add the link to the menu.
How?

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Fri May 18, 2018 5:07 pm
by Mohus
panhead wrote:
Thu May 17, 2018 7:12 pm
To Make It visible add the link to the menu.
How?
https://youtu.be/yJhQO6MmaVI?t=758

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Fri May 18, 2018 8:36 pm
by panhead
Thank you!

Re: [3.2][RC] phpBB Sitemaker Content

Posted: Sat May 19, 2018 9:06 am
by lifeguard81
Blitze wrote:
Tue May 15, 2018 11:41 am
my url was this: https://github.com/blitze/phpBB-ext-sit ... t/releases
yours is pointing to a branch that does not have the vendors folder

You need to download the file " phpBB_Sitemaker_Content_3.0.0-RC1.zip"

check the files and make sure that you have root/phpBB/ext/blitze/content/vendors/ folder

if not, run "composer install" in the root/phpBB/ext/blitze/content folder

Thanks
On a fresh install, with that download i get this error

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/language/language.php on line 307: count(): Parameter must be an array or an object that implements Countable
Ai, my mistake. I use php version 7.2 Switch to 7.1 and all fine.
Nice extension mate! Keep up this job.

Hmf, when i change my languag to dutch, i cant use it anymore because he say something about that he can not get the time string from database.When i switch back to english there are no problems ....

Code: Select all

An exception has been thrown during the rendering of a template ("DateTime::__construct(): Failed to parse time string (19 mei 2018) at position 0 (1): Unexpected character") in "views/blog.html" at line 9.