inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 21, 2014 10:49:04 GMT -8
Yeah, I know. Least it's something for now. Feel free to improve or add something by pushing to the rep. --- 0.9.8 is now updated in the library for those who prefer to install directly. www.proboards.com/library/plugins/item/38
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 22, 2014 18:57:15 GMT -8
0.9.9New location checks and small additions The new location checks are combined with existing checks (alternative routes). There is now a yootil.page.post object, and a few of the other sub objects of page have been updated. The user.action object has been dropped. Docs also updated: yootil.pixeldepth.netgithub.com/pixelDepth/ProBoards-Yootil
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 23, 2014 19:13:35 GMT -8
PeterI think I actually used that in one of my codes. No matter though, I'll hear about it if I did and I'll just have to write my own implementation. Also, I've found myself wanting to remove nav-tree items a lot. It's fairly simple to do but repetitive. I have a function I'm using on the Gold Shop that removes nav-tree items, and I'd like to push it to yootil if that's alright. My only question is, where exactly would it fit in? Should I just create a new module "yootil.destroy" and make this one of it's functions? Or is there somewhere else it would fit in?
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 24, 2014 1:05:14 GMT -8
TexasOops, sorry lol. Didn't think anyone was using it, though no big issue for now unless they update Sure, push anything that may be helpful, I can always tidy it up and build my end. Not sure where to put it to be honest. Either put it directly in the Yootil object (parent), or maybe create a yootil.remove object.
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 24, 2014 9:00:59 GMT -8
Peter: I created a pull request with yootil.remove. I tried to implement a way to easily return things to the DOM. Not sure if will ever be useful to anyone but I thought of it as I was writing the other thing and decided to add it. Basically, instead of simply removing the item, it is replaced with a hidden DIV that has a unique ID attached to it. A deep clone of the original is put in an object and along with the unique ID. The only way I could think of to identify each removed item was to first separate them by the function that actually removed the item (i.e. "nav_branch") and then use the selector used to remove that specific item as the key. So the data saved looks like this. { "nav_branch": { '[href="/members"]': { "obj": [object Object], "id": a47b, }, '[href="/"]': { "obj": [object Object], "id": 4z8j, } } }
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 24, 2014 12:44:55 GMT -8
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 24, 2014 14:56:49 GMT -8
Peter: Fixed the problems.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 25, 2014 13:04:37 GMT -8
TexasJust posting to say that I haven't forgot about your pull request. I'll have a better look over it at the weekend most likely. I'll probably pull it, and then make some tweaks if I need too. Then will build and update.
|
|
inherit
218298
0
Apr 17, 2015 16:03:04 GMT -8
Amethyst
20
January 2015
blythewt
|
Post by Amethyst on Mar 2, 2015 17:01:22 GMT -8
Hi peter. We are having an issue with a random black box appearing on our forum. One of the administrators here said he was able to re-create the issue and disabling Yootil library fixed it on his end. I was wondering if you knew of a known error with this or had a solution. Here is the original thread if you want to see it: support.proboards.com/thread/541648/black-box-on-forumAny advice is appreciated. Thanks, I hope you have a great day.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Mar 4, 2015 10:38:22 GMT -8
Amethyst, Could you list all the enabled plugins at the time it happened (screen shot of your plugin list would be good enough)? While it appears the issue is Yootil, it may be a plugin using the Yootil API. If possible, can you enable it, and the moment you see that black box, right click on the page, and click "view page source". Copy everything you see and send it to me via a private message? If it's not solved by the weekend, I will try and find time to register on your forum, and ask you to enable the plugins again so I can see the issue.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 8, 2015 14:28:53 GMT -8
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 12, 2015 10:55:03 GMT -8
Yootil version 1.0.0 is basically done. I have spent 5 days straight working on this to get it to a point where I am happy. All that is left to do is fix bugs (if there are any). I done a lot of testing today to find bugs and squashed them, however there always seems to be some that make their way in, so I could do with some help from others. Let me know if you use it, if there are issues, or if it's working perfectly. I am not going to submit this to the library just yet, as there has been a ton of additions and changes, so I want to make sure everything is fine before I start breaking other plugins that may be using it (mostly mine I guess). Note: Some methods / classes have be deprecated, these are marked in the documentation (if you have them set to show). Also some methods have been renamed, however the old name is still available as an alias but they are marked as deprecated. A big addition to the API is a notifications class. I am working on the Monetary System and Shop to add in calls to create notifications, and will release a notifications plugin alongside the release of those as soon as I can. You can see the progress on GitHub if you are interested. Documentation: yootil.pixeldepth.netDownload for 1.0.0: pixeldepth.net/proboards/plugins/yootil/releases/yootil_1.0.0.pbpYootil GitHub: - github.com/PopThosePringles/ProBoards-Yootil - github.com/PopThosePringles/ProBoards-Yootil/blob/master/yootil.dev.jsHere is a basic change list for this version. I didn't include everything because there was a lot of new stuff. - - Removed updater from build process (shows the admin when there is an update available).
- - Removed deprecated call to ProBoards API.
- - Changed the way key.set works to match the ProBoards API. Mostly a wrapper with some tweaks and things, and a few new methods (push_unique, unshift_unique).
- - Notifications class added (see docs on how to use).
- - Fixed strict equality due to type changes (mixed types in the dataHash, they used to be strings).
- - Added yootil.forum class (see docs).
- - "can_write" and "can_read" returns true for now. These will work automatically again when PB exposes them.
- - Sound module has be deprecated, I don't think this is really needed, and there are better libraries out there for sound.
- - Added yootil.version().
- - Documentation rewrite.
- - Fixed yootil.create.container if "safe" parameter was used. No longer throws an error.
- - yootil.element.get added + quite a few methods (yootil.get alias).
- - yootil.element.remove added + quite a few methods (yootil.remove alias).
- - Key module basically redone plus some new methods.
- - yootil.create.ubbc_tab added.
- - yootil.location.check is deprecated, however it is now an alias for yootil.location.
- - Lots of other changes and improvements.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 14, 2015 22:30:03 GMT -8
I'm willing to test this
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Aug 14, 2015 0:55:47 GMT -8
1.0.0 is now available from the library. yootil.pixeldepth.netgithub.com/PopThosePringles/ProBoards-Yootil1.0.0- Removed updater (shows the admin when there is an update available). - Removed deprecated call to ProBoards API. - Changed the way key.set works to match the ProBoards API. - Notifications class added (see docs on how to use). - Fixed strict equality due to type changes (mixed types in the hash, they used to be strings). - Added yootil.forum class (see docs). - "can_write" and "can_read" returns true for now. These will work automatically again when PB exposes them. - Sound module has be deprecated, I don't think this is really needed, and there are better libraries out there for sound. - Added yootil.version(). - Fixed yootil.create.container if "safe" parameter was used. No longer throws an error. - yootil.element.get added + quite a few methods (yootil.get alias). - yootil.element.remove added + quite a few methods (yootil.remove alias). - Key module basically redone plus some new methods. - yootil.create.ubbc_tab added. - yootil.location.check is deprecated, it is now an alias for yootil.location. - Lots of other changes and improvements. - yootil.ajax is now yootil.event (.ajax is an alias now). - Some events added (post_liked, user_searched, bookmarked_thread, and a few more). - Documentation rewrite.
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Aug 17, 2015 19:01:52 GMT -8
Thank you for the update!
|
|