[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
Westovski
Registered User
Posts: 15
Joined: Fri May 08, 2009 10:05 am

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by Westovski » Fri Jan 06, 2012 12:02 am

This looks great and exactly what i've been after! :D

Keefy
Registered User
Posts: 395
Joined: Fri Jan 28, 2005 4:30 am

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by Keefy » Fri Jan 06, 2012 6:24 pm

I like this mod but I would like to be able to align the icons better.. the facebook like and send icons are lower down than the twitter and +1 icons, can they be aligned so they are level with the top of the twitter and +1 icons.

Thanks

Keefy
Registered User
Posts: 395
Joined: Fri Jan 28, 2005 4:30 am

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by Keefy » Sat Jan 07, 2012 6:42 am

Im having problems with a few members only sections, if I send to facebook or click the like it button it will only post:

My Forum • Login

‎...


Is there anyway round this, so it posts the link and few lines of the post like it does from guest forums,( I dont mind them seeing a few lines of the topic) if a facebook member clicks the link from facebook then it will ask them to login to view the full post on the forum, which would be good.

cossielee
Registered User
Posts: 101
Joined: Tue Jul 13, 2010 12:26 am

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by cossielee » Sun Jan 08, 2012 12:28 pm

Keefy wrote:Im having problems with a few members only sections, if I send to facebook or click the like it button it will only post:

My Forum • Login

‎...


Is there anyway round this, so it posts the link and few lines of the post like it does from guest forums,( I dont mind them seeing a few lines of the topic) if a facebook member clicks the link from facebook then it will ask them to login to view the full post on the forum, which would be good.
Have you enabled the Facebook(linecheck) bot mate? it needs to be in bot list for it to scrape the forum. My facebook button will post from both private and guest forums.

I also have the same login message issue but mines is with Google+, it turns out that google will not post the topic title of forums that are not set for guests to read or view, it gives me the same Login message, if i set the forums to read or view by guests then it posts it perfectly....

I would like to see permissions added to this mod to allow the admin to choose what forums can have the buttons. I used an old facebook mod and i had a bit of code that allowed me to sepcify what forums the buttons would appear.

Keefy
Registered User
Posts: 395
Joined: Fri Jan 28, 2005 4:30 am

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by Keefy » Tue Jan 10, 2012 2:16 pm

cossielee wrote:
Have you enabled the Facebook(linecheck) bot mate? it needs to be in bot list for it to scrape the forum. My facebook button will post from both private and guest forums.
No cossielee, how do I do that ?

Thanks for you help.

PS.. That code that allows us to specify what forums the buttons would appear would be good too cause I have a moderator/admin section that shows the buttons which i dont want posts from there to be shared.

cossielee
Registered User
Posts: 101
Joined: Tue Jul 13, 2010 12:26 am

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by cossielee » Wed Jan 11, 2012 9:54 am

Keefy wrote:No cossielee, how do I do that ?

Thanks for you help.

PS.. That code that allows us to specify what forums the buttons would appear would be good too cause I have a moderator/admin section that shows the buttons which i dont want posts from there to be shared.
Hi Keefy, to add the Facebook (linecheck) Bot to the following:

Log into ACP, goto System tab, click on Spiders/Robots and Add Bot, enter the following info:

Bot name - FaceBook [Linkcheck]
Bot Active - Yes
Agent Match - facebookexternalhit/1.1

Leave last box blank and hit submit.

You now need to give the bot permissions to view your forums, which is:

Permission tab/ Groups forum permissions, select Bots and choose your forums, remember to use Bot Access permission.

Hope this helps mate, it works for me without any probs, there is also some posts in this thread that tells you how to edit your meta tags to show custom icon and description for facebook and google+.

Keefy
Registered User
Posts: 395
Joined: Fri Jan 28, 2005 4:30 am

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by Keefy » Wed Jan 11, 2012 11:02 am

Thanks cossielee you post was a great step by step intructions which works :)

User avatar
kmakoto
Registered User
Posts: 234
Joined: Mon Mar 01, 2010 11:35 pm

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by kmakoto » Thu Jan 12, 2012 4:15 am

