Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: sidebar widgets

  1. #21
    Admin LikeBtn's Avatar
    Join Date
    Sep 2011
    Posts
    320
    OK. Let's concentrate on this like button:

    <!-- HOSTGATOR -->
    <div style="position: absolute; left: 30px; top: 200px; ;width: 180px; height: 400px;">
    <center> <strong>HOSTGATOR</strong> </center><br>
    After signup you will be given access to the HostGator reseller control panel, Web Host Manager. WHM will allow you to manage, and provide, your customers with their own user control panels (cPanel) which will enable them to create and modify their own web sites. Once your customer is logged into cPanel they are able to control sub domains, email addresses, passwords and much more without requiring any assistance! In the event that you encounter any difficulties, we're available 24/7/365 to help</div>
    <div><a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=trevandtess-" target="blank"><img style="position: relative; left: 187px; top: 5px; width: 55px; height: 400px;" src="http://tracking.hostgator.com/img/Shared/120x600.gif" alt="" border="0" /></a></div>

    <!-- LikeBtn.com BEGIN -->
    <span style="position: relative; left: 82px; top: 20px;" class="likebtn-wrapper" data-identifier="hostgator" data-dislike_enabled="false" data-icon_dislike_show="false" data-voting_cancelable="false" data-voting_frequency="120" data-counter_clickable="true" data-counter_zero_show="true" data-popup_hide_on_outside_click="false" data-lazy_load="true"></span>
    <script>(function(d,e,s){a=d.createElement(e);m= d. getElementsByTagName(e)[0];a.async=1;a.src=s;m.parentNode.insertBefore(a, m)})(document,"script","//w.likebtn.com/js/w/widget.js");</script>
    <!-- LikeBtn.com END -->
    You wrote:
    There are two like buttons in this code. None of them work. I can add likes but they disappear after time. And the most liked list does not change.
    You set voting frequency to 120 seconds. It looks like you want to allow visitors to vote every 2 minutes. If yes then you have to go to http://likebtn.com/en/customer.php/websites and set "IP address vote interval" for your website to "120" seconds.


  2. #22
    Junior Member
    Join Date
    Dec 2014
    Posts
    15
    I have changed that. It was on 1 second only but I was trying to figure it out.


  3. #23
    Admin LikeBtn's Avatar
    Join Date
    Sep 2011
    Posts
    320
    Do you still have problems with sidebar like button?


  4. #24
    Admin LikeBtn's Avatar
    Join Date
    Sep 2011
    Posts
    320
    You need to specify a site_id parameter data-site_id="5482a8403866e145325010b7" for each like button added using HTML on your local website:

    <span style="position: relative; left: 82px; top: 20px;" class="likebtn-wrapper" data-identifier="hostgator" data-site_id="5482a8403866e145325010b7" data-dislike_enabled="false" data-icon_dislike_show="false" data-voting_cancelable="false" data-voting_frequency="120" data-counter_clickable="true" data-counter_zero_show="true" data-popup_hide_on_outside_click="false" data-lazy_load="true"></span>
    The same site_id must be specified on the plugin Synchronization tab.


  5. #25
    Junior Member
    Join Date
    Dec 2014
    Posts
    15
    The data-site-id= has solved the sidebar most liked list. Thanks for your input.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •