Closed (fixed)
Project:
ShareThis
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2012 at 16:52 UTC
Updated:
11 Dec 2013 at 12:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ali_nayeem commentedComment #2
quickly commented+1
Comment #3
ioanmar commented+1
Comment #4
timofey commentedDefinitely a +1. I'm thinking of moving away from SharThis for this sole purpose.
It hides the actual url of the domain name that's shared!!
Comment #5
jorkby commentedmay you can try with this change:
in your html.tpl.php before add:
stLight.options({publisher:"add here your PUD KEY", shorten:false});Comment #6
ShareThis_Support commentedHello User,
Please note that sharethis shortens a url before sharing it on a social network.
stLight.options({publisher:"YOUR PUB KEY", shorten:false});You can turn off URL shortener by using the parameter "shorten" as shown below -
Please let us know if you face any issues during implementation.
Regards,
The ShareThis Support Team
Comment #7
dkrockville commentedWhat is "YOUR PUB KEY" ? Where would I find mine?
Should this be inserted into html.tpl.php, and if so where exactly?
Thanks for any help!
((UPDATE)) Found some info on the configuration >> web services >> sharethis page, where the default pub key is listed under the Advanced tab.
dr-108b-4c03-db0c6d0b-A826-9fdc20f672f6 is the default public key.
At top of node.tpl.php, I added:
<script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src='http://w.sharethis.com/button/buttons.js'></script><script type="text/javascript" src='http://s.sharethis.com/loader.js'></script>And, then below the following code:
I added:
That worked for me to NOT shorten the URL.
Comment #8
dsdeiz commentedHere's a patch that adds the option 'Shorten' in the Advanced settings.
Comment #9
Gaofengzzz commentedThanks very much @ali_nayeem for posting this issue, and @dsdeiz for your patch.
The latest patch has been commit in efcd23f.
Please let me know if you would have any further comments, feedback, questions, issues, objections, suggestions or concerns on any aspects in the commits or this ticket in general, I would be glad to provide more information or explain in more details.
Thanks again to everyone for your help, reviews, feedback and comments on this issue.
Cheers!