Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Junior Member
    Join Date
    May 2015
    Posts
    14
    Quote Originally Posted by support View Post
    data-group-identifier parameter not needed.
    Try to remove button code and follow video instruction:
    http://likebtn.com/en/vbulletin-like-button
    You don't need to write code manually.
    Button generator will generate correct code for you.
    You just must to insert this code into vBulletin post template.
    Please refer to Post #3 above.
    At that point I had inserted the button code, as per instructions in video, but when I clicked one of your buttons, to 'Like' one post in a thread, my 'Like' was added to all other posts in the thread.
    I had left data-group-identifier parameter field blank when I generated the code.


  2. #12
    Junior Member
    Join Date
    May 2015
    Posts
    14
    Quote Originally Posted by softreg View Post
    Please refer to Post #3 above.
    At that point I had inserted the button code, as per instructions in video, but when I clicked one of your buttons, to 'Like' one post in a thread, my 'Like' was added to all other posts in the thread.
    I had left data-group-identifier parameter field blank when I generated the code.
    In other words, the code below (the first code I tried), results in buttons that when clicked add a like to all buttons.


    Code:
    <!-- LikeBtn.com BEGIN -->
    <span class="likebtn-wrapper" data-identifier="post_{vb:raw post.postid}" data-white_label="true" data-show_dislike_label="true" data-popup_dislike="true" data-share_enabled="false" data-site_id="5550f6d69b1d1b6e54bdad0f"></span>
    <script>(function(d,e,s){if(d.getElementById("likebtn_wjs"))return;a=d.createElement(e);m=d.getElementsByTagName(e)[0];a.async=1;a.id="likebtn_wjs";a.src=s;m.parentNode.insertBefore(a, m)})(document,"script","//w.likebtn.com/js/w/widget.js");</script>
    <!-- LikeBtn.com END -->


  3. #13
    Junior Member
    Join Date
    May 2015
    Posts
    14
    Copied directly from Postbit template.

    When I click one of your buttons, to 'Like' one post in a thread, my 'Like' is added to all other posts in the thread. In fact, clicking on any Like button adds a like to every single post on the entire forum.



    Code:
    <if condition="$show['moderatedattachment']">
                    <fieldset class="fieldset">
                        <legend>$vbphrase[attachments_pending_approval]</legend>
                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                        $post[moderatedattachments]
                        </table>
                    </fieldset>
                </if>
    
                </div>
            <!-- / attachments -->
            </if>
    
    <br/>
    <!-- LikeBtn.com BEGIN -->
    <span class="likebtn-wrapper" data-identifier="post_{vb:raw post.postid}" data-white_label="true" data-show_dislike_label="true" data-popup_dislike="true" data-share_enabled="false" data-site_id="5550f6d69b1d1b6e54bdad0f"></span>
    <script>(function(d,e,s){if(d.getElementById("likebtn_wjs"))return;a=d.createElement(e);m=d.getElementsByTagName(e)[0];a.async=1;a.id="likebtn_wjs";a.src=s;m.parentNode.insertBefore(a, m)})(document,"script","//w.likebtn.com/js/w/widget.js");</script>
    <!-- LikeBtn.com END -->
    
            $template_hook[postbit_signature_start]
            $ad_location[ad_showthread_firstpost_sig]
    
            <if condition="$post['signature']">
            <!-- sig -->
                <div>
                    __________________<br />
                    $post[signature]
                </div>
            <!-- / sig -->
            </if>

    Last edited by softreg; 05-14-2015 at 08:05 PM.

  4. #14
    Junior Member
    Join Date
    May 2015
    Posts
    14
    Support,

    Do I take it that your lack of response means you have given up on this?


  5. #15
    LikeBtn Support support's Avatar
    Join Date
    Jan 2015
    Posts
    121
    Our Support Team try to resolve problem soon as possible.


  6. #16
    Junior Member
    Join Date
    May 2015
    Posts
    14
    Quote Originally Posted by support View Post
    Our Support Team try to resolve problem soon as possible.
    Thanks.

    Since you have been kind enough to let me know that you're on the case, I will wait to hear from you before making decisions on how to proceed.


  7. #17
    LikeBtn Support support's Avatar
    Join Date
    Jan 2015
    Posts
    121
    Try to follow video instruction in the posts above.
    Likebtn span contains only class and data-identifier.
    Try to remove other parameters in your span code.
    Try to clear cache - Ctrl+F5.


  8. #18
    Junior Member
    Join Date
    May 2015
    Posts
    14
    Quote Originally Posted by support View Post
    Try to follow video instruction in the posts above.
    Likebtn span contains only class and data-identifier.
    Try to remove other parameters in your span code.
    Try to clear cache - Ctrl+F5.
    Please refer to Post #13.

    To address your points in order.

    1. I have followed your video instructions carefully, I have used your code generator carefully and I have carefully inserted code as per your instructions. Code quoted in Post #13 is exactly what I tried and it does not work.
    2. I have no idea what you are trying to get at.
    3. I have no idea what you are trying to get at.
    4. Tried that several times and it made no difference at all. In fact, I logged out of forum, deleted cookies, cleared cache and then logged back in - that made no difference either.


    If you are saying that the inserted code is somehow wrong the please just post correct code.


  9. #19
    Junior Member
    Join Date
    May 2015
    Posts
    14
    The code below works as it should in that buttons work individually.

    However, now that I have removed all other parameters (generated by your code generator), I have a load of junk that I don't want (Facebook share buttons etc) and none of the stuff that I do want (Show popup on disliking etc).

    The question is; how do I get the other parameters to work?
    Clearly your code generator doesn't get the job done so how do we proceed?


    Code:
    <br/>
    <!-- LikeBtn.com BEGIN -->
    <span class="likebtn-wrapper" data-identifier="post_{vb:raw post.postid}" data-site_id="5550f6d69b1d1b6e54bdad0f"></span>
    <script>(function(d,e,s){if(d.getElementById("likebtn_wjs"))return;a=d.createElement(e);m=d.getElementsByTagName(e)[0];a.async=1;a.id="likebtn_wjs";a.src=s;m.parentNode.insertBefore(a, m)})(document,"script","//w.likebtn.com/js/w/widget.js");</script>
    <!-- LikeBtn.com END -->


  10. #20
    LikeBtn Support support's Avatar
    Join Date
    Jan 2015
    Posts
    121
    Try to regenerate button with needed parameters, like you generated working button.
    Post new code please, if it will be not working.
    Do not type parameters manually.
    As i see cache clearing helped.


Posting Permissions

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