in install.xml error in copy
<copy>
<file from="root/adm/style/acp_share.html" to="adm/style/acp_share.html"/>
<file from="root/includes/acp/acp_share_topic_plus.php" to="includes/acp/acp_share_topic_plus.php"/>
<file from="root/includes/acp/info/acp_share_topic_plus.php" to="includes/acp/info/acp_share_topic_plus.php"/>
<file from="root/language/en/mods/info_acp_share_topic_plus.php" to="language/en/mods/info_acp_share_topic_plus.php"/>
<file from="root/styles/prosilver/template/sharetopic_body.html" to="styles/prosilver/template/sharetopic_body.html"/>
<file from="root/styles/prosilver/template/sharetopic_site.html" to="styles/prosilver/template/sharetopic_site.html"/>
<file from="root/umil/*.*" to="umil/*.*"/>
<file from="root/FacebookLocales.xml" to="FacebookLocales.xml"/>
<file from="root/install_share_topic.php" to="install_share_topic.php"/>
</copy>
no archive

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

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by _Vinny_ » Thu Jan 12, 2012 2:40 pm

kmakoto, thank you. Will be fixed in next update.

cossielee wrote:Hi Keefy, to add the Facebook (linecheck) Bot to the following:

Log into ACP, goto System tab, click on Spiders/Robots and Add Bot, enter the following info:

Bot name - FaceBook [Linkcheck]
Bot Active - Yes
Agent Match - facebookexternalhit/1.1

Leave last box blank and hit submit.

You now need to give the bot permissions to view your forums, which is:

Permission tab/ Groups forum permissions, select Bots and choose your forums, remember to use Bot Access permission.

Hope this helps mate, it works for me without any probs, there is also some posts in this thread that tells you how to edit your meta tags to show custom icon and description for facebook and google+.
I think I'll insert this tip also. Thanks cossielee. :)

User avatar
greybox
Registered User
Posts: 79
Joined: Thu Jul 07, 2011 6:20 am

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by greybox » Thu Jan 12, 2012 7:10 pm

Will this mod allow to show faces in facebook part? I mean using "data-show-faces="true""
And also I would like to be able to add the icons (with facebook faces) to share just the web site url, not only a particular topic, and place the icons in the top header area. What code would you recommend?

Keefy
Registered User
Posts: 395
Joined: Fri Jan 28, 2005 4:30 am

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by Keefy » Fri Jan 13, 2012 5:22 pm

cossielee wrote:
Keefy wrote:No cossielee, how do I do that ?

Thanks for you help.

PS.. That code that allows us to specify what forums the buttons would appear would be good too cause I have a moderator/admin section that shows the buttons which i dont want posts from there to be shared.
Hi Keefy, to add the Facebook (linecheck) Bot to the following:

Log into ACP, goto System tab, click on Spiders/Robots and Add Bot, enter the following info:

Bot name - FaceBook [Linkcheck]
Bot Active - Yes
Agent Match - facebookexternalhit/1.1

Leave last box blank and hit submit.

You now need to give the bot permissions to view your forums, which is:

Permission tab/ Groups forum permissions, select Bots and choose your forums, remember to use Bot Access permission.

Hope this helps mate, it works for me without any probs, there is also some posts in this thread that tells you how to edit your meta tags to show custom icon and description for facebook and google+.

OH its a shame cause it works great with the facebook bot enabled for the mebers only forums, however it screws things up in my phpbb arcade, when the facebook bot is disabled the send to facebook in the arcade shows the game image and description etc, when the facebook bot is enabled it only shows the image what I set for the forum. BTW the phpbb arcade had its own send to facebook, ive removed the code and replaced it with <!-- INCLUDE sharetopic_body.html --> from this mod cause it works better, and like ive said it does work if the facebook mod is disabled. Anyone know a way to get this to work with the facebook bot enabled.

Code: Select all

