User talk:Monchoman45/Archive 6

Ping phrases within chat hacks
I'm not sure if it's my computer/browser, but it seems I can't edit my ping phrases. The box where the prases are disappears whenever the cursor leaves the blue link, meaning I cannot edit any of the text. Can you fix this? Shotrocket6 08:22, November 25, 2011 (UTC)


 * What browser are you using?
 * Chrome. For some reason, I'm not having this problem on my laptop, but only my desktop. Shotrocket6 21:44, November 25, 2011 (UTC)
 * What OSes do they use?
 * The laptop uses 7 and the desktop uses XP. Shotrocket6 00:49, November 26, 2011 (UTC)
 * It may be because XP is outdated. You should try installing 7 on your desktop and see if that helps.
 * Thatg's prob. not it. I use XP SP3 and ping editing works for me. Does your desktop have SP2 or SP1? SP stands for Service Pack -- Kangaroopowah  - Talk  01:41, November 26, 2011 (UTC)
 * I'm using SP3. I'm not at liberty to change the OS because it's a shared computer, so I can't install 7. Shotrocket6 00:13, November 27, 2011 (UTC)


 * Sorry for ninja, but I also experience the same thing as Shot. My OS is Windows 7 and Chrome has been updated to version 17 too. 01:07, February 12, 2012 (UTC)

Image filenames in categories
Hey, Monchoman45. Have you seen my latest comment here: forum: Image titles in categories. Need CSS/JS fix to allow more than 20 characters. The section about choosing the number of characters to allow. Besides using this in various Wikia wikis, I am trying also to figure something out for the Wikimedia Commons. Timeshifter (talk) 10:42, December 2, 2011 (UTC)

Problems and questions
Hi Monch! I copied a few of your codes here. But Special:B3 doesn't work on my wiki. Maybe it is because they link changes from the "Special:B3" to "Specialna:B3" - I don't know. So... can you help me with this?

Moreover, this code: /* change Publish to Save and Change name to Move */ function PublishToSave { $('#wpSave').val('Zapisz'); $('a[data-id="move"]').html('Przenieś'); } if(readCookie('globalJS') == 'true' && skin == 'oasis') {addOnloadHook(PublishToSave);} doesn't work too. I would like to:
 * "Publish" button was changed to "Zapisz";
 * the button "Change name" was changed to "Przenieś";
 * button with history was changed to "Historia".

By the way I can't see Quickblock links. Where they are / should be located?

And I have the question: what is wham? Thank you in advance for your help,

 http://images.wikia.com/common/avatars/thumb/d/d5/2042298.png/18px-2042298.png[ MarkosBoss]   15:33,12/2/2011  [ Talk | Dyskusja ] [ Contribs | Wkład ] GothicPedia
 * B3 wasn't working because of how MediaWiki deals with wikis configured in a language other than english. I have fixed this, so it should now load on a wiki in any language once you clear your cache. Per the other code, everything in my global.js is tied into a toggle system, so it won't load for other people. You have to remove the  from around the   for either of them to work.

Not Allowed to Chat
I was in chat and it wouldn't show what I typed all of a sudden. I reloaded and it worked for a second but then had the same problem again. Does it have anything to do with the chat hacks? HBH  TALK  22:03, December 2, 2011 (UTC)


 * Does it tell you you've connected from another browser?


 * No, it simply won't show me what I type. HBH  TALK  16:27, December 4, 2011 (UTC)


 * I have no problems currently. Wikia's last update seems to be having residual effects, I wouldn't be surprised if this was one of them.

new nav
Why doesn't #shareButton {display:none!important;} work? Also how could I change the on the wiki to just have add a page, wiki activity and random page and have the contribute dropdown have RC, a link to mediawiki:wikia-navigation if I'm an admin and random page? Thanks, -- Kangaroopowah  - Talk  02:14, December 3, 2011 (UTC)


 * It's a class, not an ID. Try  Rappy 05:07, December 3, 2011 (UTC)

