Adding a Tweet Button to Threads.
#11
Its working fine for me
   

Probably a browser issue. Try to view in another browser.
Reply
#12
(2010-12-17, 05:04 PM)Yaldaram Wrote: Its working fine for me


Probably a browser issue. Try to view in another browser.

Yea, its working in other browsers. I'll have to check out the one I'm using Firefox.
Thanks for the help.
Reply
#13
If you want to know how you can easily add a Twitter submit counter to all your thread using MyBB, that's also XHTML valid. Follow this simple guide below. It will grab both the URL of the thread and it's thread title. Plus it also works on multiple page threads (leads back to the correct thread page number) it was tweeted from.

Open the template called:
Show Thread Templates/showthread

Look for this code inside it:

					<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
				</div>
			</td>
		</tr>
	</table>
	<div class="float_left">
		{$multipage}

After that on a new line, add this Twitter code:

<br /><script src="http://platform.twitter.com/widgets.js" type="text/javascript">
</script><a href="http://twitter.com/share" class="twitter-share-button">Tweet</a>

That's it, all done!


Attached Files Thumbnail(s)
   
Reply
#14
Thanks for the guide Bolton.
Reply
#15
No problem. Big Grin
Reply
#16
Works great, thank you very much Smile
Thanks,
Matt
[Image: signaturelike.png]
Reply
#17
(2011-01-02, 05:57 PM)Gary Bolton Wrote: If you want to know how you can easily add a Twitter submit counter to all your thread using MyBB, that's also XHTML valid. Follow this simple guide below. It will grab both the URL of the thread and it's thread title. Plus it also works on multiple page threads (leads back to the correct thread page number) it was tweeted from.

Open the template called:
Show Thread Templates/showthread

Look for this code inside it:

					<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
				</div>
			</td>
		</tr>
	</table>
	<div class="float_left">
		{$multipage}

After that on a new line, add this Twitter code:

<br /><script src="http://platform.twitter.com/widgets.js" type="text/javascript">
</script><a href="http://twitter.com/share" class="twitter-share-button">Tweet</a>

That's it, all done!

Still works
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)