Lifein19x19 as a player (Legion game)

General conversations about Go belong here.
Alguien
Lives in gote
Posts: 628
Joined: Tue Aug 07, 2012 11:50 pm
Rank: KGS 3k
GD Posts: 0
Universal go server handle: Alguien
Has thanked: 44 times
Been thanked: 93 times

Re: Lifein19x19 as a player (Legion game)

Post by Alguien »

Tooveli wrote:Eh, I imagined people would just use hide tags in voting thread.

This way you don't look down a long list of stronger players saying R9 when you go to vote for D6 (because, although you have seen their arguments, you think it surely is more important to limit the moyo) and change your mind or not bother voting.


I always forget the level of gentlemanliness one can take as granted in this forum.

I will suggest the use of hide tags even if that forces me to click on each one of them when counting votes.
User avatar
Dusk Eagle
Gosei
Posts: 1758
Joined: Tue Apr 20, 2010 4:02 pm
Rank: 4d
GD Posts: 0
Has thanked: 378 times
Been thanked: 375 times

Re: Lifein19x19 as a player (Legion game)

Post by Dusk Eagle »

Alguien wrote:I will suggest the use of hide tags even if that forces me to click on each one of them when counting votes.

I wrote a script for Firefox a while ago that will open and close all the hide tags on a page with the click of just one button, which appears beside the "Previous Topic | Next Topic" links on thread pages. Just install Greasemonkey and then you can find the script here. Unfortunately I never put in the time to make it work on Chrome, and I don't even know if any other browsers support adding user scripts like this one.
We don't know who we are; we don't know where we are.
Each of us woke up one moment and here we were in the darkness.
We're nameless things with no memory; no knowledge of what went before,
No understanding of what is now, no knowledge of what will be.
Alguien
Lives in gote
Posts: 628
Joined: Tue Aug 07, 2012 11:50 pm
Rank: KGS 3k
GD Posts: 0
Universal go server handle: Alguien
Has thanked: 44 times
Been thanked: 93 times

Re: Lifein19x19 as a player (Legion game)

Post by Alguien »

Well, there's enough of us for the first game.*

As soon as Joaz Banbeck sets up the sub-forum I'll start the hunt for the strongest player willing to be crushed by the mighty LifeIn19x19 Legion.


*: you can keep joining until the opponent is selected, just take into account that we'll have to bother Joaz Banbeck for each addition.
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Re: Lifein19x19 as a player (Legion game)

Post by hyperpape »

Dusk Eagle wrote:
Alguien wrote:I will suggest the use of hide tags even if that forces me to click on each one of them when counting votes.

I wrote a script for Firefox a while ago that will open and close all the hide tags on a page with the click of just one button, which appears beside the "Previous Topic | Next Topic" links on thread pages. Just install Greasemonkey and then you can find the script here. Unfortunately I never put in the time to make it work on Chrome, and I don't even know if any other browsers support adding user scripts like this one.
Chrome lets you do extensions and it's pretty painless to do so, but it also looks like there's a greasemonkey clone (https://chrome.google.com/webstore/deta ... ldmpobfkfo). Maybe I can write up a version of your script.
User avatar
Dusk Eagle
Gosei
Posts: 1758
Joined: Tue Apr 20, 2010 4:02 pm
Rank: 4d
GD Posts: 0
Has thanked: 378 times
Been thanked: 375 times

Re: Lifein19x19 as a player (Legion game)

Post by Dusk Eagle »

You can already install it in Chrome, it just doesn't work (whether or not you use Tampermonkey). I kind of stopped working on it once I got it to work in Firefox, which was my browser at the time. I had intended to add Chrome support, but then I got busy and quickly forgot about it. Anyway, you can find the source at the link above if you're interested in adding Chrome support (though it seems I didn't document it like I should've :oops: ).

The addLink() function just adds the link you click to show/hide the hide tags, and the showhide() function shows or hides the hidden text based on the state of the first hide tag (if the first hide tag is closed, all will be opened, if it's open, all will be closed). However, at least one of the things I do within showhide() doesn't work in Chrome, so that's where you should look.
We don't know who we are; we don't know where we are.
Each of us woke up one moment and here we were in the darkness.
We're nameless things with no memory; no knowledge of what went before,
No understanding of what is now, no knowledge of what will be.
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Re: Lifein19x19 as a player (Legion game)

Post by hyperpape »

Ok, I have a version that works in Chrome, available at https://gist.github.com/3724409.

This version actually should be compatible with all modern (IE9+) browsers, though I haven't done any testing. It uses capability detection to ensure that IE8 users won't even see the show/hide link. So once a few people test it, we can add it to L19 if the admins so desire. I will probably try to make it work in IE8 this evening or in the next few days (sorry, IE7 won't happen unless you bribe me).

For people who know what a tar.gz file is, the simple way to install in Chrome (sorry, I don't know about Firefox, Safari, IE or Opera):

1. Copy paste the two code snippets into manifest.json files and showhide.js files in their own folder on your computer.
2. Go to extensions in Chrome, located under the wrench menu that's to the right of the location bar.
3. If it's not already checked, check the box for "developer mode". You should know see button reading "load unpacked extension" and "pack extension".
4. Click "load unpacked extension". This will give you a file browser, select the folder that contains the two files.
Lamp
Dies with sente
Posts: 123
Joined: Mon May 07, 2012 10:20 pm
Rank: 7k
GD Posts: 0
Has thanked: 3 times
Been thanked: 11 times

Re: Lifein19x19 as a player (Legion game)

Post by Lamp »

Doesn't phpBB support the ability to give custom permissions to a thread where you cannot see any responses other than your own?

I know for a fact vBulletin has it becuase I've used it.
Post Reply