Rappy 05:21, December 3, 2011 (UTC)


 * Thanks Rappy. -- Kangaroopowah  - Talk  01:46, December 4, 2011 (UTC)

Chat hacks
Oh ... I didn't notice this ... Here's Polish translation. I'm not sure what to several texts (I'm not sure what they do, e.g. "example", "exampleuser", "subdirs" and "uncyc"), but I think I translated correctly. Page "Nobody Cares" on Uncyclopedia corresponds to the "Nikogo to nie obchodzi" on Nonsensopedia

case 'pl': var i18n = { 'activity': 'Aktywność - $1 czat', 'afk': 'Z/W', 'away': 'Jesteś teraz oddalony.', 'back': 'Nie jesteś już oddalony.', 'clear': 'Wyczyść', 'cleared': 'Okno wiadomości zostało wyczyszczone.', 'commands': 'Komendy czatu: $1', 'coppa': '- musisz mieć przynajmniej 13 lat, by korzystać legalnie z Wikia.', 'demodded': '$1 nie jest już moderatorem czatu.', 'emote': 'Twój stan', 'erruser': 'Błąd komendy $1: Musisz podać nick użytkownika', 'errroom': 'Błąd komendy $1: Musisz podać ID pokoju czatu', 'example': 'Przykład', 'exampleuser': 'PrzykładowyUżytkownik', 'help': 'Pomoc - /$1: $2', 'help-afk': 'Zaraz wracam -> przełącza status na "Oddalony".\n$1: /afk ', 'help-me': 'Wyraź swój stan. Podobny do IRC-owego /me.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/me likes chat hacks\')">/me likes chat hacks ', 'help-nc': 'Zalinkuj artykuł <a href="http://nonsensopedia.wikia.com/wiki/Nikogo_to_nie_obchodzi">uncyclopedia:Nobody cares</a>.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/nc This is totally important\')">/nc This is totally important ', 'help-clear': 'Wyczyszcza obecne okno czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/clear\')">/clear ', 'help-room': 'Napisz prywatne wiadomości.\nImiona muszą zostać oddzielone pionową kreską (|).\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/room $2\')">/room $2 ', 'help-mod': 'Czyni użytkownika moderatorem czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/mod $2\')">/mod $2 ', 'help-block': 'Blokuje wysyłanie do ciebie prywatnych wiadomości przez danego użytkownika.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/block $2\')">/block $2 ', 'help-unblock': 'Odblokowuje wysyłanie do ciebie przez danego użytkownika prywatnych wiadomości.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/unblock $2\')">/unblock $2 ', 'help-kickban': 'Wyrzuć danego użytkownika z czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/kickban $2\')">/kickban $2 ', 'help-join': 'Dołącz do czatu o wybranym ID.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/join 10\')">/join 10 ', 'help-part': 'Opuść obecny pokój czatu.\nAn id can also be specified for leaving a particular chat room.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/part\')">/part ', 'help-id': 'Przywraca ID pokoju, w którym jesteś.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/id\')">/id ', 'help-help': 'Wyświetla informację na temat komendy.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/help\')">/help ', 'id': 'ID', 'init': 'Usprawnienia czatu załadowane.\nBy zgłosić błędy, albo zaproponować tłumaczenie lub usprawnienia, napisz na <a href="http://community.wikia.com/wiki/User_talk:Monchoman45">stronie dyskusji Monchoman45</a>.', 'nobodycares': 'Nikogo to nie obchodzi', 'nohelp': 'Brak opisu pomocy dla /$1', 'notbanned': '$1 nie jest zbanowany/a.', 'notmod': '$1 nie jest moderatorem czatu.', 'pingphrases': 'Pinguj frazy', 'pingphrasestooltip': 'Gdy ktoś wpisze wybrane przez ciebie słowa (wielkość liter nie ma znaczenia), usłyszysz brzęczyk', 'subcoms': 'Podkomendy', 'subdirs': 'Podkatalogi', 'unbanned': 'Użytkownik $1 został odblokowany.', 'uncyc': 'nonsensopedia:nikogo to nie obchodzi' }

