Blotter updated: 06/17/12Show/Hide Show All

Image

Tag History
(edit info)
Rating

Prev | Index | Next

Comments

BigMax
#1260675
3 months ago
At last, version 1.1.0 of the Ponibooru Board Helper is ready. This is a minor release but it has some interesting additions to the script. You can find it here:
http://userscripts.org/scripts/show/129648
The development of this new version suffered some bad timing. Ponibooru derping, then DreamHost became NightmareHost, finally the Easter holydays may have distracted the beta testers from their duties, but meh, it's their right after all :) I have received very few bug tickets, but I know there are more... I just don't know them!
The only thing I know is that I have to release this version because development must go on and I've plenty of ideas to implement.

I think the main new feature is the addition of the text tools. Check the manual in the following comment for their usage.
Chrome and Firefox users can go to the script page and click on Install. Moreover, Firefox users can let Greasemonkey or Scriptish automatically check for the update, but this happens every week or so (it can be set in the options), so if you want to update the script right now just visit the userscript.org page.
Opera users can update the script downloading the script and copying it to the directory they chose for the userscripts.

New script users can check the installation steps in the manual below.
This is the changelog of the new release:
  • Added text tools for comment and message composing
  • Added shortcut key for PBH options
  • Added a link to 'Comments made' on user's page
  • Thumbnail resize works also for Firefox and Opera now
  • Youtube video embedding works on comment/message preview too
  • Prevents page reload on comment post (image view only), image voting up, down, removing vote, un/favoriting
  • Fixed Youtube videos getting above dialogs
  • Fixed bug on displaying user menus on usernames in dialogs
  • Fixed bug on quoting comments with Youtube embedded videos
  • Fixed bug on converting comment lists
  • Fixed Ponibooru's stylesheet rule that derps list margins everywhere


One more thing...


In these weeks I've developed another thing for Ponibooru, and I must admit that it makes me enjoy the board even more than the PBH itself. It's the 'juicy thing' I was talking about in the thread >>162986.
It's a user stylesheet, i.e., a thing that allows to change the style of the site. I always thought that Ponibooru suffers a real bad graphic style, which tire the eyes and can be a little confusing. That's my way to fix it, but if you'll like it or not it's a matter of personal taste. You can see a preview in the image above.
To use this style, Chrome and Firefox users should install the add-on Stylish: you can find it here for Chrome and here for Firefox. Then you can get the stylesheet here, it's called Ponibooru Azure:
http://userstyles.org/styles/63617/ponibooru-azure
You can disable Ponibooru Azure whenever you want.

User stylesheets can be used in Opera, too, with a little more effort. All you have to do is to get the CSS code in the link above, select everything except the first and the list line (the '@-moz...' line and the additional curly bracket at the end), put it in a file with extension .css and follow these steps.

Enjoy!
BigMax
#1260682
3 months ago

Installation steps



Google Chrome
Chrome has native support for userscripts, and since a while it has added support to Greasemonkey specific functions, and that's all Ponibooru Board Helper needs.
So, everything you should do is to download the script from this link:
http://userscripts.org/scripts/show/129648
A warning should appear on the bottom of the window:

Just click on Continue, then Add, then a box will pop up on the top right corner, telling you that the script has been installed.


Mozilla Firefox
Firefox needs to have the Greasemonkey add-on installed first. Any recent version should be ok, but use the latest one just in case (currently, it's 0.9.18).
You can find the add-on here: https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
Alternatively, you can use Scriptish, an add-on derived from Greasemonkey, that should do everything Greasemonkey does plus some more.
Install it and restart Firefox.
Then download the script for this link:
http://userscripts.org/scripts/show/129648
A warning should appear. Just click Install once it's possible.

Opera
Opera has native support for userscript, but it's a little tricky to enable it. Basically, it loads the scripts that are contained in a specific folder of your hard drive. So you have to tell Opera what folder it should look into.
For Windows and Linux, go to: Opera menu > Settings > Preferences > Advanced > Content > JavaScript options
For Mac, go to: Opera menu > Preferences > Advanced > Content > JavaScript options
Select the folder where you will put your userscript files, then download the userscript from this link:
http://userscripts.org/scripts/show/129648
Copy the file to the folder you set for Opera and you're done.

Once done installing
Now just reload Ponibooru's pages, and you should be ready.
Some feature are immediately usable, like the quote button and the user's option menu. For the others, check the "PBH Options" link on the top of the page.
Note: PBH is run a little later in Opera than in Chrome or in Firefox.
Anonymous
#1260684
3 months ago
>yfw you wonder WHY ponibooru has been hella slow since this was implemented by so many people
BigMax
#1260688
3 months ago

Reference manual



Image list


Number of pics per page
Normally, Ponibooru only loads 12 thumbnails per page. The PBH can fake pages with 24 or 36 thumbnails per page. Every page is consequently renumbered according to this, so page 7 becomes page 4 or page 3 if you chose respectively 24 or 36 pictures per page. This "virtual" page number is shown on the browser URL bar, where you should read something like
www.ponibooru.org/post/list/7#page-3
You can always start from some other "real" page numbers, like 5, and the URL should look like
www.ponibooru.org/post/list/5#page-2 1/3
The "paginator" (the list of page number below the image board) is modified accordingly, so you won't see something like 12000 as the last page, but 6000 or 4000 .
You can always jump to a specific virtual page by simply modifying the number after the sequence '#page-'.
If you change this option, you should reload the page to see the effects.

Thumbnail size
You can choose the size of the thumbnails in the image list (or in the comments page), so they can fit better to your screen. Now available on Firefox and Opera too.

Image size warning
Tired of those absurd_res images that hang your browser for seconds? Or slowed down by a narrow bandwidth which makes you way forever for larger images to load?
This option displays a warning whenever you try to open an image larger to a limit you set in megapixels and/or kilobytes.
Sadly, it only works on the image board, since the info about image size can only be fetched there (and actually loading the image page, but it would slow down things too much). It doesn't work on linked images in comments, for example >>54845
Known issue: it doesn't work if you right click on the thumbnail and select "Open in a new tab/window". I can't "catch" this action, so I have no control over it. Just use the middle mouse button to open the images in a new tab: the warning should be displayed.

Comments


Fit images in comments to screen
Annoyed by those immensely large images that some anonymous troll posted in the comments? Fear not! This option resizes those images to fit to your screen.

Load at most # images in comments
Comment threads sometimes becomes image threads. You may limit the number of images loaded using this feature.

Show/hide spoilers on X
Selecting spoilers is annoying. Now you can make the text inside visible by clicking on it, or putting the mouse cursor over it (4chan style like).

Embed Youtube video links
Youtube is awesome, and it's even more awesome since you can embed its videos in forums and site pages. Sadly, Ponibooru doesn't support this, so this does the tricks.
It supports links of the form www.youtube.com/watch?v=videoid and youtu.be/videoid. Remember, you can tell to start a video from a certain point adding the hash #t=time, where time can be either the number of seconds from the beginning, or a time stamp like 1m24s. Example:
http://www.youtube.com/watch?v=5JBbXw4V-Tc#t=1m2s

Comment author/word blacklist
There are some users that you don't want to see, or some words that hurt your eyes, so these options allow you to filter those comments that doesn't match your criteria.
You can write a list of space-separated words/usernames, not even bothering about uppercase and lowercase characters (so 'bigmax' is the same as 'BigMax' and my comments would be filtered as well).
For words, you can even use 'wildcards', ie some special charachters that allow you to specify 'any character' (the '?' wildcard) or 'any sequencs of characters' (using '*'). So the filter 'nigg*' would filter words like 'nigger' and 'niggah', but also 'niggertron', so you may want to stick to 'nigg??' instead.
The filtered comments can always be displayed clicking on 'Show it anyway' if the option Allow me to show banned comments is checked.

Allow me to show banned comments
Checking this, you'll be able to see a message telling you "This comment by author was hidden due to...", allowing you to show the message anyway. Unchecking this option make banned comments disappear completely.

Board


Hide blotter permanently
The blotter is a summary of the site news displayed right below the top bar. If you never read it, and you think it's a waste of space, you can hide it clicking on "Show/hide". But the next time you log into Ponibooru it's still there, forcing you to hide it again. This option solves the problem.

Show Pinkie Pie at random
Actually one of the first features of PBH, made for testing purposes and kept there since then. If you open several Ponibooru's tabs, you may want to disable this, since you'll see Pinkie trotting in each of them if some time passes.
Maybe I'll add some other ponies in the future.

Date/time format
Lets you choose among several date/time formats. Used mainly in the personal page to change how date and times are displayed.

Shortcut for PBH options
There's no need to scroll the page all the way up (you can use the Home key, by the way, if a text field is not focused) to open the Ponibooru Board Helper options: if can now define a shortcut key to open the options. The default key is F8, but you can define the key you want, using combinations of shift, control and alt keys too. Keep in mind that some combinations are commonly used by the browser for some common operations. F3 opens the text search in every browser, Ctrl P prints the page and so on.
You can disable the shortcut key by clicking on Clear.
BigMax
#1260692
3 months ago

Using Ponibooru


Quote comment button
You may have noticed a small golden baloon near to each comment number. Clicking on it, it allows you to conveniently quote that comment, reporting the author, the comment number and the whole comment content, allowing you to delete the parts you don't want to quote. No more @user/@number references, no more selecting and copying text, this button makes it all for you, even keeping text formatting.
Moreover, PBH changes the @number part to a link to the quoted comment, making it easier to check for other missing parts or edited text.

Text tools for comments and messages
If you're unsure of what the text you're composing will come out, you'll have the chance to see a preview of it. Too bad that Ponibooru doesn't allow to edit your comments, but this may help.
In addition, the Ponibooru Board Helper adds a set of buttons that can help you composing the message. Those buttons add the proper tags to render the text respectively bold, italic, underlined, stroke-through, linking, image, quoted, header, listing and hidden. You can either select part of the text in the box and press the button to add the tags; or click the button without selecting anything, so you can write between the opening and closing tags that have been added to the box.
This isn't always what happens, though. There are some special behaviours:
  • Links: if you selected some text, it can eaither be a well-formed URL (or data URI), so the tags [url] and [/url] are added at the beginning and the end of the link; or a box will appear asking you for a correct link, and the text will be what you'll see instead of the link. Even when, if no text is selected, you'll be asked for a link.
  • Image: like before, if you select a text and that's a link or a data URI, the tags are immediately added; or else you'll be asked for the link of the image.
  • Quote: there's a nice addition if you're on an image page with comments. You can select some text and clicking on the quote button will put the [quote] tags around it; but if the text isa number, the script will search for the comment with a number ending with the number you selected, and if it finds it, that comment will be quoted. For example, let's say there's the comment #123456 in the page. If you write '456' in the box, then select it and click on the quote button, the comment #123456 will be quoted just like pressing the quote button near the comment. There's no need to write the whole comment number, even a single digit will do, but keep in mind that if there is more than one comment ending with the selected number, the most recent one will be commented. For example, if there's a comment #124456 in the thread, that one would be quoted instead.
  • Lists: the best effect is when you select more than one line of text. In this case, the script will treat each line as a single item of the list, and will put the right tags around it and the whole list.

Moreover, each of the text tools buttons has an associated shortcut key: for bold, you can type Ctrl B; for italic, Ctrl I; for links, Ctrl Alt L and so on. Just mouse over the buttons to know their associated shortcut key.
Beware: these buttons don't actually check for the correct syntax of the text you're composing. They may help, but you still have to learn BBCode to fully understand what you're doing.

User option menu
Clicking on a username link it doesn't open the user page anymore, but shows a box with a list of options.
You can send the user a message without actually opening the user page, but using a dialog box that allows to see a preview of the message too. It make take some seconds before being able to actually send the message, because the scripting is loading some necessary info, but you can begin to write the message at once.
You can block or unblock a user from this menu, too, without using the option in the Comments section.

New interface for private messages
Now you can select multiple messages and deleting all of them with a single action. Also, a useful Reply button will appear, allowing to reply to the messages without loading a new page and losing info about the sender and the time the message was sent.

Comments reloading, image voting and favoriting
When you write a comment, in the meanwhile somebody else may have added another comment. If you don't want to lose the message you were writing and load eventual new comments, you don't have to reload the whole page: you can click on Reload under Comments and wait some seconds. All the page data will be updated: comments, image tags, image source, number of votes, list of user who favorited the image, even the number of unread messages in your inbox. And the comment you were writing will be kept.
The same thing will happen if you vote it up/down or remove you vote, or if un/favorite the image too. The page will be reloaded if you update the tags or the source link, though, since it has some additional issues due to the ReCAPTCHA box for anonymous users. This will be fixed in a future release.
BigMax
#1260696
3 months ago
Anonymous@1260684 said:
>yfw you wonder WHY ponibooru has been hella slow since this was implemented by so many people

You haven't the slightest idea of what you're talking about, have you?
Yorec
#1260707
3 months ago
I went to the link for chrome but it still says version 1.0.0
Yorec
#1260719
3 months ago
nevermind
Anonymous
#1260721
3 months ago
@bigmax

i remember the issue some people brought up with using this script, which could stress the server, causing slowness.
BigMax
#1260722
3 months ago
Yorec@1260707 said:
I went to the link for chrome but it still says version 1.0.0

Refresh the page... Sorry, I just forgot to upload the new version! ^^'
Liariv
#1260731
3 months ago
Ponibooru Azure is lovely. I've been using it for a while now and its much nicer to look at.
Yorec
#1260733
3 months ago
  1. Look at this
  2. This is cool
  3. I like this
BigMax
#1260739
3 months ago
Anonymous@1260721 said:
@bigmax

i remember the issue some people brought up with using this script, which could stress the server, causing slowness.

Only because they don't know how the script works. It doesn't do anything more than the common usage.
Even the additional request to load up to 36 images on the page list is issued after the page is loaded.
kuren18
#1260753
3 months ago
do i have to use this?
DSF66
#1260755
3 months ago
Liariv@1260731 said:
Ponibooru Azure is lovely. I've been using it for a while now and its much nicer to look at.

Looks nice indeed :D
(Also this is quote thingy test for me :P)

Side note: I can't resize reply field since I started using Azure it seems.
vino
#1260761
3 months ago
Someone needs to fix Ponibooru's pagination so that it constantly has the same fixed width (see page 5) so that the "next page" button doesn't move around on the first 4 pages.
Gittonsxv
#1260766
3 months ago
i just downloaded this and i am loving it ^-^

GOOD WORK BRO!

BigMax
#1260776
3 months ago
DSF66@1260755 said:
Side note: I can't resize reply field since I started using Azure it seems.

Yes, it's a known issue indeed. Unfortunately, if the stylesheet gives a certain fixed width and height to the text field, it can't be resized anymore.
I'll find a way to fix this, so check for updates for the userstyle once in a while...
KRODERSERK
#1260793
3 months ago
Using it now and it looks cool!
You're awesome Bigmax!
kuren18
#1260797
3 months ago
@bigmax-do i have to use this?
rainbowcrash93
#1260800
3 months ago
Just downloaded it. Makes the site much easier on the eyes. Keep up the good work!
Blissful_Dreams
#1260808
3 months ago
Script works great, Ponibooru Azure sucks. Not only is it not blue, instead a shade of lilac, it makes my pc look like it came out of the mid nineties. So Helper script good, theme not so good.
kuren18
#1260815
3 months ago
it will not let me download it
BigMax
#1260824
3 months ago
kuren18@1260797 said:
@bigmax-do i have to use this?

What do you mean? You don't have to use the userscript nor the userstyle. You may use it, if you want.

Blissful_Dreams@1260808 said:
Script works great, Ponibooru Azure sucks. Not only is it not blue, instead a shade of lilac, it makes my pc look like it came out of the mid nineties. So Helper script good, theme not so good.

It's cool, bro. I've said it's a matter of personal taste. It's a shame we have just one style for Ponibooru... Azure (mind you, not blue) is just an alternative.
kuren18
#1260844
3 months ago
@BigMax-do you have one for internet explorer?
Blissful_Dreams
#1260854
3 months ago
@BigMax

Azure is a shade of blue... AKA Sky Blue. If the theme was refined... As in removal of the shadows, better stepped gradients, and less alternating shades of color in the comments and tree views, it would look better.

Trust me, I do GTK themeing. :)
Blissful_Dreams
#1260856
3 months ago
Also, I respect your views.
Blissful_Dreams
#1260861
3 months ago
@kuren18

