Giter Site home page Giter Site logo

discourse-linkedin-sharing-button's Introduction

Out of Date

It looks like the Discourse APIs have changed, and this plugin will no longer work for the latest versions of Discourse.

I no longer run a Discourse instance myself and so have no interest in updating this plugin. I'm happy to link to your repository if you have a LinkedIn sharing plugin that can replace this one.

Discourse LinkedIn Sharing Button

By default, Discourse supports sharing posts on Twitter, Facebook, Google+ and email. With this plugin, you can add support for sharing on LinkedIn in the same fashion.

How To Use

  1. Add a line to your app.yml (I'm assuming you're running Discourse in Docker. If not, you're on your own!)
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/rcfox/Discourse-LinkedIn-Sharing-Button.git

(It might be a good idea to fork this repo so that I don't change it underneath you.)

  1. In /var/discourse, run: ./launcher rebuild app

Note: This will probably take ~10 minutes to finish.

  1. In the Discourse Admin settings, under the "Basic Setup" category, add linkedin to the "share links" setting.

Note: It seems Discourse currently doesn't respect the ordering of share links added by plugins. The LinkedIn button will be last. :\

discourse-linkedin-sharing-button's People

Contributors

rcfox avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

discourse-linkedin-sharing-button's Issues

Does not work anymore on Discource

Hello There
Thanx for sharing this.
Is there chance to you update your plugin so it can work whit lastes version of discource.
My discource is on 1.6.0.beta8 version and I open connsole in chorme I get

The discourse/views/post object has been removed from Discourse and your plugin needs to be updated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.