Twitter @Follow Button
2 posters
Page 1 of 1
Twitter @Follow Button
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
Hardcore Gamer- Forumember
- Posts : 524
Reputation : 4
Language : English
Re: Twitter @Follow Button
Bump...
Hardcore Gamer- Forumember
- Posts : 524
Reputation : 4
Language : English
Re: Twitter @Follow Button
Again, bump...
Hardcore Gamer- Forumember
- Posts : 524
Reputation : 4
Language : English
Re: Twitter @Follow Button
Do you have that code from twitter?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Twitter @Follow Button
I'm not sure, how do I get the code?
Hardcore Gamer- Forumember
- Posts : 524
Reputation : 4
Language : English
Re: Twitter @Follow Button
Bump...
Hardcore Gamer- Forumember
- Posts : 524
Reputation : 4
Language : English
Re: Twitter @Follow Button
https://dev.twitter.com/docs/follow-button
That should help.
Some other styles can be found here.
http://twittercounter.com/pages/buttons
That should help.
Some other styles can be found here.
http://twittercounter.com/pages/buttons
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Twitter @Follow Button
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.
Hardcore Gamer- Forumember
- Posts : 524
Reputation : 4
Language : English
Re: Twitter @Follow Button
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:
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- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Twitter @Follow Button
I'll try that. But there are so many codes on that website, which one do I use?
Hardcore Gamer- Forumember
- Posts : 524
Reputation : 4
Language : English
Re: Twitter @Follow Button
Any one which you like, each display it differently. Its your personal choice.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Twitter @Follow Button
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.
Hardcore Gamer- Forumember
- Posts : 524
Reputation : 4
Language : English
Re: Twitter @Follow Button
Forum URL please?
Also the exact code that you added?
Also the exact code that you added?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Twitter @Follow Button
- Spoiler:
- <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>
Link: http://testforumhop.forumotion.com/
I want the button above "Your last visit was on...", on the left there.
Hardcore Gamer- Forumember
- Posts : 524
Reputation : 4
Language : English
Re: Twitter @Follow Button
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 corresponding to index_box
Find this in the code.
Then Publish the template.
Its added on my test forum.
Firstly, remove the code you added on the homepage message.
Go into Display>Templates>General
Click on corresponding to index_box
Find this in the code.
- Code:
<!-- BEGIN switch_user_logged_in -->
- 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>
Then Publish the template.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Twitter @Follow Button
Yes, it worked. Thank you so much. Solved.
Hardcore Gamer- Forumember
- Posts : 524
Reputation : 4
Language : English
Re: Twitter @Follow Button
Topic Solved & Locked |
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» How to use the Tweet button of Twitter?
» Any News on Twitter Button Being Fixed?
» Facebook and Twitter share button by subject
» NEWS: Twitter Button available on Forumotion forum
» Move Twitter Button to Post Footer
» Any News on Twitter Button Being Fixed?
» Facebook and Twitter share button by subject
» NEWS: Twitter Button available on Forumotion forum
» Move Twitter Button to Post Footer
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum