Help - Search - Members - Calendar
Full Version: Quoting
Smosh Forums > Smosh Site > Website Feedback
Im4ge
I think I am not the only one annoyed by the large pileups caused by pictures in the quotes.
When there is so many people quoting, the pictures just cover the page.
don't know if there is a way to fix this, but i hope so. sad.gif
Kazodos
Eh. I'm not really annoyed by it, because my resolution is set to 1280 x 1024. A lot of space for a lot of things to fit into.
Im4ge
QUOTE(Kazodos @ May. 7, 2007. 05:04 AM) [snapback]334373[/snapback]

Eh. I'm not really annoyed by it, because my resolution is set to 1280 x 1024. A lot of space for a lot of things to fit into.

My resolution is high too, still there's sooo much scrolling
Kazodos
Do you mean scrolling vertically, or horizontally? I don't really mind vertically, but if you do mean vertically, well... =P
Im4ge
both. I hate seeing the same picture over and over again
anima
If you have a firefox addon called greasemonkey, I might make you an image remover in quotes. That'd make it much easier to surf, wouldn't it? tongue.gif
Kazodos
Eh. Removing all the pictures is no fun >_> I have no problem scrolling vertically, and I almost never have to scroll horizontally. Soo... yeah, you might wanna remove the pictures, in your case >_>

(Link to GreaseMonkey)
anima
QUOTE(Kazodos @ May. 7, 2007. 11:32 AM) [snapback]334779[/snapback]

Eh. Removing all the pictures is no fun >_> I have no problem scrolling vertically, and I almost never have to scroll horizontally. Soo... yeah, you might wanna remove the pictures, in your case >_>

(Link to GreaseMonkey)

I'm writing the script. It should be ready by tonight.

edit: Done it. Works sweetly on the latest GreaseMonkey.

Source:
[spoiler]// ==UserScript==
// @name Smosh Image Remover
// @author anima
// @namespace http://www.sebrenauld.info
// @description Auto-hides all quoted images, and adds a button to un-hide them.
// @include http://smosh.com/forums/index.php?showtopic=*
// @include http://www.smosh.com/forums/index.php?showtopic=*
// ==/UserScript==

// Set all quoted images to hidden. BOOYAH!
function getElementsByClass(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp("(^|\\s)"+searchClass+"(\\s|$)");
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
function hideQuotedImgSIR() {
var totalQuotes = getElementsByClass("quotemain",document,"div");
var replacement = document.createElement("p");
for(i=0;i<totalQuotes.length;i++) {
var innerBalises = totalQuotes[i].getElementsByTagName("img");
for(j=0;j<innerBalises.length;j++) {
innerBalises[j].style.display="none";
}
}
}
function showQuotedImgSIR() {
var totalQuotes = getElementsByClass("quotemain",document,"div");
for(i=0;i<totalQuotes.length;i++) {
var innerBalises = totalQuotes[i].getElementsByTagName("img");
for(j=0;j<innerBalises.length;j++) {
innerBalises[j].style.display="block";
}
}
}
hideQuotedImgSIR();
// Create the button
GM_registerMenuCommand("Show images in post",showQuotedImgSIR,"s","accel","s");[/spoiler]
If you want to install the script, I've got it there (SIR.user.js, 1637 bytes)
Foobs
Just when I think I know a lot about computers you guys go and blow me away with this stuff, haha.
anima
QUOTE(Foobs @ May. 7, 2007. 03:54 PM) [snapback]334942[/snapback]

Just when I think I know a lot about computers you guys go and blow me away with this stuff, haha.

Very soon 8 years of programming, dude. Get used to it tongue.gif

Physics might be a part of my life, but IT is the complement!

Edit: I tweaked the script a bit and added a function to display the images again. Go into the Greasemonkey Script functions (Right click the bottom-right GM logo) and use the "Show images in post".
frekle18
QUOTE(Im4ge @ May. 6, 2007. 07:08 PM) [snapback]334379[/snapback]

QUOTE(Kazodos @ May. 7, 2007. 05:04 AM) [snapback]334373[/snapback]

Eh. I'm not really annoyed by it, because my resolution is set to 1280 x 1024. A lot of space for a lot of things to fit into.

My resolution is high too, still there's sooo much scrolling

you just quoted someone
A-Dizzle
I think there are ways to make quoted images become thumbnails. Would that help?
Kazodos
There is a certain mod (not sure if there is one for IPB, but there is one for phpBB), that only makes the person quote the last quote said, and that it makes all images in that last quote into URLs to that image. Should help people with very small screens/resolutions.

(It's located here, but it's for phpBB, as I've said. If there is a similar one for IPB, use it, but if not, someone should try converting that mod for IPB.) >.>
Im4ge
Thank you very much anima. This really helped me a lot!

Problem solved
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.