hey Guys! i need help, if anyone can put me to a right direction on creating a sidebar form that could send to an API with JSON format?
parts of the things it could send is:
responses from the API
if the user is logged in
show only in:
pages that i need it to show
I'm not really sure what you're trying to do here - if you want to copy a repository to a local folder you should use git clone and not git checkout - the latter is used for switching branches and generally moving to a different version of a repository.
However, got should not be used to install a plugin. NPM is the utility you're looking for. It supports two methods of authentication for GitHub private repositories - OAuth and SSH.
For OAuth you'll need to generate a personal access token (settings>developer settings>personal access tokens) with permission to read private repositories (just repository permissions if I remember correctly), and then go to the main NodeBB directory and use npm install git+https://<github_token>:email@example.com/NodeBB/nodebb-plugin-xxx.git
If you prefer to use SSH instead, follow the instructions here to generate the keys and add to your account, and then run in the main NodeBB folder npm install git+ssh://firstname.lastname@example.org/NodeBB/nodebb-plugin-xxx.git
@baris Ok thanks, I will take a closer look.
Could you show me a quick screenshot of what it looks like when the leaderboard succesfully loads? And where would I find the template file in the leaderboard plugin/greater nodeBB app for what should be loading the html for the leaderboard?