Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 18    Views: 97

Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
01/29/14 09:30 PM (11 years ago)

Checklist Plugin

I have quite a bit of content to implement into this plugin. The first issue, it stopped loading onto the simulator after 105 items. And, the second issue, it wouldn't let me upload past 300 items in the control panel. Any help is much appreciated.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/29/14 10:49 PM (11 years ago)
That's a lot of items to manage via control panel. You're probably better off putting it in a text file and using the dataURL property.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/29/14 11:48 PM (11 years ago)
That I would agree with. I've never used that before but anything to make my life easier. I'll look into it. What about the control panel and the simulator not loading these items?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/30/14 06:46 AM (11 years ago)
Not sure why - might be too much to handle.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
01/30/14 07:51 AM (11 years ago)
@chris1: I have a similar question. The plugin often takes five seconds to load and the database fails to open. Does it depend on the length of the checklist? or how many items? Currently, I have 6 checklists, each with about 15 items, but the 15 items are way to long to fit on the screen. Any ideas? Thanks, Jake
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/30/14 07:55 AM (11 years ago)
It depends on total number of items across all of your checklists for that screen, as it analyzes all of them and makes sure they are all in the phone's database before doing anything else. 5 seconds seems pretty long though. Jake, can you email me your BT_config.txt file so I can see if it's slow for me too?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
01/30/14 08:07 AM (11 years ago)
I just sent it off. Jake
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/30/14 09:30 AM (11 years ago)
Chris - When you say it's too much to handle - Does that mean there's a limited number of items the plugin can handle? For example - from what I am seeing, it can handle 105 items?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/30/14 01:18 PM (11 years ago)
I was thinking more that the server might be timing out if it's having to pull too many requests from the control panel items. After looking at Jake's configuration, I'm seeing some ways to optimize the plugin that will hopefully help.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/30/14 03:27 PM (11 years ago)
Chris - I came up with a way to limit myself to 100 checklist items. Now, it's only allowing me 51 items. Then, when I go to click on the the plugin in the simulator, it exits the app but does not crash in Xcode. The more I try to amend on my end with less content, the worse it gets :) Could this be a tab layout issue?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/30/14 04:53 PM (11 years ago)
I just updated the plugin - download the latest code and give it a try. Hopefully it helps with some of your issues.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
01/30/14 06:12 PM (11 years ago)
It works. Thank you so much. Jake
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/30/14 06:15 PM (11 years ago)
Chris - I'm up to 75 items but now, when I hit the back button in the plugin it freezes and gives me a signal SIGABRT
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/30/14 06:17 PM (11 years ago)
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/30/14 06:28 PM (11 years ago)
Ok - This may be my own doing. I used hyphens when I was consolidating the list to make it shorter. I am now back to my original list of 300 plus items, this one seems to be working now. If you don't hear back from me, it's working great…thanks for all your help!
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/30/14 07:17 PM (11 years ago)
Chris - I started getting the the crash and SIGABRT again. Sorry for the back and forth on this - Hmmm...
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/30/14 08:29 PM (11 years ago)
Becky - are you sure you're using the latest plugin? That screenshot looks like the old version of the plugin.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/30/14 09:20 PM (11 years ago)
The earlier plugin did not upload for whatever reason. Now that the new one is uploaded, I am now able to go through each checklist category but when I get to the last one, I hit back and I crash. Here's the screenshot. https://www.dropbox.com/s/x7gg6nuxcs8uno0/Screen%20Shot%202014-01-30%20at%209.12.02%20PM.png
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/30/14 09:32 PM (11 years ago)
Them Nirvana lovers, ya never know ... Hahaha Thanks, Chris for helping out Becky and Jake. If you have time, please take a look at my question on the Tumblr plugin. http://www.buzztouch.com/forum/thread.php?tid=897A53DC6410EFA8A924BF4 Thanks, -- Niraj
 

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.