inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Dec 10, 2012 11:05:40 GMT -8
Everything looks good my end. Just do a hard refresh and post anything from the console relating to Yootil. I also noticed you are using my Global Messages plugin. Look for an update at the weekend for that, I noticed there was some debug code in there that is writing out to the console (nothing that should break cause an issue though). Cleared error console, refreshed FF, clicked on Create Thread. Here is the error console output: Timestamp: 10/12/2012 11:02:54 AM Error: TypeError: sessionStorage is null Source File: yootil.pixeldepth.net/yootil.src.js?1Line: 947 (Still no format icons.) Your Global Messages plugin is going to be a real boon to my site, and many other sites I'm sure. Thanks, Peter, for all your hard work and expertise.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Dec 10, 2012 13:55:29 GMT -8
Peter - I see how you can edit the code, but I don't understand how I would test it to make sure what I am trying to do actually works...without installing the JS file on a forum that is... You need to clone the project. Have a read of this... help.github.com/articles/duplicating-a-repoGet a clone for yourself for testing. If you are creating a new namespace (i.e yootil.something), then you need to create a new file, and then merge it into the src file which you would then upload to your host so you can test it. If merging isn't possible, just open up yootil.src.js and add your object / methods to that. If you do this, don't push it to the repo, you will need to modify the file in the src folder and push that, or create your own in the src folder and push it. We can do the merging and minifying our end, though would be helpful if you could mimic our setup. Chris pushed his build folder, and depending on your environment, I can push my build folder as well, which contains php scripts for the merging and minifying (we use UglifyJS which you will need to clone). I am having a hard time understanding Git it looks rather complex...and so far really all I have done with coding is edit js files Also I don't exactly have anything more than a JS and Image host at this point....
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 10, 2012 14:40:03 GMT -8
You need to clone the project. Have a read of this... help.github.com/articles/duplicating-a-repoGet a clone for yourself for testing. If you are creating a new namespace (i.e yootil.something), then you need to create a new file, and then merge it into the src file which you would then upload to your host so you can test it. If merging isn't possible, just open up yootil.src.js and add your object / methods to that. If you do this, don't push it to the repo, you will need to modify the file in the src folder and push that, or create your own in the src folder and push it. We can do the merging and minifying our end, though would be helpful if you could mimic our setup. Chris pushed his build folder, and depending on your environment, I can push my build folder as well, which contains php scripts for the merging and minifying (we use UglifyJS which you will need to clone). I am having a hard time understanding Git it looks rather complex...and so far really all I have done with coding is edit js files Also I don't exactly have anything more than a JS and Image host at this point.... I'll sort you out with a subdomain and FTP access for the JS so you can upload / modify. I'll PM you the details when I get some time (maybe tomorrow). Git is a little more complex than SVN, but once you understand the clone, commit, and pushing, it's really simple. Goto the main Git site and watch their video tutorials (I think they are offsite, can't remember).
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Dec 10, 2012 14:40:46 GMT -8
Ok thanks a ton
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 10, 2012 14:42:15 GMT -8
Everything looks good my end. Just do a hard refresh and post anything from the console relating to Yootil. I also noticed you are using my Global Messages plugin. Look for an update at the weekend for that, I noticed there was some debug code in there that is writing out to the console (nothing that should break cause an issue though). Cleared error console, refreshed FF, clicked on Create Thread. Here is the error console output: Timestamp: 10/12/2012 11:02:54 AM Error: TypeError: sessionStorage is null Source File: yootil.pixeldepth.net/yootil.src.js?1Line: 947 (Still no format icons.) Your Global Messages plugin is going to be a real boon to my site, and many other sites I'm sure. Thanks, Peter, for all your hard work and expertise. Thanks for providing the console stuff. For now, disable Yootil until tomorrow, I'll put out a fix in the src to see if it does actually fix your issue. I have a feeling because Yootil is throwing an error, it's stopping the JavaScript that creates the UBBC buttons from executing, which is a big pain. I'll reply tomorrow asking you to check the console again.
|
|
inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Dec 10, 2012 15:03:28 GMT -8
Chat with you tomorrow, Peter.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Dec 10, 2012 16:26:50 GMT -8
You need to clone the project. Have a read of this... help.github.com/articles/duplicating-a-repoGet a clone for yourself for testing. If you are creating a new namespace (i.e yootil.something), then you need to create a new file, and then merge it into the src file which you would then upload to your host so you can test it. If merging isn't possible, just open up yootil.src.js and add your object / methods to that. If you do this, don't push it to the repo, you will need to modify the file in the src folder and push that, or create your own in the src folder and push it. We can do the merging and minifying our end, though would be helpful if you could mimic our setup. Chris pushed his build folder, and depending on your environment, I can push my build folder as well, which contains php scripts for the merging and minifying (we use UglifyJS which you will need to clone). I am having a hard time understanding Git it looks rather complex...and so far really all I have done with coding is edit js files Also I don't exactly have anything more than a JS and Image host at this point.... If you want to get help with git, create a new thread with your git-specific problem (just to not crowd this) and tag myself ( Chris) or Peter and we'll try to help you there.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 10, 2012 16:27:11 GMT -8
Chat with you tomorrow, Peter. smashwords2, Have pushed a possible fix for the issue. If you can do a hard refresh or clean your cache to make sure your browser gets the latest JS file and let me know if it's fixed for you. If it's fixed, you can remove the dev version of the Yootil plugin. Thanks
|
|
inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Dec 10, 2012 18:17:27 GMT -8
No success, Peter. Cleared cache, waited a few seconds and did a Ctrl F5, then clicked on Create Thread. Here is the console output: Timestamp: 10/12/2012 6:16:25 PM Error: TypeError: g is null Source File: 4d5.net/f/forum.js?28Line: 1256
|
|
inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Dec 10, 2012 18:45:25 GMT -8
No success, Peter. Cleared cache, waited a few seconds and did a Ctrl F5, then clicked on Create Thread. Here is the console output: Timestamp: 10/12/2012 6:16:25 PM Error: TypeError: g is null Source File: 4d5.net/f/forum.js?28Line: 1256 Peter, with both dev and other version yootil checked I have the same problem, and this console error output: Timestamp: 10/12/2012 6:41:21 PM Error: TypeError: sessionStorage is null Source File: yootil.pixeldepth.net/yootil.min.jsLine: 4 Don't know if this helps or not.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 10, 2012 19:05:18 GMT -8
First error is from jQuery, so that's strange. Something with your setup (browser, Anti Virus, Firewall etc) is causing it if jQuery is showing an error. With all plugins disabled, do you still get a jQuery error in the console. Try the dev plugin for Yootil again, just disable everything else. Load the JS file directly in the browser and hard refresh... yootil.pixeldepth.net/yootil.src.jsIf you can, can you run this in the console... console.log("sessionStorage" in window && "localStorage" in window)
|
|
inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Dec 10, 2012 19:59:50 GMT -8
Peter, with all plugins disable there is no jQuery error and the format icons appear and work fine. With the dev plugin and everything else disabled the format icons disappear. With all FF addons disabled, Avast disabled, dev plugin checked, no format icons. Here is the error console output: Timestamp: 10/12/2012 7:58:52 PM Error: TypeError: sessionStorage is null Source File: yootil.pixeldepth.net/yootil.src.js?1Line: 943 Right clicked on JS file and opened in new tab. Opened fine. Don't know what you mean by 'run this in the console..' I input code into the FF Error Console and even clicked on Evaluate but nothing happened. Put code in MSWindoze command prompt window but it wouldn't accept 'console.log.
|
|
inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Dec 10, 2012 21:13:02 GMT -8
Load the JS file directly in the browser and hard refresh... yootil.pixeldepth.net/yootil.src.jsIf you can, can you run this in the console... console.log("sessionStorage" in window && "localStorage" in window) Peter, I found a FF addon caled Execute JS and installed it. I then right clicked on the .js link above and opened it in a new tab. I did a control F5, then copied/pasted your console.log code into Execute JS addon and clickked Execute. In the Execute JS result window was this: No result I haven't a clue if this helps or not, but at least I have another addon in FF.
|
|
inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Dec 10, 2012 21:18:15 GMT -8
I copied all the js code in the yootil script to the Execute JS addon and clicked Execute.
Got error message: ReferenceError: proboards is not defined
I'll be back tomorrow morning. Thanks, Peter.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 11, 2012 1:44:08 GMT -8
I copied all the js code in the yootil script to the Execute JS addon and clicked Execute. Got error message: ReferenceError: proboards is not defined I'll be back tomorrow morning. Thanks, Peter. Ok, have changed it one more time, if this doesn't work, then I can only think it's your browser and the way it's setup. Try Yootil again, just make sure to use the dev version only and hard refresh. This time round I am using Modernizr for HTML 5 feature detection. If I find time later today, I'll register on your forum and see if I get the error, so keep Yootil (dev) enabled.
|
|