[ABD] Share On Facebook, Twitter ... 1.0.2

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.
muiketi
Registered User
Posts: 23
Joined: Fri Sep 19, 2008 1:12 pm

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

Post by muiketi » Fri Jan 21, 2011 11:31 pm

turkish translation..

Code: Select all

	'SHARE_ON_FACEBOOK'		=> 'Facebook’ta Paylaş',
	'SHARE_ON_TWITTER'		=> 'Twitter’da Paylaş',
	'SHARE_ON_ORKUT'		=> 'Orkut’ta Paylaş',
	'SHARE_ON_DIGG'			=> 'Digg’de Paylaş',
	'SHARE_ON_MYSPACE'		=> 'MySpace’te Paylaş',
	'SHARE_ON_DELICIOUS'	=> 'Delicious’ta Paylaş',
	'SHARE_ON_TECHNORATI'	=> 'Technorati’de Paylaş',

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

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

Post by Jaymie1989 » Sat Jan 22, 2011 1:09 pm

Thank you so much muiketi ;)
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

nozem
Registered User
Posts: 27
Joined: Tue Sep 28, 2010 3:17 pm

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

Post by nozem » Sat Jan 22, 2011 6:39 pm

Dutch ;)


'SHARE_ON_FACEBOOK' => 'Delen met Facebook',
'SHARE_ON_TWITTER' => 'Delen met Twitter',
'SHARE_ON_ORKUT' => 'Delen met Orkut',
'SHARE_ON_DIGG' => 'Delen met Digg',
'SHARE_ON_MYSPACE' => 'Delen met MySpace',
'SHARE_ON_DELICIOUS' => 'Delen met Delicious',
'SHARE_ON_TECHNORATI' => 'Delen met Technorati',
Last edited by nozem on Sat Jan 22, 2011 9:53 pm, edited 1 time in total.

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

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

Post by Jaymie1989 » Sat Jan 22, 2011 8:29 pm

Thanks nozem but its this below that I need translated. ;)

Code: Select all

 'SHARE_ON_FACEBOOK'      => 'Share on Facebook',
       'SHARE_ON_TWITTER'      => 'Share on Twitter',
       'SHARE_ON_ORKUT'      => 'Share on Orkut',
       'SHARE_ON_DIGG'         => 'Share on Digg',
       'SHARE_ON_MYSPACE'      => 'Share on MySpace',
       'SHARE_ON_DELICIOUS'   => 'Share on Delicious',
       'SHARE_ON_TECHNORATI'   => 'Share on Technorati',
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

muiketi
Registered User
Posts: 23
Joined: Fri Sep 19, 2008 1:12 pm

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

Post by muiketi » Sun Jan 23, 2011 2:13 am

you're welcome..

if u need another turkish translation for your mod(s) feel free to pm me ..
Jaymie1989 wrote:Thank you so much muiketi ;)

bysnake4811
Registered User
Posts: 1
Joined: Tue Jan 25, 2011 12:35 pm

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

Post by bysnake4811 » Tue Jan 25, 2011 12:40 pm

Hope you can help me. Have installed latest Version of JesusADS Shareon mod here:

https://www.phpbb.com/community/viewtopi ... &t=1844865


That was before I found your version. I got phpbb 3.08.

Following errors:

Image

No Buttons in the Forum header, as a guest you see the buttons in the posts (but not in the header aswell) but as a logged in user, you just see html links between the posts (no buttons).

I hope you can help me! Thanks.

PS:
Its a german forum. I edited the German Language files, not the english ones.

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

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

Post by Jaymie1989 » Tue Jan 25, 2011 4:22 pm

Hi,

I cannot see the image.

Could you please provide me with a link to your board?

Also could you double check your viewtopic.php and viewtopic_body.html edits for your style, Have you enabled this MOD in your ACP?
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

dribbleling
Registered User
Posts: 42
Joined: Sun Nov 04, 2007 3:41 pm
Location: UK
Contact:

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

Post by dribbleling » Wed Jan 26, 2011 8:09 pm

