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.

Twitter @Follow Button

2 posters

Go down

Solved Twitter @Follow Button

Post by Hardcore Gamer August 12th 2012, 10:15 am

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 August 17th 2012, 2:19 am; edited 1 time in total
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Hardcore Gamer August 13th 2012, 7:07 am

Bump...
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Hardcore Gamer August 14th 2012, 10:42 am

Again, bump...
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Sanket August 14th 2012, 11:43 am

Do you have that code from twitter?
Sanket
Sanket
ForumGuru

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

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Hardcore Gamer August 14th 2012, 12:06 pm

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

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Hardcore Gamer August 15th 2012, 10:07 am

Bump...
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Sanket August 15th 2012, 10:31 am

Sanket
Sanket
ForumGuru

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

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Hardcore Gamer August 15th 2012, 12:18 pm

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.
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Sanket August 15th 2012, 6:28 pm

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:
Sanket
Sanket
ForumGuru

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

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Hardcore Gamer August 15th 2012, 8:47 pm

I'll try that. But there are so many codes on that website, which one do I use?
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Sanket August 16th 2012, 10:23 am

Any one which you like, each display it differently. Its your personal choice.
Sanket
Sanket
ForumGuru

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

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Hardcore Gamer August 16th 2012, 9:03 pm

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.
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Sanket August 16th 2012, 9:06 pm

Forum URL please?

Also the exact code that you added?
Sanket
Sanket
ForumGuru

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

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Hardcore Gamer August 16th 2012, 9:15 pm

Spoiler:

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

I want the button above "Your last visit was on...", on the left there.
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Sanket August 16th 2012, 9:40 pm

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.
Sanket
Sanket
ForumGuru

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

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Hardcore Gamer August 16th 2012, 10:02 pm

Yes, it worked. Thank you so much. Solved.
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

Solved Re: Twitter @Follow Button

Post by Sanket August 17th 2012, 10:11 am

Topic Solved & Locked
Sanket
Sanket
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum