Forums

RS-Linkify Thread is sticky

Quick find code: 261-262-33-65181208

J3
Jun Member 2017

J3

Posts: 3,560 Adamant Posts by user Forum Profile RuneMetrics Profile
Ryan M said :
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');


I wasn't really looking to expand it, just replace. But yeah, judging from that line of code you just showed me there it seems to be rather easy to replace. I'll have a go at it :)
@J3sven

30-Mar-2015 10:36:23

Blasty
Feb Member 2017

Blasty

Posts: 9,319 Rune Posts by user Forum Profile RuneMetrics Profile
For Morgan:

Original message details are unavailable.
#!/bin/bash
wmctrl -r RuneScape -e 0,0,-23,958,1113 -F
wmctrl -a RuneScape -F


It uses wmctrl (http://en.wikipedia.org/wiki/Wmctrl)

This may be an alternative for windows:
http://www.nirsoft.net/utils/nircmd.html
Blasty
// @BlastytheBlue // Blasty#5167
| Co-owner of Mine Nation

31-Mar-2015 01:10:16

Ryan M
May Member 2008

Ryan M

Posts: 3,095 Adamant Posts by user Forum Profile RuneMetrics Profile
Hey Indy, seems the error with adding tags and the textarea going to the bottom, or at least seems to be, about the placement of a single line.

Forums-0.js ($.fn.selectRange) should have been:

this.setSelectionRange(start, end);
this.focus();

Not:

this.focus();
this.setSelectionRange(start, end);


As usual I'll tweet it to Allstar. :)

Also just noticed a couple changes on the Forums, specifically commas in post numbers and some textshadowing on this threads title. ;)

31-Mar-2015 02:20:17

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Yep I know exactly what it is. It did with quotes too but since they didn't stack no one noticed. Destroying their events and using linkify quoting stopped that issue and I'll do the same for the BB buttons just like I did with old linkify. That bug has been around for a while, was on old forums too.

Hehe, not bad observations with this update, but you're slipping!

Though in all fairness it's an obscure one.

Click here and then look at hidden posts.

31-Mar-2015 03:24:13 - Last edited on 31-Mar-2015 03:46:18 by Indecent Act

Ryan M
May Member 2008

Ryan M

Posts: 3,095 Adamant Posts by user Forum Profile RuneMetrics Profile
Snake? Snake...? SNAAAAAAAAAAAAAAAAAAAAAAKE!
My reaction to slipping.


I thought I noticed hidden posts being commented out in .76, but I might have been mistaken.

For some reason I was thinking it was towards the RSOF JS. Silly me. :P

31-Mar-2015 08:26:21

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Ryan M said :
Snake? Snake...? SNAAAAAAAAAAAAAAAAAAAAAAKE!
My reaction to slipping.


I thought I noticed hidden posts being commented out in .76, but I might have been mistaken.

For some reason I was thinking it was towards the RSOF JS. Silly me. :P


Tbh it was very obscure since viewing a regular page with hidden posts is unchanged. Only when showing posts from a specific user is there anything different.

Not much gets past you, and I think it would only be a matter of time before you noticed.

-----------------------------------------------------------------------------------------

Oh next update (in a lil while) cleans up and decodes entities in textarea and quote text. This should work for editing, previewing, quoting and so on.

When you quote or edit or (maybe preview) you get &n bsp;, &q uot;, &l t;, &g t; eating up your character count. And makes the text hard to read.

As a result I can't edit my original post (version numer) without deleting stuff. Kind of silly since I'm not adding any extra characters.

Just got a bit more testing to do and I'll push out an update after I've made dinner :)

31-Mar-2015 09:05:48 - Last edited on 31-Mar-2015 09:08:13 by Indecent Act

Ryan M
May Member 2008

Ryan M

Posts: 3,095 Adamant Posts by user Forum Profile RuneMetrics Profile
Awesome. On a different note I think I initially confused Allstar on Twitter...

https://twitter.com/JagexAllstar/status/582813506405269504

140 characters is not enough for conveying messages like I needed it to. Left a video reply showing the issue and a post in the W&F thread. Hopefully TAPP is this week.

31-Mar-2015 10:01:08

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