MarkosBoss (dyskusja • wkład) 14:49, December 5, 2011 (UTC)

umm
WHy is tasks gone from B3? -- Kangaroopowah  - Talk  02:06, December 7, 2011 (UTC)


 * Syntax error

Your chat bot script...
... is completely broken. Please fix it.


 * Lots of things are currently broken, chatbot is running on old code and needs a complete rewrite. What is it doing that it shouldn't be?
 * Well its kinda not really doing anything....-- Kangaroopowah  - Talk  00:35, December 11, 2011 (UTC)
 * That^. The script doesn't even load.
 * Will you be fixing it anytime soon? I kinda need it for a wiki...
 * I haven't had time to do much of anything lately - I'll see what I can do as soon as I can.
 * Ok, thanks.

Marquee
Thanks for the help with the marquee :) Gohan23

the marquee didnt work. Gohan23


 * Can you give me a link to where you tried it?
 * http://dragonball.wikia.com/wiki/User:Gohan23/marqueetest Gohan23
 * Perhaps Moncho was wrong. I did a little research and could only find info about overflow: marquee for CSS3. Try reading over this and see if this is what you're looking for. Rappy 00:50, December 11, 2011 (UTC)
 * Well, all I want to know is how to put one source mode like you can do with all the other codes. <font color=blue style=background:yellow>Gohan23
 * I haven't the faintest clue what you just said. Also, please place talk messages on the page it originated from rather than disjointing the conversation on several talk pages. (I know this started from a forum post or blog. The whole conversation should have stayed there or at least left here with a link to the original conversation so others can follow it easily. Answering your question here may actually benefit someone else, so having it all in one place is preferred.) Rappy 02:35, December 11, 2011 (UTC)
 * ok I am sorry, I didn't know things have to be so formal. And what I meant was, I want to have a Marquee Function. Gohan23
 * Ah, I confused  with  . From what I can tell after more digging, I don't think it's possible to do a marquee anymore without using an animated gif.   doesn't seem to be anywhere near standard yet. You may be out of luck.
 * oh...ok. thats alright ill figure something out, But I dont get why we can't use them. They work in HTML documents. Gohan23
 * So does, but you should never use it.

Chat Hacks
Hi. I was wondering how to use multi user private chats with your chat hacks. Thanks in advance.

EpicFork (talk) 02:50, December 17, 2011 (UTC)


 * I believe I disabled that feature because of connection issues it caused. If not, you should be able to create a multi user private chat with.


 * Yeah you disabled it. There was nothing wrong with it though except that you couldn't go back to the main chat. Perhaps a bug fix and then reinstate it? :) Thanks,-- Kangaroopowah  - Talk  04:27, December 17, 2011 (UTC)

I need help in making Templates
Hi! I need your help in making templates for the Demonata Wiki. They may be complicated, but I really don't know... Could you please tell me? Thanks alot beforehand! -Pinklilac 13:52, December 17, 2011 (UTC)


 * Sure. Can you link to the template you're trying to create?

I was wondering how to use the multi PM with the chat hacks?

Wikia index
Hi Monchoman! Some months ago, in a forum I can no longer find, you provided a method for obtaining lists of Wikia wikis sorted alphabetically, etc. (as opposed to the entertainment, gaming, and lifestyle menu options at the top of the page). Do you recall how to do that? Thanks! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  07:44, January 10, 2012 (UTC)


 * This is the best list I know how to get. It's order by wikifactory id, which for most of us mortals is an arbitrary number.


 * Thanks Monchoman! It may not be alphabetical, BUT at least it is searchable. Thanks again! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  22:54, January 11, 2012 (UTC)

