MyBB Community Forums

Full Version: Social Share Thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
Use these: http://www.komodomedia.com/blog/2009/06/...icon-pack/

They're nicer (in my opinion) and the license is just fine (very popular among graphic releases).
Thank you faviouz for your reply! However I still don't quite understand the license...
I should put exactly this:
Quote:Social Network Icon Pack by Komodo Media, Rogie King is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
Based on a work at www.komodomedia.com.
somewhere on my homepage, like footer...

And that's all I can use it for free on my forum? Am I right? Big Grin
To be honest, I wasn't even aware that a linkback was required. Toungue But now that I carefully read the license, it is indeed true. I don't think you need all of that text though. On the downloads page it says "Free for use with a link back to komodomedia.com", which means you can customize your message in whatever way you want, as long as it links back to komodomedia.com. It could be:

Quote:Social networking icons by Komodo Media.

As well as:

Quote:Icons by komodomedia.com

Just as long as there is a hyperlink leading to komodomedia.com. Besides that, you're completely free to use them on your forum. You must, of course, do it under the terms of the Creative Commons Attribution-Share Alike 3.0 Unported License.
Thank you faviouz very much!
This might be the very first license that I ever understood Big Grin
I will put the "Social networking icons by Komodo Media" at the footer.
how do I get the icons to go above the multipage section when there's a thread with more than 1 page?
(2010-04-07, 04:17 AM)Damion Wrote: [ -> ]Share thread:

This will add social buttons to the top of each thread.

Example:
[Image: 43316887.png]

Thanks to Chrissy Poo for helping devlope this edit.

Fixes by Chrissy Poo.
  • Fixed Missing ALT Tag on Twitter.
  • Pages open in New Window when buttons are clicked.
  • Post Titles are transfered to Twitter, Reddit and Delicious (only 3 that need it).
  • Web 2.0 Style Buttons hosted on Your Server.
  • Added StumbleUpon to the Bookmarks.
Instructions:
  • Download Icons from Here.
  • Upload the 6 24px x 24px Icons you need (Digg, Delicious, Reddit, Facebook, Twitter and StumbleUpon) to your server.
  • Edit the code below by editing each instance of "LINK TO SOCIAL ICON" with the correct link to the social image which you uploaded to your server.
  • Go to ACP >> Templates & Style >> Templates >> Theme your using >> Show Thread Templates >> showthread_ratethread and paste the code below everything. Save the changes.
  • Check everything is working by visiting a thread on your forum.
Demo of this Code Installed: Click Here

Code Needed:
<div style="margin-top: 6px; padding-right: 10px;" class="float_left">

<strong style="float: left; padding-right: 10px;">Share Post:</strong>

<a title="Digg" href="http://digg.com/submit?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}" target="_blank"><img src="LINK TO SOCIAL ICON" alt="Digg" /></a>

<a title="Delicious" href="http://del.icio.us/post?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}&title={$thread['subject']}" target="_blank"><img src="LINK TO SOCIAL ICON" alt="Delicious" /></a>

<a title="Reddit" href="http://reddit.com/submit?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}&title={$thread['subject']}" target="_blank"><img src="LINK TO SOCIAL ICON" alt="Reddit" /></a>

<a title="Facebook" href="http://www.facebook.com/share.php?u={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}" target="_blank"><img src="LINK TO SOCIAL ICON" alt="Facebook" /></a>

<a title="Twitter" href="http://twitter.com/home?status={$thread['subject']} - {$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}" target="_blank"><img src="LINK TO SOCIAL ICON" alt="Twitter" /></a>

<a title="StumbleUpon" href="http://www.stumbleupon.com/submit?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}" target="_blank"><img src="LINK TO SOCIAL ICON" alt="StumbleUpon" /></a>

</div>

Need any help or more buttons just ask.

When I click on the buttons it brings me to the share page but it doesn't include the tid in the link it creates so when people click on the link in lets say facebook it drops them to the error page.

here is my forum if you want to test it MW3xp.com/forum
i cant see button...
(2010-06-20, 02:12 AM)Oxygen Wrote: [ -> ]Also if you wanted to add this into every post and not just the main for thread to be sent you could do this, i tested this and it is is working..

Find:
{$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}

Replace:
{$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}&pid={$post['pid']}

Use it on my site, right under the ip logged. Gives other advantages to for mods like portals, you could essentially do the same thing for the news display on mods like proportal and make it sociable.

Hi oxygen,
are you sure that is working, because it sends the thread and not the post can you help?
Quote:Hi oxygen,
are you sure that is working, because it sends the thread and not the post can you help?
The code seems fine, have you added it in the postbit and is shown on every post?
Pages: 1 2 3 4 5 6