IE can't do anything.... No plugins, scripts, or theming. If you want something like this, I suggest Firefox.
BigMax
#1260879
3 months ago
kuren18@1260844 said:
@BigMax-do you have one for internet explorer?

The userscript was developed for Chrome, Firefox and Opera, and tested in these three browsers only.
It may work for Safari and Internet Explorer with the addition of the proper plugins. For IE it would be IE7Pro, which is quite old but it should still work. The problem is that the script has a chance to work with IE9 or IE10 only, sorry.

You may take it as a chance to begin to use a more modern browser.

Blissful_Dreams@1260854 said:
@BigMax

Azure is a shade of blue... AKA Sky Blue. If the theme was refined... As in removal of the shadows, better stepped gradients, and less alternating shades of color in the comments and tree views, it would look better.

Trust me, I do GTK themeing. :)

No problem, I'm a web developer after all, not a web designer.
If you contact me, you're free to give me some advices. They would be greatly appreciated!
kuren18
#1260892
3 months ago
@BigMax-oh ok one last thing. can i still keep it the way im seeing it? the old one im use to it.
kuren18
#1260895
3 months ago
i mean i hope you don't mind
Anonymous
#1260905
3 months ago
If I check "hide blotter" and there's a new post on the blotter, is there anything to let me know that there's something new there?
dudemang
#1260907
3 months ago
This is so awesome, BigMax! Lovin' it!
BigMax
#1260908
3 months ago
kuren18@1260892 said:
@BigMax-oh ok one last thing. can i still keep it the way im seeing it? the old one im use to it.

