How to view phpBB forums without a horizontal scroll-bar

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

How to view phpBB forums without a horizontal scroll-bar

#1 Post by Semme »

Run Firefox, PaleMoon or Seamonkey? Then this is for YOU!

Simply install the Greasemonkey extension (Scriptish on Seamonkey) and the phpBB Image Resizer script.

Open Prefs >> User Settings >> clk "Add" and paste "http://www.murga-linux.com/puppy/*"

You're set!

No more annoying, over-sized images to contend with. Here's a sample page..

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#2 Post by rufwoof »

Nice!
Attachments
icon9.gif
Does it stop if some jerk puts in a load of file comment text though? Perhaps it may, perhaps it might not. Interesting idea though. Thanks Semme (its been quite a while since I messed around with Stylish and Greasemonkey). Testing la-de-dah de-la-de-dah
(763 Bytes) Downloaded 367 times
Last edited by rufwoof on Thu 21 Jan 2016, 00:22, edited 1 time in total.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#3 Post by Semme »

:D Yeeeew DICK! Like I said :wink: "Doesn't deal with runaway code.."

Can the admin panel in phpBB address this kind of nonsense? I am sooooo schure...

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#4 Post by rufwoof »

Can the admin panel in phpBB address this kind of nonsense? I am sooooo schure...
Not so sure http://www.inmotionhosting.com/support/ ... t-settings Image size can be limited before being transposed to just a link, but attachment description doesn't seem to have a limit option, and instead seems to just be set to 255 max chars - a limit presumably hard coded in code.

Should I edit my previous post to reduce the length of the image description? Or leave it for effect/highlight?
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#5 Post by Semme »

This one's easy...

Could John "Sh!tcan" [url=http://www.180162-wsf_third-party-hosted-image-linking-disabled_figure-it-out-folks]outside image linking[/url] altogether if he chose to do so? Sure.

Would this alone eliminate the problem?.. Most certainly.

Should you leave your post to show that loopholes currently exist? Absolutely!

Do I know enough about phpBB software to address these issues?

Nope.. Not yet.

Have I been a part of a forum where a competent administrator serves?

You better believe it!

==

The best of Rulers rule by serving!

==

Oh, I'll be back alright..

==

For my reference:

Code: Select all

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td height="15"><img src="./templates/subSilver/images/spacer.gif" alt="" height="15" border="0" /></td></tr>
</table>
<table class="attachtable" width="95%" align="center" cellpadding="2" cellspacing="0" border="1">
<colgroup>
<col width="15%">
<col width="85%">
</colgroup>
<tr>
<td class="attachheader" align="center" colspan="2">icon9.gif</td>
</tr>
<tr>
<td class="attachrow" nowrap="nowrap"><span class="genmed">&nbsp;Description&nbsp;</span></td>
<td class="attachrow" nowrap="nowrap"><span class="genmed">&nbsp;Does it stop if some jerk puts in a load of file comment text though? Perhaps it may, perhaps it might not. Interesting idea though. Thanks Semme (its been quite a while since I messed around with Stylish and Greasemonkey). Testing la-de-dah de-la-de-dah </span></td>
</tr>
<tr>
<td class="attachrow" nowrap="nowrap"><span class="genmed">&nbsp;Filesize&nbsp;</span></td>
<td class="attachrow" nowrap="nowrap"><span class="genmed">&nbsp;763 Bytes</span></td>
</tr>
<tr>
<td class="attachrow" nowrap="nowrap"><span class="genmed">&nbsp;Viewed&nbsp;</span></td>
<td class="attachrow" nowrap="nowrap"><span class="genmed">&nbsp;96 Time(s)</span></td>
</tr>
<tr>
<td align="center" colspan="2"><br /><img src="viewtopic.php?mode=attach&id=94038" alt="icon9.gif" border="0" /><br /><br /></td>
</tr>
</table>

Code: Select all

<table width="*%" style="table-layout:fixed" align="*">
<tr>
<td style="word-wrap: break-word;">
</td>
</tr>
</table>
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#6 Post by Mike Walsh »

From what I can see of it, the overall width of any Forum page seems to be dictated by whoever happened to post with the largest resolution screen.....

I could, of course, be wrong.


Mike. :wink:

unicorn316386

#7 Post by unicorn316386 »

From what I can tell, this "kind of" works in Firefox 28 with Scriptish on my 1024x768 screen.

On this thread:
http://www.murga-linux.com/puppy/viewtopic.php?t=101174&start=300

The offending image by starhawk is resized, but the one in quotes by bark_bark_bark is not, so the horizontal line still exists.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#8 Post by Semme »

That's because it's in a quote "cell" on a non-standard phpBB board.

In fact, much like Rufwoof's attachment cell above.. Like our crappy "code" cells.. Same garbage.

I've been told this forum doesn't use CSS files, that any CSS code is in the header itself.

Bad idea? That's been suggested.

Is this board nothing more than a series of non-standard hacks?

This has been suggested as well.

Post Reply