<!-- IF S_SHARE_PLUS_FACEBOOK -->
<meta name="og:image" content="http://www.removedmysitecom/image_fb.png" />
<!-- ENDIF -->

<!-- IF S_ARCADE_FB -->
<meta property="og:site_name" content="{SITENAME}" />
<meta property="og:description"   content="{GAME_DESC}"/>
<meta property="og:title"	  content="{ARCADE_FB_GN}" />
<meta property="og:image"	  content="{ARCADE_FB_GI}" />
<!-- ENDIF -->

cossielee
Registered User
Posts: 101
Joined: Tue Jul 13, 2010 12:26 am

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by cossielee » Tue Jan 17, 2012 1:28 pm

Has anyone elses Twitter Button dissapeared??? :?:

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

Re: [RC] Share Topic Plus (for Facebook, Twitter & Google Pl

Post by _Vinny_ » Thu Jan 19, 2012 12:09 am

Keefy wrote:OH its a shame cause it works great with the facebook bot enabled for the mebers only forums, however it screws things up in my phpbb arcade, when the facebook bot is disabled the send to facebook in the arcade shows the game image and description etc, when the facebook bot is enabled it only shows the image what I set for the forum. BTW the phpbb arcade had its own send to facebook, ive removed the code and replaced it with <!-- INCLUDE sharetopic_body.html --> from this mod cause it works better, and like ive said it does work if the facebook mod is disabled. Anyone know a way to get this to work with the facebook bot enabled.

Code: Select all

<!-- IF S_SHARE_PLUS_FACEBOOK -->
<meta name="og:image" content="http://www.removedmysitecom/image_fb.png" />
<!-- ENDIF -->

<!-- IF S_ARCADE_FB -->
<meta property="og:site_name" content="{SITENAME}" />
<meta property="og:description"   content="{GAME_DESC}"/>
<meta property="og:title"	  content="{ARCADE_FB_GN}" />
<meta property="og:image"	  content="{ARCADE_FB_GI}" />
<!-- ENDIF -->
Try this:

Code: Select all

<!-- IF S_SHARE_PLUS_FACEBOOK and SCRIPT_NAME eq 'viewtopic' -->
<meta property="og:image" content="http://www.removedmysitecom/image_fb.png" />
<!-- ENDIF -->

<!-- IF S_ARCADE_FB and SCRIPT_NAME eq 'arcade' -->
<meta property="og:site_name" content="{SITENAME}" />
<meta property="og:description"   content="{GAME_DESC}"/>
<meta property="og:title"	  content="{ARCADE_FB_GN}" />
<meta property="og:image"	  content="{ARCADE_FB_GI}" />
<!-- ENDIF -->

User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8348
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 Jan 20, 2012 5:56 am

Back to DEVelopment.

I will implement Forum Permissions as well as other improvements. The latest available download(version 1.0.0-RC1 - see first post), isn't longer supported, I recommend you uninstall this version, no update to the new version will be provided.

If someone wants to test the new version to help with improvements, please PM me.

User avatar
greybox
Registered User
Posts: 79
Joined: Thu Jul 07, 2011 6:20 am

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

Post by greybox » Sun Jan 29, 2012 8:16 am

Facebook, Twitter & Google Plus are the most popular icons, I wouldn't care about the rest. But there are a few things that I would suggest to implement in your new mod.

1. I would strongly prefer POST reference opposed to TOPIC reference. In some forums topic are a few hundred pages long, so just topic reference is not enough if I want to share a particular post on page 152 out of 360.

2. Most forums would also like to be able to also share just the web site address and comments on the social sites (for example, the social icon links on the top of phpbb.com). But even more, many web sites use the extended parameters of facebook and other social plugins showing the number of likes, send button and the like box with faces which looks very cool! So if you could add the option to show the web site (not a particular post or topic), that would be great!!

3. I would prefer to see the web site passing the social icons debugging tools without any errors or warnings, for example http://developers.facebook.com/tools/debug. I installed the latest version of Share On plugin and it resulted in a few warnings.

And thank you for your work!!!

Locked

Return to “[3.0.x] Abandoned MODs”