FANDOM


Welcome to my talk page

Timestamp on entry and exit messagesEdit

Would it be possible to change chat hacks so that it mentions when an individual comes in and exits? Example: BloodAdept has entered "Example chatname" at 12:42pm

BloodAdept Talk Chat Contribs 20:14, August 6, 2012 (UTC)

Ping phrases within chat hacksEdit

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?  Monchoman45  Talk  Contribs  Skystone  14:04,11/25/2011 
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?  Monchoman45  Talk  Contribs  Skystone  22:07,11/25/2011 
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.  Monchoman45  Talk  Contribs  Skystone  01:22,11/26/2011 
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. infiniteMaxxisTalk?!?  01:07, February 12, 2012 (UTC)
Just to pop in, I'm using XP 200-something Professional, and it works fine for me, and it also works fine for my on Windows 2003 Home, so I think it might be conflicting .js or .css coding which is causing a problem. If not, try refreshing your cache or something to that effect to see if that might be the problem. Adam Savage Modified chat icon talk page
22:09, February 29, 2012 (UTC)
Yes. I have a spare computer in my basement. Windows XP Professional to be exact. It does have the same issue, and yes, Windows has offically announced XP to be outdated. WCDDoherty WikiaStaff.png 22:52, May 29, 2012 (UTC)


Hello. I'm having the same problem with chat hacks (can't edit ping phrases). I am using Safari on Windows 7. Hai. 01:51, June 12, 2012 (UTC)

Image filenames in categories Edit

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 Edit

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,


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 if() {} from around the addOnloadHook for either of them to work.  Monchoman45  Talk  Contribs  Skystone  16:49,12/2/2011 

Not Allowed to Chat Edit

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?  Monchoman45  Talk  Contribs  Skystone  00:59,12/3/2011 
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.  Monchoman45  Talk  Contribs  Skystone  17:42,12/4/2011 

new nav Edit

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 .share-button { display: none; } Rappy 05:07, December 3, 2011 (UTC)
$(function () {
    $('.WikiHeaderRestyle .subnav-2:first').html('<li><a class="createpage" data-id="createpage" href="/wiki/Special:CreatePage">Add a Page</a></li><li><a data-canonical="wikiactivity" href="/wiki/Special:WikiActivity" class="subnav-2a">Wiki Activity</a></li><li><a data-canonical="random" href="/wiki/Special:Random" class="subnav-2a">Random page</a></li>');
    $('.contribute ul').html('<li><a data-id="wikiactivity" accesskey="g" href="/wiki/Special:RecentChanges" title="Recent Changes">Recent Changes</a></li><li><a data-canonical="random" href="/wiki/Special:Random">Random page</a></li>');
});
Rappy 05:21, December 3, 2011 (UTC)


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

Chat hacks Edit

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: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/afk\')">/afk</span>',
			'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</span>',
			'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</span>',
			'help-clear': 'Wyczyszcza obecne okno czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/clear\')">/clear</span>',
			'help-room': 'Napisz prywatne wiadomości.\nImiona muszą zostać oddzielone pionową kreską (|).\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/room $2\')">/room $2</span>',
			'help-mod': 'Czyni użytkownika moderatorem czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/mod $2\')">/mod $2</span>',
			'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</span>',
			'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</span>',
			'help-kickban': 'Wyrzuć danego użytkownika z czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/kickban $2\')">/kickban $2</span>',
			'help-join': 'Dołącz do czatu o wybranym ID.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/join 10\')">/join 10</span>',
			'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</span>',
			'help-id': 'Przywraca ID pokoju, w którym jesteś.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/id\')">/id</span>',
			'help-help': 'Wyświetla informację na temat komendy.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/help\')">/help</span>',
			'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 (dyskusjawkład) 14:49, December 5, 2011 (UTC)

umm Edit

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

Syntax error  Monchoman45  Talk  Contribs  Skystone  02:22,12/7/2011 

Your chat bot script... Edit

... is completely broken. Please fix it.  Ariistuujj »Talk Page« 14:44, 12/10/2011 

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?  Monchoman45  Talk  Contribs  Skystone  23:19,12/10/2011 
Well its kinda not really doing anything....--Kangaroopowah- Talk 00:35, December 11, 2011 (UTC)
That^. The script doesn't even load.  Ariistuujj »Talk Page« 08:17, 12/11/2011 
Will you be fixing it anytime soon? I kinda need it for a wiki...  Ariistuujj »Talk Page« 08:26, 12/19/2011 
I haven't had time to do much of anything lately - I'll see what I can do as soon as I can.  Monchoman45  Talk  Contribs  Skystone  20:13,12/19/2011 
Ok, thanks.  Ariistuujj »Talk Page« 08:34, 12/20/2011 

MarqueeEdit

Thanks for the help with the marquee :) Gohan23

the marquee didnt work. Gohan23

Can you give me a link to where you tried it?  Monchoman45  Talk  Contribs  Skystone  23:19,12/10/2011 
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. 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 text-decoration:blink; with text-decoration:marquee;. 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. overflow:marquee; doesn't seem to be anywhere near standard yet. You may be out of luck.  Monchoman45  Talk  Contribs  Skystone  16:40,12/11/2011 
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 <font>, but you should never use it.  Monchoman45  Talk  Contribs  Skystone  17:57,12/11/2011 

Chat Hacks Edit

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 /room Name of a user | Name of another user | Name of a third user | etc.  Monchoman45  Talk  Contribs  Skystone  03:48,12/17/2011 
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 TemplatesEdit

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?  Monchoman45  Talk  Contribs  Skystone  14:48,12/17/2011 

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

Wikia index Edit

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! SmileySpikeToronto 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.  Monchoman45  Talk  Contribs  Skystone  21:49,1/11/2012 
Thanks Monchoman! It may not be alphabetical, BUT at least it is searchable. Thanks again! — SpikeToronto 22:54, January 11, 2012 (UTC)

Bot Edit

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?  Ariistuujj »Talk Page« 02:28, 1/13/2012 

Not practically, no.  Monchoman45  Talk  Contribs  Skystone  17:11,1/14/2012 

Popcorn ban Edit

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.  Monchoman45  Talk  Contribs  Skystone  01:06,1/22/2012 

Fikz itEdit

Fikz it--GodPray  04:33,1/27/2012 

hi Edit

hi there like i told u i wuld i made an account love --[[Wikipedia:Pudding|crapper97]] 04:37, January 27, 2012 (UTC)

sory bro --crapper97 04:38, January 27, 2012 (UTC)

Some stuff Edit

Hi, two questions:

  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)?
$(function () {
     $("#p-logo").after($("#p-tb").detach());
}
User:Sactage/s.js 18:50, January 27, 2012 (UTC)
Yes, chat hacks will add ?useskin=wikia to every chat link. Per the toolbox code, you need ); at the end to close the $( statement.  Monchoman45  Talk  Contribs  Skystone  18:59,1/27/2012 
Oh, I do have the ); in my global JS, but it still doesn't seem to be working... User:Sactage/s.js 19:02, January 27, 2012 (UTC)
You have the line ajaxCallAgain = [AjaxRC]; 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.  Monchoman45  Talk  Contribs  Skystone  19:08,1/27/2012 
Many thanks, walrus. User:Sactage/s.js 19:10, January 27, 2012 (UTC)
Meh. I thought I answered this in IRC yesterday. Personally, I'd use
$('#p-tb').insertAfter('#p-logo');
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 ChatEdit

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.  Monchoman45  Talk  Contribs  Skystone  23:30,1/27/2012 

?Edit

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.  Monchoman45  Talk  Contribs  Skystone  21:56,1/28/2012 

Ok thanks Stevenator Sand Modified chat icon talk page 01:24, February 5, 2012 (UTC)

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

hai Edit

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!Edit

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. --EvanfTalk Contribs


FloodEdit

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 errorEdit

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 suggestionEdit

Hey, could you add a command "/jqj <user>" which tells the user he's joining and quitting a lot? I was thinking about something like "<user>: 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.
{C}PS: Maybe you should add __NEWSECTIONLINK__ to this page to make it possible to click to add a new section, if you want. Joeytje50talk

18:37, February 11, 2012 (UTC)
You can add commands to your chat hacks by adding a function to window.commands in your global.js. Commands that take some input and change it into a different message (like /me) just have to change the text in the message box, and then return true. All command functions take two parameters, com, which is the string of text after the command, and text, which is the whole string. So it would look something like this:
 
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:
 
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.  Monchoman45  Talk  Contribs  Skystone  19:14,2/11/2012 

Blue screenEdit

Whenever I get pinged in the chat, using Google Chrome 17, my screen turns entirely blue: [1]. Do you have any idea what causes that? Joeytje50talk

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.  Monchoman45  Talk  Contribs  Skystone  15:04,2/12/2012 
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 <span id="sound"><embed src="http://images.wikia.com/monchbox/images/0/01/Beep-sound.ogg" hidden="true" autostart="true" loop="false"></span> causes the blue thing to appear. Could you please delete the element as soon as it stopped playing (after ~515 milliseconds) (setTimeout("$('#sound').html('')",515)) 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? Joeytje50talk
16:14, February 12, 2012 (UTC)
Try giving the embed style="display:none;", and tell me if that fixes it.  Monchoman45  Talk  Contribs  Skystone  22:33,2/12/2012 
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. Joeytje50talk
10:05, February 13, 2012 (UTC)
Then try width="1px" height="1px". That should make it too small to notice.  Monchoman45  Talk  Contribs  Skystone  22:15,2/13/2012 
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. Joeytje50talk
20:58, February 15, 2012 (UTC)
Could you please fix this? Joeytje50talk
14:02, February 18, 2012 (UTC)
Another user reported this problem yesterday, and I added a z-index 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.  Monchoman45  Talk  Contribs  Skystone  16:46,2/18/2012 

Signature codeEdit

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) :)

Starfleet Academy (Messages) 06:49, 14 Feb, 2012 UTC

Read this page for how this works -- RandomTime 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.) :) Starfleet Academy (Messages) 03:08, 15 Feb, 2012 UTC
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. :) Starfleet Academy (Messages) 06:28, 15 Feb, 2012 UTC

Minimalist chathacks Edit

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, Joeytje50talk

20:42, February 20, 2012 (UTC)

Hiding comments on RCEdit

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. TehAnonymous <3 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.  Monchoman45  Talk  Contribs  Skystone  13:46,2/22/2012 

B3 TranslationEdit

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 (dyskusjawkł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.  Monchoman45  Talk  Contribs  Skystone  19:57,2/23/2012 
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 (dyskusjawkład) 16:54, February 24, 2012 (UTC)

AFK ButtonEdit

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! —Technology Wizard ·Contribs· ~Talk~ ·E-Mail·  06:05,2/24/2012 

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? —Technology Wizard ·Contribs· ~Talk~ ·E-Mail·  06:48,2/24/2012 

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.  Monchoman45  Talk  Contribs  Skystone  12:41,2/24/2012 
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. —Technology Wizard ·Contribs· ~Talk~ ·E-Mail·  18:32,2/24/2012 
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? —Technology Wizard ·Contribs· ~Talk~ ·E-Mail·  02:31,2/25/2012 
You can get a list of commands and access information about them with /help. You should be able to hide the afk and clear buttons with #Write .wikia-button {display:none;}. 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.  Monchoman45  Talk  Contribs  Skystone  04:26,2/25/2012 
Do you know when you will have it done? Because it keeps ruining my chat logger bot. :S —Technology Wizard ·Contribs· ~Talk~ ·E-Mail·  04:54,2/26/2012 
Soon. Most of the architecture is already in place, and the socket was just updated to be more efficient.  Monchoman45  Talk  Contribs  Skystone  05:37,2/26/2012 
Can you leave me a message or something so I know when it's ready please? Thanks. —Technology Wizard ·Contribs· ~Talk~ ·E-Mail·  01:18,2/27/2012 

Initializing Chathacks Edit

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.  Monchoman45  Talk  Contribs  Skystone  18:34,2/26/2012 
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)
Any link to chat that you click is valid and will open the hacks. Unless I only implemented that in monobook for some reason.  Monchoman45  Talk  Contribs  Skystone  20:38,2/27/2012 

HelloEdit

A few days ago, probably over a week ago, I was kickbanned for joking around and saying I'm the son of the owner of wiki.... anyway, I was wondering if you could unkickban me because there's an urgent matter I need to discuss in the chat. Please and thank you! -- Julietfan2626

You were kickbanned by Jazzi. Please contact her about this, as I am not aware of the situation.  Monchoman45  Talk  Contribs  Skystone  20:39,2/27/2012 

Chat savingEdit

Hi. I have question. How save conversation from chat (example)? 24px-Ponurak.pngBaakamono 24px-Ponurak2.png

18:41, February 27, 2012 (UTC)
That was done using a bot script I wrote. I'm currently in the process of rewriting it, as it has become outdated. If you'd like, I'd be happy to contact you when I'm finished with an up to date version.  Monchoman45  Talk  Contribs  Skystone  20:40,2/27/2012 
OK. I'm interested. 24px-Ponurak.pngBaakamono 24px-Ponurak2.png
21:03, February 27, 2012 (UTC)
Me too. Please notify at my talks page once you make the bot script available. infiniteMaxxisTalk?!?  05:12, March 2, 2012 (UTC)

Omit avatars in ChatEdit

Hi, thank you for your wonderful chat hacks. But, I have some helps, wonder if you can help me. {C}I'm a netbook user, and the avatars quite taking too much space in my screen. So do you have anyway to remove it and still use the hacks commands ok? {C}Thanks for reading infiniteMaxxisTalk?!?  04:16, March 4, 2012 (UTC)

You can do so with a little css, place .Chat .avatar {display:none;} in your global css file.--GodPray  07:01,3/4/2012 
I done it. But it still leaving useless spaces in chat, as annoying as not avatars. infiniteMaxxisTalk?!?  08:59, March 7, 2012 (UTC)
You need to remove the message padding as well. .Chat li {padding:18px 15px 16px;} will fix that.  Monchoman45  Talk  Contribs  Skystone  15:24,3/11/2012 

BlogReplySpeedyDeleteButtonsEdit

Hi. Is any chance to apply this code: {C}
function BlogCommentSpeedyDeleteButtons() {
            var deleteOptions = {
                    'None': '---',
                    'Spam/Nonsense': 'Spam',
                    'Flaming': 'Flejm',
                    'Off-topic': 'Off-topic',
                    'Vulgarism': 'Bluzgi', 
                    'Out-dated': 'Nieaktualny'
            };
            var deleteoptstr = '';
            for(var i in deleteOptions) {deleteoptstr += '<option value="' + i + '" style="text-align:center;">' + deleteOptions[i] + '</option>';}
            var html = '<select class="blog-comment-speedy" style="font-size:10px; width: auto;">' + deleteoptstr + '</select><a class="blog-comment-button" style="cursor: pointer; margin-left:4px;">Usuń komentarz</a>';
            var commentArray = $('#article-comments-ul li .tools');
            for(var i = 0; i < commentArray.length; i++) {
                    $(commentArray[i]).append(html);
                    $(commentArray[i]).children('.blog-speedy-button')[0].onclick = function(event) {
                            var select = this.previousSibling;
                            if(select.options[select.selectedIndex].innerHTML != "None") {
                                    api.send(new api.Query(api, 'POST', {'action': 'delete', 'title': wgPageName, 'reason': select.options[select.selectedIndex].value}, function(result) {
                                            window.location = wgServer + '/index.php?title=' + wgPageName + '&action=purge';
                                    }));
                            }
                            else{alert('Wybierz powód usunięcia z listy.');}
                    }
            }
    }
    addOnloadHook(BlogCommentSpeedyDeleteButtons);
{C}to replies to comments, not just for comments?

MarkosBoss (dyskusjawkład) 10:23, March 4, 2012 (UTC)

Find $('#article-comments-ul li .tools'), and remove li. It should then loop through every comment, both parent and reply.  Monchoman45  Talk  Contribs  Skystone  15:33,3/11/2012 

How do you get user avatar with JS if not in Oasis?Edit

Hiya Moncho! So I've been working on a little chunk of JS here (which you can see live on my wiki's RC) which essentially adds a login menu to WikiaMobile so you can tell whether or not you're logged in on your phone (since, at least on mine, cookies can get messy). I figured, while I'm at it, why not add your avatar to the left of the button? So, I'm trying to figure out how to get one's avatar url with JS. Do you have any idea? Thanks in advance! —Airhogs777 WCB WS 06:06, March 5, 2012 (UTC)

I believe the only way to do that is with ajax, which isn't very efficient if you're using a phone, since it'll eat up all the data in your plan.  Monchoman45  Talk  Contribs  Skystone  15:19,3/11/2012 
Humpf, too bad. Well, thanks for responding. —Airhogs777 WCB WS 19:54, March 11, 2012 (UTC)

Chat HacksEdit

For some reason I cannot get my chat hacks to work. I was referred to you for help.

I have added the code to User:Jack Pistol/global.js, purged my cache ( several times ) and entered chat from the sidebar. I then tried closing my browser and trying again, but it did not work. Can you help me please?

{{SUBST:User:Jack Pistol/AdminSig}}

Try removing the multiple PMs section - the hacks have a function for opening multiuser PMs, so you don't need it, and it may be causing an error that prevents the hacks from importing.  Monchoman45  Talk  Contribs  Skystone  15:21,3/11/2012 

Sending messages Edit

Hey I was planning to make a script that would make it easier to send certain messages in the chat, like your chathacks (using aliases) but I don't know how I can send a message without needing to let the user press enter. I've tested a couple of things, but nothing I tried worked. Could you please write a short script that would make it possible to do something like sendMessage(msg)? It would be great if you could do that. Thanks in advance, Joeytje50talk

15:04, March 11, 2012 (UTC)
A function for this already exists in Wikia's code.  Monchoman45  Talk  Contribs  Skystone  15:18,3/11/2012 
I've searched for how to do that, but I couldn't find a way to use it. Could you give me the code for sending a message "foo" to the chat please? Joeytje50talk
19:19, March 13, 2012 (UTC)
In case anyone else wants to know this too, I've asked Monchoman on IRC and he gave me the code mainRoom.sendMessage({which:13,shiftKey:false,preventDefault: function() {}}) to send the contents of the messagebox contents. Thanks again. Joeytje50talk
21:49, March 15, 2012 (UTC)

Bots and Message Walls Edit

Another user mentioned you were working on bot software that can post article comments. Those are organized a little bit like the new Message Wall structure. Have you tried this bot on a Message Wall? I'm curious because once the Message Wall goes live everywhere, our current way of delivering a newsletter won't work any more, which is to have a bot append a new section to the user's talk page with the link to the new issue. —RRabbit42 (leave a message) 07:00, March 12, 2012 (UTC)

As it is now Message Wall will not be released globally. This may change, but Wikia has stated it is not their intention to make it mandatory. Rappy 08:03, March 12, 2012 (UTC)

Javascript helpEdit

Rappy told me that you are a master of javascript, so can you help me with Forum:I need some javascript/css help! or Forum:Some MediaWiki help please? Sam Wang 04:49, March 15, 2012 (UTC)

I've replied to this already, so you don't have to do that anymore. Joeytje50talk
21:21, March 15, 2012 (UTC)
Can you check out Thread:365240 please? Sam Wang 09:21, March 17, 2012 (UTC)

Chat TopicEdit

Fikz it.--GodPray  23:17,3/17/2012 

Chat hacks stopped workingEdit

Ello, my chat hacks have suddenly stopped working, and I can't seem to find out why. I even tried getting the hacks again the same way I did before, but it isn't working. Help, please? RubyRose17| Like, if Picasso made a person, You'd be his masterpiece. 00:08, March 19, 2012 (UTC)

