User talk:Monchoman45/Archive 3

Got questions? Feel free to ask!

do you lazlo
do you like camp lazlo (Dylan Hauck 19:41, April 24, 2011 (UTC)) from dylan hauck

help :
Hi, I've created a template to reduce vandalism on my wiki ,

Look at the code :
 * Everything works, the template , the parametres , etc ; but the problem is the page is not added to the category mentioned ; I want it to work like the delete template : please help ;


 * Should work if you remove the : before the Category:User Ban Requests--
 * Oh ! I never saw that ; thanks a lot :)

background images/100kb
Hey, we spent a bunch of time working on a kick A** background image for Camp Half Blood Roleplay wiki, but are running into problems with the whole 100k thing, is there a way around that? --BachLynn (Send an Owl! ) 02:38, April 25, 2011 (UTC)


 * No, The theme needs to be 100kb. If you want, you can have Logo Creation Wiki help. --


 * It doesn't have to be - you can upload an image directly to File:Wiki-wordmark.png, or fix it in with JS. The 100kb limit is a suggestion by the theme designer - as far as I know, there's no rule that it has to be 100kb.

"Format" layout blanking or disabling 2
I have disabled the layout selection. I want to make blank layout default. SiPlus 05:16, April 25, 2011 (UTC)


 * Wikia can do that for you if you ask via Special:Contact.
 * Found a way. Just made JS cleaning the text box if page's GET contains &useFormat. Could you add my solution (it's in the blog comments, posted on April 15, but updated today) to the combo section of "Impoving interface"? SiPlus 12:00, May 17, 2011 (UTC)

Polls
Can I have these polls beside one another ?

Thanks : --


 * How's that?
 * Man ! You are soooooo cool ! :)

Fb like
Hi i needed help. Is there a way to remove the facebook like button at the top of pages using CSS?  Music is my  Life  06:26,4/26/2011

Not for the whole site. Through personal CSS only, you can use .likes { display: none; } --
 * Thanks Godisme :)

Why did you.
Why did you delete my photo.


 * I don't recall deleting any photo of yours - are you sure it was me?

New Hacks
Got any new hacks? If you do, please give me a link on my talkpage. Mr. Grille (talk page) 11:28, April 27, 2011 (UTC)

AjaxRc
Has the new update screwed with any of your css or js? My ajax rc makes the page disappear and I wanted to see if you had similar problems before special:contacting it.--


 * I've also been getting that, Wikia may have changed the DOM up a bit. I'll have a look at it when I get home, and see if I can find the problem.

Remove "add an image" button galleries
Hi again. How do I remove the "add an image" button in galleries? Klow 18:55, April 27, 2011 (UTC)
 * Unfortunately, I think doing that wiki-wide is a ToU violation - although if you Special:Contact, you might be able to get Wikia to take it off.
 * They told me "There is a parameter you can add to make that button not show, but it has to be added to each gallery." and didn't say it violates the ToU. So, any idea? What's interesting is that I don't have the button anymore, how come? Klow 22:03, April 27, 2011 (UTC)
 * I can't seem to find it anywhere - can you link to a page with one (or that had one)?


 * I've got this one for you MM45 :.. @Klow, use this "hideaddbutton=true" in the source mode of the gallery :)--


 * Mhh... Would it be possible to have "hideaddbutton=true" in the CSS?... Klow 14:52, May 2, 2011 (UTC)


 * That won't change anything, but it'll be easy to get the reference for the button if I can find one - I can't seem to see them.


 * I actually don't see them either, but I see in edit summaries "Editing a gallery", which suggests users still see a popup or something while adding pictures, without the "File" prefix and all. But how come we don't see it, then?... Klow 20:51, May 2, 2011 (UTC)
 * If you manage to find one, leave me another message. I couldn't see them when logged out or when changing a few prefs around, so I don't know why they aren't there.

