Implemented Add own custom button or add Wykop.pl

  • Marcin Równicki
  • Onderwerp Auteur
  • Offline
Lees meer
2 jaren 10 maanden geleden - 2 jaren 10 maanden geleden #2074 door Marcin Równicki
Add own custom button or add Wykop.pl werd gestart door Marcin Równicki
Hi. Ruud :) 
In Poland is very popular Content Aggregator something like Reddit.
wykop.pl i want add button to share on this service.
Can you add this service or where i can add custom code for own button :)
This is doc dev.
www-wykop-pl.translate.goog/dla-programi...hl=pl&_x_tr_pto=wapp

Regards.

DOWNLOADLINK to test version
Dit bericht bevat vertrouwelijke informatie
Laatst bewerkt 2 jaren 10 maanden geleden doorRuud van Lent. Reden: added link to test version
Discussie gesloten.
Lees meer
2 jaren 10 maanden geleden #2075 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Add own custom button or add Wykop.pl
Hi Marcin,

thanks for this request.
I have checked the documentation and see that they are able to share by link
Code:
http://www.wykop.pl/dodaj/link/?url=http://adresstrony.pl&title=TUTAJ_TYTUL&desc=TUTAJ_OPIS

this means that i can add a button for this platform.

What I need now is the icon that will be displayed on the button: I did a quick search but cannot find it on e.g. fontawesome.
If you know where to find one, please share. Otherwise I have to figure out how to create and add it :)
Discussie gesloten.
  • Marcin Równicki
  • Onderwerp Auteur
  • Offline
Lees meer
2 jaren 10 maanden geleden #2076 door Marcin Równicki
Beantwoord door Marcin Równicki in topic Add own custom button or add Wykop.pl
Sadly, in not available in font awesome. 4y ago  made a request. I don't know why still, it's missing in font awesome.

I add some icon pack png and svg
Please look.
Discussie gesloten.
Lees meer
2 jaren 10 maanden geleden #2077 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Add own custom button or add Wykop.pl
Thanks Marcin,
with the attached I can create an icon myself.

ochJSsocials supports three icon packs:
  • ochicons (my own, so I can add the icon to this set)
  • fontawesome4
  • fontawesome5
what would be a good 'replacement' icon for the fontawesome sets?

I will set the button color to #367da9 (blue), but can also set it to orange: what would be your preference?

The standard text on the button will be 'wykop', just like for the reddit button (which has reddit). If this is not correct please let me know
Discussie gesloten.
  • Marcin Równicki
  • Onderwerp Auteur
  • Offline
Lees meer
2 jaren 10 maanden geleden #2078 door Marcin Równicki
Beantwoord door Marcin Równicki in topic Add own custom button or add Wykop.pl
FA4 - hashtag
FA5 - hashtag
For test because I must see how this will be look ; > (consults)
wykop is good
Blue is ok.
Discussie gesloten.
Lees meer
2 jaren 10 maanden geleden #2082 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Add own custom button or add Wykop.pl
Hi Marcin,
in first post of this topic I have added a download link to a test version.
please enable Wykom both as button but also add 'WY' in the button order field (otherwhise it will not show)

Haven't tested my self other then if the button shows, so hope this work :)
Discussie gesloten.
  • Marcin Równicki
  • Onderwerp Auteur
  • Offline
Lees meer
2 jaren 10 maanden geleden - 2 jaren 10 maanden geleden #2085 door Marcin Równicki
Beantwoord door Marcin Równicki in topic Add own custom button or add Wykop.pl
Clean install J3 in core working
Update in J3 and K2 don't show.

Uncaught Error: Share 'wykop' is not found
    at Socials.<anonymous> (jssocials.min.js?v=1.8.0.DEV-1662365270:8:98)

 
Laatst bewerkt 2 jaren 10 maanden geleden doorMarcin Równicki.
Discussie gesloten.
Lees meer
2 jaren 10 maanden geleden #2086 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Add own custom button or add Wykop.pl
Hi, thanks for reporting back. Possible that onsite it is not working it is using cached (old without wykop) version of jssocials.min.js?
On that site you can goto page source, click the jssocials.min.js so it opens and then ctrl-f5 (you can then also check if wykop is present as text in that file

can you try that?
Discussie gesloten.
  • Marcin Równicki
  • Onderwerp Auteur
  • Offline
Lees meer
2 jaren 10 maanden geleden #2087 door Marcin Równicki
Beantwoord door Marcin Równicki in topic Add own custom button or add Wykop.pl
In text file is present 
www.roland-gazeta.pl/media/plg_content_o...1.8.0.DEV-1662113652  but if i click on this link wykop not found.
I try turn off cache.
Code:
{throw Error("Share '"+shareConfig.share+"' is not found")}
WY, i add and button is ON
Discussie gesloten.
Lees meer
2 jaren 10 maanden geleden - 2 jaren 10 maanden geleden #2088 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Add own custom button or add Wykop.pl
Can you reinstall the new plugin (test version). The jssocials.min.js is the old version (/*! jssocials - v1.6.0-och - 2020-05-07),
the new one (in the plugin zip file) is /*! jssocials - v1.7.0-och - 2022-09-02

so for some reason it is not overwritten?

edit: the jssocials.js on that site is the correct version, so not sure as to why the jssocials.min.js is not overwritten with the new version
Laatst bewerkt 2 jaren 10 maanden geleden doorRuud van Lent.
Discussie gesloten.