Wikia

Community Central

Penguin-Pal

1,446 Edits since joining this wiki
October 20, 2011
162.243.215.42
  Loading editor
  • i want to be loged so i can add pictures to commando 2 wiki

      Loading editor
    • 162.243.215.42
        Loading editor
  • Hello,

    First, I'm french so sorry for my english.

    I was looking for a automatic script to post template in this page because people had difficulties to put it.

    I achieved to do it but he created new section each time. So, I tried to add contents to page without creating new section.

    And I came across this script that does what I was looking for. This works perfectly but the script have to put ---- to separate template but it made a space at each line like so the ---- looks like :

    ----
    

    How can I fix this issue ?


    Thank you in advance for your help and congratulations for your hard work in js and jquery.

    PS : My code is here.

      Loading editor
    • View all 10 replies
    • Hi, sorry about the delay. So yes, you would need not to use the summary and sectiontitle if using this method, but only to add section: "new", after where it says text: page, and also not to add the current page content to your new section's text. But you are correct, if a summary is needed, this method would not be ideal.

        Loading editor
    • It works well. Thank you for your help.

        Loading editor
    • 162.243.215.42
        Loading editor
  • 1) I saw topic Thread:716186, can you give info about adding items in this menu? Hjhjgfdtysd


    2) Can I delete unused items here?

      Loading editor
    • Hi there. First of all, to add items, you can do the following:

      $('#WikiHeader > .buttons .WikiaMenuElement').append(
      	'<li><a href="SomeLink1">Some text</li>' +
      	'<li><a href="SomeLink2">Some text</li>' +
      	'<li><a href="SomeLink3">Some text</li>' +
      	'<li><a href="SomeLinkEtc.">Some text</li>'
      );

      When it comes for removing default links, it should only be done via your personal JS pages. It is technicaly possible to do with CSS, but if you start adding list items with JavaScript, it is best to also remove items using JavaScript:

      $('#WikiHeader > .buttons .WikiaMenuElement [data-id="createpage"]').parent().hide();

      Each default link on the dropdown has an attribute called data-id with a different value, which allows you to easily select a given list item. On this example, it selects the list item from the dropdown that contains a link with a data-id attribute set to createpage, which will then remove the "Add a Page" link.
      A more efficient way for removing multiple items from the dropdown would be the following:

      $(function() {
      	var itemsToRemove = ["Add a Photo", "Add a Page"];
      	$("#WikiHeader > .buttons .WikiaMenuElement li").each(function() {
      		if (itemsToRemove.indexOf($(this).find("a").text()) > -1) {
      			$(this).hide();
      		}
      	});
      });

      Where the text of each item that you would like to remove is added to itemsToRemove.

        Loading editor
    • Thanks alot. It was very hard find this info.
      Have a nice day.
        Loading editor
    • 162.243.215.42
        Loading editor
  • I CHANGED MY PROFILE PICTURE UNBLOCK ME PLEASE :)

      Loading editor
    • Hi there,
      Please note that we've had a few users earlier that posted inappropriate messages and have been blocked for that. In addition, you've change your avatar specifically to something inappropriate seconds before joining chat. Due to that, i'm afraid that it would be irresponsible to unblock you from the wiki for now.

        Loading editor
    • 162.243.215.42
        Loading editor
  • K so, I've noticed you on here and I was just wondering something for a long time, so I wanna take this time to ask you something....

    Why was I banned from the CPW?

    The only thing I remember being ban worthy was me "spamming" (at first I did spam, but then I stopped and only did under six emotes as they said, but they still banned me from chat), but that's it.  Is there another reason?  If not, could ya please unblock me?  I noticed it's you who blocked me.  If not, that's okay, really the only reason I use the CPW is to find item IDs or the names of a certain item I want.

    TY.

      Loading editor
    • View all 9 replies
    • Thanks for this notice. This user blog really wasn't an inefficient place for holding roleplaying.

        Loading editor
    • Okay, sorry :).

        Loading editor
    • 162.243.215.42
        Loading editor
  • Hello Penguin-Pal,
    I am contacting you since you are the author of DynamicImages and I hope you can fix my problem. It seems like that when you put .svg or .gif as thumbnail on the page where tabber is, it can't load:

    After various testing, I can say for sure that DynamicImages tool is cause of the problem and the tool even apply to .svg and .gif files only. So, can you please fix the problem?

      Loading editor
  • Regarding the CP Wiki block, I, Tiff or Nick, would like a reconsideration. I can prove to the wiki that I can be mature again, even though, I've lost a lot of respect. I was banned due to usages of sockpuppets, and I'm sincerely sorry if I've caused any trouble to you and the wiki.

    Thanks, Tiff or Nick.

      Loading editor
  • So I've been blocked for about a year or so because my brother made a wikia account with my wiki email, thus making you block me because of sockpuppets. Is there anyway my block could end?

      Loading editor
  • Hello Penguin-Pal,

    First of all, I am French, so I am sorry for my bad English.

    I went to ask this to you because I often notice that you are the first that answer JS problems on the forum.

    I wondered if something was possible, and how to do it. What I would like is a bit...complicated, but It would be great if it was realisable. There is what I'd want : a little window opened from the footer toolbar (as the PortableCSSPad does). Then you type any text, you clic on a button or anything and the text appears on a page (for instance : "Username/To do"). I would want it to appear on this page (my to do list). I often think about something but I forget it before I can go to this page and write it.

    This would be easily realisable with a wand, but with JS I don't know :D

    Thank you in advance for or help or your advices,

    Hulothe.

      Loading editor
    • View all 25 replies
    • It wasnt a long time at all for me :) Thank you for pointing that out, it works perfectly (as expected !).

        Loading editor
    • you're welcome ;)

        Loading editor
    • 162.243.215.42
        Loading editor
See archived talk page
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message

Around Wikia's network

Random Wiki