Page 6 of 16

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

Posted: Sun Jan 29, 2012 10:04 am
by linhuytung
hi
Appears to be an interesting mod. But there is little pity, if I repeat button , google + does not appear .

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

Posted: Sun Jan 29, 2012 5:47 pm
by _Vinny_
greybox wrote: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.
I'm considering implementing something to share each post in a topic. Wait for news. ;)
greybox wrote: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).
I'm also considering implementing it.
greybox wrote: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!!
These options are already included in the MOD, please set the options in ACP > .MODs > Share Topic Plus > Settings
greybox wrote: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.
The HTML tags are invalid for these functions when tested with W3C Markup Validator, then this MOD would be denied on MODDB, but I'll add instructions how to add these features.

linhuytung wrote:hi
Appears to be an interesting mod. But there is little pity, if I repeat button , google + does not appear .
What is the link of your board please?

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

Posted: Mon Jan 30, 2012 5:18 am
by greybox
greybox wrote: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).
Actually, the last statement is not quite correct: PHPBB shows direct links to their pages on twitter and facebook, but I was talking about twitter and facebook "recommend" buttons with facepile.

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

Posted: Tue Jan 31, 2012 4:15 pm
by linhuytung
hi vinny
I tested this mod on my localhost, in every topic I put a google + button,
but google + appear only once

Image

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

Posted: Tue Jan 31, 2012 6:00 pm
by _Vinny_
linhuytung wrote:hi vinny
I tested this mod on my localhost, in every topic I put a google + button,
but google + appear only once
I had already tested this feature and the current Gplus code doesn't support the repeat button. Try this:
Open sharetopic_body.html, find and remove:

Code: Select all

<!-- IF S_SHARE_PLUS_GOOGLE  -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
//<![CDATA[
	{lang: '{SHARE_PLUS_GOOGLE_LANG}'}
//]]>
</script>
<!-- ENDIF -->
Open overall_header.html, find:

Code: Select all

</head>
Add before:

Code: Select all

<!-- IF S_SHARE_PLUS_GOOGLE and SCRIPT_NAME eq 'viewtopic'  -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
//<![CDATA[
	{lang: '{SHARE_PLUS_GOOGLE_LANG}'}
//]]>
</script>
<!-- ENDIF -->
Refresh the template.

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

Posted: Tue Jan 31, 2012 6:40 pm
by kmakoto
if dev mod error in language

Code: Select all

<script type="text/javascript">
//<![CDATA[
(function(d, s, id) {
  document.write('<fb:like href="{U_SHARE_TOPIC}" send="{SHARE_PLUS_FACEBOOK_SEND}" layout="{SHARE_PLUS_FACEBOOK_LAYOUT}" width="{SHARE_PLUS_FACEBOOK_WIDTH}" show_faces="{SHARE_PLUS_FACEBOOK_FACE}" action="{SHARE_PLUS_FACEBOOK_ACTION}" colorscheme="{SHARE_PLUS_FACEBOOK_COLOR}" font="{SHARE_PLUS_FACEBOOK_FONT}"><\/fb:like>');
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
//]]>
</script>
correct

Code: Select all

<script type="text/javascript">
//<![CDATA[
(function(d, s, id) {
  document.write('<fb:like href="{U_SHARE_TOPIC}" send="{SHARE_PLUS_FACEBOOK_SEND}" layout="{SHARE_PLUS_FACEBOOK_LAYOUT}" width="{SHARE_PLUS_FACEBOOK_WIDTH}" show_faces="{SHARE_PLUS_FACEBOOK_FACE}" action="{SHARE_PLUS_FACEBOOK_ACTION}" colorscheme="{SHARE_PLUS_FACEBOOK_COLOR}" font="{SHARE_PLUS_FACEBOOK_FONT}"><\/fb:like>');
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/{SHARE_PLUS_FACEBOOK_LANG}/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
//]]>
</script>
{SHARE_PLUS_FACEBOOK_LANG}

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

Posted: Tue Jan 31, 2012 7:01 pm
by _Vinny_
Thanks kmakoto. Fixed in the repository. ;)

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

Posted: Fri Feb 10, 2012 2:21 am
by Bash
greybox wrote: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.
I second that. ;)

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

Posted: Sat Feb 11, 2012 10:12 am
by Keefy
_Vinny_ wrote:
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 -->
Thanks for the help _Vinny_ but that did not work... I suppose for now that its just best to keep the facebook bot deactivated, then all works well except members cant send to face book via a members only forum. when deactivated the public forums show all the link, info and description and the games show the games icon and description like I want. when the facebook bot is active all the forums (members and public) show the link info and description but the arcade then just shows the arcade link and then ... the icon and description does not show no more. any other ideas to solve this will be appreciated.

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

Posted: Thu Mar 15, 2012 7:43 am
by aicbal
I know the support is closed. However, if you are kind enough to do me a favour.
Google Plus One button giving exclamation marks after click. Any help shall be highly appreciated.

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

Posted: Mon Mar 19, 2012 3:22 pm
by _Vinny_
aicbal wrote:I know the support is closed. However, if you are kind enough to do me a favour.
Google Plus One button giving exclamation marks after click. Any help shall be highly appreciated.
What is the link of your board?

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

Posted: Wed Mar 21, 2012 1:37 pm
by wbxpress
aicbal wrote:I know the support is closed. However, if you are kind enough to do me a favour.
Google Plus One button giving exclamation marks after click. Any help shall be highly appreciated.
same problem here. i have to disable Google plus button for this problem. i think the problem is due to the recent change in g +1 button code. will u check mine please?

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

Posted: Thu Mar 22, 2012 7:14 am
by TiagoRusty
Hi Vinny, i know its closed the support but i have big doubt, the installation was successfull and also is working everything nice, but the icons appear down the login part and not in the topic line..

If you can help that would be nice.
My board: http://www.mysummerspot.com/forum

I already created a user for you in my board if you can check whats the problem i would be gratz.

user: teste
pass: testes

Update* No need i fixed it.. but thanks any way! :D Keep the good work!

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

Posted: Thu Mar 22, 2012 10:52 am
by wbxpress
please have a look at my board:

http://www.askwb.com/

Google Plus +1 button shows (!) marks after click. Please help.

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

Posted: Sat Mar 24, 2012 6:11 am
by wbxpress
please help me, Google Plus +1 button shows (!) marks after click.
http://www.askwb.com/