I've developed two separate things: the userscript (Ponibooru Board Helper) and the userstyle (Ponibooru Azure).
You can install the userscript without installing the userstyle and vice versa.
BigMax
#1260914
3 months ago
Anonymous@1260905 said:
If I check "hide blotter" and there's a new post on the blotter, is there anything to let me know that there's something new there?

Nope, not yet. In the future there may be.
I'm not in a hurry to develop it, since the last blotter update was in August...
Blissful_Dreams
#1260915
3 months ago
I'm going to start messing with the theme script you provided. Thanks! :D
Anonymous
#1260924
3 months ago
Actually, during the DDoS yesterday there were blotter posts about what was going on. I think most times there's a new blotter post, it's a temporary thing to inform people of some unusual circumstance.
BigMax
#1260979
3 months ago
Anonymous@1260924 said:
Actually, during the DDoS yesterday there were blotter posts about what was going on. I think most times there's a new blotter post, it's a temporary thing to inform people of some unusual circumstance.

Are you sure they weren't Twitter posts?
I've read the blotter yesterday (trying to fix a bug that it's actually still on :| ), it was still the same... On the other hand, the Twitter feed was updated.
Derpie_Pie
#1261029
3 months ago
Uhm, excuse BigMax. How can I enable Ponibooru Azure? It's still the same. ;_;
BigMax
#1261038
3 months ago
What browser are you using?
Derpie_Pie
#1261044
3 months ago
BigMax@1261038 said:
What browser are you using?


