[CDB] Share On

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

[CDB] Share On

Post by _Vinny_ »

Extension Name: Share On
Author: _Vinny_

Description:
Share On is an extension that allows users to share topics and posts in the following social networks:
  • Facebook
  • Twitter
  • Digg
  • Reddit
  • Delicious
  • VK
  • Tuenti
  • Sonico
  • Friendfeed
  • Tumblr
  • Google+
Version: 1.0.0

Screenshots:
ACP
Share Topic
Share Posts
Mobile#1
Mobile#2

Download: https://www.phpbb.com/customise/db/extension/shareon/
Support: https://www.phpbb.com/customise/db/exte ... on/support

Installation:
  1. Copy the entire contents of the repository to phpBB/ext/vinny/shareon/
  2. Navigate in the ACP to Customise -> Extension Management -> Extensions.
  3. Click Enable.
Github Repository: https://github.com/vinny/Share-On/tree/extension
aleha
Code Contributor
Posts: 61
Joined: Wed Dec 19, 2012 10:42 pm

Re: [DEV] Share On

Post by aleha »

A good option for this would be to disable text and show only the icons.
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share On

Post by _Vinny_ »

aleha wrote:A good option for this would be to disable text and show only the icons.
Sorry, wrong screenshot :oops:

Currently, the MOD has two display options:
1 - Default: https://www.phpbb.com/customise/db/download/id_85236
2 - After first post: https://www.phpbb.com/customise/db/download/id_85235

The extension will only have the default option.
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share On

Post by _Vinny_ »

Download available. :)

Note: use only for testing purposes.
leschek
Registered User
Posts: 839
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Share On

Post by leschek »

When I try to enable it I get this message:

Code: Select all

The selected extension is not available for this board, please verify your phpBB and PHP versions are allowed (see the details page).
I'm using phpBB 3.1 a2 downloaded from here.
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share On

Post by _Vinny_ »

leschek wrote:When I try to enable it I get this message:

Code: Select all

The selected extension is not available for this board, please verify your phpBB and PHP versions are allowed (see the details page).
I'm using phpBB 3.1 a2 downloaded from here.
Sorry, extension is missing PHP version requirement.
Open shareon/composer.json, find:

Code: Select all

		"phpbb/phpbb": "3.1.*@dev"
Before add:

Code: Select all

		"php": ">=5.3.3",
Or just download again and replace this file with the new one.
leschek
Registered User
Posts: 839
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Share On

Post by leschek »

Thank you. It's working now.
But when I change position setting to "After the first post" it seems that it doesn't change anything in a topic. Also, it would be nice if there is tooltip for "standard" button.

EDIT: It seems that "Delete post", "Information" and "Report this post" Buttons are under your main button in post. I would like to have option to show those button separately.

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

Re: [DEV] Share On

Post by _Vinny_ »

leschek wrote:Thank you. It's working now.
But when I change position setting to "After the first post" it seems that it doesn't change anything in a topic. Also, it would be nice if there is tooltip for "standard" button.
Remembering that it is a development release, in addition I will remove the position option.

leschek wrote:EDIT: It seems that "Delete post", "Information" and "Report this post" Buttons are under your main button in post. I would like to have option to show those button separately.

Image
This occurs due of the responsive style, I need to find a way to avoid it.
leschek
Registered User
Posts: 839
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Share On

Post by leschek »

Thank you for answer,

I installed it only on testing board, because I didn't use it before and because it is so easy to try the extensions on phpBB 3.1.
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share On

Post by _Vinny_ »

I'll update the extension only after the approval/release of MOD version 2.2.0. ;)
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [DEV] Share On

Post by Volksdevil »

On RC2 i get:
The “vinny/shareon” extension is not valid.
Required meta field license has not been set.
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share On

Post by _Vinny_ »

Volksdevil wrote:On RC2 i get:
The “vinny/shareon” extension is not valid.
Required meta field license has not been set.
Extension is outdated, sorry. :oops:
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [DEV] Share On

Post by Volksdevil »

No problem Vinny, I'll keep an eye on it for any updates. :)

EDIT: Ah, I see that it needs a small language change:

in composer.json change: licence to license

Although I get the same error as the member above, even though I have that line and I'm using php5.3.3. RC2 board version.
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: [DEV] Share On

Post by _Vinny_ »

Updated. Still unfinished, missing some features and contains bugs, but it works on RC2. ;)
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [DEV] Share On

Post by Volksdevil »

Vinny, how do I delete the current version? (I know I can possibly??? overwrite with the newer version but I'd like to learn how to delete an extension anyway)

In the ACP i see:
COMPLETLY REMOVING AN EXTENSION FROM YOUR BOARD
1/ Disable the extension
2/ Delete the extension’s data
3/ Delete the extension’s files from the filesystem
But I don't understand what step 2 means? :?

EDIT: Ah I see from disabling another extension that a new option appears 'Delete Data'. All good then 8-)
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
Locked

Return to “Extensions in Development”