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

Image

Tag History
(edit info)
Rating

Prev | Index | Next

Comments

BigMax
#1205277
3 months ago
Here we go, then: after some day of beta testing, and the last two of bug fixing, the Ponibooru Board Helper has been officially released.
You can find it here: http://userscripts.org/scripts/show/129648.
I cannot guarantee it's bug free, but I hope all the major bugs are solved.

The script is compatible with Mizolla Firefox 4.0+ (maybe I'll add support to 3.5+ too in the future), Google Chrome 4.0+ (I don't think anyone still has this paleolithic version) and Opera 11+. No support for Internet Explorer for now, and about Safari... well, maybe it works, but nobody tested it so far.

Things that should work so far:
  • image lists with 12, 24 or 36 thumbnails;
  • custom thumbnail size (only in Chrome);
  • comment images screen fitting;
  • maximum number of images in comments;
  • spoilers unveiling on text selection, mouse hover or click;
  • embedding of Youtube videos;
  • "quote comment" button;
  • links to quoted comments;
  • comment author blacklist;
  • comment word blacklist (not for anonymous comment only anymore);
  • choice between completely hiding banned comments, or allowing to show them anyway
  • comment list reloading;
  • comment preview;
  • permanent blotter hiding;
  • user option menu (clicking on username's links);
  • new private message interface with message preview;
  • image size warning on link opening;
  • totally new private message interface, with message quoting and preview
  • multiple deletion of private messages
  • date/time format selection;
  • another surprise!


The development is not finished!



This is only the first public release. I have many other ideas in mind, and some were suggested by the community. Some of them:
  • improved comment/message composer, maybe a rich-text editor like this one;
  • new uploading interface, with drag & drop and preview;
  • user defined links;
  • paginated comments;
  • comment order reverse;
  • spoilers around banned words (instead of comment hiding/removing);
  • new voting/favoriting interface.


Beta testers will get the newly developed versions before the official releases, which can be found on userscripts.org (see link above).
There's always need of beta testers, exspecially for Opera and some volounteers for Safari. Maybe one for Firefox and Scriptish instead of Greasemonkey.

Comments and advices are always welcome, as well as code contributions.

Remember I'm not responsible of the damages to your hardware/software/mind due to the use of ths script, which are hardly possible but whatever...
This software is licensed under the Mozilla Public License 2.0. It's one among the others, I'm not really sure about which I should use (any advice?). This means it's open source, you can use it, modify it, redistribute it and all for free, you just have to use a compatible license.

Enjoy!
MaroonBunyip
#1205286
3 months ago

well done, mate
really
the best any user has done for the site
Verbose
#1205293
3 months ago
I'm going to look into this a little later, along with other comments to see how other users like it.

Thanks for the work, BigMax.
alwaysrespondswithimages
#1205300
3 months ago
JP
#1205301
3 months ago
Nicely done! Things seem to work better now. I'll report if something comes up.
HotFuzz
#1205304
3 months ago
Awesome work, mate!

BigMax
#1205307
3 months ago
The user manual is on the script page on userscripts.org, but I guess it won't hurt to have it here too, since the installation steps are missing there:

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://www.mediafire.com/?rd0wb11zir1es64
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/
Install it and restart Firefox.
Then download the script for this link:
http://www.mediafire.com/?rd0wb11zir1es64
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://www.mediafire.com/?rd0wb11zir1es64
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.

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
This feature only works in Chrome, since it's based on an old CSS property by Microsoft (Opera used to support it too, but it seems it dropped it recently). There is a way to dinamically change the size of an element in Opera and even in Firefox, but it just doesn't behave in the same way, so I still have to figure out how to make it work for those.

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.

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'.
In the future, I may add the choice to remove the comments completely, allow to show them anyway or just hiding the banned words.

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

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.

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.

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.
NecromanseR_RuS
#1205322
3 months ago
user of firefox
geasemonkey is installed
then i click at mediafire and...

This file is currently set to private.

When a file is set to private by its owner only the owner of the file can access it. If you are the owner of the file please log into your account to access this file.

If you believe you have reached this page in error, please contact support.
Click here to view our help resources
Gentle_Coltte_of_Leisure
#1205335
3 months ago
So, wait... does it have tits?
BigMax
#1205338
3 months ago
Sorry, the Mediafire link is there by mistake. Use the source of the image.
NecromanseR_RuS
#1205367
3 months ago
BigMax@1205338 said:
Sorry, the Mediafire link is there by mistake. Use the source of the image.

super duper thank you :D
NecromanseR_RuS
#1205369
3 months ago
If ponibooru soon can use video players...
dudemang
#1205586
3 months ago
Yaaay!

The Board Helper has been amazing, BigMax! Thanks for this!
yellowtdash
#1205622
3 months ago
nice job bigmax looking forward to future releases :)
stryke
#1205654
3 months ago
/Standing Ovation

