[ABD] [DEV] Button menu

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
yasser33311
Registered User
Posts: 277
Joined: Sat Jul 27, 2013 1:27 pm
Location: algeria
Name: yasser ghe

Re: [DEV] Button menu

Post by yasser33311 »

when turn ext OFF without Disable it, bottom corner don't returned as default and search box not visible.
PhpBB Services - install, update, upgrade, customize: PM
User avatar
M.O.B.
Registered User
Posts: 944
Joined: Tue Jan 04, 2005 1:07 am
Location: San Diego CA USA

Re: [DEV] Button menu

Post by M.O.B. »

I really love this extension. Was using something very similar in 3.0.x

I'd like to learn how to do a "dirty trick" so it doesn't show for mobile phones, since the menu is not yet fixed to work for responsive?

You can get technical, I can handle it. :)

Thanks again, and great job! :)

Hoping for something like this:

Code: Select all

<! IF RESPONSIVE -->
do this
<!-- ENDIF -->
or done with css?
Image
User avatar
masterbiz
Registered User
Posts: 65
Joined: Thu Dec 20, 2012 8:31 am

Re: [DEV] Button menu

Post by masterbiz »

I had to do a restore system configuration phpbb now I view this extension thanks! ;)
radyk
Registered User
Posts: 19
Joined: Thu Jun 18, 2015 7:39 pm

Re: [DEV] Button menu

Post by radyk »

Thank you for this...I would love it responsive but it does work.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: [DEV] Button menu

Post by Lumpy Burgertushie »

anyone know what it does not work with prosilver_se?

thanks,
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
badger949
Registered User
Posts: 46
Joined: Thu Apr 16, 2015 6:00 am
Location: California
Name: Tom Munguia

Re: [DEV] Button menu

Post by badger949 »

the extension doesn't look right on mobile view
User avatar
Theriddler1
Registered User
Posts: 451
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Name: Theriddler❶

Re: [DEV] Button menu

Post by Theriddler1 »

great extension thank for picking this up. When testing, the color blue stays stuck, even if you choose another color.

i think it have something to do within listener.php, there is one typo error on line 63

Code: Select all

$rootref = &$context->get_root_ref();
Should be

Code: Select all

$rootref = $context->get_root_ref();
notice the &

After testing further, everything you set within the acp exention configuration doesn't been set.
It does say settings saved but still blue no mather what color you take, no uppercase letters ect...

Thanks for investigating this weird behaviour.
Last edited by Theriddler1 on Wed Jan 13, 2016 9:28 pm, edited 1 time in total.
Theriddler - Former Moderator @ phpBB.nl | phpBBservice.nl Team-member
Image My Extensions | buy me a beer Image
User avatar
dmzx
Registered User
Posts: 861
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [DEV] Button menu

Post by dmzx »

Will check on it ;)
Contact me on dmzx-web.net
User avatar
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

Re: [DEV] Button menu

Post by kasimi »

Theriddler1 wrote:

Code: Select all

$rootref = &$context->get_root_ref();
Should be

Code: Select all

$rootref = $context->get_root_ref();
The & is supposed to be there. get_root_ref() returns a reference to the template data's root node allowing you to modify it. See also its declaration: public function &get_root_ref(). If it wasn't a reference, you'd be modifying a copy and the template data would be unchanged.

In this extension's case it doesn't really matter though as the $rootref isn't written to, only read from, but it's still a good idea to leave the & for clarity.
khris
Registered User
Posts: 33
Joined: Sun Aug 02, 2015 8:05 pm

Re: [DEV] Button menu

Post by khris »

Hello dmzx,

great work in my opinion but responsive is missing :( i read the whole thread now an saw few requests for responsive design. Can you guide us how to make it responsive or update your extension?

thanks in advance
Khris


-- EDIT: Ok now i found a way to make it reponsive on my smartphone as well. I changed inside the buttonmenu.css this

Code: Select all

#menu {
  margin:  auto;
  height: 30px;
  max-width: 1180px;
  min-width: 625px;
}
into this

Code: Select all

#menu {
  height: 30px;
  max-width: auto;
  min-width: auto;
}
Problem now is, when there are more than one or 2 buttons it destroys the view on mobile phones because the button drop into a second line. Now it would be nice to have same switch from showing all buttons to one drop down menu like on phpbb.com ABout / Downloads / Customise and so on

regards
Khris
User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar

Re: [DEV] Button menu

Post by KhurramMunawar »

Is this great extension still under development ??
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website
User avatar
dmzx
Registered User
Posts: 861
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [DEV] Button menu

Post by dmzx »

Yes still active ;)
Contact me on dmzx-web.net
User avatar
M.O.B.
Registered User
Posts: 944
Joined: Tue Jan 04, 2005 1:07 am
Location: San Diego CA USA

Re: [DEV] Button menu

Post by M.O.B. »

Until a fix is made to this menu for mobile devices (I wish phpBB would share their menu). I added this to my CSS files in order to not display the menu for such devices.:

Code: Select all

@media (max-width: 800px) { 
	#menu { 
		display: none; 
	} 
}
Since I used theme that inherits from prosilver, I placed that code at the bottom of my stylesheet.css -- but if you guys use prosilver, I guess you can put it in the responsive.css file.
Image
User avatar
thecaretaker1
Registered User
Posts: 137
Joined: Tue Dec 30, 2014 8:38 pm

Re: [DEV] Button menu

Post by thecaretaker1 »

The up and down buttons in the acp for the parent buttons doesn't do anything. Is there another way I can switch the order of the parent buttons without deleting all the sub-buttons and re-entering all the links?
User avatar
M.O.B.
Registered User
Posts: 944
Joined: Tue Jan 04, 2005 1:07 am
Location: San Diego CA USA

Re: [DEV] Button menu

Post by M.O.B. »

thecaretaker1 wrote:The up and down buttons in the acp for the parent buttons doesn't do anything. Is there another way I can switch the order of the parent buttons without deleting all the sub-buttons and re-entering all the links?
If you have too many links, then it takes a while for it to start moving a button up or down. Just keep doing until you see it move.

For example let's say you have a total of 99 button links (total within several parent buttons). And you created a new one, and you want to place this new button in position number 33, well you are going to have to click the UP arrows up to a lot of times until you start noticing the link to move up. -- That's a rough sketch example, but give it a try.
Image

Return to “Abandoned Extensions”