![]() |
Information regarding the Club Penguin Wiki Network
The Club Penguin Wiki Network was abandoned by its tech staff. These are recreations of the original sites. Your original CPWN account will not work here. Any issues, please contact Sky. |
User talk:Juca: Difference between revisions
Latest comment: 26 December 2014 by Penguin-Pal in topic Hi again
imported>Juca Juca moved page User talk:JucaSLP to User talk:Juca |
imported>Penguin-Pal No edit summary |
||
Line 6: | Line 6: | ||
Thank you for the message. It seems like the server no longer responds to the script, so i'll update the code today.<br /> | Thank you for the message. It seems like the server no longer responds to the script, so i'll update the code today.<br /> | ||
[[user:Penguin-Pal|<font color="0e92cf">Penguin-Pal</font>]] [[user talk:Penguin-Pal|<font color="2e47aa">(talk)</font>]] 13:10, 30 November 2014 (UTC) | [[user:Penguin-Pal|<font color="0e92cf">Penguin-Pal</font>]] [[user talk:Penguin-Pal|<font color="2e47aa">(talk)</font>]] 13:10, 30 November 2014 (UTC) | ||
==Hi again== | |||
Hi Juca,<br /> | |||
I apologize for the delay again. Thanks again for updating me about the template. Try these 2 changes- i believe it should work well afterwards: | |||
<ol> | |||
<li>Replace the current function <code>$news.fn.create</code> with the function that appears [http://pastebin.com/gavexG8c here].</li> | |||
<li>Where it says: | |||
<syntaxhighlight lang="javascript"> | |||
console.info(obj.props, Object.keys(obj.props).length, obj.filesArr.length); | |||
</syntaxhighlight> | |||
Add a new line after that peice of code, and paste in it: | |||
<syntaxhighlight lang="javascript"> | |||
$("#newsupload-progress").val(String(String(obj.filesArr.length) - Object.keys(obj.props).length) + " / " + String(obj.filesArr.length)).css("background", "linear-gradient(to right, #dfd " + String((1 - Object.keys(obj.props).length / obj.filesArr.length) * 100) + "%, #ddd " + String((1 - Object.keys(obj.props).length / obj.filesArr.length) * 100) + "%)"); | |||
</syntaxhighlight> | |||
</li> | |||
</ol> | |||
[[user:Penguin-Pal|<font color="0e92cf">Penguin-Pal</font>]] [[user talk:Penguin-Pal|<font color="2e47aa">(talk)</font>]] 16:23, 26 December 2014 (UTC) |
Revision as of 16:23, 26 December 2014
i was doing debugging, and forgot to shut the logging off. sorry --refractor 17:08, 3 June 2014 (UTC)
- looks like I need to do some logging and testing of my own. grumble, grumble. --refractor 10:24, 4 June 2014 (UTC)
RE:Upload from current Club Penguin Times issue
Hi Juca,
Thank you for the message. It seems like the server no longer responds to the script, so i'll update the code today.
Penguin-Pal (talk) 13:10, 30 November 2014 (UTC)
Hi again
Hi Juca,
I apologize for the delay again. Thanks again for updating me about the template. Try these 2 changes- i believe it should work well afterwards:
- Replace the current function
$news.fn.create
with the function that appears here. - Where it says:
console.info(obj.props, Object.keys(obj.props).length, obj.filesArr.length);
Add a new line after that peice of code, and paste in it:
$("#newsupload-progress").val(String(String(obj.filesArr.length) - Object.keys(obj.props).length) + " / " + String(obj.filesArr.length)).css("background", "linear-gradient(to right, #dfd " + String((1 - Object.keys(obj.props).length / obj.filesArr.length) * 100) + "%, #ddd " + String((1 - Object.keys(obj.props).length / obj.filesArr.length) * 100) + "%)");