<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[Ricodigo's blog]]></title>
  <link href="http://blog.ricodigo.com/atom.xml" rel="self"/>
  <link href="http://blog.ricodigo.com/"/>
  <updated>2012-02-16T19:10:38-05:00</updated>
  <id>http://blog.ricodigo.com/</id>
  <author>
    <name><![CDATA[Ricodigo]]></name>
    
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    <title type="html"><![CDATA[Easy tooltips with jQuery UI]]></title>
    <link href="http://blog.ricodigo.com/blog/2012/02/17/easy-tooltips-with-jquery-ui/"/>
    <updated>2012-02-17T13:33:00-05:00</updated>
    <id>http://blog.ricodigo.com/blog/2012/02/17/easy-tooltips-with-jquery-ui</id>
    <content type="html"><![CDATA[<p>There are tons of fancy tooltips plugins available. However, thanks to the position method of jQuery UI, you may not need any of these (if you’re already using jQuery UI) as I&#8217;ve found out while <a href="http://blog.ricodigo.com/blog/2012/02/09/a-preview-of-the-next-shapado-and-whats-to-come/">adding tooltips to the next Shapado</a>.</p>

<p>One of the ways to do this it to just add a div that will contain the text of your tooltip, in this case we&#8217;ll just give it the class ‘tooltip’.</p>

<pre><code>&lt;p&gt;Show me that cool &lt;a class='special'&gt;tooltip&lt;/a&gt;.&lt;/p&gt;
&lt;div class='tooltip'&gt;
  &lt;div class=arrow&gt;▲&lt;/div&gt;
  &lt;div class=text&gt;This is so cool&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>And then add some JS:</p>

<pre><code>$(document).ready(function(){
  $('.special').hover(function(){
  $(this).next('.tooltip').show();
  $(this).next('.tooltip').
    position({at: 'bottom center', of: $(this), my: 'top'})
});
</code></pre>

<p>What we’re doing here is that when the user hovers over the link, we show the tooltip div and position it at the bottom of the link using the jQuery UI position method.</p>

<pre><code>$('.special').mouseleave(function(){
  $('.tooltip').hide();
});
</code></pre>

<p>And then we just hide it when the mouse leaves the link. You could also set a timer to close it or add a button inside the tooltip to close it manually, this is usefull if the tooltip contains some medias such as a youtube video or links.</p>

<p>Now we just add a bit of styling and that’s it!</p>

<pre><code>.tooltip{
  text-align: center;
  color: black;
  display: none;
  position: absolute;
}
.tooltip .text{
  background-color: black;
  color:white;
  margin-top: -15px;
}
.tooltip .arrow {margin-bottom: 8px;margin-top: -5px;}
</code></pre>

You can obviously add more or less styling to your liking.

<style type='text/css'>
.tooltip{text-align:center;color:black;display:none;position:absolute;
}
.tooltip .text{background-color: black; color:white;margin-top: -15px;}
.tooltip .arrow {margin-bottom: 8px;margin-top: -5px;}
</style>
<div>Now show me that cool <a href='http://blog.ricodigo.com/' class='special'>TOOLTIP</a>!
<div class='tooltip'><div class=arrow>▲</div><div class=text>This is so cool</div></div>
</div>

<p>You can read more about jQuery UI position <a href="http://jqueryui.com/demos/position/">here</a></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js" type="text/javascript"></script>
<span style="display:none;" id=technorati>9TX4Z49VXPAP</span>
<script type="text/javascript">
  jQuery.noConflict();


jQuery(document).ready(function(){
  jQuery('.special').mouseenter(function(){
  jQuery(this).next('.tooltip').show();
   jQuery(this).next('.tooltip').position({at: 'bottom center', of: $(this), my: 'top', offset: '0 15'})

  });


  jQuery('.special').mouseleave(function(){$('.tooltip').hide();});
});
</script>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[A preview of the next Shapado and what's to come]]></title>
    <link href="http://blog.ricodigo.com/blog/2012/02/09/a-preview-of-the-next-shapado-and-whats-to-come/"/>
    <updated>2012-02-09T16:36:00-05:00</updated>
    <id>http://blog.ricodigo.com/blog/2012/02/09/a-preview-of-the-next-shapado-and-whats-to-come</id>
    <content type="html"><![CDATA[<p>Lots have happened since our <a href="http://blog.ricodigo.com/blog/2011/09/11/shapado-4-dot-0-released/">latest release</a> in September that included a complete redesign and other cool features such as &#8220;reply by email&#8221;, CSS custom themes, mobile UI and more.</p>

<p>This time, for the new 4.1 release that is to come, we&#8217;ve focused on fixing bugs, polishing the UI and added a few new features that we will discribe in various blog posts.</p>

<p>For now, I&#8217;ll show you a few screenshots of the new index page, it isn&#8217;t set in stone yet but it already looks much more polished than it used to.</p>

<p><img src="http://pub.ricodigo.com/shapanew/shapanew.png"><a href="http://pub.ricodigo.com/shapanew/shapanew.png">Full Size</a></p>

<p>One thing we want to improve is usability. To that end, we are going to add more documentation in general directly in the user interface. For starters, we&#8217;ll be using fancy tooltips that show information about various UI elements. As you can see in this screenshot, when you hover over a tag, you will see a description of that tag, an icon (if it has one) and a link to follow all questions with that tag.</p>

<p><img src="http://pub.ricodigo.com/shapanew/shapanew1.png">
<a href="http://pub.ricodigo.com/shapanew/shapanew1.png">Full Size</a></p>

<p>We&#8217;ve added tooltips to users links too so you can quickly get an idea of who a user is and follow that user in a single click.</p>

<p><img src="http://pub.ricodigo.com/shapanew/shapanew2.png">
<a href="http://pub.ricodigo.com/shapanew/shapanew2.png">Full Size</a></p>

<p>Finally, we&#8217;ve also added new icons and improved the overall style of the app. For example, this is what the new badge widget looks like.</p>

<p><img src="http://pub.ricodigo.com/shapanew/shapanew3.png">
<a href="http://pub.ricodigo.com/shapanew/shapanew3.png">Full Size</a></p>

<p>In other news, we are now officially incorporated as a US company, so Ricodigo Inc is now a reality! We&#8217;re also working on the payment system with Stripe.com to make sure we offer the best paying experience possible.</p>

<p>That&#8217;s it for now, but we will keep blogging about all the new improvements that will come with the new release (including an awesome new styling system that will allow users to completely redesign their group, including the HTML, CSS and JS!). In the meantime, scroll down this page, move your mouse and let your creativity flow :) (Courtesy Paul Irish and Mr Doob)</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Shapado 4.0 Released!]]></title>
    <link href="http://blog.ricodigo.com/blog/2011/09/11/shapado-4-dot-0-released/"/>
    <updated>2011-09-11T17:01:00-05:00</updated>
    <id>http://blog.ricodigo.com/blog/2011/09/11/shapado-4-dot-0-released</id>
    <content type="html"><![CDATA[<p>We are very happy to announce today the new release and deploy of Shapado 4. We know it’s been a long time since our latest feature release but do know we’ve put a lot of hard work and dedication into our craft to make Shapado the best Q&amp;A platform around.</p>

<p>As you may have noticed, we’ve done a complete overhaul of the design and added many new features. It is hard to decide when exactly to release such a big version change, there are always more bugs to fix and more features to add.
For now, Shapado hosting will remain entirely free until all the outstanding bugs we haven’t catched so far are fixed. Rest assure though that we will always have a free hosting offer and that Shapado as a software will always remain Free and Open Source for all.</p>

<p><strong>The design:</strong>
Now let’s get to the meat, what’s new in this version? Well first, the new design done by <a href="https://twitter.com/dgfrancisco">@dgfrancisco</a>. We don’t want Shapado to be a clone of anything but to be its own software, with its own personality and style. We want it to be unique in design and unique in features. We hope you like it as much as we do. We’ve also made it flexible enough so you can have a two column layout instead of three or do your own theme without even knowing CSS.</p>

<p><strong>The features:</strong>
On the features side, we added many of them and we will blog separately about each. That being said, let me introduce you to the biggest features of this release. First and foremost, Shapado now has a real-time UI, this means new answers and questions will appear automatically on your browser with no need to refresh. Making the site more fun to browse, more instant and more interactive. We also have added the ability to answer questions directly from your email client so you don’t have to sign in to Shapado. Each user will also get personal feeds of questions that are of interest to them in order to make their experience on the site more interesting and curated.</p>

<p><strong>Here is a list of the most important changes:</strong></p>

<ul>
<li><strong>WebSocket:</strong> Shapado now has a live UI that updates itself automatically as questions, answers and comments get added</li>
<li><strong>Bounties:</strong> Offer karma points in exchange for an answer to your question.</li>
<li><strong>CSS themes:</strong> Easy interface to modify each css property</li>
<li><strong>Connect/merge social accounts:</strong> Merge your facebook, twitter and other social accounts.</li>
<li><strong>Facebook app:</strong> Embed shapado inside your facebook page.</li>
<li><strong>Invitations:</strong> Invite your friends.</li>
<li><strong>Complex search:</strong> Search by author, tag, date and more.</li>
<li><strong>Activities:</strong> See a list of latest activities.</li>
<li><strong>Save favorite answers:</strong> Find your favorite answers quickly</li>
<li><strong>Follow ups:</strong> Create new questions out of an answer or even a question.</li>
<li><strong>Personal feed:</strong> Curated list of questions, personal feeds will only show question you follow.</li>
<li><strong>Friend suggestion widget:</strong> Get suggestions to follow users you may know or tags you may be interested in.</li>
<li><strong>External widgets:</strong> Show widgets on your blog so that your users will ask questions from your blog.</li>
<li><strong>Custom html widget:</strong> Show custom html in your widgets.</li>
<li><strong>For admins:</strong> Post activities to twitter, for example all activities of this site are posted on this account.</li>
<li><strong>Reply by email:</strong> Users can now answer questions directly by mail.</li>
<li><strong>Custom access:</strong> Pick what user can use to sign in (email, openid, facebook, twitter etc)</li>
<li><strong>Redesign:</strong> Read above.</li>
<li><strong>Mobile ui:</strong> <a href="http://shapado.com/mobile">shapado.com/mobile</a></li>
<li><strong>Save search:</strong> When you search for something, you can save that search so that it will appear down your personal feeds.</li>
<li><strong>Attachments:</strong> Attach files to questions and answers.</li>
<li><strong>https:</strong> Surf Shapado securely.</li>
</ul>


<p>Last but not least, Shapado is now localized in English, German, Dutch, French, Spanish, Portuguese, Macedonian, Malay, Italian, Interlingua, Finnish, Galician, Belarusian, Russian, Danish, Persian, Tagalog, Simplified Chinese and more to come. You can contribute to the translation effort thanks to translatewiki <a href="http://translatewiki.net/wiki/Translating:Shapado">here</a>.</p>

<p>Here are some nerd stats of all the changes that went into this release:</p>

<pre><code> $ git diff --shortstat 3.x..master
 1800 files changed, 43721 insertions(+), 41472 deletions(-)
 $ git log 3.x..master --oneline | wc -l
 1956
</code></pre>

<p>We hope you like it and, as usual, report bugs on <a href="http://shapado.com">shapado.com</a> and get the source on <a href="http://gitorious.org/shapado">gitorious</a>.</p>
]]></content>
  </entry>
  
</feed>

