GithubHelp home page GithubHelp logo

userspiceembed's Introduction

UserSpice Embed Plugin

This plugin helps generate dynamic meta data tags for SEO and embeds like Discord or Facebook.

UserSpice can be downloaded from their website or on GitHub

This plugin requires UserSpice 5.3.7+ as the hooks it uses were added in that patch.

Setting Up

  1. Copy the embed plugin folder from inside the repo into /usersc/plugins/
  2. Open UserSpice Admin Panel and install plugin.
  3. Configure plugin if you'd like to choose a default description.
  4. Set descriptions for pages you'd like to have descriptions for.

Plugin Configuration

In plugin configuration you can choose whether you'd like to have a default description for pages that do not have a description set.

Setting Descriptions

In the page manager you will now have a field for a page description. This will be what is shown on the embed or Search Engine.

Overriding

You can override the page title or description using the $embedTitle and $embedDescription variables before loading your template.

This allows you to dynamically set your meta title and/or description dynamically based on the title of the page.

Troubleshooting

This plugin requires write permissions to the usersc/includes folder. Please make sure it can edit the usersc/includes/head_tags.php as well as create a backup of the file. You can manually update fields in this file to match the one in files/head_tags.php of the plugin if you would like instead.

Questions

Any issues? Feel free to open an issue on Github or make a Pull Request.

Need help? Add me on Discord: BangingHeads#0001.

Any help with UserSpice can be asked in their Discord

userspiceembed's People

Contributors

bangingheads avatar

Watchers

James Cloos avatar  avatar

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.