EllisLab text mark
Advanced Search
     
New Social Bookmarking Lib / Helper.
Posted: 29 May 2008 04:02 PM
Avatar
Joined: 2008-01-13
514 posts

Here is a simple Social Bookmarking Lib which outputs links for 41 SB sits.

Usage:

Controller:

$this->load->library('sb'

View:

$this->sb->create_links() 

The lib file simply replaces $this->sb->create_links() with around 80 lines of code.

Lib File: application/libraries/sb.php
Available here: http://www.wackywebs.net/php-lib/sb.txt

 Signature 

Yonti - I am Currently looking for a business partner, to create the best developer hosting out there. If your interested PM me.

Fluxity Lighting - My other company.


I’m a Proud Supporter and Sponser of Tomorrows Web.

 
Posted: 29 May 2008 04:11 PM   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-07
2507 posts

Is it me, or is there something missing from that post?

EDIT: Ah, it appeared.  Throws an error though.

 Signature 
 
Posted: 29 May 2008 04:14 PM   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-13
514 posts

Link now Working Correctly

 Signature 

Yonti - I am Currently looking for a business partner, to create the best developer hosting out there. If your interested PM me.

Fluxity Lighting - My other company.


I’m a Proud Supporter and Sponser of Tomorrows Web.

 
Posted: 29 May 2008 04:23 PM   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-07
2507 posts

Adding this to your .htaccess in that directory should force a download of the file

<Files sb.php>
  
ForceType application/octet-stream
  Header set Content
-Disposition attachment
</Files
 Signature 
 
Posted: 29 May 2008 04:28 PM   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-13
514 posts

It is fine now, with all tags intact.

 Signature 

Yonti - I am Currently looking for a business partner, to create the best developer hosting out there. If your interested PM me.

Fluxity Lighting - My other company.


I’m a Proud Supporter and Sponser of Tomorrows Web.

 
Posted: 29 May 2008 04:42 PM   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-13
514 posts

The only thing now is it destroys my inktype views when i call the create_links functions.

 Signature 

Yonti - I am Currently looking for a business partner, to create the best developer hosting out there. If your interested PM me.

Fluxity Lighting - My other company.


I’m a Proud Supporter and Sponser of Tomorrows Web.

 
Posted: 29 May 2008 04:53 PM   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-07
2507 posts

You’ve got a typo in your library.  The function is called creatlinks right now.

 Signature 
 
Posted: 29 May 2008 06:05 PM   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-13
514 posts

Lib updated, Thank you. This also fixed the issue with InkType. For a demo go to here: http://blog.wackywebs.net and for the code go here: http://www.wackywebs.net/php-lib/sb.txt

 Signature 

Yonti - I am Currently looking for a business partner, to create the best developer hosting out there. If your interested PM me.

Fluxity Lighting - My other company.


I’m a Proud Supporter and Sponser of Tomorrows Web.

 
Posted: 02 March 2009 06:22 AM   [ # 8 ]   [ Rating: 0 ]
Joined: 2009-03-02
1 posts

Looks like your link is dead. I need help with social bookmarking! Please reply