Haven't actually installed this yet, as there's a question I need answering first
Bear with me
My phbb forum is set for and used by a walking group, this is the groups main method of online communication.
I have a personal Facebook page, i also have a 'Facebook group' that mirrors the walking group.
I want your 'Share on' mod to share on the group page not my personal page
The problem i think is that if I'm logged into my personal page I'm also logged in to the group page
can the Share on url or whatever be set to do this

Yes would be a nice answer :D

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

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

Post by Jaymie1989 » Thu Jan 27, 2011 5:43 pm

Hi,

It will add the share post to the user that is logged into facebook.

If two were open its anyone guess on which one it would post to. ;)
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

aldovich
Registered User
Posts: 1
Joined: Fri Nov 06, 2009 9:25 am

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

Post by aldovich » Fri Jan 28, 2011 2:41 pm

Italian

Code: Select all

 'SHARE_ON_FACEBOOK'      => 'Segnala su Facebook',
       'SHARE_ON_TWITTER'      => 'Segnala su Twitter',
       'SHARE_ON_ORKUT'      => 'Segnala su Orkut',
       'SHARE_ON_DIGG'         => 'Segnala su Digg',
       'SHARE_ON_MYSPACE'      => 'Segnala su MySpace',
       'SHARE_ON_DELICIOUS'   => 'Segnala su Delicious',
       'SHARE_ON_TECHNORATI'   => 'Segnala su Technorati',

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

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

Post by Jaymie1989 » Fri Jan 28, 2011 4:05 pm

Thank you so much aldovich ;)
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

aretecte
Registered User
Posts: 2
Joined: Sun Jan 30, 2011 9:40 pm

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

Post by aretecte » Sun Jan 30, 2011 9:47 pm

is it possible to have the buttons lined up at the bottom of the thread, right next to reply?

i really think the place for "share" buttons is somewhere at the bottom, where people get to when they have read the page and are ready to share, not at the top where people will forget to go when they are done reading

if its a simple edit could you post some instructions please?

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

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

Post by Jaymie1989 » Mon Jan 31, 2011 12:30 am

Sure you can :)

If you want them right next to the reply button, Here is what you need to do.

For prosilver and prosilver based styles

Open: styles/prosilver/template/viewtopic_body.html
Find:

Code: Select all

<div class="buttons">
	<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
		<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div>
	<!-- ENDIF -->
	</div>
Add after:

Code: Select all

<!-- Mod_Share_On by JesusADS -->
		<!-- IF postrow.S_SO_STATUS and S_USER_LOGGED_IN -->
						<tr>
						   <!-- IF postrow.S_SO_FACEBOOK --><td align="center"><a href="{postrow.U_FACEBOOK}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_facebook.png" alt="{L_SHARE_ON_FACEBOOK}" title="{L_SHARE_ON_FACEBOOK}"/></a></td>
						   <td><a href="{postrow.U_FACEBOOK}" target="_blank"></a></td> <!-- ENDIF -->
						   
						   <!-- IF postrow.S_SO_TWITTER --><td align="center"><a href="{postrow.U_TWITTER}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_twitter.png" alt="{L_SHARE_ON_TWITTER}" title="{L_SHARE_ON_TWITTER}"/></a></td>
						   <td><a href="{postrow.U_TWITTER}" target="_blank"></a></td> <!-- ENDIF -->
						   
						   <!-- IF postrow.S_SO_ORKUT --><td align="center"><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;})();"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_orkut.gif" alt="{L_SHARE_ON_ORKUT}" title="{L_SHARE_ON_ORKUT}"/></a></td>
						   <td><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;})();"></a></td> <!-- ENDIF -->
						   
						   <!-- IF postrow.S_SO_DIGG --><td align="center"><a href="{postrow.U_DIGG}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_digg.gif" alt="{L_SHARE_ON_DIGG}" title="{L_SHARE_ON_DIGG}"/></a></td>
						   <td><a href="{postrow.U_DIGG}" target="_blank"></a></td> <!-- ENDIF -->
						   
						   <!-- IF postrow.S_SO_MYSPACE --><td align="center"><a href="{postrow.U_MYSPACE}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_myspace.png" alt="{L_SHARE_ON_MYSPACE}" title="{L_SHARE_ON_MYSPACE}"/></a></td>
						   <td><a href="{postrow.U_MYSPACE}" target="_blank"></a></td> <!-- ENDIF -->
						   
						   <!-- IF postrow.S_SO_DELICIOUS --><td align="center"><a href="{postrow.U_DELICIOUS}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_delicious.gif" alt="{L_SHARE_ON_DELICIOUS}" title="{L_SHARE_ON_DELICIOUS}"/></a></td>
						   <td><a href="{postrow.U_DELICIOUS}" target="_blank"></a></td> <!-- ENDIF -->
						   
						   <!-- IF postrow.S_SO_TECHNORATI --><td align="center"><a href="{postrow.U_TECHNORATI}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_technorati.png" alt="{L_SHARE_ON_TECHNORATI}" title="{L_SHARE_ON_TECHNORATI}"/></a></td>
						   <td><a href="{postrow.U_TECHNORATI}" target="_blank"></a></td>	<!-- ENDIF -->
						</tr>
		<!-- ENDIF -->
	<!-- Mod_Share_On -->