Category
Hi MM45 :
 * 1) Aren't you feeling something wierd is going on in the chat room : I mean has the JS stopped working ?.. 'cause you know the alignment of the chat is really bad and I'm asking you this because you use the same JS as me, right ?
 * 2) I started using AutoWikiBrowser : to replace a category for specific pages in a category, we gotta enter the page names ; so how do we extract the page names : I dont think we should go the each page on the category and copy-paste the page names in on the AWB ;
 * Thanks !


 * The JS is working fine in chat, as far as I can tell. As for AWB, you can select "category", enter the name of the category you want, and hit "make list".
 * Thanks a lot ; but you know what ? I discovered a very stupid method for my Q.2 : Copy the names of the category to the notepad directly from the page ! :)

Time stamp
I know I'm using your user-talk very regularly, but I've got no choice ( and Lol :) ) .. The question is that the timestamp isn't working on the chat ; please check out my JS . thanks :)


 * The timestamps are in between revisions right now, I'm working on making them appear for everyone's posts on your end, instead of publishing them to the world.
 * So, You mean the stamps dont work currently ?
 * Right, they aren't working right now.

Chat .css killing
Is there anyway to kill the railbar to the right? A user requested it on my wiki. I was also wondering if only the join chat button could be placed at the top or under the username menu. vegeance 13:17, April 28, 2011 (UTC)
 * will do that.

AWB
One more thing ( if you dont mind :) ) .. Is it a must to "save" every edit explicitly while using AWB or is there a way to avoid it ?
 * I'm pretty sure you have to save each edit, just like you would save a normal edit.
 * Nope, you can go to the bot tab and get it to save automatically after so many seconds.--
 * Thanks ( both ! ) :)

SigReal
You should replace existing source code on your SigReal page with one below because always gets removed after saving page. But, he remeber it somehow. So, if you do not tell that it needs to be added manually (I added that step), people probably will not know that and their signature will not work. btw. I also put in source code. So, you just need to replace source code and save page. btw. My signature is working now. EDIT: If you decide to copy that source code directly from source code of this message. I test it and it is the only way.