Bot
Is it possible to have a bot get an image from a URL, check it against a certain image, and if it's different, upload it to a wiki, then change a number in the URL and repeat?


 * Not practically, no.

Popcorn ban
when will i be unbanned from chat for accidently creating random lines?Pokeswap


 * This is your third ban from chat here, and (at least) your second for spamming/flooding. It will not be a short term ban.

Fikz it
Fikz it--

hi
hi there like i told u i wuld i made an account love --&#91;&#91;Wikipedia:Pudding&#124;crapper97&#93;&#93; 04:37, January 27, 2012 (UTC)
 * sory bro --crapper97 04:38, January 27, 2012 (UTC)

Some stuff
Hi, two questions: 18:50, January 27, 2012 (UTC)
 * 1) Is it possible to use Chathacks if my primary skin is monobook?
 * 2) Should the following code work to move the toolbox in monobook under the logo? If so, why isn't it working for me (It's in my global.js)?


 * Yes, chat hacks will add ?useskin=wikia to every chat link. Per the toolbox code, you need  at the end to close the   statement.


 * Oh, I do have the ); in my global JS, but it still doesn't seem to be working... 19:02, January 27, 2012 (UTC)


 * You have the line  right under its respective import - however, there is no function AjaxRC, and that causes the script to throw an error and stop at that line. As far as I know, you should be able to just delete it and see no change in how your AjaxRC works - the script will call itself automatically, that array is only for functions that modify elements in the RC content area.


 * Many thanks, walrus. 19:10, January 27, 2012 (UTC)


 * Meh. I thought I answered this in IRC yesterday. Personally, I'd use  It's more straight-forward than the former and there is no need for a .detach this way. It's also a few less characters of code =p Rappy 21:29, January 27, 2012 (UTC)

Leopard Gecko Chat
On my wiki, the Leopard Geckos Wiki, on the chat when it says, for example: "Monchoman45 has entered the chat.", I want to change it to "Monchoman45 has entered the Lizard's Tank". and when you leave, I want to put "Monchoman45 has left the Tank." How can I do that? thanks. Star178 23:21, January 27, 2012 (UTC)


 * You can change those with MediaWiki:Chat-user-joined and MediaWiki:Chat-user-parted, respectively.

?
Hi i was banned by you for "loodind". Im sorry i didn't know flooding was ment as Spam. Besides the only reason i did it cause no one was there. Sorry i wont do it agianStevenator Sand 20:48, January 28, 2012 (UTC)


 * You were asked not to flood (ie. fill the chat window with lines containing only ".") by myself and multiple other users, and did not listen. Whether or not no one immediately responded is not relevant, you should never spam or flood. I will remove your ban one week after I gave it, which is February 4th.

Ok thanks Stevenator Sand 01:24, February 5, 2012 (UTC)

Hey its Feb 4th and im not unbanned yet...:/ Stevenator Sand 01:24, February 5, 2012 (UTC)

hai
hai monkcoman52 im a bg fant off ur wrk, chck out mine http://pastebin.com/u/EnemyPeacemaker

Shingū, Hyōgo 04:21, January 29, 2012 (UTC)

Help! Again!
Hi Monchoman, I need help. The Template:Person infobox I got from Wookipedia is on the Star wars Underworld and it is all messed up when I used it in an article: http://starwarsunderworld.wikia.com/wiki/Daniel_Logan See? Horrid.

Flood
Hey Moncho, your flooding chat really bad. Can you fix your connection please? Thanks! :) Plasma  ( Talk )  @Community Central   23:49, February 9, 2012 (UTC)

Chat hacks error
I've been having a new error recently, whenever I get pinged and a noise plays the entire browser screen will turn blue, as shown in this image. anything you can recomend to help would be very helpful. Thanks. - Crazy sam10

