billw55 Posted February 14, 2012 Report Share Posted February 14, 2012 OK I give up, how do you post hands with the play included via the "next" button? Is it a link to myhands? If so how do you edit out the player names, or truncate the play? Or is there some other trick? hmmmm Quote Link to comment Share on other sites More sharing options...
ArtK78 Posted February 14, 2012 Report Share Posted February 14, 2012 It is a link to a previously played hand on BBO. Quote Link to comment Share on other sites More sharing options...
barmar Posted February 14, 2012 Report Share Posted February 14, 2012 And if you want to replace the names, you have to edit the URL in a text editor. The parameters to the handviewer.php script contain the full LIN file of the hand, and you should be able to find the player names in it. Edit them into North/South/East/West (or whatever you want) and then paste the modified URL. Quote Link to comment Share on other sites More sharing options...
inquiry Posted February 14, 2012 Report Share Posted February 14, 2012 I posted a link to an excel tool I use for doing this. A LINK to that tool is forumlin post The following post descibes how this can be done without excel to automate the steps insert hand diagram Quote Link to comment Share on other sites More sharing options...
billw55 Posted February 14, 2012 Author Report Share Posted February 14, 2012 Aha, I looked for stickies, but in the wrong places I guess. Thanks Quote Link to comment Share on other sites More sharing options...
mgoetze Posted February 14, 2012 Report Share Posted February 14, 2012 I'm sorry, but I have to disagree with the previous answers in this thread - the LIN format is not the only way to include play in the handviewer tool. The complete documentation for Handviewer's "native" format is at http://www.bridgebase.com/tools/hvdoc.html (I put "native" in quotes because funnily enough the LIN format seems to be quicker to load sometimes.) Let's take a rather silly example. We'll start by using the BBO forums handviewer tool to get us started, though it could be done by hand. Choose "Include North", "Include South" and "Include Bidding". Give North and South their cards, enter the bidding, and click "insert diagram". You will get something like this: [hv=pc=n&s=sakqjt98765432hdc&n=shakqjt98765432dc&d=n&v=0&b=1&a=7hp7sp7ndppp]266|200[/hv] Now, the bit between hv= and the closing bracket contains the commands for the Handviewer program, and 266|200 is the size of the iframe in which it will be loaded. You can also take this same command string and see it in its own browser window like thus: http://www.bridgebase.com/tools/handviewer.html?pc=n&s=sakqjt98765432hdc&n=shakqjt98765432dc&d=n&v=0&b=1&a=7hp7sp7ndppp The bit after the question mark in the above URL is identical to the stuff after hv= in the forum code above. As you can see it is basically a bunch of variables seperated by ampersands. Let's go through them pc=n I have no idea what this does, pc is undocumented.s=sakqjt98765432hdc South's hand, containing 13 spades. "hdc" is generated by the forum tool but not necessary.n=shakqjt98765432dc North's hand, containing 13 hearts.d=n Dealer North.v=0 None vulnerable.b=1 Board number one.a=7hp7sp7ndppp The auction, 7♥-p-7♠-p-7NT-X-p-p-p. If we wanted to alert double to clarify that it is not a takeout double, we could make it "a=7hp7sp7nd(Penalty)ppp". Now if we want to add the play, we simply need to add a new variable: p=cas2dah2 or something like that. So our new code looks like this: [hv=pc=n&s=sakqjt98765432hdc&n=shakqjt98765432dc&d=n&v=0&b=1&a=7hp7sp7ndppp&p=cas2dah2]266|200[/hv] However, if you use this, you will find it a bit small. Since HV adds an empty East and West hand whenever we include the play, we need to resize the iframe. My preferred size is 640x480, so: [hv=pc=n&s=sakqjt98765432hdc&n=shakqjt98765432dc&d=n&v=0&b=1&a=7hp7sp7ndppp&p=cas2dah2]640|480[/hv] Et voilà! Here's how it looks like: [hv=pc=n&s=sakqjt98765432hdc&n=shakqjt98765432dc&d=n&v=0&b=1&a=7hp7sp7ndppp&p=cas2dah2]640|480[/hv] 4 Quote Link to comment Share on other sites More sharing options...
gnasher Posted February 14, 2012 Report Share Posted February 14, 2012 Thank you MGoetze. Quote Link to comment Share on other sites More sharing options...
WellSpyder Posted February 14, 2012 Report Share Posted February 14, 2012 Wow! What about pinning this thread so we don't lose mgoetze's pearls of wisdom? Quote Link to comment Share on other sites More sharing options...
barmar Posted February 14, 2012 Report Share Posted February 14, 2012 Wow! What about pinning this thread so we don't lose mgoetze's pearls of wisdom?Good idea. I'm moving it to the General BBO Discussion forum and I'll pin it there. Quote Link to comment Share on other sites More sharing options...
mgoetze Posted February 14, 2012 Report Share Posted February 14, 2012 While I'm at it, here's how I post hands I played on BBO. Reviewing the hand record in the new (Flash) version of BBO, I simply click on Options -> Export Deal -> Handviewer Link. This will give me a URL such as http://tinyurl.com/7z7qfjw I open this in a browser and get redirected to a URL such as http://www.bridgebase.com/tools/handviewer.html?sn=mgoetze&s=SAQ8HT4DKQJT87C82&wn=Robot&w=S7653HA632D9CKJ65&nn=Robot&n=SK94H87D64CAQT743&en=Robot&e=SJT2HKQJ95DA532C9&d=e&v=n&b=2&a=1H(Major%20suit%20opening%20--%205+%20H%3B%2011-21%20HCP%3B%2012-22%20total%20points)2D(Two-level%20overcall%20--%205+%20D%3B%2010+%20HCP%3B%2011-)2H(Free%20major%20raise%20--%203+%20H%3B%206-10%20total%20points)PPD(3+%20C%3B%205+%20D%3B%203+%20S%3B%2014-18%20total%20points)3C(3+%20C%3B%203+%20H%3B%2010+%20HCP%3B%202-11%208421%20HCP%20in%20C%3B%2010-%20total%20points)4C(5+%20C%3B%208+%20HCP%3B%209%20total%20points)PPD(3+%20H%3B%2010+%20HCP%3B%20biddable%20C%3B%202-11%208421%20HCP%20in%20C%3B%2010-%20total%20points)PP4D(Cue%20bid%20--%203+%20C%3B%205+%20D%3B%203+%20S%3B%2014-18%20total)D(2+%20D%3B%203+%20H%3B%2010+%20HCP%3B%20biddable%20C%3B%202-11%208421%20HCP%20in%20C%3B%2010-%20total%20points)PPP&p=S3S4STSADKD9D4D5DQH6D6D2DJS5C3DAHKH4H2H7H5HTHAH8H3C4HJD7DTS6C7D3C2C5CQC9S9S2SQS7D8C6CTSJC8CKCAHQSKH9S8CJ This can again easily be converted to forum code like so: [hv=sn=mgoetze&s=SAQ8HT4DKQJT87C82&wn=Robot&w=S7653HA632D9CKJ65&nn=Robot&n=SK94H87D64CAQT743&en=Robot&e=SJT2HKQJ95DA532C9&d=e&v=n&b=2&a=1H(Major%20suit%20opening%20--%205+%20H%3B%2011-21%20HCP%3B%2012-22%20total%20points)2D(Two-level%20overcall%20--%205+%20D%3B%2010+%20HCP%3B%2011-)2H(Free%20major%20raise%20--%203+%20H%3B%206-10%20total%20points)PPD(3+%20C%3B%205+%20D%3B%203+%20S%3B%2014-18%20total%20points)3C(3+%20C%3B%203+%20H%3B%2010+%20HCP%3B%202-11%208421%20HCP%20in%20C%3B%2010-%20total%20points)4C(5+%20C%3B%208+%20HCP%3B%209%20total%20points)PPD(3+%20H%3B%2010+%20HCP%3B%20biddable%20C%3B%202-11%208421%20HCP%20in%20C%3B%2010-%20total%20points)PP4D(Cue%20bid%20--%203+%20C%3B%205+%20D%3B%203+%20S%3B%2014-18%20total)D(2+%20D%3B%203+%20H%3B%2010+%20HCP%3B%20biddable%20C%3B%202-11%208421%20HCP%20in%20C%3B%2010-%20total%20points)PPP&p=S3S4STSADKD9D4D5DQH6D6D2DJS5C3DAHKH4H2H7H5HTHAH8H3C4HJD7DTS6C7D3C2C5CQC9S9S2SQS7D8C6CTSJC8CKCAHQSKH9S8CJ]640|480[/hv]Click on the hand to see me get 100% of the matchpoints for playing in a doubled "cue bid". ;) If I were ashamed of the hand I could of course replace "sn=mgoetze" with "sn=someone_else". 1 Quote Link to comment Share on other sites More sharing options...
Stephen Tu Posted October 4, 2012 Report Share Posted October 4, 2012 Is there anyway we can make this easier for newbies, without them having to learn how to cut/paste and use hv tags? Currently, if you just type in the movie link from myhands:http://www.bridgebase.com/tools/handviewer.html?myhand=M-6517588-1349355901 into a post you get this broken diagram. I think in part because the above URL is unable to fetch anything, gets "file not found". Can this get fixed? Ideally just pasting in the movie link from myhands would show a diagram in the forums without the user having to do anything special. Quote Link to comment Share on other sites More sharing options...
32519 Posted October 23, 2012 Report Share Posted October 23, 2012 How do you add the "Spoiler" to any hand posted? Quote Link to comment Share on other sites More sharing options...
barmar Posted October 23, 2012 Report Share Posted October 23, 2012 Click on "Use Full Editor". "Spoiler" is one of the options in the "Other styles" menu. Quote Link to comment Share on other sites More sharing options...
pigpenz Posted January 8, 2013 Report Share Posted January 8, 2013 Is there anyway we can make this easier for newbies, without them having to learn how to cut/paste and use hv tags? Currently, if you just type in the movie link from myhands:http://www.bridgebase.com/tools/handviewer.html?myhand=M-6517588-1349355901 into a post you get this broken diagram. I think in part because the above URL is unable to fetch anything, gets "file not found". Can this get fixed? Ideally just pasting in the movie link from myhands would show a diagram in the forums without the user having to do anything special.Stephen had mailed BBradley couple of weaks ago about this way of posting hands from my hands on bbo, this is by far the easiest and thearguments for adjusting the size of the paost are important also...I believe its the HV argument for size of post. what I was wondering about since its a link to data in my hands does the post eventually time out since the clean up data on my hands after a period of time? Quote Link to comment Share on other sites More sharing options...
barmar Posted January 9, 2013 Report Share Posted January 9, 2013 what I was wondering about since its a link to data in my hands does the post eventually time out since the clean up data on my hands after a period of time?Yes. Try cutting and pasting that URL into your browser and you'll get a blank diagram. Quote Link to comment Share on other sites More sharing options...
1eyedjack Posted October 31, 2013 Report Share Posted October 31, 2013 I keep a little notepad .txt file on my desktop which just contains the text string:sn=1eyedjack&wn=Robot&nn=Robot&en=Robot then I just copy and paste the string into the hand when posting GIB bugs Quote Link to comment Share on other sites More sharing options...
1eyedjack Posted November 2, 2013 Report Share Posted November 2, 2013 Have been playing around with mgoetze's method. Thanks for that. I found that when I exported to handviewer link it came up with an abbreviated link. You then have to block/copy/paste that link into a browser then the full link gets expanded into the URL bar. I found that copying that (expanded) link to the clipboard and then pasting it into a new post window did not work because it posted it as a hyperlink rather than a text string.I got around that by pasting it instead into a notepad file, then copying the notepad content (remember to turn off word wrap) and then it worked OK. It may be something to do with my browser (IE).There is probably a quicker way to achieve it. Quote Link to comment Share on other sites More sharing options...
Bbradley62 Posted November 2, 2013 Report Share Posted November 2, 2013 I also have IE... When I open a hand diagram from myhands, I get the hand inside a blue frame. Between the top part of the blue frame and the hand, there is the link that you want to copy and then edit. In case it isn't clear from above, "edit" means:(1)Replace "http://www.bridgebase...?" at the beginning with "[hv=, then(2)add ] 400 | 300 [ / hv ]" (with the blank spaces removed) to the end. btw: please stop using 640|480 as the size; it's way too big. Standard is 400|300, although I personally prefer a slightly smaller 360|270. Quote Link to comment Share on other sites More sharing options...
1eyedjack Posted November 5, 2013 Report Share Posted November 5, 2013 Got it. 400 x 300 (or smaller). I don;'t go to MyHands directly for the hands, but use the export hand feature in the flash version. Quote Link to comment Share on other sites More sharing options...
1eyedjack Posted December 24, 2013 Report Share Posted December 24, 2013 I also have IE... When I open a hand diagram from myhands, I get the hand inside a blue frame. Between the top part of the blue frame and the hand, there is the link that you want to copy and then edit. In case it isn't clear from above, "edit" means:(1)Replace "http://www.bridgebase...?" at the beginning with "[hv=, then(2)add ] 400 | 300 [ / hv ]" (with the blank spaces removed) to the end. btw: please stop using 640|480 as the size; it's way too big. Standard is 400|300, although I personally prefer a slightly smaller 360|270.I can't get this to work consistently. Any help out there?I can post hand fine when starting from the flash interface, but when I access a hand from the MyHands webpage I sometimes get a link which includes the full details, such as http://www.bridgebas...HJ%7Cpc%7CHK%7C and I am fine when that happens. But on occasion the only link that I pick up from MyHands is in the format:http://www.bridgebas...7901-1387907281When I get that, how do I get it to convert to the full hand history format? Quote Link to comment Share on other sites More sharing options...
pescetom Posted February 15, 2018 Report Share Posted February 15, 2018 I see this topic is old and everybody now seems to know how to display on the forum diagrams from actual play on BBO, so I'm obviously dumb :D While I'm at it, here's how I post hands I played on BBO. Reviewing the hand record in the new (Flash) version of BBO, I simply click on Options -> Export Deal -> Handviewer Link. This will give me a URL such as http://tinyurl.com/7z7qfjw I open this in a browser and get redirected to a URL.... This can again easily be converted to forum code like so: [hv=sn=mgoetze&s=............ I can create and view the Handviewer Link, but it still doesn't seem to work if pasted into a post and I can't see how to convert it to forum code (which I have no problem understanding or editing if necessary).Help please? Quote Link to comment Share on other sites More sharing options...
nige1 Posted February 16, 2018 Report Share Posted February 16, 2018 I see this topic is old and everybody now seems to know how to display on the forum diagrams from actual play on BBO, so I'm obviously dumb :D I can create and view the Handviewer Link, but it still doesn't seem to work if pasted into a post and I can't see how to convert it to forum code (which I have no problem understanding or editing if necessary).Help please?[hv=sn=mgoetze&s=SAQ8HT4DKQJT87C82&wn=Robot&w=S7653HA632D9CKJ65&nn=Robot&n=SK94H87D64CAQT743&en=Robot&e=SJT2HKQJ95DA532C9&d=e&v=n&b=2&a=1H(Major%20suit%20opening%20--%205+%20H%3B%2011-21%20HCP%3B%2012-22%20total%20points)2D(Two-level%20overcall%20--%205+%20D%3B%2010+%20HCP%3B%2011-)2H(Free%20major%20raise%20--%203+%20H%3B%206-10%20total%20points)PPD(3+%20C%3B%205+%20D%3B%203+%20S%3B%2014-18%20total%20points)3C(3+%20C%3B%203+%20H%3B%2010+%20HCP%3B%202-11%208421%20HCP%20in%20C%3B%2010-%20total%20points)4C(5+%20C%3B%208+%20HCP%3B%209%20total%20points)PPD(3+%20H%3B%2010+%20HCP%3B%20biddable%20C%3B%202-11%208421%20HCP%20in%20C%3B%2010-%20total%20points)PP4D(Cue%20bid%20--%203+%20C%3B%205+%20D%3B%203+%20S%3B%2014-18%20total)D(2+%20D%3B%203+%20H%3B%2010+%20HCP%3B%20biddable%20C%3B%202-11%208421%20HCP%20in%20C%3B%2010-%20total%20points)PPP&p=S3S4STSADKD9D4D5DQH6D6D2DJS5C3DAHKH4H2H7H5HTHAH8H3C4HJD7DTS6C7D3C2C5CQC9S9S2SQS7D8C6CTSJC8CKCAHQSKH9S8CJ]400|300|Cut and paste the URL into a forum postReplace the beginning stuff up to the question mark with [hv= At the end of the URL, add]400!300!(Adjust width and height to taste).Add comments, if any, like this.Finally close with [/hv][/hv] Quote Link to comment Share on other sites More sharing options...
pescetom Posted February 16, 2018 Report Share Posted February 16, 2018 Thanks! Here's the guide for dummies that I wrote to remind myself ;) ___________________________________________________________________________________ HOW TO INSERT A DIAGRAM WITH PLAY IN A BRIDGEBASE FORUM POST 1. Reviewing the hand record in the old (Flash) version of BBO, click on Options -> Export Deal -> Handviewer Link. This will give a URL such as: http://tinyurl.com/7z7qfjw 2. open this in a browser and get redirected to a long URL 3. copy this long URL and paste into the body of a new bridgebase forum post 3. remove text up to and including "?" 4. precede with "[hv=" 5. append "400|300|[/hv]" 6. add any comments in () brackets 7. preview and adjust if necessary. Quote Link to comment Share on other sites More sharing options...
smerriman Posted February 16, 2018 Report Share Posted February 16, 2018 For reference, you can skip step 3 entirely. 1 Quote Link to comment Share on other sites More sharing options...
TheoKole Posted March 21, 2019 Report Share Posted March 21, 2019 Et voilà! Here's how it looks like: [hv=pc=n&s=sakqjt98765432hdc&n=shakqjt98765432dc&d=n&v=0&b=1&a=7hp7sp7ndppp&p=cas2dah2]640|480[/hv] OK, so the obvious question is... how did north think he would win the first trick? Or any tricks for that matter? Or was he so pissed off with partner for outbidding him on this hand... ? :lol: BTW, I think it would be a slightly better hand if all 4 hands played their respective Aces on trick one... :blink: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.