Forums

RS-Linkify Thread is sticky

Quick find code: 261-262-33-65181208

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile



Vyres I hour of killing (had to recharge prayer once only)
Keep in mind I'm slow at combat so this probably a worst case scenario.
661k from alchs
Made 7 complete crystal keys.
74 noted herbs (torstol, lant, dwarf, kwuarm, toadflax)
30 diamonds, 10 ruby
295 death runes
150 blood runes
44 watermellon seeds, 66 mushroom seeds (tho ones for those red prayer potions)
32 snape grass seeds.
80 red spider eggs
25 zammy wine
400 rune arrows.
20 limp roots
other seeds I forgot to count were snaps, kwuarm and such
a few charms no many though
Some other items not listed cos I had to bank and it messed up my tally so I didn't count em.
Also I didn't pick up everything either cos no room in invent.
and the XP: see pic and look under XP gains.
HTTP://i.imgur.com/1HWJLi7.png



----------------------------------------Original Post---------------------------------------
Hiya Morgan :)

Yep, I'll do that :)

30-Mar-2015 03:46:33 - Last edited on 13-Sep-2016 10:13:58 by Indecent Act

Ryan M
May Member 2008

Ryan M

Posts: 3,095 Adamant Posts by user Forum Profile RuneMetrics Profile
Indecent Act said :
Ryan M said :
Youtube embed script that cascades into all other extensions for some reason on posts with YT videos. I'm not sure what function SK is meant to do from YT, but it's very odd indeed.


That's been around for some time. It's a well known issue and last I heard google were not planning on changing it. But that was from a while ago. See SO for a lttle more info. http://stackoverflow.com/questions/25814914/chrome-youtube-cast-sender-js-console-error

I forgot Chromecast was a thing. Seems silly overall. Anyhow waiting on some things to come back to Linkify over time (like moving the post numbers from TM to Linkify), when you have the time. :)

Edit: Indy, your mini-avatar does not show custom like it should. :(

30-Mar-2015 04:43:54 - Last edited on 30-Mar-2015 04:44:34 by Ryan M

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Lifer said :
Will the right click on avatar and view indecentcode hiscores for that person return?


Lol I forgot all about that, yep it will return.

Just gave my server an extra GB of ram today, so it would be silly to not be making use of it :)

Ryan M said :
Linkify over time (like moving the post numbers from TM to Linkify), when you have the time. :)


Yep I'll get onto that pretty soon. I think I'm going to work it in with time and date conversions so the one selector can handle both tasks. Haven't really looked much at the date formats since re-skin. Plus I need to write new Quick QFC for the post # click event. But none of that is hard, it's just a matter getting all aspects done and tied together. Thanks to you once of those is taken care of with post# :)

Edit:
$('.msgplace').each(function (index, ele) {
$('.forum-post__time-below').eq(index).prepend("<a href='#" + ele.name + "'>#" + (parseInt(ele.name, 10) + 1 ) + "</a> &quot ;) ;
});

I might have to change the selector to accommodate [show posts]. They wont show the post number in relation to where they are in the thread. But the location can be extracted from the quote header.
pageNumber = $('.quote-link').data('quoteheader').split('-')[4]
.

data-quoteheader="261 - 262 - 33 - 65181208-
7372
-335229930"

Ryan M said :
Edit: Indy, your mini-avatar does not show custom like it should. :(


Hmm I need to look at text selection quoting again. Thought I had that all sorted out :/


Edit2:

In the console, right click after error. There are a few to add.
http://imgur.com/Gl9Unwt.png

30-Mar-2015 05:03:10 - Last edited on 30-Mar-2015 05:40:39 by Indecent Act

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Yep it will alienate hidden posts, was just example of selector. However I just realised...

The .msgplace number is correct for posts in [show posts] view. So disregard all that I said previously.

I had no idea that was the case, when I first did post numbers I thought the anchors were incremented by 1 and I assumed they still were. I might be wrong about that as well, but for some reason that's what I had in my head.

That's really cool, going to make life much easier.

Your code snippet works nicely on the pages :)

Edit: I think I'm missing something fundamental here, but I can't see what it is. If I comment out the if condition and use what's contained in the else clause it seems to work on all pages.

//if (window.location.href.match(/goto/)) {
$('.forum-post__time-below').eq(i).prepend("<a class='n2' href='#" + e.name + "'>#" + (parseInt(e.name, 10) + 1) + "</a> &quot ;) ;
//} else {
// The 0.1 is so that ceiling works properly on first post on each page

$('.forum-post__time-below').eq(i).prepend("<a class='n2' href='forums.ws?" + t2 + ",goto," + Math.ceil(((parseInt(e.name, 10)) + 0.1) / 10) + "#" + e.name + "'>#" + (parseInt(e.name, 10) + 1) + "</a> &quot ;) ;
//}


Is there cases where the else condition won't work. Sorry if it's a silly question I'm just not seeing what /goto/ match is handling that the other bit can't.

I'll probably look the fool for missing something obvious but that's better than not knowing :)

30-Mar-2015 07:32:51 - Last edited on 30-Mar-2015 07:53:46 by Indecent Act

Ryan M
May Member 2008

Ryan M

Posts: 3,095 Adamant Posts by user Forum Profile RuneMetrics Profile
I figured it would be nice to have a case for individual things. There should only be goto, no goto, showuser, and the quoteid link. That snippet will work with all of those. I had it a lot more convoluted earlier with more if else's. It's how I work at first on many things. :)

30-Mar-2015 08:03:47

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Ryan M said :
I figured it would be nice to have a case for individual things. There should only be goto, no goto, showuser, and the quoteid link. That snippet will work with all of those. I had it a lot more convoluted earlier with more if else's. It's how I work at first on many things. :)


That's cool, I just wanted make sure I was understanding correctly. I just noticed when using http://i.imgur.com/q3jQP1F.png there is no goto in the url and the else clause was handling it. So it got me wondering why not use the else clause for all pages.

Since I already have a loop I just popped in the single line from the else clause and so far it's working beautifully.

Big thank you for that :)

30-Mar-2015 08:12:27

J3
Jun Member 2017

J3

Posts: 3,560 Adamant Posts by user Forum Profile RuneMetrics Profile
Oo, buttons!
Also, question: what would it involve to change the BB colour code presets? Is it doable with a simple js injection or am I thinking too easy here? I gotta admit I haven't taken the time to look at the code yet though.
@J3sven

30-Mar-2015 09:36:57 - Last edited on 30-Mar-2015 09:37:33 by J3

Ryan M
May Member 2008

Ryan M

Posts: 3,095 Adamant Posts by user Forum Profile RuneMetrics Profile
J3 said :
Oo, buttons!
Also, question: what would it involve to change the BB colour code presets? Is it doable with a simple js injection or am I thinking too easy here? I gotta admit I haven't taken the time to look at the code yet though.

This seems easy. You're still limited to six colors unless you expand the width of it.
$('[data-bbcode="gold"]').attr('data-bbcode', 'lime').css('background-color', 'lime');


Edit: :)
Ugly - Pretty
Test
-
Test

Test
-
Test

Test
-
Test

Test
-
Test

Test
-
Test

Test
-
Test

30-Mar-2015 10:20:03 - Last edited on 30-Mar-2015 10:40:52 by Ryan M

Quick find code: 261-262-33-65181208 Back to Top