Chat hacks suggestion
Hey, could you add a command "/jqj " which tells the user he's joining and quitting a lot? I was thinking about something like " : Please check your connection and/or refresh your chat window, as you're repeatedly joining and quitting the channel which causes spam." but if you want to change it that's okay too. It would be useful when users are experiencing the join/quit bug without knowing it.

PS: Maybe you should add  to this page to make it possible to click to add a new section, if you want. 18:37, February 11, 2012 (UTC)


 * You can add commands to your chat hacks by adding a function to  in your global.js. Commands that take some input and change it into a different message (like  ) just have to change the text in the message box, and then return  . All command functions take two parameters, , which is the string of text after the command, and  , which is the whole string. So it would look something like this:

<pre style="margin-left:2em;"> window.commands.nameOfCommand = function(com, text) { if(com) {$('#Write [name="message"]').val('Text to send if someone specifies something after the command');} else {$('#Write [name="message"]').val('Text to send if only the command was given (for example, just /me)');} return true; }
 * In your case, what you're looking for is this:

<pre style="margin-left:2em;"> window.commands.jqj = function(com, text) { if(com) {$('#Write [name="message"]').val(com + ': Please check your connection and/or refresh your chat window, as you're repeatedly joining and quitting the channel which causes spam.');} else {$('#Write [name="message"]').val(' Please check your connection and/or refresh your chat window, as you're repeatedly joining and quitting the channel which causes spam.');} return true; }
 * Hope that helps.

Blue screen
Whenever I get pinged in the chat, using Google Chrome 17, my screen turns entirely blue:. Do you have any idea what causes that? 13:35, February 12, 2012 (UTC)


 * I am unaware of any method by which this is possible. You can try to find the line of code that causes it by breakpointing the ping code in the inspector.
 * There is no error or anything in my console, and using inspect elements still marks the elements as if they are still there. It looks like the blue thing is just over everything, but it doesn't stop you from clicking anything. I did find what the cause is: the  causes the blue thing to appear. Could you please delete the element as soon as it stopped playing (after ~515 milliseconds)  so that this bug is fixed? Or is it possible for me to put something like that in my own global.js to make that work? 16:14, February 12, 2012 (UTC)
 * Try giving the embed, and tell me if that fixes it.
 * It does fix it, but that also prevents the thing from playing. I also tried visibility:hidden; but that does still turn my screen blue. I think the only solution is either making the embed have display:none; after playing, or removing the embed after playing. 10:05, February 13, 2012 (UTC)
 * Then try . That should make it too small to notice.
 * That doesn't work either. The problem is not any CSS or so, the problem is that there is a bug in Chrome itself. Now I suggested doing display:none after it stopped playing, or removing it after it stopped playing, but I thought of another method that won't affect anyone that doesn't want to, but could you add onload="beepFunction" or something with that function doing nothing by default, but so atleast it is possible to let me add code whenever the beep loads. I can tell you for sure there is no possible CSS solution to prevent it from turning my screen blue while still playing. 20:58, February 15, 2012 (UTC)
 * Could you please fix this? 14:02, February 18, 2012 (UTC)
 * Another user reported this problem yesterday, and I added a  which he said fixed it, albeit with the side effect of the page background turning blue. If you clear your cache, it should work for you too.

Signature code
Hi Monchoman45. I'm Starfleet Academy and I was told in a convo that you have a code that enables/enabled you to leave a signature on any wiki without having to make signture sub-pages. Is this true/does it still work? (Wikia's been messing with the pereferences page lately that's all) :)


 * Read this page for how this works --  Random Time  10:39, February 14, 2012 (UTC)


 * Thanks RT, I've got mine working off just a subpage though. (This is to save myself from having to rebuild my signature system.) :)


 * Then replace ~.js with your subpage and follow the rest of the directions. Rappy 05:54, February 15, 2012 (UTC)


 * Oh sorry this is a perfect example of miscommunication. I meant that I did what RT linked to, but without putting it in a .js file because I didn't want to have to go through and change what I'd already done on a number of wikis. Trivia in other words. :)

Minimalist chathacks
I was thinking of making a bot that could do certain tasks such as react to commands (like an IRC bot) or unban users after a certain amount of time (set by chatmods), but for that I need to be able to do something like you do in your chat script, that I can scan through a message every time it gets sent and then check if it is a command or not. Could you please give me the code for a minimalist chathacks so that I can add the features of the bot myself? Thanks, 20:42, February 20, 2012 (UTC)

Hiding comments on RC
Hey sexy. Is there any way to add an option next to "Hide my edits" and "Hide logs" for "Hide talk edits"? Not user talk, but comments/page talk. 13:19, February 22, 2012 (UTC)


 * You can disable individual namespaces using the namespace dropdown, and checking "exclude". Article talk pages and blog comments are both options, I don't think article comments are, but since those are all talk subpages, excluding article talk should also exclude article comments.

B3 Translation
Hi!

I am writing to you because I would like to translate B3 (Browser-Based-Bot) into Polish. Can I do this? And in what way?

MarkosBoss (dyskusja • wkład) 19:58, February 22, 2012 (UTC)


 * B3 doesn't currently have a translation API like chat hacks did. It may be possible to implement one, however, but I'd have to know what sorts of things you'd like to see translated.


 * I would like to translate all the texts that are visible in the B3 (mainly in the Tasks module and the chatbot) - if that is possible.
 * MarkosBoss (dyskusja • wkład) 16:54, February 24, 2012 (UTC)

AFK Button
For some reason, I can't get it to work. Can you check my global.js and tell me if there is anything wrong with it? Thanks!

Ok it seems to work now. If you can, could you make me a custom chat hacks code? I don't wan't the clear button and I don't want it to open up a whole normal sized tab/window. I want it to be a small new window, if you know what I mean. But everything else is fine. Could you do this for me?


 * If you aren't connected to chat, it won't send you away. Sometimes it'll disconnect you without creating any notice, so the afk button is a great way to test your connection. Per the afk and clear buttons, you can hide those with CSS, however it's not so easy to make it pop up in a small window instead of a tab. You should be able to take the tab and move it to a new window, however, and use that.


 * Ok. And how can I hide the clear button? I'm not the best with coding :S Also, I'm not too familiar with the new commands such as /nc, /devoice, /coppa, /unban, /demod, /id, and /self. I want to know how to use those and I want to know how to create a private chat with multiple users.


 * Also, I was letting my bot sit in chat and when I returned, it gave me the option to "kill the page" or "wait" because chat was unresponsive. Any ideas how to avoid this for future purposes?


 * You can get a list of commands and access information about them with . You should be able to hide the afk and clear buttons with  . Per the bot becoming unresponsive, this is probably due to a scripting error somewhere in the code. I'm currently working on a complete rewrite of the script, so hopefully that problem will disappear soon.


 * Do you know when you will have it done? Because it keeps ruining my chat logger bot. :S


 * Soon. Most of the architecture is already in place, and the socket was just updated to be more efficient.

Initializing Chathacks
Hi Monchoman! Chathacks don't seem to start if I don't click on the "start chat" button on the rail. Is this intentional? Rbleh4 16:02, February 26, 2012 (UTC)


 * This is a technical limitation on the hacks. If you were to just type http://community.wikia.com/wiki/Special:Chat into your url bar, chat would not load any of your code files (global.js, wikia.js, etc). Because of that, there's no (practical) way to get the code for the hacks into chat - so they don't load. However, when you click that button in the rail, the window is opened via a script that keeps a reference to that window. That script can use that reference to then add your code files to chat itself, thus allowing the hacks to load.


 * Is there not a way to activate on the URL too? Your script should be able to detect the normal link and direct/redirect it to your custom link. If that's the case, any link to Special:Chat would theoretically work. Rappy 23:41, February 26, 2012 (UTC)