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
@Vegetothe1st,

Yes that's been very annoying for some time now.

Quite often the Linkify centre tag gets broken by the censor, however I just tried previewing your signature (in the ninja forums) without the centre tag and it broke as well. As you pointed out it depends on what words comes before it.

I am working on a way to make the centre tag more censor friendly, but that still wont solve the your problem.

I hate that censor!

22-Jul-2014 04:54:42

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
For the sigs I need to write a full BB parser that copes with nesting, broken and unclosed tags, and full error correction. Then I can calculate the displayed characters without the BB tags.

My main problem is if people don't close a tag properly a huge amount of text could potentially spew into the post making the 4 line limit redundant.

Once I feel like putting time into writing code that will correct users mistakes with tags then I might implement into the sigs and enable tags not to contribute to character limit.

As I've said before this isn't a priority for me, and if I can't make it 100% fool proof I wont implement it.

22-Jul-2014 07:31:25

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Just so people don't think I haven't looked into the whole signature thing...

Some time ago I was working on complete forum sig designer.

Where you can create edit and preview and fine tune your signature.

This is what I stared on with my BB parser, though it's far from finished but it handles quick find codes and all the forum tags (not linkify tags yet).

The final layout is far from done. This is just to show my attempt on BB parsing with signatures in mind. It gives the character count of displayed text, not submitted test.

http://www.indecentcode.com/parser/parser.html

The idea is have a sig editor built into RS Linkify so you can preview, design and edit your sig, and have RS Linkify only count the rendered text.

It has some error correction to help fix unclosed tags, but I need to do more in that area.

Even though it might be a pain for people with lots of BB tags in their sig, there is a lot to it when it comes to parsing all the tags. Believe me when I say I have put far too much time into this already.

If you're frustrated because your sig is bloated out with tags, then take a moment to think about what I've been going through trying to sort it out. I don't even have a sig and I've put a lot into this already.

22-Jul-2014 08:24:29 - Last edited on 22-Jul-2014 11:01:40 by Indecent Act

Maz
Nov Member 2016

Maz

Posts: 6,590 Rune Posts by user Forum Profile RuneMetrics Profile
@Indy,

This might not be the correct time to throw another signature question at you. but would it be possible to code something that removes the signature (if any) from a quoted post?

Just thinking out loud here, tbh. it's not really too much effort to do that manually either. :)

~Maz~
“Just because you aren't paranoid doesn't mean they aren't after you.”
Maz

22-Jul-2014 11:22:47

Blasty
Feb Member 2017

Blasty

Posts: 9,319 Rune Posts by user Forum Profile RuneMetrics Profile
Is this any help for you, Indy? :)

https://446b4e21703a6885d6822c18658856db318cd9b9.googledrive.com/host/0B_P4A1paVEPbSFFabnVuY1F2ZVU/

Oh, I was testing yours using the [red] tag and didn't realize at first what was going on haha. Looks like your parser is going well :P

E: Oops, I meant to handle noparse tags but forgot to add that, oh well, I'm sure you have it all under control :P

­­
­­<
Blasty
the Blue
>­­
­­
Blasty
// @BlastytheBlue // Blasty#5167
| Co-owner of Mine Nation

22-Jul-2014 11:32:32 - Last edited on 22-Jul-2014 11:44:31 by Blasty

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
@Maz, Nah there is never a bad time to ask something.

I've been asked that recently and tbh I haven't really looked into it closely.

The thing is I don't know where to start. I need to answer a hard question, how do I determine programmatically what part of text is signature?

After all it's all just text and there is nothing to indicate or separate a signature from any other text. I have given it some thought and even thought about sig tags, but there are still many issues with that too.

­­­­

@Blasty,

Nice work :)

The syntax highlighting is tricky, I should have explained all the red is doing is highlighting miss-matched end tags, nothing more. It's actually not helpful in the example I'm posting below.

I'm going to remove it, or maybe make it work with all positions rather than just the end.

Try this in both yours and mine...

[d odgerblue]Try removing the [u ]unclosed tag at the end of this line[/d odgerblue][ b]


I have got it sorted in my HTML output window,  the unclosed tags are fixed, but my highlighting is pretty useless in this case.

22-Jul-2014 12:30:24 - Last edited on 22-Jul-2014 16:14:28 by Indecent Act

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