[3.3][DEV] MegaMenu, Sticky Menu, Navbar 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
Renzotom
Registered User
Posts: 55
Joined: Mon Dec 25, 2017 1:47 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Renzotom »

Thanks. And please, don't forget to add support for placeholders in button in Mega Menu, as I showed you example before. T
Badhon_raj
Registered User
Posts: 204
Joined: Wed Jan 04, 2012 6:33 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Badhon_raj »

Renzotom wrote: Mon Jan 08, 2018 3:24 pm Thanks. And please, don't forget to add support for placeholders in button in Mega Menu, as I showed you example before. T
I've updated two files in github.
Download the plugin from github and use that.It should fix the issue.
Don't use the css I posted above.
Badhon_raj
Registered User
Posts: 204
Joined: Wed Jan 04, 2012 6:33 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Badhon_raj »

Renzotom wrote: Mon Jan 08, 2018 3:24 pm Thanks. And please, don't forget to add support for placeholders in button in Mega Menu, as I showed you example before. T
updated the plugin to support template variable in HTML filed.

Please check and let me if it is working properly.
Renzotom
Registered User
Posts: 55
Joined: Mon Dec 25, 2017 1:47 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Renzotom »

No it shows for ex.
./ucp.php?mode=register
I wanna translated text + action.
User avatar
mrgoldy
Former Team Member
Posts: 1394
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by mrgoldy »

Renzotom wrote: Tue Jan 09, 2018 7:49 pm No it shows for ex.
./ucp.php?mode=register
I wanna translated text + action.
That's not possible. phpBB's routing is not 'translated' anywhere on your board.
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
Renzotom
Registered User
Posts: 55
Joined: Mon Dec 25, 2017 1:47 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Renzotom »

posey wrote: Tue Jan 09, 2018 10:07 pm
Renzotom wrote: Tue Jan 09, 2018 7:49 pm No it shows for ex.
./ucp.php?mode=register
I wanna translated text + action.
That's not possible. phpBB's routing is not 'translated' anywhere on your board.


It is possible, author use that system for buttons in Sticky Menus, there is for ex. {L_SEARCH} and it is in Czech language "Hledat".... It shows normally "Hledat" on my forum. And I wanna same system in MegaMenus.
User avatar
mrgoldy
Former Team Member
Posts: 1394
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by mrgoldy »

Renzotom wrote: Tue Jan 09, 2018 10:23 pm It is possible, author use that system for buttons in Sticky Menus, there is for ex. {L_SEARCH} and it is in Czech language "Hledat".... It shows normally "Hledat" on my forum. And I wanna same system in MegaMenus.
I understand that the text of a button can (and should be) translatable, but I am yet to see an actual route (eg: memberlist.php) to be translated. Could you show me a screenshot of an extension / forum with actual translated (not hard-coded) routes?
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
Badhon_raj
Registered User
Posts: 204
Joined: Wed Jan 04, 2012 6:33 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Badhon_raj »

Renzotom wrote: Mon Jan 08, 2018 1:35 pm And second thing, why those placeholders (U_REGISTER and S_LOGIN_ACTION) in MegaMenu don't working? And how must I do it?

Code: Select all

			<ul>
				<button class="btn btn-primary">{U_REGISTER}</button>
				<button class="btn btn-default">{S_LOGIN_ACTION}</button>
				<button class="btn btn-default"><i class="fa fa-bomb"></i></button>
			</ul>
The html you used is wrong here. You can't use url inside a button element.
replace that code with following:

Code: Select all

			<ul>
				<a class="btn btn-primary" href="{U_REGISTER}">{L_REGISTER}</a>
				<a class="btn btn-default" href="{S_LOGIN_ACTION}">{L_LOGIN}</a>
				<a class="btn btn-default" href="#"><i class="fa fa-bomb"></i></a>
			</ul>
Renzotom
Registered User
Posts: 55
Joined: Mon Dec 25, 2017 1:47 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Renzotom »

Nice it works, thanks.
Renzotom
Registered User
Posts: 55
Joined: Mon Dec 25, 2017 1:47 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Renzotom »

When I update button settings and "Send" changes, there are updated. But I don't see changes on forum, so when I do F5 on settings of that button, all changes are restored to previous values.... So there is problem with updating settings, I can't set settings to button, ex. display only for guest, beacuse when I send it, it didn't update and when I refresh page, previous settings are back...

PS: Problem is probably in MegaMenus only.

--
And why for ex. U_ACP and some next U_tags (https://www.phpbb.com/customise/db/exte ... 56#p611356) don't working? Can you fix it please?
User avatar
thecaretaker1
Registered User
Posts: 127
Joined: Tue Dec 30, 2014 8:38 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by thecaretaker1 »

Love your extension, thank you.

Only issue I've found, is when I have an image at the top, it doesn't show when visiting the FAQ page. This is due to the image being taken from:
../phpBB3/app.php/help/ext/orthohin/navbar/images/logo/my_navbar_image.png

Is there a way I can fix that?

EDIT: OK, I've fixed it for my site by hard coding the url into the overall_header_body_before.html. I've also made it so the logo is a link to the forum index.

Code: Select all

    <!-- IF LOGO_IMAGE_EXIST -->
             <a href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->"><img height= "50px" src="url to logo went here" alt="{SITENAME}"/></a>
Not sure if this is the correct way to do it, but it works for me
Affin
I've Been Banned!
Posts: 254
Joined: Fri May 25, 2018 9:52 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Affin »

It covers the profile picture.
Badhon_raj
Registered User
Posts: 204
Joined: Wed Jan 04, 2012 6:33 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Badhon_raj »

Affin wrote: Thu Aug 30, 2018 8:15 pm It covers the profile picture.
May i have a screen shot and a link to your forum please?
Affin
I've Been Banned!
Posts: 254
Joined: Fri May 25, 2018 9:52 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Affin »

Badhon_raj wrote: Fri Aug 31, 2018 2:43 am
Affin wrote: Thu Aug 30, 2018 8:15 pm It covers the profile picture.
May i have a screen shot and a link to your forum please?
Hi, I fixed it. Does not seem to be compatible with mobile phones. There will be a box at the top of the page, does not look so nice. If possible enter it with quick links?
Affin
I've Been Banned!
Posts: 254
Joined: Fri May 25, 2018 9:52 pm

Re: [3.1][3.2][DEV] MegaMenu, Sticky Menu, Navbar for phpBB

Post by Affin »

Affin wrote: Fri Aug 31, 2018 6:39 pm
Badhon_raj wrote: Fri Aug 31, 2018 2:43 am
Affin wrote: Thu Aug 30, 2018 8:15 pm It covers the profile picture.
May i have a screen shot and a link to your forum please?
Hi, I fixed it. Does not seem to be compatible with mobile phones. There will be a box at the top of the page, does not look so nice. If possible enter it with quick links?
Jump bumb.
Post Reply

Return to “Extensions in Development”