The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    New Like function for PHPbb2

    Susanne
    Susanne
    New Member


    Female Posts : 8
    Reputation : 1
    Language : english
    Location : Denmark

    Solved New Like function for PHPbb2

    Post by Susanne Wed 10 Sep - 14:40

    Hello dear team, 

    I found this thread ( Link ) and tried to install this function into my phpbb2 forum (weimaranerforum ) by taking this tut (Link ) and just changing this code: 
    Code:
    var like_version = 'phpbb3';
    var DOM_IS_READY = false;
    $(function(){DOM_IS_READY=true;});
    var vote_singular = 'Like';
    var vote_plural = 'Likes';
    $.getScript('http://www.avacweb.net/like');

    to this:
    Code:
    var like_version = 'phpbb2';
    var DOM_IS_READY = false;
    $(function(){DOM_IS_READY=true;});
    var vote_singular = 'Like';
    var vote_plural = 'Likes';
    $.getScript('http://www.avacweb.net/like');

    but nothing happens in my forum.... Sad

    Can somebody pls help me out?

    Thanks
    Susanne


    Last edited by Susanne on Wed 10 Sep - 18:56; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51500
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: New Like function for PHPbb2

    Post by SLGray Wed 10 Sep - 17:55

    The tutorial is only for phpBB3 and Invision.



    New Like function for PHPbb2 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: New Like function for PHPbb2

    Post by Ange Tuteur Wed 10 Sep - 18:01

    Hello Susanne,

    Try replacing your script by :
    Code:
    var like_version = 'phpbb2';
    var DOM_IS_READY = false;
    $(function(){DOM_IS_READY=true;});
    var vote_singular = 'Like';
    var vote_plural = 'Likes';
    $.getScript('http://micsoft.xp3.biz/like');
    Susanne
    Susanne
    New Member


    Female Posts : 8
    Reputation : 1
    Language : english
    Location : Denmark

    Solved Re: New Like function for PHPbb2

    Post by Susanne Wed 10 Sep - 18:29

    Hello Ange Tuteur, 

    :wouhou: :wouhou: Thank you so much!! It worked.
    Can you also please tell me how to change the CSS so that the Like looks like here in this help-forum?

    Thanks from a happy Susanne
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: New Like function for PHPbb2

    Post by Ange Tuteur Wed 10 Sep - 18:34

    You're welcome. Smile

    That will be hard since the support uses a different script for Phpbb3.
    Susanne
    Susanne
    New Member


    Female Posts : 8
    Reputation : 1
    Language : english
    Location : Denmark

    Solved Re: New Like function for PHPbb2

    Post by Susanne Wed 10 Sep - 18:54

    Ok - Thank you anyway Smile thumleft :rose:

    Greetings from Denmark
    Susanne
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: New Like function for PHPbb2

    Post by Ange Tuteur Wed 10 Sep - 19:10

    You're welcome ^^

    Topic archived

    Have a great day. Smile

      Current date/time is Tue 24 Sep - 21:19