{"id":2340,"date":"2012-11-24T00:04:14","date_gmt":"2012-11-24T00:04:14","guid":{"rendered":"http:\/\/sl.governormarley.com\/?p=2340"},"modified":"2012-11-24T00:18:47","modified_gmt":"2012-11-24T00:18:47","slug":"things-with-potential-that-dont-quite-work-part-1","status":"publish","type":"post","link":"https:\/\/sl.governormarley.com\/?p=2340","title":{"rendered":"Things With Potential That Don&#8217;t Quite Work Part 1"},"content":{"rendered":"<p>This is part one of what will probably be a one part series, but you never know. Anyway, there are some odd tips and tricks around\u00a0LSL and I&#8217;m quickly going to look at one of them. Ok so, here&#8217;s the scenario, <a title=\"Unhinged SL\" href=\"http:\/\/unhingedsl.com\/\" target=\"_blank\">Unhinged &#8211; A festival for Eku&#8217;s head<\/a>, has more goings on in terms of DJ events, than you can shake a stick at.\u00a0So say I wanted to list some upcoming events I&#8217;d maybe have a board with this:<\/p>\n<figure id=\"attachment_2341\" aria-describedby=\"caption-attachment-2341\" style=\"width: 509px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2341\" data-permalink=\"https:\/\/sl.governormarley.com\/?attachment_id=2341\" data-orig-file=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged.jpg?fit=509%2C672&amp;ssl=1\" data-orig-size=\"509,672\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Unhinged Events\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Unhinged Events&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged.jpg?fit=227%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged.jpg?fit=509%2C672&amp;ssl=1\" tabindex=\"0\" role=\"button\" class=\"size-full wp-image-2341\" title=\"Unhinged Events\" src=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged.jpg?resize=509%2C672\" alt=\"An Image Should Be Here\" width=\"509\" height=\"672\" srcset=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged.jpg?w=509&amp;ssl=1 509w, https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged.jpg?resize=227%2C300&amp;ssl=1 227w\" sizes=\"(max-width: 509px) 100vw, 509px\" data-recalc-dims=\"1\" \/><\/a><figcaption id=\"caption-attachment-2341\" class=\"wp-caption-text\">Unhinged Events<\/figcaption><\/figure>\n<p>However this is a fast changing list of events and before I know it, my board needs to say this:<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_2342\" aria-describedby=\"caption-attachment-2342\" style=\"width: 513px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged2.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2342\" data-permalink=\"https:\/\/sl.governormarley.com\/?attachment_id=2342\" data-orig-file=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged2.jpg?fit=513%2C679&amp;ssl=1\" data-orig-size=\"513,679\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Later Events\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Later Events For Unhinged&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged2.jpg?fit=226%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged2.jpg?fit=513%2C679&amp;ssl=1\" tabindex=\"0\" role=\"button\" class=\"size-full wp-image-2342\" title=\"Later Events\" src=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged2.jpg?resize=513%2C679\" alt=\"An Image Should Be Here\" width=\"513\" height=\"679\" srcset=\"https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged2.jpg?w=513&amp;ssl=1 513w, https:\/\/i0.wp.com\/sl.governormarley.com\/slpress\/wp-content\/uploads\/2012\/11\/datainunhinged2.jpg?resize=226%2C300&amp;ssl=1 226w\" sizes=\"(max-width: 513px) 100vw, 513px\" data-recalc-dims=\"1\" \/><\/a><figcaption id=\"caption-attachment-2342\" class=\"wp-caption-text\">Later Events For Unhinged<\/figcaption><\/figure>\n<p>Now if I were using textures of course, these boards inworld would look funkier, the thing is I can make them a bit funkier, however I&#8217;m not using textures, I&#8217;m using <a title=\"llSetPrimMediaParams Tricks\" href=\"http:\/\/wiki.secondlife.com\/wiki\/LlSetPrimMediaParams\/Tricks\" target=\"_blank\">llSetPrimMediaParams tricks<\/a>. This is an imperfect solution but one with potential because I&#8217;m using HTML.<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>However it may be imperfect but\u00a0for a bit of fun, or a &#8220;<em>to hell with it, it&#8217;s my party and I&#8217;ll write if I want to<\/em>&#8221; type attitude, this has uses. For example, you want to write on one of these boards you&#8217;re having a 50% off sale, go for it, only those with the right setup will see it!<\/p>\n<p>Ok here&#8217;s the code I used in my second example of the board, hopefully the HTML shows up!<\/p>\n<p>show(string html)<\/p>\n<p>{<\/p>\n<p>html = &#8220;data:text\/html,&#8221; + llEscapeURL(html);<\/p>\n<p>llSetPrimMediaParams(0, \/\/ Side to display the media on.<\/p>\n<p>[PRIM_MEDIA_AUTO_PLAY,TRUE, \/\/ Show this page immediately<\/p>\n<p>PRIM_MEDIA_CURRENT_URL,html, \/\/ The url currently showing<\/p>\n<p>PRIM_MEDIA_HOME_URL,html, \/\/ The url if they hit &#8216;home&#8217;<\/p>\n<p>PRIM_MEDIA_HEIGHT_PIXELS,512, \/\/ Height\/width of media texture will be<\/p>\n<p>PRIM_MEDIA_WIDTH_PIXELS,512]); \/\/ rounded up to nearest power of 2.<\/p>\n<p>}<\/p>\n<p>default<\/p>\n<p>{<\/p>\n<p>state_entry()<\/p>\n<p>{<\/p>\n<p>show(&#8220;&lt;h1&gt;Friday November 23 at 4pm SLT: DJ Sredni Vashtar is back with a 2 hour set all about Sci-Fi, Robots, Time Lords, and Pizza. Host info as I have it.&lt;p&gt;Friday November 23 at 8pm SLT: Spiral Twin Friday moves to Unhinged, with The Freakkitteh Herself, Ms. Lokii Violet spinning the music&lt;\/h1&gt;&#8221;);<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>See, not a long script at all and you don&#8217;t even need to upload a texture! However, before you go unleashing this,\u00a0 <a title=\"Shared Media\" href=\"http:\/\/community.secondlife.com\/t5\/English-Knowledge-Base\/Shared-Media\/ta-p\/700145#Adding_shared_media_to_an_object\" target=\"_blank\">please read this page first<\/a>. Take note of the fact that you can change settings with regards to how others interact with your object. As I said, this is not perfect, but it can be fun!<\/p>\n<p>Check out tonight&#8217;s sets at Unhinged <a title=\"Uhinged Friday Sets\" href=\"http:\/\/unhingedsl.com\/2012\/11\/18\/new-sets-added\/\" target=\"_blank\">here<\/a>.<\/p>\n<p><a class=\"twitter-share-button\" href=\"https:\/\/twitter.com\/share\" data-via=\"Ciaran_Laval\" data-url=\"http:\/\/sl.governormarley.com\/?p=2340\">Tweet<\/a><br \/>\n<script type=\"text\/javascript\">\/\/ <![CDATA[\n!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=\"\/\/platform.twitter.com\/widgets.js\";fjs.parentNode.insertBefore(js,fjs);}}(document,\"script\",\"twitter-wjs\");\n\/\/ ]]><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is part one of what will probably be a one part series, but you never know. Anyway, there are some odd tips and tricks around\u00a0LSL and I&#8217;m quickly going to look at one of them. Ok so, here&#8217;s the scenario, Unhinged &#8211; A festival for Eku&#8217;s head, has more goings on in terms of &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/sl.governormarley.com\/?p=2340\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Things With Potential That Don&#8217;t Quite Work Part 1&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[3,14],"tags":[19,272,438,1022,437],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6rJUK-BK","jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/2340"}],"collection":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2340"}],"version-history":[{"count":4,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/2340\/revisions"}],"predecessor-version":[{"id":2346,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/2340\/revisions\/2346"}],"wp:attachment":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}