inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Feb 23, 2013 8:55:36 GMT -8
Would it be possible to add a preloader for sound similar to what proboards.preload([array_of_sources]) does for images?
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 23, 2013 9:41:54 GMT -8
Would it be possible to add a preloader for sound similar to what proboards.preload([array_of_sources]) does for images? I agree that sounds need to be preloaded, and it's something I was meant to implement a while back, but kinda left it until I begin work on a specific plugin that's on my list. I really want to switch to HTML 5 for handling sound, but then people get left out, and it causes further issues due to the the same domain policy (really just for audio?? annoying). I haven't had too much experience with sound in the browser, all I know it's a damn pain to get working nicely cross browser, and at the time bgsound and embed was the easiest solution (not sure if it still is). I would suggest a complete rewrite of the sound class, but from my last tests, it did work in 4 browsers (Firefox, Chrome, IE, and Opera.), as to what IE version is supported, I can't remember. Also, never tested in Safari Am up for discussing this further, or someone else making improvements too it and committing to the branch. I suppose we need to move the element creation outside of "play" and allow the author to call "yootil.sound.preload(sound)". We could make these modifications to the current class, though getting it to preload is another question, no doubt we would run into a browser that just wants to annoy us. github.com/pixelDepth/Yootil/blob/master/src/sound.js
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Feb 23, 2013 9:54:00 GMT -8
Peter: I think the next logical step in the bar object is to add a "left" and a "right" option. The left will add it to the left; the right will append it to the list. By doing this, we can fix the above issue. Code creators can right that in as an option for their code.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 23, 2013 9:55:47 GMT -8
Peter: I think the next logical step in the bar object is to add a "left" and a "right" option. The left will add it to the left; the right will append it to the list. By doing this, we can fix the above issue. Code creators can right that in as an option for their code. Yeah, would be handy. Do you want to do it? Or I'll do it in the week.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Feb 23, 2013 11:40:25 GMT -8
Peter: I think the next logical step in the bar object is to add a "left" and a "right" option. The left will add it to the left; the right will append it to the list. By doing this, we can fix the above issue. Code creators can right that in as an option for their code. Yeah, would be handy. Do you want to do it? Or I'll do it in the week. Yours. Right now I'm swamped with my thesis.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 23, 2013 11:56:37 GMT -8
Yeah, would be handy. Do you want to do it? Or I'll do it in the week. Yours. Right now I'm swamped with my thesis. Ok, I'll do it at some point in the week when I'm taking a break from work. I took on another plugin request, I regret it now lol.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Mar 6, 2013 7:22:00 GMT -8
Small update.
0.8.8
yootil.bar now has 2 new params. 1 for function, and 1 for the context.
The reason for this, is that you may need to execute a function on your plugin icon. You can prevent the link from following by return false in your callback.
Example:
yootil.bar.add("/", this.message_image, "Show All Messages", function(){ console.log(this.messages) return false; // Link won't go anywhere }, this);
|
|
ajmong
inherit
-5272348
0
Nov 26, 2024 18:35:26 GMT -8
ajmong
0
January 1970
GUEST
|
Post by ajmong on Apr 19, 2013 8:44:14 GMT -8
The link to download this doesn't seem to be working... I was wanting to add the monetary system to my website, which requires this yootil plugin. Any help is appreciated! :)
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Apr 24, 2013 5:00:21 GMT -8
The link to download this doesn't seem to be working... I was wanting to add the monetary system to my website, which requires this yootil plugin. Any help is appreciated! Download is working fine for me right now. May have been my host that went down.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Apr 24, 2013 5:01:14 GMT -8
Updated to 0.8.9
The "get" method in the Storage class has a small bug for JSON strings.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Apr 26, 2013 3:40:24 GMT -8
Updated to 0.8.10 New methods added to the Yootil.bar class. Also a new change to the "add" method will need to you to change a few parameters around, otherwise it will no longer work. The "add" method now needs a unique key / id passed in. This is so that you can have access to the item you added, which also allows you to remove it. add: function(link, img, alt, id, func, context)
Notice that func and context have been shifted to the right to allow for the id parameter to be set before them. This allows us to use these methods... - yootil.bar.remove( key) - yootil.bar.get( key) // Returns the item wrapped by jQuery - yootil.bar.has( key) // Checks if an item with the key exists in the bar Example: add_plugin_icon: function(){ if(yootil.user.logged_in() && this.message_image && this.hidden){ if(!yootil.bar.has("pdgmsg")){ yootil.bar.add("/", this.message_image, "Show All Messages", "pdgmsg", function(){ yootil.storage.remove("pdgmsg", true); yootil.bar.remove("pdgmsg"); this.show_hidden_messages(); this.hidden = 0; return false; }, this); } } } Docs have been updated. yootil.pixeldepth.net/files/src/bar-js.htmlyootil.pixeldepth.netSoon, the Yootil Plugin will need updating, as I will be adding in a settings page to allow for things to be tweaked by the forums. So for example, allowing you to set the Yootil Bar to be on the right will be one of them.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on May 2, 2013 4:31:42 GMT -8
|
|
inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Jun 1, 2013 6:35:21 GMT -8
Yootil Library
Yootil is a utilities library to help speed up development of plugins for developers.
The word "Yootil" was created from the abbreviation "Util".
"Util" is an abbreviation for "utilities" ("Yoo'ti-lu-tee").
Looking For Plugin?Download: yootil.pixeldepth.net/yootil.library.pbpOr Install Directly: www.proboards.com/library/plugins/item/38Tip: Move the Yootil plugin to the top of your plugin list.Note: There is no need to update this plugin when a new version of Yootil is released (we post about docs, features, and bug fixes). However, it's advised to bookmark this thread, as we may modify the plugin to include settings in the future. Current Release: yootil.pixeldepth.net/yootil.min.jsPlugin: yootil.pixeldepth.net/yootil.library.pbp-------------------------- Experimental: yootil.pixeldepth.net/yootil.src.js Project: github.com/pixelDepth/YootilDocs: yootil.pixeldepth.net-------------------------- The plugin contains a global header that includes the yootil.min.js file. This is so it can be kept up to date. Will update this topic when anything is changed. Edit: Just to note, things will likely change considering ProBoards v5 is still a Beta GIT Changes: github.com/pixelDepth/Yootil/commits/master---- 0.8.12yootil.form.edit_post_form added 0.8.11yootil.page.member added 0.8.10New methods added to the Yootil.bar class 0.8.9Storage get method bug in Chrome 0.8.8Yootil.bar now has to 2 params so that you can pass a function and context 0.8.7Yootil.bar display check bug fixed thanks to Stinky6660.8.6Yootil.bar added 0.8.5pad added to yootil class user methods added to user class (includes all new user properties from proboards.data("user")) 0.8.4after_search method added to AJAX class. 0.8.3page.thread added by Xikeon0.8.2Storage changes, docs, and fixes. 0.8.1Storage class bug fixes 0.8.0Storage class completely rewrote, now supports session and persistent storage 0.7.3user.action.created_conversation() user.action.pmed() user.action.sent_message() 0.7.2nav_branch added to create class 0.7.1read / write methods for keys added 0.7.0Add page, page.category, and page.board classes 0.6.3"recent_posts" location check added to "all_recent_posts" 0.6.2- Couple of new location checks to do with messages / conversations - New form class added to get specific forms quickly 0.6.1- Added editing location checks: editing_post, editing_thread, and editing 0.6.0- Storage object added (yootil.storage) 0.5.0- yootil.location.check added - yootil.location added - yootil.user.action added - Changed compression to Uglify 0.4.0- yootil.user object added 0.3.0- create.page method added 0.2.5- Removed hijack method, no need for it as we can bind to the "success" event for AJAX lists 0.2.4- Fixed an issue with yootil.number_format returning an empty string. 0.2.3- Removed yootil.form (use proboards validated event) - Fixed some issues with getting values from keys when specifying a user of null / false 0.2.2- Removed yootil.debug (kept finding myself using console.log anyway) 0.2.1- Remove extra blank rows and reduced size of comments in header 0.2- Changed YOOTIL to yootil - yootil.proboards.create is now yootil.create OK.... I feel so stupid about asking this, but I've held onto my question for a long time. I was hoping I could figure this out on my own. How do I use this plugin? Just install it and that is it? I have other plugins that say that I need to install this one in order for me to use theirs. I put this one directly above those and still, nothing happens. Both this plugin and theirs are enabled. There are no settings for me to set... still, nothing happens. I know since I'm nearly clueless about codes and the like, that it most likely is something I'm not doing that I'm supposed to do. I just can't figure it out. If anyone could help me, I'd appreciate it greatly. Thanks ahead of time.
|
|
Former Member
inherit
guest@proboards.com
134807
0
Nov 26, 2024 18:35:26 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 1, 2013 9:53:36 GMT -8
I have often wondered the same….. I'm using this plugin on my forum as another plugin needs it to work, but please don't ask me which or why! LOL
Not been very helpful have I, sorry!
|
|
inherit
157863
0
Nov 20, 2024 10:35:15 GMT -8
Skidjit
Hello Sweetie! :D
1,129
September 2010
skidjit
|
Post by Skidjit on Jun 1, 2013 10:00:54 GMT -8
ritaActually, it is helpful to know that I am not alone. Thanks.
|
|