[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!
Suggested Hosts
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
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 » Fri Feb 24, 2017 7:11 pm

Nice extension.
Waiting for stable version.

User avatar
Ger
Registered User
Posts: 1155
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 » Sat Feb 25, 2017 7:08 am

@rec0d: I guess my approach to make the ./news route available for you didn't really work unfortunately. Like I said earlier, it isn't meant to work that way so I don't really support it. Please undo the edit to make it work as intended
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 » Sat Feb 25, 2017 11:23 pm

Hi.

After installing the last version of gitHub, in the ACP, when I click over the option cmBB settings the following error happens:

Code: Select all

[26-Feb-2017 00:15:42 Europe/Madrid] PHP Fatal error:  Uncaught Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "ger_cmbb_article_edit" as such route does not exist. in /home/nuirgqlb/espanishforum.com/cache/production/url_generator.php:60
Stack trace:
#0 /home/nuirgqlb/espanishforum.com/phpbb/routing/router.php(168): phpbb_url_generator->generate('ger_cmbb_articl...', Array, 1)
#1 /home/nuirgqlb/espanishforum.com/phpbb/routing/helper.php(148): phpbb\routing\router->generate('ger_cmbb_articl...', Array, 1)
#2 /home/nuirgqlb/espanishforum.com/phpbb/controller/helper.php(114): phpbb\routing\helper->route('ger_cmbb_articl...', Array, true, false, 1)
#3 /home/nuirgqlb/espanishforum.com/ext/ger/cmbb/acp/settings_module.php(60): phpbb\controller\helper->route('ger_cmbb_articl...', Array)
#4 /home/nuirgqlb/espanishforum.com/includes/functions_module.php(676): ger\cmbb\acp\settings_module->main('\\ger\\cmbb\\acp\\s...', 'settings')
#5 /home/nuirgqlb/espanishforum.com/adm/index.php(82): p_master->load_active()
#6 {m in /home/nuirgqlb/espanishforum.com/cache/production/url_generator.php on line 60
Regards.

User avatar
Ger
Registered User
Posts: 1155
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 » Sun Feb 26, 2017 7:34 am

Have you tried purging the cache?
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 » Tue Feb 28, 2017 10:41 am

how to delete an article?

User avatar
Ger
Registered User
Posts: 1155
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 » Tue Feb 28, 2017 11:01 am

You can hide or unhide an article. Permanent deleting isn't implemented.
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 » Wed Mar 01, 2017 10:52 am

must the link be article/news for it to work?

User avatar
Ger
Registered User
Posts: 1155
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 01, 2017 11:24 am

Indeed. You can always create a simple PHP page with a header redirect to article/news.

I might implement something with custom routing in the future but not for now.
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 » Wed Mar 01, 2017 1:18 pm

my problem is, im useing this extenstion for pages: https://www.phpbb.com/customise/db/extension/pages/

but its only allow 127.0.0.1/aritcle or 127.0.0.1/news. NOT 127.0.0.1/article/news

is there anyway i can custom the code for just 127.0.0.1/article? or redirect the article/news to a 127.0.0.1/news page?

User avatar
Ger
Registered User
Posts: 1155
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 01, 2017 1:55 pm

I'm not sure I understand what you want to accomplish exactly. What does the pages extension and its routes have to do with the cmBB extension and its routes? And why do you want to create a "pages-extension-page" to route to a "cmBB extension article"?

I get the feeling you want to something very simple in a very complicated way. What is your end goal?
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 » Wed Mar 01, 2017 2:37 pm

i have the links home news credits on my site, the links is made inside the extenstion pages. i need the link news in my navibar to navigate to your extenstion. but i dont know how to do that.

User avatar
Ger
Registered User
Posts: 1155
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 01, 2017 3:49 pm

You can create a simple php file in your phpBB root directory (where config.php resides) and call it my_newspage.php. Put this in it:

Code: Select all

<?php
// Redirect to cmBB article
header('Location: article/news');
Now, open up the .htaccess file in the same directory and look for:

Code: Select all

#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
After that line, place the following lines:

Code: Select all

# make ./news point to cmBB article/news
RewriteRule ^news$ my_newspage.php [QSA,L]
That should do the trick. You can now point your browser to yoursite.ext/news and it will redirect you to the cmBB category for news.
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 » Wed Mar 01, 2017 5:27 pm

thanks does samething works if i want the forum to be on 127.0.0.1/forum? and index site 127.0.0.1 to be 127.0.0.1/home ?

thanks for all your help

User avatar
Ger
Registered User
Posts: 1155
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 01, 2017 6:22 pm

It might work, but that depends on how you have set things up. It goes beyond the scope of the cmBB extension though.
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 9:41 am

where is read more located? i want to remove it put the <p> text there and where <p> text is now i want to put <h1> there. :)

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: deanmoke, donsenilo, fliper4o, karbiko, TomaGo and 28 guests

cron