Start collecting tibs

Wordpress plugin

We have created a simple WordPress plugin accessible from ‘add new’ in your WordPress plugin administration, or via wordpress.org - if you use WordPress this is the easiest way to go.

Show me how

Just a simple link

Collecting tibs can be as simple as a HTML link, we can provide a button graphic or you can just use the link as is.

Example

Advanced options

If you want your site to react to being tibbed a little bit of inline PHP can solve this for you - click the link and we’ll show you how.

Guide me

Wordpress plugin

We have created a sinple wordpress plugin acesable from your wordpress plugins menu - if you use wordpress this is the easiest way to go.

Show me how

Just a simple link

We have created a sinple wordpress plugin acesable from your wordpress plugins menu - if you use wordpress this is the easiest way to go.

Example

Reactive link for tib detection

If you want your site to react to being tibbed a little bit of inline PHP can solve this for you - click the link and we’ll show you how.

GUIDE ME

Bitcoin

Your bitcoin address

You’ll need a bitcoin address where we can deposit the tibs you receive, but you don’t need to know anything about bitcoin to get started. Use any of the services %%where=on the left%% to generate your unique bitcoin address in seconds.

Ensure that you keep your private key and/or pass-phrase secret, and don’t lose it!

Your bitcoin address

[bd-bitcoin-get-address where=”below”]

Using your bitcoin

Once you’ve accumulated some tibs at your bitcoin address, you will probably want to exchange them for local currency, or spend them. There are many online and downloadable bitcoin wallets available, and you can choose whichever you like.

%%where=On the right%% are some online bitcoin service providers that can get you up and running in minutes.

Using your bitcoin

[bd-bitcoin-online-wallet where=”Below”]

Why bitcoin?

You can think of bitcoin as you would any foreign currency, the bitcoin network as something like email for money, and your bitcoin address a little like a bank account

We use bitcoin to send you your money so that tibbing can be global, without needing to interface with each country’s unique banking systems. Simply include your bitcoin address in your link to tibit. As we pay out your received tibs, they are deposited directly into the address that you specified. There is no need to register with tibit.

Why bitcoin?

You can think of bitcoin as you would any foreign currency, and the bitcoin network as something like email for money.

We use bitcoin to send you your money so that tibbing is global, without interfacing with each country’s unique banking systems. Simply include your bitcoin address in your link to tibit. As we pay out your received tibs, they are deposited directly into the account that you specified, with no need to register with tibit.

Wordpress plugin


Collecting tibs on wordpress sites is easy, just watch our
explaination video to show you how…


Get the wordpress plugin

More advanced options

A callback URL enables your site to react when a tib is confirmed. If you provide a callback address, the
tibdit window will be redirected to it after the user confirms the tib. A token that you can retrieve and process however you wish is included.


<a href='https://tib.tibdit.com/t/YOUR BITCOIN ADDRESS?callback_url=YOUR CALLBACK URL'><br />
<a href='https://tib.tibdit.com/t/mwDzHePZBs9BxGHHNhWggk2ASUUmEKRuZH?callback_url=joesblog.com/tibhandler.php'><br />

The token is base64 and URL encoded query string


http://YOUR SITE ADDRESS/?tibdit=BASE64 ENCODED TIB TOKEN<br />
http://joesblog.com/?tibdit=?tibdit=Y2FsbGJhY2s9aHR0cCUzQSUyRiUyRmpvZXNibG9nLnN0YWdpbmcudGliZGl0LmNvbSUyRiZwYXlhZGRyPW1yVVJkRGIzNDVFaF-hOdm03YndEcHBCZG9TZ3hlRFhjNjcmc25pcHBldD1odHRwJTNBJTJGJTJGam9lc2Jsb2cuc3RhZ2luZy50aWJkaXQuY29tJTJGJnN1YnJlZj1qb2UmdGliY291bnQ9MTImdGli-Y3VzdG9tPQ==

After decoding you can see that the token contains the bitcoin address to be paid, subreference and the
number of confirmed tibs going to that bitcoin address for that subreference


payaddr=mwDzHePZBs9BxGHHNhWggk2ASUUmEKRuZH // your blog address<br />
subref=P12 // subreference set by you<br />
tibcount=15 // number of tibs sent to the bitcoin address

You should store your tibcount in order to display it to subsequent visitors

tibit application is created to detect social snippets to provide the best tibbing experience for the tibber, by displaying the title of the page, description and an image.


You can see that your social snippets are detected using this Meta Inspector.


To take full control of these you may want to consider adding the Open Graph protocol social snippet tags that would allow the tibdit application to provide your title, image, and description by adding following before the < /head > tag in the HTML.
<meta property="og:title" content="YOUR TITLE"/><br />
<meta property="og:image" content="YOUR IMAGE URL"/><br />
<meta property="og:type" content="website" /><br />
<meta property="og:url" content="YOUR URL" /><br />
<meta property="og:description "content="YOUR DESCRIPTION" /><br />

A quick set up guide, styles sheets, images and all the necessary scripts can be downloaded here


The following steps will allow you to integrate a button that changes its appearance once the button has been clicked. Once you’ve uploaded the tibdit directory to your website, you can get started.

Firstly, we’ll need to reference the tibdit scripts in the head section of the page

<script type="text/javascript" src='tib.js'></script></p>
<link rel="stylesheet" type="text/css" href="tib-button-style.css">

Then, at the start of the body section, we need to add some php to detect if the page has been tibbed and update the tib-counter accordingly.
<?php
  $payaddr = "YOUR BITCOIN ADDRESS";
  include "tib.php";
  processTib( DURATION_SECONDS );   
?>

Next to create the tib button by simply copying the code snippet below and pass in a sub-reference and a callback url (the url to return to once the user has tibbed).

<div id='tib-button' class='not-tibbed' 
    onclick = "tib('<?php echo $payaddr;?>‘,’YOUR_SUBREF’,’YOUR_URL’);”><br />
    <span class='count'><?php getCounter($payaddr, 'YOUR_SUBREF'); ?></span>
</div>

Now we’ll need a bit of logic to see if you’ve been tibbed…
<script>
    if(tibbed('YOUR_SUBREF')) 
    {document.getElementById("tib-button").className += "tibbed";} 
</script>

And you’re done!