[ABD] Share Topic Plus (for Facebook, Twitter & Google Plus)

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8416
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by _Vinny_ » Fri May 11, 2012 5:28 pm

Keefy wrote:I dont know from when, cause i dont always tweet/send to facebook (possibly about a week though) if i click like or send, the small facebook window does not show up, instead it opens a new page/tab just showing the icons like and send.

It was working fine before and ive not installed any new mods... any ideas ?
What is the link of your board?
beccasmandan wrote:but what code do i replace and with what to either show a specific picture on facebook?
at the moment it shows a grey box on some, and on others it shows a partial segment of the sites overall header.
Open styles/you-style/template/overall_header.html
Find:

Code: Select all

</head>
Before add:

Code: Select all

<meta property="og:image" content="URL_TO_YOUR_IMAGE" />
Refresh the template. Wait facebook recognize your image. Visite http://developers.facebook.com/tools/debug to check if your image already been recognized.

Seeeler
Registered User
Posts: 78
Joined: Sat Apr 28, 2012 9:03 pm

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by Seeeler » Sat May 12, 2012 8:16 pm

Strappado wrote:Is it possible to change so Facebook shows the topic image instead of the first users avatar when pushing "Like" or "Recommend"?
1st of all, i love your mod sir it is awesome just like you
Yes i want something like this also, on Facebook like it shows avatar, topic's first image would be really great instead of avatar, i tested google+, it has ability to choose the images from topic if you hit Google+ button but on facebook it automatically shows avatar only, no options to choose images from topic :(
Please _vinny_ can you help us about this.

And there is one more thing...
On firefox and Google Chrome Facebook, Twitter, Google+ buttons appears to be fine in a row:
Image

On IE it shows like this
Image

