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
About custom backgrounds

I can't quote and refer directly to all the posts about the backgrounds (grrr character limit). But I'll attempt to cover what's been mentioned :)

My biggest concern is that some people will go crazy and the forums will become unreadable, or the images become just too distracting.

I'd also need to employ a similar system to the custom avatars, where I approve, upload and host the images.

There is quite a few other things as well, currently blacklist, image quota don't apply to backgrounds. They don't always work well in quotes and there's other small but annoying issues.

It works on this thread because custom background colours aren't a thing. That's another thing to consider.

I'd have to make it optional, and I have a feeling over time it's something that most people would have turned off.

I have to weigh up the time and resources needed to do this and then look at what end result is. I then ask myself is it worth it for me and the forums.

Anyway that's my concerns, they are here to stay on this thread for the foreseeable future so hopefully some discussion about this will continue :)

30-Apr-2016 03:49:52

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
AoDude said :
The above post gave me an idea. Can linkify provide a code block tag/formatting? (not syntax highlighting, just showing a box around the code and possibly coloring it differently than the rest of the post.)

Cool coffee cup btw :)

I'll look into it, I should be able to do something maybe even with syntax highlighting.

Weyburns said :
also maybe add a bottom centre function, using bottom left/right to centre something from the bottom is a little annoying

I can add a few more options.

However with your images I'd suggest making a single skull image by just cropping the skull so its roughly an icon size.

Then add your black background: stretched.

Then float the skull icon bottom left, and the same skull icon again bottom right.

This way when quoted everything still works and nothing is cut off.

Kind of like this (two images)....






30-Apr-2016 03:56:53 - Last edited on 30-Apr-2016 08:59:21 by Indecent Act

Morgan

Morgan

Posts: 36,054 Sapphire Posts by user Forum Profile RuneMetrics Profile
Hate to be a party pooper, but 2 pages and I already find those image backgrounds annoying and quite distracting... :( (Except the ones that kinda fit the forum theme, like those gargoyles, but still).

:(

30-Apr-2016 06:19:02 - Last edited on 30-Apr-2016 06:20:25 by Morgan

Weyburns
Nov Member 2021

Weyburns

Posts: 4,823 Adamant Posts by user Forum Profile RuneMetrics Profile
Indecent Act said :
Weyburns said:
also maybe add a bottom centre function, using bottom left/right to centre something from the bottom is a little annoying

I can add a few more options.

However with your images I'd suggest making a single skull image by just cropping the skull so its roughly an icon size.

Then add your black background: stretched.

Then float the skull icon bottom left, and the same skull icon again bottom right.

This way when quoted everything still works and nothing is cut off.

Kind of like this (two images)....


thank you for the example, I was thinking more so using it as an extension of the signature section of the forums, adding different pictures or w/e. That way I can ensure that my text won't get obscured by any images in my original post.

I was just messing around and using multiple pictures as a test :P



..
Hardcore Ironman
|
Ironman Discussion

@WeyburnRS
|
Draconic Fury

30-Apr-2016 09:56:40 - Last edited on 30-Apr-2016 10:02:33 by Weyburns

Body btw

Body btw

Posts: 19,488 Opal Posts by user Forum Profile RuneMetrics Profile
^ A signature-only background image would be pretty cool.

Edit: I do see where Morgan is coming from though. I was thinking maybe keeping it isolated to the signature would be neat and less intrusive
"Why are you posting threads, asking questions and making discussion???"


All I do anymore is fish - 2017

30-Apr-2016 11:10:26 - Last edited on 30-Apr-2016 13:29:07 by Body btw

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Update: Version 3.1.9.53

[c ode].....[/c ode]
tags.

See this post running latest version and enjoy syntax highlighting for too many languages!


JavaScript:
[code]
var imgCount = (function () {
/* In scope counter, counter var is protected and immune
from outside modification */

"use strict";
var counter = 0,
limit = opt.RSLinkifyOptions.embedQuota,
imgArr = [],
retVal = 'http';

return function (img) {
/* img = 0 --> retVal = limit query, img = -1 --> counter reset */
retVal = limit - counter;
if (img) {
var imgLC = img.toLowerCase(),
arrImgInx = imgArr.indexOf(imgLC);
counter = counter + 1;
retVal = 'http';

/* If image is a duplicate and NOT a spoiler and any previous occurrences have
NOT been programmatically spoiled, thumb it and remove from image tally */
if (arrImgInx !== -1 && arrImgInx < limit && img.indexOf('HTTP') === -1) {
retVal = 'THUMB';
counter = counter - 1;
}
/* If image embed limit exceeded and not a thumb, spoil it */
if (counter > limit && retVal !== 'THUMB') {
/* function: linkifyThis(); handles no pre-load for spoiled images
when quota is exceeded */
retVal = 'HTTP';
}

if (arrImgInx === -1) {
imgArr.push(imgLC);
/* append to array to keep tabs on what's what */
}

} else if (img === -1) {
counter = 0;
/* reset counter */
}
return retVal;
};
}());

[/code]


Php:
[code]
<?php
echo "Hello World!";
?>

[/code]


Java:
[code]
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!&quot ;) ;
}
}

[/code]

30-Apr-2016 12:51:23

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