Dude, you rock!
AppleDash
#1205705
3 months ago
Didn't find any bugs in the previous release, let's hope new ones don't find there way in there.
AppleDash
#1205706
3 months ago
*find their way in there.

I'm usually good with their and there too...
FuzzyFenrir
#1205714
3 months ago
Allow me to express myself.
AppleDash
#1205758
3 months ago
Crap... spoke too soon. Just found another bug BEFORE updating. I'm not sure if it has been fixed yet but I feel I should report it anyway.

Using 36 images per page, it loaded the same image twice in a row. I'll bet that this is because it still loads the initial 12 first and then loads the rest seconds after. Someone probably managed to upload a picture in that time.

Screenshot

Now I made sure they were the same image, not just similar looking. They have the same image number.

As always I'm using Firefox 11.0
AkatsukiKaizoku
#1205782
3 months ago
Really nice! It makes quicker to talk and quote as well...

Also.. The surpriseeeeeee
CKSM96
#1205919
3 months ago
Excellent!
dudemang
#1205956
3 months ago
AppleDash@1205758 said:
Crap... spoke too soon. Just found another bug BEFORE updating. I'm not sure if it has been fixed yet but I feel I should report it anyway.

Using 36 images per page, it loaded the same image twice in a row. I'll bet that this is because it still loads the initial 12 first and then loads the rest seconds after. Someone probably managed to upload a picture in that time.

Screenshot

Now I made sure they were the same image, not just similar looking. They have the same image number.

As always I'm using Firefox 11.0


I had that happen to me once before, and I'm willing to bet it's just an issue of timing, and really kind of beyond the scope of the userscript.
AppleDash
#1205983
3 months ago
^
I figured that but I still felt it would be worth reporting.
EQUINE_excite
#1206328
3 months ago
Working well so fa- oh hey Pinkie.

Anyway, I like it! Hope to see more from you soon. :)
BigMax
#1206931
3 months ago
dudemang@1205956 said:
I had that happen to me once before, and I'm willing to bet it's just an issue of timing, and really kind of beyond the scope of the userscript.

That's correct, it's a matter of timing. It (rarely) happens when someone uploads an image between the first and the second request.
I actually tried to fix this, but it's not easy to test it because, you know, test cases just happen randomly. I have to create some the "hard way"...

EQUINE_excite@1206328 said:
Working well so fa- oh hey Pinkie.

Anyway, I like it! Hope to see more from you soon. :)

To tell the truth, the development was quite challenging, interesting and fun too. I'm a web developer, but this is something pretty different. I've brought the usability of my work to a new level.
The result is this script that in the end is 1000+ lines of code, and I think in the future the length will be doubled [insert Luna reference here].

The development will definitely go on, and I've created something else that I'd like to share: it's a userstyle that fairly changes the aspect of the site.
A sneak peek:
Wheezie_Moonflower
#1210226
3 months ago
Woill you get it to work with other booru sites, and maybe even sites like

http://www.disturbingauctions.com/daily/ (Site desperately needs a tool or something to show a preview image of the eBay or Etsy item listed in the posts there.) By the way, some of the items mentioned here would be great for that site, especially the body pillow covers. Not gonna post them there myself. I'm above that.
BigMax
#1214059
3 months ago
This is the onlu booru I know (i.e., I've visited and actually used), but I guess it can work on other ones based on the Shimmie2 board with minor changes.
At the moment I'm not interested in something else than Ponibooru, but the project is open source, so anyone can modify the source to make it work for other boards.

It may work quite well on http://shimmie.katawa-shoujo.com but I guess not on http://rule34.paheal.net, even if it's based on Shimmie2.
GreyAcumane
#1215640
3 months ago
Marking this so I can find it later. This looks incredibly useful.
Yorec
#1215654
3 months ago
This is pretty cool.