[3.1][3.2][DEV] Countdown Header

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)
User avatar
dmzx
Registered User
Posts: 785
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

[3.1][3.2][DEV] Countdown Header

Post by dmzx » Mon May 01, 2017 7:58 pm

Extension Name: Countdown Header
Author: dmzx

Special thanks to: martin

Extension Description:
Countdown in header, configurable in ACP

Image Image Image

Image
- Added admin_controller
- Added acp language file
- Updated listener
- Updated acp_countdownheader_config.html
- Updated overall_header_breadcrumbs_after.html

Image
Code update

Screenshots:
Image

Image

Extension Download:
Countdown Header v1.0.2

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `countdownheader`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `countdownheader` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/countdownheader/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Countdown Header` under the Disabled Extensions list, and click its `Enable` link.
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
dmzx
Registered User
Posts: 785
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [3.1][3.2][DEV] Countdown Header

Post by dmzx » Tue May 02, 2017 5:55 pm

First post updated
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
John Rambo
Registered User
Posts: 74
Joined: Tue Jun 18, 2013 8:46 pm

Re: [3.1][3.2][DEV] Countdown Header

Post by John Rambo » Tue May 30, 2017 4:08 pm

I tested this extension, and I noticed that it conflicts with this https://www.phpbb.com/customise/db/exte ... e_counter/

If disable and uninstall Member time counter this extension works

You can solve the problem to have both and not give up one of the 2 :?:

kim902
I've Been Banned!
Posts: 59
Joined: Wed Nov 09, 2016 5:49 pm

Re: [3.1][3.2][DEV] Countdown Header

Post by kim902 » Tue May 30, 2017 7:16 pm

Wrap the js with this

Code: Select all

<!-- IF SCRIPT_NAME == "index" --> js here <!-- ENDIF -->
Now both will work.
Hardest thing in life is accepting some one else has done it better.

User avatar
John Rambo
Registered User
Posts: 74
Joined: Tue Jun 18, 2013 8:46 pm

Re: [3.1][3.2][DEV] Countdown Header

Post by John Rambo » Tue May 30, 2017 8:53 pm

But I want it all over the forum, not just in index, there is no other way, otherwise uninstall the other.

kim902
I've Been Banned!
Posts: 59
Joined: Wed Nov 09, 2016 5:49 pm

Re: [3.1][3.2][DEV] Countdown Header

Post by kim902 » Thu Jun 01, 2017 7:59 am

then wrap the member time counter within a statement.
Hardest thing in life is accepting some one else has done it better.

User avatar
John Rambo
Registered User
Posts: 74
Joined: Tue Jun 18, 2013 8:46 pm

Re: [3.1][3.2][DEV] Countdown Header

Post by John Rambo » Thu Jun 01, 2017 11:41 am

kim902 wrote:
Thu Jun 01, 2017 7:59 am
then wrap the member time counter within a statement.
Could you suggest me how to put it?
Extension appears in memberlist.php?mode=viewprofile&u=2

Edit: Solved I inserted <!-- IF SCRIPT_NAME == "memberlist" --> js here <!-- ENDIF -->

Ri Edit: One resolves and another exits if i go to memberlist.php?mode=viewprofile&u=2
The Countdown Header disappears together with the member time counter disappearing both, booooo :?

User avatar
eunaumtenhoid
Registered User
Posts: 899
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.1][3.2][DEV] Countdown Header

Post by eunaumtenhoid » Thu Aug 03, 2017 10:44 pm

nice work dude like all time
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
dmzx
Registered User
Posts: 785
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [3.1][3.2][DEV] Countdown Header

Post by dmzx » Tue Aug 08, 2017 9:04 am

;)
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
janus_zonstraal
Registered User
Posts: 3805
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.1][3.2][DEV] Countdown Header

Post by janus_zonstraal » Mon Jan 07, 2019 7:19 am

This extension gives a error on some browsers:
message when trying to post a new topic. He got the following message:

Code: Select all

Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "notification.method.board". in /home/bcgeu676/public_html/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php:806 Stack trace: #0 /home/bcgeu676/public_html/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php(444): Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('notification.me...') #1 /home/bcgeu676/public_html/phpbb/notification/manager.php(905): Symfony\Component\DependencyInjection\ContainerBuilder->get('notification.me...') #2 /home/bcgeu676/public_html/phpbb/notification/manager.php(897): phpbb\notification\manager->load_object('notification.me...') #3 /home/bcgeu676/public_html/phpbb/notification/manager.php(459): phpbb\notification\manager->get_method_class('notification.me...') #4 /home/bcgeu676/public_html/phpbb/notification/manager.php(378): phpbb\notification\manager in /home/bcgeu676/public_html/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 806
phpbb3.2.5 and php7.2
Sorry! My English is bat ;) !!!

User avatar
dmzx
Registered User
Posts: 785
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [3.1][3.2][DEV] Countdown Header

Post by dmzx » Wed Jan 09, 2019 10:20 am

janus_zonstraal wrote:
Mon Jan 07, 2019 7:19 am
This extension gives a error on some browsers:
message when trying to post a new topic. He got the following message:

Code: Select all

Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "notification.method.board". in /home/bcgeu676/public_html/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php:806 Stack trace: #0 /home/bcgeu676/public_html/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php(444): Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('notification.me...') #1 /home/bcgeu676/public_html/phpbb/notification/manager.php(905): Symfony\Component\DependencyInjection\ContainerBuilder->get('notification.me...') #2 /home/bcgeu676/public_html/phpbb/notification/manager.php(897): phpbb\notification\manager->load_object('notification.me...') #3 /home/bcgeu676/public_html/phpbb/notification/manager.php(459): phpbb\notification\manager->get_method_class('notification.me...') #4 /home/bcgeu676/public_html/phpbb/notification/manager.php(378): phpbb\notification\manager in /home/bcgeu676/public_html/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 806
phpbb3.2.5 and php7.2
cannot produce this error on my test board.
You sure that it is from this extension?
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
janus_zonstraal
Registered User
Posts: 3805
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.1][3.2][DEV] Countdown Header

Post by janus_zonstraal » Wed Jan 09, 2019 11:37 am

You sure that it is from this extension?
Sorry I think it something else.
First it was was OK when I disable the extension but after a while other members did complaining that the error is still on the board.
So it can't be your extension.
Sorry! My English is bat ;) !!!

User avatar
dmzx
Registered User
Posts: 785
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [3.1][3.2][DEV] Countdown Header

Post by dmzx » Wed Jan 09, 2019 11:56 am

janus_zonstraal wrote:
Wed Jan 09, 2019 11:37 am
You sure that it is from this extension?
Sorry I think it something else.
First it was was OK when I disable the extension but after a while other members did complaining that the error is still on the board.
So it can't be your extension.
Check your php settings for 7.2 if you can. (like in cpanel)
Check memory_limit value.
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
janus_zonstraal
Registered User
Posts: 3805
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.1][3.2][DEV] Countdown Header

Post by janus_zonstraal » Wed Jan 09, 2019 5:15 pm

memory_limit 2147483648

Could that be the problem?
Sorry! My English is bat ;) !!!

User avatar
GanstaZ
Registered User
Posts: 804
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: [3.1][3.2][DEV] Countdown Header

Post by GanstaZ » Wed Jan 09, 2019 5:48 pm

janus_zonstraal wrote:
Mon Jan 07, 2019 7:19 am

Code: Select all

Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "notification.method.board". in /home/bcgeu676/public_html/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php:806 Stack trace: #0 /home/bcgeu676/public_html/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php(444): Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('notification.me...') #1 /home/bcgeu676/public_html/phpbb/notification/manager.php(905): Symfony\Component\DependencyInjection\ContainerBuilder->get('notification.me...') #2 /home/bcgeu676/public_html/phpbb/notification/manager.php(897): phpbb\notification\manager->load_object('notification.me...') #3 /home/bcgeu676/public_html/phpbb/notification/manager.php(459): phpbb\notification\manager->get_method_class('notification.me...') #4 /home/bcgeu676/public_html/phpbb/notification/manager.php(378): phpbb\notification\manager in /home/bcgeu676/public_html/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 806
Is this file/service present notification.method.board?
You may try to disable other extensions and clear cache production folder.
"When answer lies in the question,.. question becomes redundant!"

Post Reply

Return to “Extensions in Development”