This page is basically my signature. If you'd like, you can use this as your signature. Just follow the easy steps here:
 * 1) Click "Edit" or "View source code".
 * 2) Copy everything on this page.
 * 3) Go to your Userpage.
 * 4) Add "/SigReal" to the end of the URL in the URL bar.
 * 5) Click "Add content to this page" or "Edit".
 * 6) Paste what you copied here on that page.
 * 7) Look closely in the code you have pasted - wherever you see my name, change it to yours. Note: It may help to press Ctrl+F and type my name in the bar. This will highlight all the places where my name appears.
 * 8) My sig has a link to the wiki I use the most. You probably want to change that link to a wiki you use. To find the link, Ctrl+F and search "Skystone".
 * 9) Change "Skystone" (Right here and directly above) to the wiki you're linking to.
 * 10) Save the page.
 * 11) In the URL bar, change "/SigReal" to "/Sig".
 * 12) Copy the code on User:Monchoman45/Sig and paste it in your /Sig page.
 * 13) Change my name to yours.
 * 14) Edit your SigReal page (User:yourname/SigReal) again and put  between last 2 nbsp;s. Like this nbsp;  nbsp;
 * 15) Go to Special:Preferences. Under the "Custom Signature" heading, enter the following:  . (Omit the  are the header for each menu (which are Learn about Wikia, Wikia news, Requests, and Help on community), and lines underneath that start with   are the links in the menu. So for example:


 * Characters
 * Bob
 * Sarah
 * John
 * Marie
 * This would create a menu titled Characters, with links to Bob, Sarah, John, and Marie in the dropdown menu.

"Featured on"
Hey there, simple question: how do I remove the redundant "Featured on" under images? Thanks for your help! Klow 18:24, May 15, 2011 (UTC)


 * Put  in CSS.
 * Doesn't work... Klow 18:38, May 15, 2011 (UTC)
 * Whoops, it's, not  . Got my words confused there.
 * No results. :/ Klow 12:10, May 16, 2011 (UTC)
 * Checked and double checked, and it works for me. You can try adding the, although I don't think it'll help as it's probably not conflicting CSS. I doubt that your wiki would have a different id, as it's a MediaWiki section, not a Wikia section, but I don't know what else to say.
 * Well ok, I'll have a look... :/ BTW we have a problem that suddenly surfaced: CSS or JS related bugs suddenly appeared. The prefixes are gone in the names when you watch a File, Template or Category, the "File:" is missing from the links to any image except in the galleries, our collapsible templates don't work anymore. Basically these are tweaks of our own that seemingly broken by themselves. Can you help me find why?... :/ Klow 23:33, May 17, 2011 (UTC)
 * SiPlus edited your Common.js, and he seems to have made a syntax error - console says there's a  where it shouldn't be.
 * Found it - in the top function, the curly brace  needs to be on the same line as  . Also, I think that function is a ToU violation, since it technically changes the function of the button. You can probably still get the same effect by sending a message to Special:Contact and having Wikia disable the popup.
 * I made the change, but that doesn't change anything. Can you have a look? Klow 21:53, May 18, 2011 (UTC)
 * Found another - in, the line beginning with   has an extra   at the end.

Rollback Links
Can you give an un-Monchofied version of your custom rollback links?--

 function CustomRollbacks { var Buttons = [{ //Your buttons go here. You can copy and paste this to make more than three text: 'spam', title: 'Revert spam', summary: 'spam' }, {		text: 'vandalism', title: 'Revert vandalism', summary: 'vandalism' }, {		text: 'null', title: 'Revert with no summary', summary: ' &bot=1' //This one has no summary, and flags it as a bot edit }];

var list = document.getElementsByTagName('span'); for(i in list) { if(list[i].className == 'mw-rollback-link') { var link = list[i]; var rollback = link.innerHTML; for(j in Buttons) { var customlink = document.createElement('span'); customlink.innerHTML = rollback; customlink.className = 'customrollback'; //we do this to avoid an infinite loop, because when we insert a into the DOM, the list variable includes it				customlink.getElementsByTagName('a')[0].title = Buttons[j].title; customlink.getElementsByTagName('a')[0].href += '&summary=' + Buttons[j].summary; customlink.getElementsByTagName('a')[0].innerHTML = Buttons[j].text; if(urlQuery('action') == 'history') { link.parentElement.insertBefore(customlink, link.nextSibling); customlink.outerHTML = ' | ' + customlink.outerHTML; }				else { link.parentElement.appendChild(customlink); customlink.outerHTML = ' ' + customlink.outerHTML; }			}		}	}	for(i in list) { //why another one of these? we're fixing the class that we set to avoid an infinite loop if(list[i].className == 'customrollback') { list[i].className = 'mw-rollback-link'; }	} }

addOnloadHook(CustomRollbacks);

function urlQuery(quer) { for(i in location.href.split('?')) { for(j in location.href.split('?')[i].split('&')) { if(location.href.split('?')[i].split('&')[j].split('=')[0] == quer) { return location.href.split('?')[i].split('&')[j].split('=')[1]; }		}	}	return ''; }
 * That'll do it.

Hey
Hi do you know how to add the template on every page using JS? The one Artieandtinaforeva discussed on Grunny's page.


 * This should do what you have right now:

<pre style="margin-left:24px;"> $(function {$('#WikiaArticle').append(' <a href="/wiki/Glee Wiki Awards">Voting starts next week</a> <a href="/wiki/Glee Wiki Awards"><img src="http://images2.wikia.nocookie.net/__cb20110515230460/glee/images/a/a6/Websit-1.png" width="111" height="114"></a> ')});
 * Thanks :)
 * Thanks :)

Thanks
Thanks for helping me out with the Glee Wiki JS thing! :) That was really nice of you, and I thank you!

Day Turns Today Turns Today (Cause we all have little more homework to do) 18:55, May 18, 2011 (UTC)


 * No problem (: