Support Forum
As I have said repeatedly, I do not know what you want to do and asked for clarity... but you said
i can probably just overwrite the
$url, $title, $summary
variables inside
sp_share_this_do_sharing
but didnt want to edit code in the plugin... I gave you a hook that allows you adjust those variables without editing the plugin code itself...
so perhaps best if we start over and you explain what you want to do...
Visit Cruise Talk Central and Mr Papa's World
Yes, let's start over. Sorry about that 🙂
I installed 'share this' plugin for the forum. When a share bottom is pressed in one of my forum posts I do not get the forum information in the share title, summary and picture. Instead I get the information from the page housing the forum. The info that is always displayed at sharing in the text and picture I have above the forum on the same page.
Go to:
AquariumJunkiesCanada.com/forum
And press share to see what I am talking about.
I want the share title, summary and picture to come from the forum post and not the page.
Sorry for the confusion guys.
My forum : https://critterGuide.ca/cgforum
I am a little confused as to what is going on...
take this forum post as example: http://www.aquariumjunkiescana.....kiescanada
if you look at the code for sharethis share on FB button, you see:
<span class="st_facebook_hcount" displaytext="Facebook" st_summary="At AJC we offer Free custom webpages for our active members. ABSOLUTELY FREE (Donations will be greatly appreciated) Photo galleries are controlled by you! pictures can be added, deleted or changed any time. Page layout is fully customizable and page Design/colors can be changes by request. Ads can..." st_title="How to get your own webpage on AquariumJunkiesCanada" st_url="http%3A%2F%2Fwww.aquariumjunkiescanada.com%2Fforum%2Fforum-rules-and-information%2Fhow-to-get-your-own-webpage-on-aquariumjunkiescanada%23p13" st_processed="yes"> <span class="stButton" style="text-decoration:none;color:#000000;display:inline-block;cursor:pointer;"> <span> <span class="stMainServices st-facebook-counter" style="background-image: url("http://w.sharethis.com/images/facebook_counter.png");"> </span> <span class="stArrow"> <span class="stButton_gradient stHBubble" style="display: inline-block;"> <span class="stBubble_hcount">9</span> </span> </span> </span> </span> </span>
which looks right to me... the url, title and excerpt that FB is notified of appear all correct...
yet, when FB goes to share, its wrong...
I think what is going on is that you are also running jetpack for WordPress and you have turned on the OG tags stuff in jetpack... and it does them wrong for the forum page... so you end up with multiple open graphs tags - jetpack which is wrong and ours which is correct.... so FB gets confused...
so first question, are you really using the jetpack (which is horribly greedy btw) sharing functions elsewhere in your wp site? If not, you should disable that feature of jetpack... jetpack stupidly enables dozens of features and relies on you to disable the ones you dont want - good for slowing down sites...
if you do need the jetpack sharing elsewhere on site, then you will need to disable it (via jetpack hooks) on the forum page only so it doesn screw up facebook...
Visit Cruise Talk Central and Mr Papa's World
I did not know jetpack does all of that!
first of all thank for telling me about jetpack. i deactivated about 200 thousand features there...
second, that did the trick. now it works. when sharing we get the post data.
I actualy just used it to see site downtime, brute force block and 'related posts'
i deactivated all the rest.
Thank you again.
My forum : https://critterGuide.ca/cgforum
yup, folks have complained and complained about the bloat in jetpack with everything turned on by default... it has some nice features, but they should be opt in vs opt out...
glad everything is sorted now!
Visit Cruise Talk Central and Mr Papa's World
Another related question. On a mobile device I do not see the Facebook share buttons but the share this green icon. It takes me to a window and allows sharing in every network posible. Can that be changed/ limited?
My forum : https://critterGuide.ca/cgforum
I just installed it a couple of days ago and no updates are showing.
on the PC it does not take you to the share this URL though... It's only the mobile browser that gets this option.. Makes sharing very hard..
I will check for updates again when I will be by a pc.
Edit :runnig 5.6.1
My forum : https://critterGuide.ca/cgforum
which ones do you have enabled in the share this options? and what are the options above that? (ie share minor or something similar?) are you getting more than those from the widget?
Visit Cruise Talk Central and Mr Papa's World