Page 4 of 8

Re: Share On Facebook, Twitter, Orkut, Digg, MySpace, Delici

Posted: Mon Feb 14, 2011 10:41 am
by pacop2
woodsman wrote:Jaymie, it would actually be really cool if the buttons showed up at every post with links to posts rather than the whole topic.
+1
Jaymie1989 wrote:@woodsman This MOD is only intended to share the topic and not each individual post, To do it for every post would require quite a few edits. I believe there is already a MOD somewhere for sharing each post. You will have to search for it.
I have searched for it, but I can not find it. I have found only this:
http://www.phpbb.com/community/viewtopi ... &start=135
http://jaymie1989.comli.com/viewtopic.p ... =1&start=0

But it is marked as "abandoned" 8(

ps. Other suggestion for shareon mod is that it's a bit confusing to have two different places where the buttons are, if you are a guest or a registered user. I think could be more clear the button for guest in the same place that the logged users is :)

Re: [RC] Share On Facebook, Twitter ... 1.0.2

Posted: Mon Feb 14, 2011 5:35 pm
by jaffamaster
jaffamaster wrote:Hello, I' ve installed this mod on a test forum http://www.scottishmotocross.co.uk/mod_forum/

when I click on the .mods tab the SO_config file looks like this below, is this how it should be displayed or have I messed something up during the mod installation?

{ SO_TITLE }
{ SO_EXPLAIN }

{ SO_STATUS } Yes No { SO_USERLOGGEDIN } Yes No { SO_SELECT }{ SO_DELICIOUS } Yes No { SO_DIGG } Yes No { SO_FACEBOOK } Yes No { SO_MYSPACE } Yes No { SO_ORKUT } Yes No { SO_TECHNORATI } Yes No { SO_TWITTER } Yes No

My Icon are displaying at the bottom of a topic page, how do i move them to the top display?

Thanks in advance


Update - its now looking like this in a foreign language
Configuración de MOD "SHARE ON"
Aquí puedes configurar en que páginas quieres compartir tus temas

Activar MOD "Share On" Yes No { SO_USERLOGGEDIN } Yes No Compartir en:Delicious Yes No Digg Yes No Facebook Yes No MySpace Yes No Orkut Yes No Technorati Yes No Twitter Yes No


Also when you hover over the link images the ALT: displays { SHARE_ON_FACEBOOK }
Any suggestions?

Re: [RC] Share On Facebook, Twitter ... 1.0.2

Posted: Mon Feb 14, 2011 11:51 pm
by jaffamaster
Hi Help needed, Ive installed this on my other board http://www.scottishmotocross.co.uk/forum/index.php

And I've only got the Enable MOD share on showing on the configure page and no icons shown when Im logged in, when I log out they are showing with red "x" boxs and the ALT"" showing I've checked and checked and cant find the problem, can anyone please help?


Configure in which sites you want to share your topics

Enable MOD "Share On" Yes No Share On:Delicious Yes No Digg Yes No Facebook Yes No MySpace Yes No Orkut Yes No Technorati Yes No Twitter Yes No

Re: Share On Facebook, Twitter, Orkut, Digg, MySpace, Delici

Posted: Tue Feb 15, 2011 1:16 am
by Jaymie1989
pacop2 wrote:
I have searched for it, but I can not find it. I have found only this:
http://www.phpbb.com/community/viewtopi ... &start=135
http://jaymie1989.comli.com/viewtopic.p ... =1&start=0

But it is marked as "abandoned" 8(

ps. Other suggestion for shareon mod is that it's a bit confusing to have two different places where the buttons are, if you are a guest or a registered user. I think could be more clear the button for guest in the same place that the logged users is :)
The new topic for the Social Networking Buttons is here http://www.phpbb.com/community/viewtopi ... &t=1948025

@jeffamaster please double check your language edits, Also with the red x's make sure the image folder is in the right place inside your imageset

Re: Share On Facebook, Twitter, Orkut, Digg, MySpace, Delici

Posted: Tue Feb 15, 2011 1:40 pm
by jaffamaster
Jaymie1989 wrote:
pacop2 wrote:
I have searched for it, but I can not find it. I have found only this:
http://www.phpbb.com/community/viewtopi ... &start=135
http://jaymie1989.comli.com/viewtopic.p ... =1&start=0

But it is marked as "abandoned" 8(

ps. Other suggestion for shareon mod is that it's a bit confusing to have two different places where the buttons are, if you are a guest or a registered user. I think could be more clear the button for guest in the same place that the logged users is :)
The new topic for the Social Networking Buttons is here http://www.phpbb.com/community/viewtopi ... &t=1948025

@jeffamaster please double check your language edits, Also with the red x's make sure the image folder is in the right place inside your imageset
Double check but still the red boxs when logged out, nothing when logged in... any idea which files are affected, until then I'll keep looking.

Re: Share On Facebook, Twitter, Orkut, Digg, MySpace, Delici

Posted: Tue Feb 15, 2011 6:07 pm
by pacop2
pacop2 wrote:
woodsman wrote:Jaymie, it would actually be really cool if the buttons showed up at every post with links to posts rather than the whole topic.
+1
pacop2 wrote:ps. Other suggestion for shareon mod is that it's a bit confusing to have two different places where the buttons are, if you are a guest or a registered user. I think could be more clear the button for guest in the same place that the logged users is :)
I have implemented this two "suggestions" for my forum (a phpbb-seo forum), and it is quite easy.

You have to edit viewtopic_body.html (I have done only for my prosilver style, and only for facebook and twitter, but somebody could be inspired by this):

This is the part changed to have the same look for registered or guest users:

Code: Select all

	<!-- IF postrow.S_FIRST_UNREAD --><a id="unread"></a><!-- ENDIF -->
	<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->">
		<div class="inner"><span class="corners-top"><span></span></span>

		<div class="postbody">
			<!-- IF postrow.S_IGNORE_POST -->
				<div class="ignore">{postrow.L_IGNORE_POST}</div>
			<!-- ELSE -->

					<!-- Mod_Share_On by JesusADS -->
						<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
				      <ul class="profile-icons">
							<!-- IF postrow.S_SO_FACEBOOK --><li class="facebook-icon"><a href="{postrow.U_FACEBOOK}#p{postrow.POST_ID}" target="_blank" title="{L_SHARE_ON_FACEBOOK}"><span>{L_SHARE_ON_FACEBOOK}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_TWITTER --><li class="twitter-icon"><a href="{postrow.U_TWITTER}" target="_blank" title="{L_SHARE_ON_TWITTER}"><span>{L_SHARE_ON_TWITTER}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_ORKUT --><li class="orkut-icon"><a href="javascript:(function(){var d=document,l=d.location,e=encodeURIComponent,u='http://promote.orkut.com/preview?src=bkmrklt&v=1&nt=orkut.com&du='+e(l.href)+'&tt='+e(d.title),s='&rdrinl=1';if(!window.open(u,'','height=575,width=700,directories=0,location=1,menubar=0,resizable=0,scrollbars=1,status=1,toolbar=0'))l.href=u+s;})();" title="{L_SHARE_ON_ORKUT}"><span>{L_SHARE_ON_ORKUT}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_DIGG --><li class="digg-icon"><a href="{postrow.U_DIGG}" target="_blank" title="{L_SHARE_ON_DIGG}"><span>{L_SHARE_ON_DIGG}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_MYSPACE --><li class="myspace-icon"><a href="{postrow.U_MYSPACE}" target="_blank" title="{L_SHARE_ON_MYSPACE}"><span>{L_SHARE_ON_MYSPACE}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_DELICIOUS --><li class="delicious-icon"><a href="{postrow.U_DELICIOUS}" target="_blank" title="{L_SHARE_ON_DELICIOUS}"><span>{L_SHARE_ON_DELICIOUS}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_TECHNORATI --><li class="technorati-icon"><a href="{postrow.U_TECHNORATI}" target="_blank" title="{L_SHARE_ON_TECHNORATI}"><span>{L_SHARE_ON_TECHNORATI}</span></a></li><!-- ENDIF -->
				      </ul>
						<!-- ENDIF -->
					<!-- Mod_Share_On -->


		<!-- IF not S_IS_BOT -->
			<!-- IF postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE -->

				<ul class="profile-icons">
				
					<!-- Mod_Share_On by JesusADS -->
						<!-- IF postrow.S_SO_STATUS and S_USER_LOGGED_IN -->
							<!-- IF postrow.S_SO_FACEBOOK --><li class="facebook-icon"><a href="{postrow.U_FACEBOOK}#p{postrow.POST_ID}" target="_blank" title="{L_SHARE_ON_FACEBOOK}"><span>{L_SHARE_ON_FACEBOOK}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_TWITTER --><li class="twitter-icon"><a href="{postrow.U_TWITTER}" target="_blank" title="{L_SHARE_ON_TWITTER}"><span>{L_SHARE_ON_TWITTER}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_ORKUT --><li class="orkut-icon"><a href="javascript:(function(){var d=document,l=d.location,e=encodeURIComponent,u='http://promote.orkut.com/preview?src=bkmrklt&v=1&nt=orkut.com&du='+e(l.href)+'&tt='+e(d.title),s='&rdrinl=1';if(!window.open(u,'','height=575,width=700,directories=0,location=1,menubar=0,resizable=0,scrollbars=1,status=1,toolbar=0'))l.href=u+s;})();" title="{L_SHARE_ON_ORKUT}"><span>{L_SHARE_ON_ORKUT}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_DIGG --><li class="digg-icon"><a href="{postrow.U_DIGG}" target="_blank" title="{L_SHARE_ON_DIGG}"><span>{L_SHARE_ON_DIGG}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_MYSPACE --><li class="myspace-icon"><a href="{postrow.U_MYSPACE}" target="_blank" title="{L_SHARE_ON_MYSPACE}"><span>{L_SHARE_ON_MYSPACE}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_DELICIOUS --><li class="delicious-icon"><a href="{postrow.U_DELICIOUS}" target="_blank" title="{L_SHARE_ON_DELICIOUS}"><span>{L_SHARE_ON_DELICIOUS}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_TECHNORATI --><li class="technorati-icon"><a href="{postrow.U_TECHNORATI}" target="_blank" title="{L_SHARE_ON_TECHNORATI}"><span>{L_SHARE_ON_TECHNORATI}</span></a></li><!-- ENDIF -->
						<!-- ENDIF -->
					<!-- Mod_Share_On -->
				
					<!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->

					<!-- IF postrow.U_DELETE --><li class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_REPORT --><li class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_WARN --><li class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{L_WARN_USER}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_INFO --><li class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->
				</ul>
			<!-- ENDIF -->
		<!-- ENDIF -->

			<h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{U_VIEW_TOPIC}#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>
			<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> &raquo; {postrow.POST_DATE} </p>
And this is the small change in viewtopic.php (warning, I use phpbb-seo, perhaps you have to do some changes):

Code: Select all

//'U_FACEBOOK'	=> 'http://www.facebook.com/share.php?u=' . generate_board_url() . '/viewtopic.php?t='. $topic_data['topic_id'],
'U_FACEBOOK'	=> 'http://www.facebook.com/share.php?u=' . $viewtopic_url,
//'U_TWITTER'		=> 'http://twitter.com/home?status=' . $topic_data['topic_title'] . ' '. generate_board_url() . '/viewtopic.php?t=' . $topic_data['topic_id'],
'U_TWITTER'		=> 'http://twitter.com/home?status=' . $topic_data['topic_title'] . ' '. $viewtopic_url,
ps. Gracias de nuevo Jaymie

Re: Share On Facebook, Twitter, Orkut, Digg, MySpace, Delici

Posted: Tue Feb 15, 2011 9:53 pm
by jaffamaster
jaffamaster wrote:
Jaymie1989 wrote:
pacop2 wrote:
I have searched for it, but I can not find it. I have found only this:
http://www.phpbb.com/community/viewtopi ... &start=135
http://jaymie1989.comli.com/viewtopic.p ... =1&start=0

But it is marked as "abandoned" 8(

ps. Other suggestion for shareon mod is that it's a bit confusing to have two different places where the buttons are, if you are a guest or a registered user. I think could be more clear the button for guest in the same place that the logged users is :)
The new topic for the Social Networking Buttons is here http://www.phpbb.com/community/viewtopi ... &t=1948025

@jeffamaster please double check your language edits, Also with the red x's make sure the image folder is in the right place inside your imageset
Double check but still the red boxs when logged out, nothing when logged in... any idea which files are affected, until then I'll keep looking.

Hi, I've managed to get it working, but not 100% there is still an option missing on Mod share on panel

I've only got this showing and not the other option?
Enable MOD "Share On" Yes No

I managed to get in working by using some of the files from version 1.01 this worked on my test forum but 1.02 did not, any clues are to whats going on here... great mod by the way, shame its being neglected.

Re: [RC] Share On Facebook, Twitter ... 1.0.2

Posted: Wed Feb 16, 2011 1:07 pm
by Jaymie1989
Double check where you placed the images

They should be in the shareon folder in the imageset folder.
jaffamaster wrote:great mod by the way, shame its being neglected.
Its not being neglected, Im away from home as my 5 year old cousin has aplastic anaemia

There are multiple items fixed in the next version I have but as I am not at my PC I have no files so please bear with me.

Re: [RC] Share On Facebook, Twitter ... 1.0.2

Posted: Wed Feb 16, 2011 6:47 pm
by image45
In the /forum/viewtopic.php file there is some info text that states:

Replace "YOUR_FORUM_TWITTER_ID" for your forum twitter id, or remove the "(from @YOUR_TWITTER_ID)" from the line if your board doesn't have a twitter id //

My forums twitter user name is planetmondas so I edited the code to be:

'U_TWITTER' => 'http://twitter.com/home?status=' . $topic_data['topic_title'] . ' (from &#064;planetmondas) '. generate_board_url() . '/viewtopic.php?t=' . $topic_data['topic_id'],

Can you advise what the &#064 is for in the code add what the difference is if you do not include a forum twitter id? Also whats the correct way to remove the "(from @YOUR_TWITTER_ID)" code please?

Re: [RC] Share On Facebook, Twitter ... 1.0.2

Posted: Wed Feb 16, 2011 6:58 pm
by mladiucitelj
I had problems with Facebook sharing before, bacause I used to have another FB mod installed. If anybody have same problem, just read here: http://www.phpbb.com/community/viewtopi ... #p12927533

Re: [RC] Share On Facebook, Twitter ... 1.0.2

Posted: Thu Feb 17, 2011 3:14 am
by karimla131
hi i did everything but thier is nothing

what can i do
???


please help

Re: [RC] Share On Facebook, Twitter ... 1.0.2

Posted: Thu Feb 17, 2011 3:23 am
by karimla131
jaffamaster wrote:Hi Help needed, Ive installed this on my other board http://www.scottishmotocross.co.uk/forum/index.php

And I've only got the Enable MOD share on showing on the configure page and no icons shown when Im logged in, when I log out they are showing with red "x" boxs and the ALT"" showing I've checked and checked and cant find the problem, can anyone please help?


Configure in which sites you want to share your topics

Enable MOD "Share On" Yes No Share On:Delicious Yes No Digg Yes No Facebook Yes No MySpace Yes No Orkut Yes No Technorati Yes No Twitter Yes No
that's the same probleam that i have ???? anyhelp please

Re: [RC] Share On Facebook, Twitter ... 1.0.2

Posted: Thu Feb 17, 2011 3:24 am
by karimla131
jaffamaster wrote:Hi Help needed, Ive installed this on my other board http://www.scottishmotocross.co.uk/forum/index.php

And I've only got the Enable MOD share on showing on the configure page and no icons shown when Im logged in, when I log out they are showing with red "x" boxs and the ALT"" showing I've checked and checked and cant find the problem, can anyone please help?


Configure in which sites you want to share your topics

Enable MOD "Share On" Yes No Share On:Delicious Yes No Digg Yes No Facebook Yes No MySpace Yes No Orkut Yes No Technorati Yes No Twitter Yes No
that's the same problem that i have ???? any help please

Re: [RC] Share On Facebook, Twitter ... 1.0.2

Posted: Thu Feb 17, 2011 11:53 am
by FF27
Upload the images WITH the folder share_on_buttons in your language folder.

Re: [RC] Share On Facebook, Twitter ... 1.0.2

Posted: Thu Feb 17, 2011 12:47 pm
by karimla131
ya it worked but when i make share with FB not working it's sayes "" Post to Profile
There was an error posting this item.
This box will close automatically in a few seconds. Close this window."""


thanks for your replay

kareem