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
2 posters

    Twitter @Follow Button

    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Twitter @Follow Button

    Post by Hardcore Gamer Sun 12 Aug 2012 - 4:15

    Twitter @Follow Button Ija7A

    Is it possible to have something like the above on a phpBB2 forum, with the follower stats? Appreciate the help.


    Last edited by Hardcore Gamer on Thu 16 Aug 2012 - 20:19; edited 1 time in total
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Re: Twitter @Follow Button

    Post by Hardcore Gamer Mon 13 Aug 2012 - 1:07

    Bump...
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Re: Twitter @Follow Button

    Post by Hardcore Gamer Tue 14 Aug 2012 - 4:42

    Again, bump...
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Twitter @Follow Button

    Post by Sanket Tue 14 Aug 2012 - 5:43

    Do you have that code from twitter?
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Re: Twitter @Follow Button

    Post by Hardcore Gamer Tue 14 Aug 2012 - 6:06

    I'm not sure, how do I get the code?
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Re: Twitter @Follow Button

    Post by Hardcore Gamer Wed 15 Aug 2012 - 4:07

    Bump...
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Twitter @Follow Button

    Post by Sanket Wed 15 Aug 2012 - 4:31

    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Re: Twitter @Follow Button

    Post by Hardcore Gamer Wed 15 Aug 2012 - 6:18

    Okay, cool. But where do I put the code once I have it? This seems to be really complex, I don't get it... even after reading it.
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Twitter @Follow Button

    Post by Sanket Wed 15 Aug 2012 - 12:28

    You could add it to a widget.
    https://help.forumotion.com/frequently-asked-questions-f5/forum-widgets-t22589.htm#126813

    Or add it to Homepage message
    Display>generalities
    Homepage message
    Message Content:
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Re: Twitter @Follow Button

    Post by Hardcore Gamer Wed 15 Aug 2012 - 14:47

    I'll try that. But there are so many codes on that website, which one do I use?
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Twitter @Follow Button

    Post by Sanket Thu 16 Aug 2012 - 4:23

    Any one which you like, each display it differently. Its your personal choice.
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Re: Twitter @Follow Button

    Post by Hardcore Gamer Thu 16 Aug 2012 - 15:03

    Sanket wrote:
    Or add it to Homepage message
    Display>generalities
    Homepage message
    Message Content:

    I've just done that, but how would I be able to move it to left left instead of it being in the center? Also, how do I remove the border the homepage message has?

    Thanks for the help so far.
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Twitter @Follow Button

    Post by Sanket Thu 16 Aug 2012 - 15:06

    Forum URL please?

    Also the exact code that you added?
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Re: Twitter @Follow Button

    Post by Hardcore Gamer Thu 16 Aug 2012 - 15:15

    Spoiler:

    Link: http://testforumhop.forumotion.com/

    I want the button above "Your last visit was on...", on the left there.
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Twitter @Follow Button

    Post by Sanket Thu 16 Aug 2012 - 15:40

    http://testing.4rumer.com/forum
    Its added on my test forum.

    Firstly, remove the code you added on the homepage message.

    Go into Display>Templates>General
    Click on Edit corresponding to index_box
    Find this in the code.
    Code:
    <!-- BEGIN switch_user_logged_in -->
    Just before this code, you can add the following code.
    Code:
    <a href="https://twitter.com/mylink" class="twitter-follow-button" data-show-count="true" data-lang="en">Follow @twitterapi</a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script><br>
    Hit Save.
    Then Publish the template.
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

    Solved Re: Twitter @Follow Button

    Post by Hardcore Gamer Thu 16 Aug 2012 - 16:02

    Yes, it worked. Thank you so much. Solved.
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Twitter @Follow Button

    Post by Sanket Fri 17 Aug 2012 - 4:11

    Topic Solved & Locked

      Current date/time is Sun 22 Sep 2024 - 13:29