I'm using Google Chrome.
Blissful_Dreams
#1261052
3 months ago
@BigMax

I sent you a message. I seem to have found a bug.
BigMax
#1261072
3 months ago
If you've correctly installed Stylish, you should see an icon like this on the top right corner:

The red '1' means there's a userstyle active for the site. If you click on the icon, you can manage the installed userstyles.
BigMax
#1261105
3 months ago
BigMax@1261072 said:
If you've correctly installed Stylish, you should see an icon like this on the top right corner:

Sorry, that's the image:

Blissful_Dreams@1261052 said:
I sent you a message. I seem to have found a bug.

Checked right away and answered, thanks man!
BigMax
#1261359
3 months ago
It seems it's already time for version 1.1.1, fixing some bugs:
  • Added the preview message button to user page message form
  • Fixed some escaping issues on sending comments/messages
  • Fixed the dreaded error 302 on Firefox when sending comments/messages

You can find it at the linked page on userscripts.org
TheAntiCat
#1261548
3 months ago
I think I'm in love.
Vercci
#1263366
3 months ago

Sweet

Mr_Jack
#1275436
2 months ago
How does the youtube embedding work? Pasting the link just posts it as a link so I must be leaving out a step.
Mr_Jack
#1275458
2 months ago
Ah, nevermind. I just figured it out.