Looks like something what Monch (or Wikia) has done is now preventing hacks being loaded properly (: – Tm_T@Community Central:~$ 09:38, March 19, 2012 (UTC)
They're still working for me, barring some odd socket error. Although, now that I think about it, those could be related.  Monchoman45  Talk  Contribs  Skystone  13:17,3/19/2012 
I've had like 10 users at least since last night ask me why the chat hacks aren't working, but mine never stopped working for me or my bot I have running in chat.User:BachLynn2315:25, March 19, 2012 (UTC)User:BachLynn23
I'll check through SVN too, in case an update was pushed that hasn't made it to some people for whatever reason. Other than that, for people that are having trouble, it would be helpful to know what browser they're using.  Monchoman45  Talk  Contribs  Skystone  16:58,3/19/2012 


I've asked around, and most use Chrome, but a few of them tried to see if they'd work on Firefox or IE and they didn't work for them there either. Again, mine still work fine, but there's at least 10 users if not more, on one of my wiki's whose aren't working. One user said they haven't worked for him for 3 days.User:BachLynn2319:36, March 19, 2012 (UTC)
Actually I take that back, since I rebooted my computer an hour ago, my chat hacks no longer work either, in any browser. And all of a sudden when I hit the enter chat button, instead of opening in a new tab, it opens in a pop up.User:BachLynn23 19:59, March 19, 2012 (UTC)
Yeah, same with me, and I use Chrome as well. RubyRose17| Like, if Picasso made a person, You'd be his masterpiece. 22:12, March 19, 2012 (UTC)
Monchoman45: I tested with current Firefox stable (and beta track too I think) and current Chromium, neither of them worked. Now since your last change to chathacks.js it works again. (: – Tm_T@Community Central:~$ 06:28, March 20, 2012 (UTC)
Just another Chrome user here letting you know that chat hacks are working again with your latest change. Thanks! — Mathmagician 07:00, March 20, 2012 (UTC)
Godisme will be thoroughly unhappy to find out that the original point of that change was his idea.  Monchoman45  Talk  Contribs  Skystone  12:17,3/20/2012 
Actually mine still won't work, the chat is no longer poppng up anymore, but the afk button and ping phrases aren't there either. RubyRose17| Like, if Picasso made a person, You'd be his masterpiece. 12:23, March 20, 2012 (UTC)
You'll have to clear your cache to see the change. You can do that by following the instructions at the top of MediaWiki:Wikia.css.  Monchoman45  Talk  Contribs  Skystone  12:25,3/20/2012 
Thanks! :) RubyRose17| Like, if Picasso made a person, You'd be his masterpiece. 22:15, March 20, 2012 (UTC)

Signature problemsEdit

Hi Monchoman! I based my signature on yours, so I hope you don't mind giving me some advice on how to fix it. It just doesn't work. Or rather: I can't find a way to make it work here at Community Central and at other wikis. It seems to be the one or the other...

This is what I got in Special:Preferences:

{{SUBST:User:Pecoes/sig2|{{SUBST:#time: H:i,  F d, Y (\UTC)}}}}

This is what I got in User:Pecoes/sig2:

{{User:Pecoes/sig|{{{1|}}}}}

This is User:Pecoes/sig:

&nbsp;[[User_talk:Pecoes|<span style="font: 400 0.95em 'Lucida Bright','Lucida Sans Unicode','Lucida Sans','Lucida Grande',sans-serif;"><span style="color:#971771">p</span><span style="color:#971771;font-size:1em">e</span><span style="color:#bf4e46">c</span><span style="color:#d06333">o</span><span style="color:#e6811b;vertical-align:-0.25em;border-top:1px solid #e6811b">e</span><span style="color:#ffa200">s</span></span>]]&nbsp;<span style="font: 200 0.85em 'Lucida Bright','Lucida Sans Unicode','Lucida Sans','Lucida Grande',sans-serif;">&nbsp;{{{1|}}}&nbsp;</span>

And this is the result here at CC:

 pecoes  09:00, March 19, 2012 (UTC) 

But this is the result at other wikis:

{{SUBST:User:Pecoes/sig2|08:51, March 19, 2012 (UTC)}}

Apparently "User:Pecoes/sig" cannot be resolved. Now I tried to prefix the templates: "w:User:Pecoes/sig" and "w:User:Pecoes/sig2" but that causes the timestamp to disappear. Apparently it is possible to use templates from CC on other wikis, but not possible to pass them parameters...

What should I do?

Hey Pecoes, we've been asked by staff not to transclude signatures interwiki, as it creates too much strain on the server - you'll need to create the template page on each wiki. In addition, interwiki templates don't support any arguments, so - as you've noticed, the timestamps won't work -- RandomTime 11:10, March 19, 2012 (UTC)
I had a feeling there's a reason why this seems impossible :) Very well, if it's too resource intensive, I won't do it. But then I need a fallback option, don't I? Just so that the signature won't break if I reply on a wiki where it isn't "registered". Would this be okay?
{{#ifexist: User:Pecoes/sig2 | {{subst:User:Pecoes/sig2|{{subst:#time: H:i,  F d, Y (\UTC)}}}} | [[w:User_talk:Pecoes|pecoes]] {{subst:#time: H:i,  F d, Y (\UTC)}}}}

 pecoes  11:29, March 19, 2012 (UTC) 

Yeah, the #ifexist solution works well, I did the same thing when I had a template sig -- RandomTime 11:42, March 19, 2012 (UTC)
Alright then. I was a little worried that #ifexist might be a resource hog as well... Thank you! :)  pecoes  11:50, March 19, 2012 (UTC) 
It is slightly expensive, you should subst: it so that it doesn't need to be called more than the first time the page is cached -- RandomTime 11:57, March 19, 2012 (UTC)

Alright. So this is my signature then:

{{subst:#ifexist:User:Pecoes/sig2|{{subst:User:Pecoes/sig2|{{subst:#time:H:i, F d, Y (\UTC)}}}}|[[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.25em">e</span>s]] {{subst:#time:H:i, F d, Y (\UTC)}}}}

My "main" signature is still templated, though - I'm just mentioning that in case you were trying to talk me out of it :P  pecoes  13:04, March 19, 2012 (UTC) 

I believe signatures are transcluded as output only, not as direct wikitext - I have an ifexist: in my sig that isn't subst:ed, and it appears as output.  Monchoman45  Talk  Contribs  Skystone  13:11,3/19/2012 

JS ErrorEdit

Hey, I'm getting the error "community.wikia.com/index.php?title=User:Monchoman45/ChatHacks.js&action=raw&ctype=text/javascript:647 Uncaught TypeError: Cannot read property 'chatwindow' of null" in my Chrome console. Could you please fix it? (line 647 is the line with window.chatwindow.$('body').prepend(', the part where you make the import functions. I only seem to get this error when I open the link with my scrollwheel by the way. Joeytje50talk

13:55, March 24, 2012 (UTC)
Nevermind, I found out what broke it and fixed it. Joeytje50talk
14:34, March 24, 2012 (UTC)

i'm in a rush right now but i have time to talkEdit

I only have time is say this You baned me for a wrong reson I was just announing a contest. you mean —This unsigned comment is by Invader Pucca (wallcontribs) . Please sign your posts with ~~~~!

I banned you because your connection was bad, and was causing you to join and leave the chat rapidly. It isn't your fault, and you have already been unbanned.  Monchoman45  Talk  Contribs  Skystone  16:39,3/25/2012 
http://mlp.wikia.com/wiki/User_blog:Invader_Pucca/Cartoon_i_pad_Fighters_Voice_this_Character_Contest if you want to read it . Invader Pucca

JS HelpEdit

I'm having a wierd issue with that JS I needed help with earlier. With the help of a vebatim, I can get this page of code to load on the mobile skin. However, the if function only seems to work if I put it through the console. By putting it on the code page, the rest of the js doesn't work. Any ideas?    ǝsʞpɐןǝ  (message wall)  16:16, 31/03/2012

The only thing I can think of is that the MIME type of your script tag is application/javascript - it should be text/javascript, but I'm not sure if that's actually critically important or not. Try changing it and see if that fixes it.  Monchoman45  Talk  Contribs  Skystone  00:58,4/1/2012 

(Reset indent) Did you check the error console? I'm asking because I just had a problem with JavaScript code in a MediaWiki file as well.

This caused the error message "$ is not defined...":

<script type="text/javascript">
$('<p>works</p>').appendTo('#WikiaArticle');
</script>

But this worked well:

<script type="text/javascript">
function waitForJQuery ()
{
    if ("undefined" == typeof $) {
        window.setTimeout(function () {
            waitForJQuery();
        }, 200);
        return;
    }
    $('<p>works</p>').appendTo('#WikiaArticle');
}
waitForJQuery();
</script>
{C} pecoes  04:28, April 01, 2012 (UTC) 
I switched it to application on the advice of another user, but it doesn't work with text either.
I was getting a 'unexpected token ;' error, but could find anything wrong. I'll try that delay thing later, as it was something I suspected may have been happening. I don't even know what does/doesn't load in the mobile skin.    ǝsʞpɐןǝ  (message wall)  06:57, 1/04/2012
Another little thing: This if-construct doesn't work as intended:
if (wgUserGroups.join(' ').indexOf(wgRestrictionMove) != -1) {
    /* ... */
}
wgRestrictionMove is an Array. There's no way searching for an Array in a String could possibly return anything other than -1.
This isn't the most clever solution, but it should work:
function testIntersection (a1, a2) {
    for (var i = 0; i < a2.length; i++) {
        if (-1 != $.inArray(a2[i], a1)) return true;
    }
    return false;
}
 
if (testIntersection(wgUserGroups, wgRestrictionMove)) {
    /* ... */
}
Try running wgUserGroups.join(' ').indexOf(wgRestrictionMove) in your console. Despite it being an array, it works fine. I think it may have something to do with wgRestrictionMove only ever being one of three values - nothing, 'autoconfirmed' or 'sysop'. However, I will try your code just in case.    ǝsʞpɐןǝ  (message wall)  08:33, 1/04/2012
Now you got me thinking... This looks like a logical error. Only bureaucrats and admins should be able to protect pages, right? wgRestrictionMove is irrelevant. The test should be something like:
if (-1 != $.inArray('bureaucrat', wgUserGroups) || -1 != $.inArray('sysop', wgUserGroups)) {
     /* ... */
}
Shouldn't it? O_o  pecoes  10:07, April 01, 2012 (UTC) 
As I stated in chat, the Wikiamobile skin does not import the jQuery library, therefore a manual import is needed with importScriptURI(); from https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js. to get the jQuery parts to work. Also, application/javascript is the preferred JS MIME type as per IETFTK999 11:12, April 1, 2012 (UTC)

Will try the jQuery stuff. I remember you saying that, but you left before I could run it past you. {C}Pecoes, seems I meant that code for rename, not protect. Oops! Thanks for the code.    ǝsʞpɐןǝ  (message wall)  12:27, 1/04/2012

Sorry, didn't know you had left. TK999 12:44, April 1, 2012 (UTC)
application/javascript appears to be very similar, if not exactly the same, as text/javascript. What makes it better?  Monchoman45  Talk  Contribs  Skystone  14:54,4/1/2012 
As I remember, IETF changed their recommendations and text/javascript is now obsolete. TK999 15:31, April 1, 2012 (UTC)
Well, importScriptURI(); is undefined. Now what should I do?    ǝsʞpɐןǝ  (message wall)  15:39, 1/04/2012
Then just add <script type="application/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> to the verbatim page. TK999 15:49, April 1, 2012 (UTC)
There seems to be exactly one line in the the entire script that requires jQuery. Are you sure loading jQuery is justified? --  pecoes  16:01, April 01, 2012 (UTC) 
Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method 'getUrlVar'
The actual js of the mobile skin has crashed.    ǝsʞpɐןǝ  (message wall)  16:03, 1/04/2012
Sorry, but that's not a jQuery method. That's one of Wikia's jQuery extensions. It's defined in oasis_shared_js --  pecoes  16:36, April 01, 2012 (UTC) 
Or in this case, wikiamobile_js_body. Which line of my code needs jQuery and can it be rewritten? I have changed a lot of code since this conversation started.    ǝsʞpɐןǝ  (message wall)  16:45, 1/04/2012
(Reset indent) As far as I can tell only line 5: {C}
$('#wkImgMrk').wrap('<a href="' + wgServer + '/wiki/' + encodeURIComponent(mainpage) + '" />');
{C}and line 42: {C}
$('#lvl1').prepend('<li class="cld pagetools"><span>Page tools</span><ul class="lvl2">' + viewlink + editlink + renamelink + historylink + deletelink + protectlink + '</ul></li>');

Here's how I would insert HTML without jQuery. --  pecoes  17:14, April 01, 2012 (UTC) 

(Damn! Sine always fails me on this page. This is not a real talkpage, is it?)

Okay, after learning how to use DOM and rewriting most of my code (rather long-winded mind), I still can;t get the code to work on load. I can get it to work still on console, but something just doesn't want to run properly. No console errors I can see... Help?    ǝsʞpɐןǝ  (message wall)  18:50, 1/04/2012
Whoa. That is a lot messier than I imagined. Two lines of code indeed :(
My guess would be that you have to delay that code until the DOM has loaded. Here's a nice example. (Ignore what it says about DOMContentLoaded and onreadystatechange. That stuff is overkill for your purposes.) --  pecoes  19:31, April 01, 2012 (UTC) 

Your Signature Colour ChangeEdit

I feel silly posting this here when I can see everyone else seems to come to you with very detailed and extensive knowledge of JS and the like. Basically I loved your signature and noticed that you happily letting people use it, even giving instructions on how. What I did want to ask is how would I go about changing all the yellow to a different colour in my own version? I've found certain places in the code which translate to the colour of the border etc but no matter what I change them to they either just disapear or don't change at all. If it's no trouble maybe you could point out the specific places in the code that translate to the border and user name colour? Assuming it's all possible of course. I have a very basic understanding of JS and tend to trial and error my way through things, randomly changing parts of code until I find the right part. It's not very practical or usefull, but it works sometimes lol. Thanks in advance, for you possible help and allowing the use of your signature. Also I'm guessing from reading above that creating a signature like yours in the way you outline will no longer work across all Wikis unless you create those pages on those wikis. Well I've got your signature working perfectly here but on my own wiki the date and time appear messed up. Inside the date and time box this appears instead {{SUBST::#time: H:i,n/j/Y}} any suggestions on fixing it? -- Lyco499 (talk) 04:22, April 1, 2012 (UTC)

Inside the date and time box this appears instead {{SUBST::#time: H:i,n/j/Y}} any suggestions on fixing it?
I asked a similar question a few posts above. Take a look at RandomTime's reply, please! --  pecoes  05:00, April 01, 2012 (UTC) 
#eb0 is the hex color code for the yellow part of my signature. If you replace that with your own color (which can be as simple as the word blue), you'll change the border and username color.  Monchoman45  Talk  Contribs  Skystone  05:19,4/1/2012 
Thanks both, sorry for not paying enough attention and noticing that half my question had already been answered! -- Lyco499 (talk) 05:25, April 1, 2012 (UTC)

Ping phrasesEdit

Okay so I am using Safari Version 5.1 and the ping phrases won't open up when I hover over it. My talk

Chat hacks additionEdit

Hey, do you think you could add the / command, /sc or /contact, to your chat hacks? It could be for Special:Contact, like /sc, and it would display, "Please go to Special:Contact". Phillycj asked me for you to also add a / command for MediaWiki:Emoticons. --Plasma (Talk) 18:32, April 11, 2012 (UTC)

See #Chat hacks suggestion.  Monchoman45  Talk  Contribs  Skystone  21:28,4/11/2012 

API ScriptEdit

Hey Monch, not sure how to use API Query. I have imported the AJAX and WHAM scripts, and I'm not sure if I have to directly import the APIQuery script. And if I do, how do I access the token things? Thanks! {C}Head of Ravenclaw (Talk | Contribs) 22:17, April 12, 2012 (UTC)

APIQuery as a library is imported automatically by the things I've written that use it. You don't need to worry about tokens with it - they're all fetched automatically.  Monchoman45  Talk  Contribs  Skystone  19:15,4/13/2012 

HacksEdit

{C}hacks never work for me i use chrome all that happendsis it opens in a side windo with out it it popens in a new window

my global.jsEdit

User:A.r.s.h./global.js

endEdit

 —A.r.s.h. I fell in a hole so leave me a messageWhat have i done!!!! WAW

Hack RequestEdit

Hey Moncho,

We've had some general user experience complaints about the ChatHacks.js file you've been maintaining, specifically about the "Away status functions". I'm not sure if you recently added them or something changed in code, but they are behaving - forgive me for using this strong of a term - obnoxiously the last few days. The basic gist: "The user spams their status into the chat room, causing the window to flash"

Chat disruption is especially important to avoid here at Community Central, but I really don't want to ban people based on ChatHacks. At the same time, I certainly don't want to impede your development for tools that may be perfectly okay on more unique wikis. All that said, is there something you'd be willing to tweak on ChatHacks to compromise between those who want a nifty little away hack and the users who are in Chat? Something we can help you with? --daNASCAT @fandom 00:37, May 9, 2012 (UTC)


I've unfortunately been unable to recreate this bug myself, however I have noticed that a few pieces of chat hacks are not loading altogether (seems to be jQuery's fault). Normally, when your status changes, an inline alert is created (client side) that tells you what it changed to. This is the only modification to the away function, so any spam should be limited to the view of that one person - no one else will see it, no bans necessary. It is possible that this is caused by a conflict with a new function, in which case the script just needs an update.  Monchoman45  Talk  Contribs  Skystone  01:38,5/10/2012 

A problemEdit

your chat hacks are really awesome!!!

But Theres a problem in my hacking. Whenever I restart my web browser or laptop, the hacks are removed, I ve to again delete the Cache. PLS help {C}do we need to make this page(global.js) on any other wikia also? {C}Cooltext680214117 12:43, May 14, 2012 (UTC)

Your global.js file on central applies to every wiki, if you create one anywhere else it won't do anything. If you refresh chat, the hacks go away - chat isn't supposed to have any JS files on it, so they have to be applied directly. When you click the "join chat" button, the script will automatically apply everything to the new chat window. So every time you restart your browser or laptop, you have to click the button again.  Monchoman45  Talk  Contribs  Skystone  18:39,5/14/2012 

Pings and linksEdit

Hi, I'm a big lover of your chathacks, but I was wondering if it was possible to alter the ping function slightly.

If someone pings you with a link, it kills the link. With extranal links it's not such an issue and I have other methods of searching internal links without posting them in chat, but it's still an annoyance for me let alone others who have no real experience with Special:Chat customisation.

Also, is it possible to force and ping phrase to be an exact match? For instance if I set "Cam" to be a ping phrase, it also activates under "scam", "camera", "camelot", etc. Essentially anything with that phrase within it.

Are either of these issues fixable? User:Cåm/Signature 23:44, May 14, 2012 (UTC)

These can be fixed, but will take more time than I have available right now. I've been planning to rewrite the entire script from the ground up for a while, so hopefully I can kill a bunch of birds with one stone soon.  Monchoman45  Talk  Contribs  Skystone  19:33,5/15/2012 


Phone Chat Edit

hey Monchoman, I was just wondering if you can join chat using your phone? ILoveGreen 16:09, May 17, 2012 (UTC)

I remember hearing something about Wikia working on chat for phones, but I don't remember if they finished or not. You might be able to just go to Special:Chat on your phone, but I've never tried it.  Monchoman45  Talk  Contribs  Skystone  18:48,5/17/2012 

TutorialEdit

Heey, do you think you could write a short blog or just a message about how to use B3, specially the chat bot system. I have it all installed but I cant figure out what the Tasks or anything else does.
{C}Thanks, {C}USMC-E9-MGyS.svg MSgt R. HuntleyS&W M&PUSMC-E9-MGyS.svg 05:16, May 18, 2012 (UTC)

Most of that is due for an update soon. Chatbot is one of the things I've been working on recently, and I hope to have something useful for the community available in the next month or so.  Monchoman45  Talk  Contribs  Skystone  06:04,5/18/2012 

ScriptEdit

Hi Monch. Can you write me a script, based on the background change script that we spoke about in chat, that allows users to change from monobook and oasis on every page? Thanks. --Plasma (Talk) 14:45, May 24, 2012 (UTC)

This is closer to that, however Brickipedia's switchtabs were only designed for Oasis. There's no room for them in Monobook - so you'll have to think of somewhere to put a button for changing from monobook to Oasis.  Monchoman45  Talk  Contribs  Skystone  15:23,5/24/2012 
I decided to do something else, thanks! :) --Plasma (Talk) 19:26, May 24, 2012 (UTC)
You always do that! <grr> Get someone working on something and then change your mind. Anyway, here is a script whose tabs fit in both Oasis and Monobook:
w:c:admintools:User:SpikeToronto/common.js/skinSwitch.js
I stole it. The attribution at the top of the file may not even be correct. Heck, it might’ve even been written by Monch! :p Have fun with it PT! :) — SpikeToronto 02:45, May 27, 2012 (UTC)

Kick chat mods Edit

Hi, is there a way in chathacks to kick other chat mods? I've seen it done before, do you know how they do it?

-- CzechMate

WrongEdit

I've added this code to MediaWiki:Chat.css on my wiki to change the star of a MOD

/* New chatmod star (also make chatmod stars actually work) */
 
.User.chat-mod .username:after {
    content: url("Gun.gif");
}
 
.User.chat-mod .username:after { 
    background-image:none; 
}

but the star is same, even I've bypass my browser's cache

can you help me?

 Honey singh Talk 08:37, May 29, 2012 (UTC)

You need the full URL. The http:// is required. Sometimes, even when clearing browser's cache, you will have to wait for Wikia to cache the changes. This can, at times, take up to 24 hours. Rappy 09:51, May 29, 2012 (UTC)
oh!! i see. But http:// is already there here, i forgot to add Honey singh Talk 11:17, May 29, 2012 (UTC)

still its not working!!  Honey singh Talk 05:09, May 30, 2012 (UTC)

Have you cleared your cache?  Monchoman45  Talk  Contribs  Skystone  04:37,6/3/2012 
yup, i did many times  Honey singh Talk 12:57, June 3, 2012 (UTC)

Chat IssuesEdit

How do I deactivate chat hacks? Mr. Grille (talk page) 20:59, May 29, 2012 (UTC)

Just remove the script from your global.js.  Monchoman45  Talk  Contribs  Skystone  21:05,5/29/2012 

Problem with chat hacksEdit

Hi. I was on chat, and chat went all "You have been disconnected, please check your browser and refresh the page." and I did, and it won't stop saying

  • Chat hacks initialized.
  • To report errors or bugs, or to suggest features or translations, leave a message at w:c:User talk:Monchoman45.

Is this a problem with the chat hacks, or my browser? I am using Firefox. Normal's boring. GO BAT!!!!!!!!!!!! We can't ALL come and go by A BUBBLE! 22:22, May 29, 2012 (UTC)

Wikia's chat just crashed. No one can access any rooms right now.  Monchoman45  Talk  Contribs  Skystone  22:24,5/29/2012 
It is now working :)
--Normal's boring. GO BAT!!!!!!!!!!!! We can't ALL come and go by A BUBBLE! 22:32, May 29, 2012 (UTC)

Trying new codes, they no work.Edit

Hi Monchoman; I'm trying to do new differenciations for Mods, Admins and Bureaucrats in the chat.

I try this code for it (my section is only from Saile aipas, to Fixin avatar bugs):

Buros admins mods icons

text in Css for chat icons.

after I put that code, it not work; so mi cuestions are:
  • Diferenciation between Buros, Admins, Mods and Rollbacks is posible with differnet icons for each group?
  • In positive case:¿wath I'm doing wrong in the code?.

{C}Thanks, and I hope you can solve it; 'cause I couldn't.

Saile aipas 23:44, May 29, 2012 (UTC)\

For one thing, you have JS code in your CSS file - you can't use if or $() in CSS. Both of those will make your whole CSS file not work, so you have to remove them to know whether or not the rest of it works ok.  Monchoman45  Talk  Contribs  Skystone  23:51,5/29/2012 

Chat problemEdit

in every wikia , I join chat , but I can't get "welcome" , and I can't see any user that available or in chat , I already Try again and again , but no result , can you fix it ?, I stress of it --Yuuka juvia 14:01, June 6, 2012 (UTC)

Help!Edit

Sorry for taking your precious time but I am here for your help due to the recent chat problem. Although, it may happen for sometime when the users are trying to get on the chat but they can't find any other users on the chat list who are already present on there. Additionaly, they are having to face some problems with the private chat such as not receiving the private message at the correct time and being not able to send any private message to others either. Even the problem has been occured on my browser page, I tried to reload the page as others tried it but failed to find a fixed chat. It's not a problem of connection since I attempted to browse the chat on severel browsers as I tried the reloading on other websites but it's still the same and unaltered. Therefore, your inspection on this matter is recquired as early as possible and any kind of your cooperation regarding this matter would be apprecieated as well. Thank you. Mysterious Luster 14:41, June 6, 2012 (UTC)

Monchoman45 is not a member of Wikia Staff, therefore he is not likely to be able to fix the problem. Th most you can do is reporting the issue to Staff through Special:Contact/bugTK999 14:44, June 6, 2012 (UTC)

Badlink detection script in chatEdit

I had an idea for a script in chat that would check the comment about to be posted in chat for any known badlinks. Say phishing, porn, etc. I wasn't sure if there was any way to detect this sort of thing, so I figured I'd come the the Special:chat genius himself and ask ;) (I'm told flattery gets you everywhere) User:Cåm/Signature 00:56, June 13, 2012 (UTC)

This would best be done by Wikia, as they could tie the system into the spam filter, which would eliminate the need for maintaining an up to date database of bad links.  Monchoman45  Talk  Contribs  Skystone  01:16,6/13/2012 

Help with chathacks ping phrasesEdit

I installed Chathacks completely as instructed, but the ping phrases don't work. When I roll over it, nothing happens. If I roll over the "(?)" it tells me what Ping Phrases do, but there's no drop-down list to edit. Everything else works fine, though. Diamondmatter: Toon/alien/Minecraftian 11:40, June 13, 2012 (UTC)

How does this relate to anything? Sorry, I just don't get it, when it's an error with chathacks... Diamondmatter: Toon/alien/Minecraftian 11:42, June 13, 2012 (UTC)
I think Moncho meant to respond to the discussion in the previous section. User:Sactage/s.js 13:48, June 13, 2012 (UTC)
...Ah. Well, how do I fix the Ping Phrases? Diamondmatter: Toon/alien/Minecraftian 04:37, June 14, 2012 (UTC)

Chat hacks won't let me chatEdit

Chat Hacks are working fine, but for some reason aren't showing me posts coming through or mine going out. Only the Chat Hacks Initialized and Any bugs, features etc. lines show, or using the AFK/Clear buttons.

I hope you know how to fix it :)

SirComputer (Da Bomb) (talk) 12:55, June 15, 2012 (UTC)

This is likely a Wikia-end problem I can't help with. Sometimes clearing your cache helps; you can do that by following the instructions at the top of MediaWiki:Wikia.css.  Monchoman45  Talk  Contribs  Skystone  19:22,6/15/2012 

Help2Edit

Is there any hack to change the star for a mod of a wiki i dont gonna make a sig 07:05, June 11, 2012 (UTC)

JavaScript help Edit

Hey Monch- might be time to archive ;). Anyways I had a few questions about JavaScript for you. Firstly, I think this is a yes but is B3 object oriented? Secondly, Chatsocket on monchbox uses a lot of the Prototype identifier in the function name. what does this mean and is it better than how B3 is coded. If so how would I utilize it? Thanks, --Kangaroopowah (Talk) 19:55, June 17, 2012 (UTC)

Changing date and username color in commentsEdit

Hello Monchoman. I noticed that when one changes the text color of blog comments, the "DATE_LEFT by USER" at the bottom of the comment doesn't change color (with the exception of "by"). Is there a css code that will change the date and the username to the same color as the text of the comment? — Mr. B-Doing 21:09, June 23, 2012 (UTC)

Suggestion for New FeatureEdit

Hi there. I'm a chat moderator on the Fallout wiki, and recently we've been having trouble with a spammer that likes to spam people personal messages as opposed to the regular chat, adding even more names to my already crowded pm conversation list. Would it be possible to include a clear pm feature that either works in the came way the normal clear chat one does, or perhaps make it remove the entire conversation so the pm list isn't cluttered with names? - VictorFaceMonitor Victor the Insane Cowboy Robot 23:55, June 25, 2012 (UTC)

BubbleEdit

Do you know the message wall you have i have it and so does SpikeToronto and he said that you divised a way to make a bubble appear just like it normally would could you tell me how? — 

Task: Adding Collapsible to commentsEdit

Hello Monchoman :). I was wondering (because I am unable to as I cannot code at all) if you would be able to create a code that would add a Show/Hide option to article comments. This would greatly help me on EraVerse.wikia.com because comment threads can go really long and clutter up other threads. It would be helpful if this could be done, but it's fine if you don't.

HiEdit

Hi there, sorry if I'm writing this in the wrong place >.<, I was looking through your blog and this really caught my interest, if ya know what I mean....Anyways, I was wondering if it would work if I were to place it here. I tried :/ But nothing happened. Thanks for your time. And sorry if I'm writing this in the wrong place. Omega natsu2   04:48, July 6, 2012 (UTC)

Have you cleared your cache?  Monchoman45  Talk  Contribs  Skystone  05:01,7/6/2012 
Yes. Let me try putting it again and clearing my cache again :P. Omega natsu2   05:04, July 6, 2012 (UTC)
Still nothing. :/ Maybe I did something wrong with the placing...Sorry for bothering you at this time (1:09AM for me) >.>. Omega natsu2   05:09, July 6, 2012 (UTC)
The comments code at the bottom is CSS, not JS, and cannot be placed in a JS file (it causes errors that ends up not loading the file). Move that to Special:MyPage/global.css instead. Rappy 07:36, July 6, 2012 (UTC)
Thank You, it worked perfectly :D. Omega natsu2   13:10, July 6, 2012 (UTC)

Script for Notification BubblesEdit

So, can you tell me the script to use to get the notification bubbles for pages like this?; On my main wiki I use a talk even though it is a message wall enabled wiki Talk?Inspired By KFB(Suzon) (talk)

Also, how do you hide the message wall itself; like on yours? Talk?Inspired By KFB(Suzon) (talk)
See http://pastebin.com/rtWYVShm.  Monchoman45  Talk  Contribs  Skystone  19:36,7/15/2012 

displayTimer() position in OasisEdit

Using exact code from User_blog:Monchoman45/Improving_your_interface_with_CSS/JS#Add_a_clock_to_the_header, the timer in Oasis is covered by the contribute and share buttons: [LoL Wiki example]. Perhaps the positioning could be revisited? Many thanks ----BryghtShadow 06:41, July 13, 2012 (UTC)

Edit: It's adding a li to a div, which isn't semantically correct. The DOM in Oasis might needs revisiting as well. --BryghtShadow 07:30, July 13, 2012 (UTC)
That code is particularly old - I'm not surprised it isn't working. It looks like it should be in div.buttons, but needs to be above the contribute and share buttons. That will likely require relative positioning, because increasing the height of div.buttons will probably break the header.  Monchoman45  Talk  Contribs  Skystone  19:30,7/15/2012 

Chat hacks with Safari Edit

Hi, do you know why the ping sound does not work when I am on Safari?

It works on Firefox.

--Bat Forever (Message Wall) (Email) 14:15, July 14, 2012 (UTC)

Safari is generally very compliant with both official and unofficial standards, but is generally useless beyond that - so it's possible it doesn't work because you need a particular audio plugin to provide extra functionality that Firefox does not need. I would suggest simply using Firefox for chat (and everything else), because it's a better browser.  Monchoman45  Talk  Contribs  Skystone  19:26,7/15/2012 
Why not chrome :P. Also, Monch, are you wrapping the sound in an audio tag? I'm pretty sure Safari supports those, but it's a preference that's turned off by default. --Kangaroopowah (Talk) 19:30, July 15, 2012 (UTC)

Im sorry Edit

Hi im sorry please un-ban me from chat ill try not to do it again. Its just because im also talking to my friend and those lyrics I posted were ment to go on a different chat. Also my other chats messegas I post keep coming on here (The I thing comes on) So please un-ban me ill try not to do it again. Post your reply on my talk page!!! DDR-STAR7 18:28, July 15, 2012 (UTC)DDR-STAR7

You've been asked multiple times in the past not to flood chat. You must make sure you're talking to your friend before you send your message. Your ban is only one day, so you can return to chat tomorrow.  Monchoman45  Talk  Contribs  Skystone  19:22,7/15/2012 

Thank you and ill try harder not to do it DDR-STAR7 19:26, July 15, 2012 (UTC)DDR-STAR7

Merging the AFK button in Chat.jsEdit

Hi, earlier today I asked if the AFK button in your chathacks on the Chat.js page you asked for my Chat.js and i provided a copy from here. You said it would be simple like the clear button, but I was never able to find the AFK function. Would you happen to know the .js function? Ricky Spanish (talk) 06:52, July 17, 2012 (UTC)

My wiki and the blogs here Edit

Am I allowed to make a blogpost about my wiki?  Yugimuto1    Talk   104 edits   10:24,7/20/2012 

Yes. You can also add Category:Wiki Promotions to it so that others will be able to find it easier.  Monchoman45  Talk  Contribs  Skystone  15:28,7/29/2012 

Removing message wall new message option Edit

This has to do with your KillMessageWall() script–which I know where to find. How do you remove your message wall messages list, as well as the option to add a new message without using any MediaWiki pages, but still make it affect all users. I know this code works for sure (I wrote it and tested it):

var MateyYMessageWall = wgPageName;
var MateyYMessageWallFixed = MateyYMessageWall.replace(/_/g, " ");
$(function() {
     if (MateyYMessageWallFixed === "Message Wall:MateyY") {
          $("#Wall").remove();
     }
});

However, if I add it to my global.js or wikia.js, that will only affect me.

Thanks in advance. — MateyY • (wall) 03:19, July 29, 2012 (UTC)

You can't add that to wiki-wide JS because that would be a ToU violation. You'll have to figure out some other way.  Monchoman45  Talk  Contribs  Skystone  15:25,7/29/2012 
My question is how did you do it? — MateyY • (wall) 00:13, July 30, 2012 (UTC)

Different Ping SoundsEdit

I'd like to request the option to have different ping sounds, and perhaps have more than one set for different users/purposes that would otherwise sound the same as any other. Thanks for reading and the CHax! CoffeeMugRS (talk) 23:33, July 29, 2012 (UTC)

2 thingsEdit

1. my chat hacks isnt working

2. why do u use a talk instead of a wall?  Werewolf333  Talk   Blog  Contribs  22:55, August 6, 2012 (UTC) 

Hey, please put your message at the bottom of a talk page. Monch is aware that chat hacks don't work on wikis in MediaWiki 1.19, please not that he develops chathacks in his own time, so please give him time if they break, thanks -- RandomTime 23:02, August 6, 2012 (UTC)

HelpEdit

Hi, I think I did something wrong, I made a site notice for this small wiki starter I created, and I want it to be collapsible, and I made it that way, but it is not working. Here is the Site notice. Could you please tell me how to fix it or fix it for me? Thanks :) --Evanf (Talk) 14:38, August 7, 2012 (UTC)

QuestionEdit

Did pings stop working on all wikis? I'm an administrator on the Camp Half Blood Roleplaying wiki, and pings have seem to stop for the majority of the users. Is there anyway to get them back up? {{SUBST:User:Arteminx/Sig|01:04,8/8/2012}} 01:04, August 8, 2012 (UTC)

I'm not answering for Monchoman45, however pings seem to work for me. Colgatecity **UPDATE: I just read that monchoman's chat hacks do not work currently. Please ignore my above message. Colgatecity

Chat hacksEdit

Can you change the length of the text box in order the extra buttons to fit? --Gauzz Rifle

Chat hacks fixEdit

I know you're probably absolutely tired after seeing all of these messages involving chat hacks, but I've come to tell you the results of some testing I've been doing. I've noticed that window.chatroom.onload is able to be set by the main window. Something with MediaWiki 1.19 has caused the chat to load slightly slower than it did in previous versions of MediaWiki, so the chat window is not initialized when the onload event triggers. I've bypassed it for now by using setTimeout() for lack of a better way to get around it, but I just wanted to let you know. Thanks for your amazing coding! -- Foodbandlt 21:54, August 11, 2012 (UTC)

MLP Wiki not working with Chat HacksEdit

Hey, I just wanted to ask if you knew why this: 1xeQ8.png happens every time I join the MLP Wiki chat when I have your code in my local .js page there? Thanks in advance. --Frohman Talk 03:39, August 14, 2012 (UTC)

Pages loaded in using Mediawiki:Chat-edit-count are loaded and executed once for ever user in the chat. To prevent this from happening, add a check to see if the result has already been achieved before having the script execute the code. -- Foodbandlt 04:37, August 14, 2012 (UTC)

Banned from chatEdit

Why did you ban me I never abused multiple accounts trevor did. |-| /-\ L 0 F/-\ N 11 01:40, August 18, 2012 (UTC)

You are Trevor. If you continue to vandalize with either account, both will be blocked.  Monchoman45  Talk  Contribs  Skystone  01:43,8/18/2012 

VSTFEdit

Well, you make me a VSTF, then. Mike Harris (talk) 03:36, August 18, 2012 (UTC)

Chat HacksEdit

Hello, it seems that chat hacks are not working at http://potcoplayers.wikia.com/wiki/Pirates_Online_Players_Wiki. We do not know what is wrong. Chat hacks do not activate when chat is launched. Thanks,

01:27, August 19, 2012 (UTC)



TabsEdit

in chrome, when the wiki is in the first slot (left tab) and i launch chat it does not add a tab, it takes over the second tab. (if there is one) does your script controll that or is it something else? May Teh Ice Towerz Be With You! 13:54, August 20, 2012 (UTC)

If your wiki is in the first tab, it will add a tab, unless you've already opened chat with that tab before - then it will open chat in the same tab it did previously.  Monchoman45  Talk  Contribs  Skystone  15:30,8/20/2012 

Copyright-infringing images on central wikiaEdit

This and this are taken from a pirate-made image that is being sold on ebay as an infringement of Bandai and Toei's copyrights on the Digimon franchise. The Digimon Wiki does not want illegal material like this to be associated with our site. Please delete these illegal images.{{SUBST:KrytenKoroSig}} 14:02, August 27, 2012 (UTC)

www.wikia.com is different than central - only staff can edit it. You'll have to send this to Special:Contact/general.  Monchoman45  Talk  Contribs  Skystone  17:22,8/27/2012 
Thanks!{{SUBST:KrytenKoroSig}} 01:55, August 28, 2012 (UTC)


Hey i can get on my chat and my chat hacks work but when my wiki users are on i cant see them can you help me http://cwacharactership.wikia.com/wiki/Cwa_Fannon_Character_%26_Ship_Wiki --Cod10000 (talk) 14:59, August 29, 2012 (UTC)

Sorry to Bug YouEdit

Oh, I feel horrible bugging you especially because you have so many messages but...Chat hacks aren't working on Warriors Wiki and warriorcatclansrp.wikia.com. I hope you can help. Thanks, User:Rowanflight/Sig 23:27, September 2, 2012 (UTC)

Chat hacks don't work on 1.19 wikis because of chat loading problems. Monch is working on a fix. --Kangaroopowah (Talk) 00:50, September 3, 2012 (UTC)

BotsEdit

Hey, please can you tell me how to create bots? I need to make one on my wiki but I don't know how to make one, please get back to me - The Creator 12:49, September 23, 2012 (UTC)

AWB is the most common bot. For more technically oriented people, there's Pywwikipedia. Writing your own bot is significantly more difficult. If you can use one of those two, you'd be better off.  Monchoman45  Talk  Contribs  Skystone  15:21,9/23/2012 

Halo Nation chat add on errors:Edit

Halo Nationhas been having errors with the chat add on's, like so off to the side, I was wondering if there was anyway to fix this error.

User:GLaDOS114
HN chat

Halo Nation chat error

You're using more than one script, and it appears they don't cooperate very well - there's not much I can do about that.  Monchoman45  Talk  Contribs  Skystone  01:36,9/25/2012 

Chathacks double chatEdit

Hi, noticed that on the New Wikia Skin (or Oasis or whatever it should be called nowadays) and with the new menu (like here on central) if I click chat link "on the wiki" menu, I get the normal chat window AND hacks-enabled chat window. Let me know if you need more verbose debug information and I'll try provide. (: – Tm_T@Community Central:~$ 09:34, September 26, 2012 (UTC)

It's likely Wikia has an onclick listener on it that opens it in a new tab. I would attempt to change that, but there are half a dozen listeners of every type on that element, for whatever reason.  Monchoman45  Talk  Contribs  Skystone  16:54,9/26/2012 

QuestionEdit

Hey Moncho! It's one of your many chat hacks uses here wondering how to het the extention that allows for a multi user pm.How do you get it/what is the code? User:Snowfern/Sig 22:44, October 25, 2012 (UTC)

Like in the picture that GLaDOS114 posted above^^. User:Snowfern/Sig 22:46, October 25, 2012 (UTC)
importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); is the most common script.  Monchoman45  Talk  Contribs  Skystone  01:30,10/26/2012 

Wikia.cssEdit

Something is insanely hinky with the wikia.css page on one of the wiki's I'm on, I have no idea what's going on but it seems every day that passes something stops working properly on it and I have no idea what to do about it or what's wrong. http://camphalfbloodroleplay.wikia.com/wiki/MediaWiki%3AWikia.css if you have any time at all could you look it over for me?

BachBuch-0117CutepinkclockTardis pixel my first dd by aqua spirit22-d69l8fwBig Bouncy Aristocrat by LeoLeonardo

There's JS at the bottom of your file:
window.UserTagsJS = {
	modules: {},
	tags: {
		bureaucrat: { link:'Category:Bureaucrats', order:1e101 }
	}
};
This (particularly the =) is likely to cause a fatal error, rendering the entire file useless.  Monchoman45  Talk  Contribs  Skystone  05:30,10/27/2012 
/ I took out the bit you said, and it still won't work
BachBuch-0117CutepinkclockTardis pixel my first dd by aqua spirit22-d69l8fwBig Bouncy Aristocrat by LeoLeonardo
Ok I got desperate and took everything out that I've added in the last few months, back down to a few basics, and it's still not working, *hits head repeatedly against wall and cries* >.<
BachBuch-0117CutepinkclockTardis pixel my first dd by aqua spirit22-d69l8fwBig Bouncy Aristocrat by LeoLeonardo
You need a closing curly brace at the end of the file. You should also try moving the import up to the top.  Monchoman45  Talk  Contribs  Skystone  15:50,10/30/2012 

Edit

Hello!Can you help me? How to change my wikiname (top-left of the wiki) to a wikilogo or a picture?Please help Me :( Rodel.belmonte

You can do that with the ThemeDesigner. You can find a link to that on the admin dashboard.  Monchoman45  Talk  Contribs  Skystone  19:02,10/28/2012 



Suggestion for chat hacksEdit

Hello! I have a suggestion for the Chat hacks i been thinking about an ignore button like you ignore someone and you cant see any text from that person or receive pm until you until you stop ignoring them. If you make it happen thx if you dont i understand. --Cod10000 (talk) 15:33, October 30, 2012 (UTC)

This is on the list of things to do, however I'm waiting on a possible change to the way chat works first.  Monchoman45  Talk  Contribs  Skystone  15:50,10/30/2012 
-----------------------------------------------------------------------------------------------------------------------------------------------------------
From Kenpachi312,
These chat hacks are slowing my messages down in chat and I want to remove them. How do I do that?
Kenpachi312 (talk) 23:02, October 30, 2012 (UTC)Kenpachi312
Hope Monchoman dont mind you just remove the script from your global.js or whereever you put it, and Monchoman, how do you create your scripts — Authority(contrib's)

HaloweenEdit

Happy haloween! -Lt. Legolas =] 04:49, November 3, 2012 (UTC)

KickbanEdit

It says put in a name when i do /kickban but when i type in /kickban Oscar1444 nothing happens. —This unsigned comment is by Bnm786 (wallcontribs) . Please sign your posts with ~~~~!

Try /ban. Kickban may be a remnant from the old system.  Monchoman45  Talk  Contribs  Skystone  00:17,11/4/2012 

Chat hacks hacked?Edit

Apparently some users on the hunger games wiki are using chat hacks to look at other users PM. Is this even possible?

18:21, November 4, 2012 (UTC)
No. The server will reject an attempt to join a private room you are not a part of.  Monchoman45  Talk  Contribs  Skystone  01:17,11/5/2012 

It won't work that good anymoreEdit

Hey. I got those chat hacks, but I prefer to chat in those little chat without the hack. I managed to get those but now I can't anymore. If I click on the chat I only get the tab with the chat hacks. Can you help me??? Live, Laugh and Love 06:07, November 12, 2012 (UTC)

I don't understand what you mean. Can you explain another way?  Monchoman45  Talk  Contribs  Skystone  06:46,11/12/2012 
Well I'm used to have the chat like this. And I managed to get those because if I pressed "chat" I got a tab with the hack chat and that little chat. I closed the tab and got only the little chat. But now I only get the tab with the hack chat. So now I have to do some complicated stuff with two accounts to get the little chats back. I just want it back to how I had it. The tab and the little chat. Do you know how??
Live, Laugh and Love 19:04, November 14, 2012 (UTC)
It's not possible to back to the little window - although in most browsers, you can drag the tab out of the browser and it will become its own window that you can resize. However, I can guarantee that on a small window, the added buttons and other things will mess up the layout of everything, because there's no room for anything on the small window. If you give the tab some time, you'll probably prefer it eventually - you can see more messages at once, you don't get horizontal scrollbars as often, and messages generally can take up less space.  Monchoman45  Talk  Contribs  Skystone  18:20,11/15/2012 
I see, thanks. Only there were no buttons on the small window. It was just a normal chat. But fine, I think I'll keep the trick I'm doing now all the time to get that window. .-. I'll turn to the tab if I need the hack chat. But fine, thanks anyway. Laterz~!
Live, Laugh and Love 07:03, November 16, 2012 (UTC)

ChatHacks.js message icons invalidEdit

	if(this.model.users.models[i].attributes.isStaff) {
		icon = ' <img class="stafficon" src="/extensions/wikia/Chat/images/icon-staff.png">';
	}
	else if(this.model.users.models[i].attributes.isModerator) {
		icon = ' <img class="modicon" src="/extensions/wikia/Chat/images/icon-chatmod.png">';
	}

On this wiki the above will resolve to http://community.wikia.com/extensions/wikia/Chat/images/icon-staff.png and http://community.wikia.com/extensions/wikia/Chat/images/icon-chatmod.png. —BryghtShadow 18:17, November 15, 2012 (UTC)

I could have sworn I fixed that already, but I guess not. It should be fine now.  Monchoman45  Talk  Contribs  Skystone  18:23,11/15/2012 

Usurpation?Edit

Thanks for your message, perhaps you know the answer to my question at Help talk:Changing your username? --Tim4christ17 talk 01:02, November 16, 2012 (UTC)

Accounts can't be usurped on Wikia, no. It is technically possible, just like on Wikipedia, but to my knowledge no account has ever been usurped, nor will any ever be.  Monchoman45  Talk  Contribs  Skystone  07:53,11/16/2012 

Merlin Wiki Chat OptionsEdit

Hey User:Ḡwẵine Ḹٍٍkƨ Ĺiĸe Ͼềлȑềd here. On Merlin Wiki chat it won't let me disable chat hacks, etc. I was wondering if you could help solve the problem? Thanks. ~~Ḡwẵine Ḹٍٍkƨ Ĺiĸe Ͼềлȑềd~~

You'll want to talk to Callofduty4, Madnessfan34537, or Fang³. They're the people who contributed to that script.  Monchoman45  Talk  Contribs  Skystone  18:27,11/18/2012 

Word Bubble Edit

I would like to know if Community Central has a word bubble coding, I know it's rather useless, but I would like to know. Thanks in advance! Ceadeus Slayer 18:37, November 18, 2012 (UTC)

I don't think central has a word bubble template.  Monchoman45  Talk  Contribs  Skystone  05:06,11/22/2012 

ClaimsEdit

I was just making a claim. Why would you ban me? I mean, they made claims, you didn't ban them. I'm awfully confused. HP Bloodshed (talk) 04:41, November 21, 2012 (UTC)

I banned you for harassing Lynettefan about "making claims" after the rest of the chat room had moved on from the issue, and then out of nowhere insulting Rigby.  Monchoman45  Talk  Contribs  Skystone  05:06,11/22/2012 

PingEdit

When I minimize the chat window a someone talks I don't hear the ping. JoshInTheHouse (talk) 19:37, November 23, 2012 (UTC)

That might be a setting in your browser, or on your computer. It's a common setting for video games to stop playing sound when the window is minimized.  Monchoman45  Talk  Contribs  Skystone  19:39,11/26/2012 

Buttons in the way of textEdit

RouterHax
I'm quite surprised nobody has said this here, but the "PM", "AFK", "Clear", etc buttons are on top of the text box, so it's hard to see what I'm writing. Maybe it's just my browser, and I'd be glad to write a fix if that's what it'd take.    20:17, November 25, 2012 (UTC)
What browser are you using?  Monchoman45  Talk  Contribs  Skystone  19:47,11/26/2012 

Staff and adminsEdit

Look sorry to be mean but the staff can allow what can be posted adims r only responible for information and images rights —This unsigned comment is by Sonicstyle101 (wallcontribs) . Please sign your posts with ~~~~!

I don't know what this is in context of - but staff make the policies, and admins enforce those policies. Images are part of that, chat is as well. Staff allow us to make our own judgments as to whether or not someone is breaking rules.  Monchoman45  Talk  Contribs  Skystone  19:47,11/26/2012 
Community content is available under CC-BY-SA unless otherwise noted.