Login     Sign up
Bookmark & share
thuvalpakshi (@thuvalpakshi)
Join date: Sep 2nd 2010
Community posts: 13
View Profile
Send Message

Any one know where "bookmark & share : " code for blogs and events are written. I could found out same in photo module as well as invite module and changed with a new code of sharethis.com

Same replacement i want to do in Blogs page and Events page. But I could not find the code in those modules.

Please help. your help will be appreciated

167 months ago
paija (@paija)
Join date: Sep 8th 2010
Community posts: 3
View Profile
Send Message

[quote=thuvalpakshi]Any one know where "bookmark & share : " code for blogs and events are written. I could found out same in photo module as well as invite module and changed with a new code of sharethis.com

Same replacement i want to do in Blogs page and Events page. But I could not find the code in those modules.

Please help. your help will be appreciated [/quote]

i have same problem. where is the code?

167 months ago
Mohammad Emran (@monemran)
Join date: Sep 15th 2010
Community posts: 28
View Profile
Send Message

Edit file includes/libs/story.inc.php and change "$social_bookmarks" global variable to 1.
[code]
var $savechanges = '';
//change here..default 0
var $social_bookmarks = 1;

[/code]

167 months ago
thuvalpakshi (@thuvalpakshi)
Join date: Sep 2nd 2010
Community posts: 13
View Profile
Send Message

Thank you very much monemran
I had to change following code in story.inc.php

[code]$story .= '<a href="[url]http://twitter.com/home?status='.$encoded_url.'"[/url] target="_blank"><img src="'.$uhome.'/files/social_bookmarks/twitter.png" />Twitter</a> , ';
$story .= '<a href="[url]http://digg.com/submit?phase=2&url='.$encoded_url.'&title='.$encoded_title.'"[/url] target="_blank"><img src="'.$uhome.'/files/social_bookmarks/digg.png" /> Digg</a> , ';
$story .= '<a href="[url]http://www.facebook.com/sharer.php?u='.$encoded_url.'&t='.$encoded_title.'"[/url] target="_blank"><img src="'.$uhome.'/files/social_bookmarks/facebook.png" /> Facebook</a> ';[/code]

and i did it. thank you very much

166 months ago