[WCDDL] Google Plus Ones, Modification

Description:
Add's a small Google Plus one's icon to each row of downloads (bubble).

Example:


How to implement?
1. open 'index.php' with notepad2/any ide
2. Find this line or similar:
PHP Code: 
<tr><td>Type</td><td><strong>Title</strong></td><td>Views</td></tr
3. Add this to the end:
PHP Code: 
<tr><td>Type</td><td><strong>Title</strong></td><td>Views</td><td>Google Plus</td></tr
4. Find this code block:
PHP Code: 
        <tr>
            <td><?php echo $row->type?></td>
            <td><a href="download.php?id=<?php echo $row->id?>"><?php echo $row->showTitle(); ?></a></td>
            <td><?php echo $row->views?></td>
        </tr>
5. and change to this:
PHP Code: 
        <tr>
            <td><?php echo $row->type?></td>
            <td><a href="download.php?id=<?php echo $row->id?>"><?php echo $row->showTitle(); ?></a></td>
            <td><?php echo $row->views?></td>
                        <td><g:plusone size="small" href="download.php?id=<?php echo $row->id?>"></g:plusone></td>
        </tr>
6. Trial and Error, check out your home page now, and try sharing content etc.
7. Add this between <head></head>
PHP Code: 
<script type="text/javascript">
  (function() {
    var 
po document.createElement('script'); po.type 'text/javascript'po.async true;
    
po.src 'https://apis.google.com/js/plusone.js';
    var 
document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pos);
  })();
</script> 
Notes:
-- Won't work on localhost.
_Vick Reviewed by _Vick on . [WCDDL] Google Plus Ones, Modification Google Plus Ones, Modification Description: Add's a small Google Plus one's icon to each row of downloads (bubble). Example: http://screensnapr.com/e/EQhYvb.jpg How to implement? 1. open 'index.php' with notepad2/any ide Rating: 5