MyBB Community Forums

Full Version: Share thread forum view:
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Share thread forum view:

This will add social buttons to each thread on forum view.

Example:
[Image: 72144682.png]

Go to ACP >> Templates & Style >> Templates >> Theme your using >> Forum Display Templates >> forumdisplay_thread
and then paist this code aboth "{$rating}"

<td align="center" width="100px" class="{$bgcolor}"><a href="http://twitter.com/home?status=Check+out+{$mybb->settings['bburl']}/{$thread['threadlink']}+on+demo+board"><img src="http://icons3.iconfinder.netdna-cdn.com/data/icons/web2/Icons/Twitter_24x24.png" alt="" /></a>

<a href="http://www.facebook.com/share.php?u={$mybb->settings['bburl']}/{$thread['threadlink']}"><img src="http://icons3.iconfinder.netdna-cdn.com/data/icons/web2/Icons/FaceBook_24x24.png" alt="" /></a></td>
	

Then go to ACP >> Templates & Style >> Templates >> Theme your using >> Forum Display Templates >> forumdisplay_threadlist
and then paist this code aboth "{$ratingcol}"

<td class="tcat" align="center" width="7%"><span class="smalltext"><strong>Share</strong></span></td>


Need any help or more buttons just ask.
Great job. I love it Smile
(2010-04-07, 11:41 AM)Tierney Wrote: [ -> ]Great job. I love it Smile

Thank you.
Very nice... Defo adding them Big Grin
nice thread
"Share thread forum view" mod for Twitter has an error, help...

This mod does not load the posted thread on twitter:

Can someone show me how to fix this?

Many thanks for your assistance...

Robert
Im having the same issue as above, thanks.
Nevermind...!