And on Opera browser it shows like this, Google+ is also gone :(
Image

beccasmandan
Registered User
Posts: 115
Joined: Wed May 09, 2012 9:41 am

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by beccasmandan » Sun May 13, 2012 7:35 pm

many thanks for the quick reply there _VINNY_

User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8416
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by _Vinny_ » Sun May 13, 2012 9:12 pm

Seeeler wrote:1st of all, i love your mod sir it is awesome just like youYes i want something like this also, on Facebook like it shows avatar, topic's first image would be really great instead of avatar, i tested google+, it has ability to choose the images from topic if you hit Google+ button but on facebook it automatically shows avatar only, no options to choose images from topic Please _vinny_ can you help us about this.
_Vinny_ wrote: Open styles/you-style/template/overall_header.html
Find:

Code: Select all

</head>
Before add:

Code: Select all

<meta property="og:image" content="URL_TO_YOUR_IMAGE" />
Refresh the template. Wait facebook recognize your image. Visite http://developers.facebook.com/tools/debug to check if your image already been recognized.
Seeeler wrote:And there is one more thing...
On firefox and Google Chrome Facebook, Twitter, Google+ buttons appears to be fine in a row:
Image

On IE it shows like this
Image

And on Opera browser it shows like this, Google+ is also gone :(
Image
I'll check this, thanks for report.
beccasmandan wrote:many thanks for the quick reply there _VINNY_
You're welcome.

Seeeler
Registered User
Posts: 78
Joined: Sat Apr 28, 2012 9:03 pm

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by Seeeler » Mon May 14, 2012 6:09 pm

_Vinny_ wrote: I'll check this, thanks for report.
ok sir, looking forward to fix the issue.

Seeeler
Registered User
Posts: 78
Joined: Sat Apr 28, 2012 9:03 pm

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by Seeeler » Thu May 17, 2012 2:57 am

Hello _vinny_ i am waiting for the fix for the above issue :)

And the other issue:

Code: Select all

<meta property="og:image" content="URL_TO_YOUR_IMAGE" />
will point to the image that i put URL but i want facebook to detect 1st image of the thread/topic automatically

Please help ASAP

Seeeler
Registered User
Posts: 78
Joined: Sat Apr 28, 2012 9:03 pm

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by Seeeler » Thu May 17, 2012 11:55 pm

Bump

User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8416
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by _Vinny_ » Fri May 18, 2012 12:44 am

Seeeler wrote:will point to the image that i put URL but i want facebook to detect 1st image of the thread/topic automatically
I cant control this, because is the bot that detects the image, you can choose the image(s) that the bot detect on share page.

beccasmandan
Registered User
Posts: 115
Joined: Wed May 09, 2012 9:41 am

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by beccasmandan » Mon May 21, 2012 7:04 am

i had to uninstall my automod and reinstall it, then unistalled ( obviously not correctly lol ) this great mod
and reinstalled it, now i have 2 lots of buttons, can you tell me were the code is found which tells it where to put the buttons so i can delete the second line please.

i enclose a screenshot so you can see what i mean.


Image

User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8416
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by _Vinny_ » Mon May 21, 2012 5:50 pm

beccasmandan wrote:i had to uninstall my automod and reinstall it, then unistalled ( obviously not correctly lol ) this great mod
and reinstalled it, now i have 2 lots of buttons, can you tell me were the code is found which tells it where to put the buttons so i can delete the second line please.

i enclose a screenshot so you can see what i mean.
Open styles/your-style/template/viewtopic_body.html, find:

Code: Select all

<!-- INCLUDE sharetopic_body.html -->







<!-- INCLUDE sharetopic_body.html -->
Replace with:

Code: Select all

<!-- INCLUDE sharetopic_body.html -->

beccasmandan
Registered User
Posts: 115
Joined: Wed May 09, 2012 9:41 am

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by beccasmandan » Mon May 21, 2012 7:39 pm

many thanks for the reply but i dont find the

Code: Select all

styles/your-style/template/viewtopic_body.htm
file in my themes
im using DVGFX as my theme

i dont find it in dvgfc template
but i did find it in the prosilver template
and i removed the text as you instructed
refreshed the template in my acp
purged the cashe and now its as it should be
many thanks

can i asssume that other things that are duplicated will also be in this file?

such as the mchat which doesnt show up on my style template but does on the prosilver
is also duplicated twice, would it be the same file to look through?

Stingray1963
Registered User
Posts: 32
Joined: Thu Jul 20, 2006 10:17 pm
Contact:

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by Stingray1963 » Fri May 25, 2012 11:43 am

Hi, I am getting crazy to get this running.... Either I get
Object Missing a Required Value: Object at URL 'http://www.dodge-forum.eu/' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.
running the FB debugger, or I get "open tag" error messages

I feel that it is a problem with another meta tag that has been implemented longer ago, to display the topic name in the upper browser line:

Code: Select all

{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
But when I try to remove that, I am getting these "open tag" error messages

Mod is running so far, but I still have the (earlier mentioned) problem that the klick on "like" does NOT display the link to the topic, only to the Forum itself, what is useless

other tags I tried in the overall header:

Code: Select all

<meta property="og:type" content="website" />
<meta property="og:image" content="http://www.xxxxxxxxxxxxxx.jpg" />
<meta property="og:title" content="{TOPIC_TITLE}" />
<meta property="og:description" content="xxxxxxxxxxx" />

Any help would be appreciated!

Stingray1963
Registered User
Posts: 32
Joined: Thu Jul 20, 2006 10:17 pm
Contact:

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by Stingray1963 » Fri May 25, 2012 1:07 pm

Ok, I don´t really know why, but now I got this working. However, there is still an important issue, when posting a topic to Facebook or sending a message to Facebook, the full URL to the topic is hidden, only the URL is being displayed. This might be cosmetical, but when I post a topic to FB, the users should clearly see that a link to a topic was posted and not only the URL of the forum?!

see image: also the URL appears twice, that makes it even more confusing:

Image

User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8416
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by _Vinny_ » Fri May 25, 2012 3:32 pm

Stingray1963, can you provide a test account on your forum? You can send me by PM.

Stingray1963
Registered User
Posts: 32
Joined: Thu Jul 20, 2006 10:17 pm
Contact:

Re: [DEV] Share Topic Plus (for Facebook, Twitter & Google P

Post by Stingray1963 » Mon Jun 04, 2012 10:22 am

any news here?

Locked

Return to “[3.0.x] Abandoned MODs”