Jump to content


Welcome to IPS!

Feel free to browse our community to get a feel for how our community software operates. Post in the pre-sales forum with any questions you have before purchasing or use the Test Posting forum to post a few messages yourself! You can also get a free demo to try the IPS Community Suite yourself.

Already an active IPS client?

Login with the same email address and password you use for the client area to access client-only areas.





Photo * * * * * 6 votes

IP.Board 3.1.0 Dev Update: Sharing Links

Posted by Matt, in Beta, 3.1.0 05 February 2010 · 805 views


Following on from our recent blog entry about Twitter Integration, I'd like to present our newest IP.Board 3.1.0 feature: Sharing Links. This new feature makes good use of our improved Facebook Connect integration and the new Twitter integration.

As most Facebook and Twitter users have discovered, sometimes you see a link to a great article or topic and want to share it with your friends and followers. This new feature makes this very easy to do. You don't even have to leave the page to do it. The ease of use will encourage your members to share your links among their friends increasing the traffic to your forum.

If you have connected your forum account to Twitter and Facebook, then clicking on the share link icon for those services loads a pop-up enabling you to tailor your content before sending it. Of course, there are many more places to share links which is why we've included a few other methods by default and made it very easy to add your own.

Let's look at the feature in more detail.

The screen shot below shows a typical topic and the new share icons underneath. In this case, we've just clicked on the "Twitter" icon:

Posted Image

Now, lets hit "Share". We see a confirmation of our tweet and a link to it:

Posted Image

Let's take a quick look on the Twitter site to confirm it. (I've removed some of the bit.ly URL in this screen shot)

Posted Image

Now, let's hit the Facebook icon:

Posted Image

A quick look on Facebook confirms the link has been added to my wall

Posted Image

Of course, if you don't have your account linked to Twitter or Facebook, the standard "share" link is launched for each service. The other services act like this too, a new window is opened with the service's share page loaded and filled in.

Developers will be pleased to note that adding share links to your own pages is incredibly easy. All you need to do is add one small line of code to your templates and it handles the rest. You don't need to load or parse any data directly, it's all handled for you. For example:

Share this: {IPSLib::shareLinks( $documentTitle )}

Wouldn't it be great to know which links were shared and how many times? You'll be pleased to know that IP.Board tracks the number of shares for each URL and service type and can show a log of this data in the Admin CP. We've also put together a side bar hook to process this data:

Posted Image

This data is cached each time a link is shared, so it is very light to load and process. It is entirely abstracted so your own applications can make use of it.

It's no secret how social media has improved how we share data to each other and this feature allows your board to gain more exposure using existing services. The seamless integration with Facebook and Twitter lowers the barrier for sharing your content.

Here's a quick overview of the feature:

- Global on/off switch to remove the share link icons and functionality
- On/off switch per forum to remove the icons and functionality
- Fall back to simple service's "share" page if member doesn't have JS enabled, or does not have their account connected
- Admin CP options to add more services and to disable existing services
- Sidebar hook uses cached data and can be disabled. Guests cannot see it.
- Topics that are shared that you do not have permission to see have the topic title "Protected Topic" by default in the sidebar block.




Sorry I am a noob. It looks fantastic. But how can I enable this functionality? Thank you!

miikerocks, on 06 February 2010 - 01:03 AM, said:

I bet Charles is happy it's just not another suggestion from you! :lol: Ya IPB 3.1 is going to be absolutely epic people aren't gunna be able to believe it! It's amazing though how here you see this like skin upgrader from Michael and then the ad integration and sharing links and soft delete and virtual limitless awesomeness coming day by day and it's like :o !
Ha ha funny... <_<

Seriously though, as I mentioned, not really of big interest to me, so as near as I can tell, it's got all the needed features, including the ability to add/edit/remove services.

As for more suggestions, I'm an idea person. I toss out the ideas and hope that something useful is gained from it.
this is awesome and will save me loads of time
Is there any possibility that we could share links from a Facebook Page we are the admin of?

I've got a Page set up for my board. I'd like for my links to be shared there instead of on my personal account.
Wow! I'm blown away!! Great job guys!!! Keep it up Posted Image
I don't think the FB API is set to do that. Pages that you admin don't have a separate login and therefore won't post to the page. I think FB would have to update the API to allow for that.

Turn_The_Page, on 06 February 2010 - 09:34 AM, said:

Is there any possibility that we could share links from a Facebook Page we are the admin of?

I've got a Page set up for my board. I'd like for my links to be shared there instead of on my personal account.
Yeah, good feature. And if I can add some other sharing services, then it will be very good.
IPS, now this is cooking with gas!
Most of my membership migrated to facebook...this feature will help a lot to woe them back.
This is great! Not just the upcoming features, but keeping everyone in the loop, as well. Five stars. :)
Err... question: This sharing service is the same as in Blogs (so fully integrated), or an another feature?
The features in IPB just get better and better. That is why it's the best!
Wow!! Am i glad i didnt go with that VB, IPS is the best!
Wow! Excellent!
I've searched EVERYWHERE to find out how to activate this, can't find anything. Running latest version: 3.1 and still no show. Does anyone know how to do ut?
Update: WOO HOO..!

Managed to find it, here it is:
Applications & Modules > Manage Hooks > disabled hooks

Seems they are disabled by default when upgrading to 3.1
This may be a stupid question, but is there a URL shortner that i need to activate, I have done a couple of links to Twitter and the url is too long.

S.

February 2012

S M T W T F S
   1234
56789 10 11
12131415161718
19202122232425
26272829   

Latest Visitors

Search My Blog