Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 15    Views: 125

Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
09/05/12 09:56 PM (13 years ago)

Menu with Image Repaired

There was a problem today with the Menu with Image plugin. It seemed to be limited to the buzztouch website and did not seem to affect self-hosted. The error message was: fnDbGetResult() method in utilityFunctions.php (4). David Book has found the error and repaired it. Thank you, David! Please do not hesitate to contact me if you see any errors or have any problems with the plugin. Because it is new, we need to find and work out any bugs. I have also received very creative suggestions from many of you on enhancements, and keep those suggestions coming! Thank you for your speedy reports on the issue, and be sure to let me know if you run into any problems.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
09/05/12 10:35 PM (13 years ago)
Thanks for the update @Susan. Cheers, David buzztouchmods.com
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/06/12 01:55 AM (13 years ago)
Great, and congrats on the plugin. Ill be trying it out soon. I see that this plugin adds image to a simple menu, why not have this feature on the advance simple menu too? The one where you can add thumbnails to each line of the menu? Cheers.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
09/06/12 07:00 AM (13 years ago)
I have a list of enhancements in mind, and a picture on each row is definitely in the works.
 
Moto110
Aspiring developer
Profile
Posts: 205
Reg: Jul 26, 2011
Orlando, FL
8,700
like
09/06/12 11:04 AM (13 years ago)
Having the ability to add pictures on the menu list row is the only thing stopping from migrating my v1.5 apps to v2.0. I feel that is a big part of what gives my current v1.5 apps character. Without it they will look very plain. If you can add that feature SOON I will LOVE you forever! :~)
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
09/06/12 11:04 AM (13 years ago)
^ like the sound of that! No issues here with it on self hosted for ios or Android so far. Solid code. REALLY loving this for Android, haven't had much time to play with the ios code yet. But the Android version was MUCH needed. Great surprise when the market opened :) Was the main idea behind this for universal (ios/android) app mostly? Curious since the BTM menu version works with the header and the thumbnails and 2nd line of text great on iOS. Not much need to replicate that. I don't make universal apps but do see if others where this was a need. But if there was any enhancements i'd like to see it would be those additions for Android. I took a quick peek at the iOS code and the image scaling part was making me think it could be tricky to animate the header. Need to look more but no problems animating the BTM version. Thanks again for this toy, love it and was much needed in that platform!
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
09/06/12 11:25 AM (13 years ago)
My priority will be to get us back to where we were with 1.5. I have the same issue in that I have apps I can't migrate. One interesting thing to work on is the image size settings. Right now the Menu with Image has the image size fixed. Back in 1.5 when we set the small image size at 320 pixels, that didn't fill up the Android screen. That is why for the Menu with Image Plugin we went with the one image for all devices in a fixed size. I also like how you don't need to add the @2x images. Anyway, my thought is to keep the default image size as is, but then let users override the height. I will need to explain points vs pixels in the explanation, and users may need to do some math. I can label it as "advanced". Another option is just to show advanced users how to change the height in the code if they want. Any ideas on image size for me?
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/06/12 11:43 AM (13 years ago)
For self hosted last version you already have a advanced simple menu where u can add thumbnails to each row, works perfectly. Was suggesting a fusion I your plugin and this one.
 
Moto110
Aspiring developer
Profile
Posts: 205
Reg: Jul 26, 2011
Orlando, FL
8,700
like
09/06/12 12:10 PM (13 years ago)
I typically have my retina icon size for the menu row between 30x60 and non-retina between 15x30. This all depends on the aspect ratio of the image sometime these numbers on reversed if the image is more landscape then portrait. Android seems to scale the non-retina images ok when used in a row. Hopefully that is what you were asking or I totally misunderstood you.
 
kmobile
Code is Art
Profile
Posts: 56
Reg: Jun 19, 2012
Kingston
7,960
like
09/06/12 07:58 PM (13 years ago)
@SusanMetoxen I have an idea for another feature that can perhaps extend from this plugin, but have no idea how to actually code it. Basically be able to have a slideshow going with the images on top of the list. Maybe we can upload a few images in the control panel and have them change, maybe even control the speed at which they change. Thoughts?
 
Moto110
Aspiring developer
Profile
Posts: 205
Reg: Jul 26, 2011
Orlando, FL
8,700
like
09/07/12 06:03 AM (13 years ago)
Animating the header image in iOS is already possible and it's not that hard to implement. It definitely works in BT v1.5 apps. I don't see any reason why it would not work with v2.0. However, I have never tried it. Here is how to do it. http://buzztouch.com/appdata/sample-animate-header.html It would be awesome if Susan could add this feature to her menu image plugin and allow for control over the setting from the control panel. Currently you have to configure it from within the code and it can't be changed once the app is published unless you submit an update.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
09/07/12 08:44 AM (13 years ago)
Sue - you just need to drop in some JSON data points in the plug-in and those values will be easy to change. That JSON stuff is really powerful and can make any plugin quite flexible. I'm just starting to really grasp it and seeing the power it has to modify plug-in values. Good stuff to learn for making more fun plug-ins. David has put up some great posts to learn from. search JSON. I def understand the need for scaling but I prefer to specify sizes manually, esp since you can in ios and the layout is very controlled. I'm solid with the current BTM 2.0 menu. It's got the thumbnail and the second row and I can animate the header. I may try modding it to use JSON for the header animation. Very good idea moto :) Android is where we really need the extra functionality in menus. desperately......
 
Moto110
Aspiring developer
Profile
Posts: 205
Reg: Jul 26, 2011
Orlando, FL
8,700
like
09/07/12 10:18 AM (13 years ago)
@ATRAIN53 - When you said "I'm solid with the current BTM 2.0 menu. It's got the thumbnail and the second row and I can animate the header" are you talking about the "Menu List Advanced" plugin that MrDavid produced? If I'm not mistaken this only works on iPhone and NOT iPad is that correct?
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
09/07/12 10:26 AM (13 years ago)
@Moto110 is not only works for the iPad, but it's free ;) David buzztouchmods.com
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
09/07/12 10:53 AM (13 years ago)
^^lol. It def works for the ipad. All iOS code will work on both devices. The only difference is in the layout and if you specify large/small device options for screens/options. The animated header code does needs to be modded to work on larger devices as the same code/images DON'T work for both iphone/ipad. I've been meaning to add it, but I don't do a lot of ipad designing currently.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
09/07/12 12:55 PM (13 years ago)
Great discussion, everyone! buzztouch has such a bright future.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.