I'm considering implementing something to share each post in a topic. Wait for news.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 also considering implementing it.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).
These options are already included in the MOD, please set the options in ACP > .MODs > Share Topic Plus > Settingsgreybox 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!!
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.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.
What is the link of your board please?linhuytung wrote:hi
Appears to be an interesting mod. But there is little pity, if I repeat button , google + does not appear .
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.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 had already tested this feature and the current Gplus code doesn't support the repeat button. Try this:linhuytung wrote:hi vinny
I tested this mod on my localhost, in every topic I put a google + button,
but google + appear only once
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 -->
overall_header.html
, find:
Code: Select all
</head>
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 -->
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>
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>
I second that.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.
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._Vinny_ wrote:Try this: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 -->
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 -->
What is the link of your board?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?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.