For subsilver2 and subsilver2 based styles

Open: styles/subsilver2/template/viewtopic_body.html
Find:

Code: Select all

<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
		<!-- IF not S_IS_BOT -->
			<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
			<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
		<!-- ENDIF -->
		</td>
Add after:

Code: Select all

<!-- Mod_Share_On by JesusADS & Updated by Jaymie1989 -->
		<!-- IF postrow.S_SO_STATUS and S_USER_LOGGED_IN -->
			<!-- IF postrow.S_SO_FACEBOOK -->	<a href="{postrow.U_FACEBOOK}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_facebook.png" alt="{L_SHARE_ON_FACEBOOK}" title="{L_SHARE_ON_FACEBOOK}"/></a><!-- ENDIF -->
			<!-- IF postrow.S_SO_TWITTER -->	<a href="{postrow.U_TWITTER}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_twitter.png" alt="{L_SHARE_ON_TWITTER}" title="{L_SHARE_ON_TWITTER}"/></a><!-- ENDIF -->
			<!-- IF postrow.S_SO_ORKUT -->		<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;})();"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_orkut.gif" alt="{L_SHARE_ON_ORKUT}" title="{L_SHARE_ON_ORKUT}"/></a><!-- ENDIF -->								
			<!-- IF postrow.S_SO_DIGG -->		<a href="{postrow.U_DIGG}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_digg.gif" alt="{L_SHARE_ON_DIGG}" title="{L_SHARE_ON_DIGG}"/></a><!-- ENDIF -->
			<!-- IF postrow.S_SO_MYSPACE -->	<a href="{postrow.U_MYSPACE}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_myspace.png" alt="{L_SHARE_ON_MYSPACE}" title="{L_SHARE_ON_MYSPACE}"/></a><!-- ENDIF -->
			<!-- IF postrow.S_SO_DELICIOUS -->	<a href="{postrow.U_DELICIOUS}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_delicious.gif" alt="{L_SHARE_ON_DELICIOUS}" title="{L_SHARE_ON_DELICIOUS}"/></a><!-- ENDIF -->
			<!-- IF postrow.S_SO_TECHNORATI -->	<a href="{postrow.U_TECHNORATI}" target="_blank"><img src="{T_IMAGESET_LANG_PATH}/share_on_buttons/shareon_technorati.png" alt="{L_SHARE_ON_TECHNORATI}" title="{L_SHARE_ON_TECHNORATI}"/></a><!-- ENDIF -->
		<!-- ENDIF -->
	<!-- Mod_Share_On -->
All Done!

Please remember to purge your cache after for this to show.
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

aretecte
Registered User
Posts: 2
Joined: Sun Jan 30, 2011 9:40 pm

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

Post by aretecte » Mon Jan 31, 2011 5:08 pm

thank you jaymie!
i think it looks perfect - see the screenshot below:
Image

in order to get the reply buttons, pagination and share buttons in one line
i injected the code before the last </div> in your "find" selection

once again - thanks for the perfect all-in-one mod!

what do you think about adding more buttons for other social network services like linkedin, reddit, tumblr and such?

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

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

Post by Jaymie1989 » Mon Jan 31, 2011 6:36 pm

I will be adding instructions in the next version for users such as your self to add your own into this MOD. ;)
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

Locked

Return to “[3.0.x] Abandoned MODs”