Activity Stream
48,167 MEMBERS
6674 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3
  1.     
    #1
    Banned
    Website's:
    Seecure.me

    Lightbulb [WCDDL] Google Plus Ones, Modification

    [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

  2.   Sponsored Links

  3.     
    #2
    Respected Developer
    Website's:
    wrzc.org
    PHP Code: 
    <g:plusone size="small" href="download.php?id=<?php echo $row->id?>"></g:plusone>
    Looks good. Small tip.
    Replace above with this if you want it to be html5 valid and have consistent root urls. eg all with or without the www part.
    PHP Code: 
    <div class="g-plusone" data-size="small" data-href="<?php echo WCDDL_PATH?>download.php?id=<?php echo $row->id?>"></div>
    Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic

    Huge list of Warez Sites and free Multiposter Templates

  4.     
    #3
    Banned
    Website's:
    Seecure.me
    Thank's Happy!

    I was having problems with that for the next one I'm about to post up, helps alot!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [WCDDL] Tweet Download on Twitter, Modification
    By _Vick in forum Web Development Area
    Replies: 1
    Last Post: 8th Feb 2012, 12:13 AM
  2. [WCDDL] Facebook Likes, Modification
    By _Vick in forum Web Development Area
    Replies: 0
    Last Post: 7th Feb 2012, 10:15 PM
  3. What the name of this modification?
    By Snell in forum phpBB
    Replies: 2
    Last Post: 28th May 2010, 12:40 PM
  4. [WCDDL] Bold Keywords in Search Results - Same As Google!
    By tdsii in forum Webmaster Resources
    Replies: 2
    Last Post: 3rd May 2009, 09:46 PM
  5. My first WCDDL modification - Better pagination
    By CyberJ37 in forum Webmaster Resources
    Replies: 0
    Last Post: 24th Jan 2009, 11:16 AM

Tags for this Thread

BE SOCIAL