Giter VIP home page Giter VIP logo

mt-plugin-anon-public-post's Introduction

Anonymous Public Posts plugin for Movable Type and Melody

This plugin enables you to accept anonymous entry submissions from any visitor to your published blog, regardless of whether or not they have an account or they are logged in.

VERSION

1.3 (Released September 28, 2009)

REQUIREMENTS

  • Movable Type 4.2 or higher or any version of Melody
  • The Movable Type Community Pack, which is normally bundled with MT Pro and Enterprise

INSTALLATION

Download the code or the Git repo. Inside you will find a directory (under plugins) called AnonPublicPost. Simply copy the that directory from the archive into your plugins directory so that you have:

MT_DIR/plugins/AnonPublicPost

INITIAL SETUP

In order to use this plugin, you need to first set up two things:

  • An MT user account designated to be the default author for anonymous submitters
  • A modified version of the "create entry" index template that doesn't force users to sign in.

Setting up the default user

  1. Create a new role that only has the permission to create entries (screenshot)
  2. Create a new user to act as the author of all anonymous entries.
  3. Assign the post-only role in #1 to the new author created in #2

Modify the Create Entry template

In this step, you need to modify the styles and/or javascript on the Create Entry index template so that the user has a choice whether to sign in or to post anonymously. This is an exercise left to the reader although contribution of a clear set of simple instructions would be welcome.

CONFIGURATION

The plugin has a mandatory configuration directive (set in mt-config.cgi), PublicPostDefaultUser, through which you specify the default author username created above:

PublicPostDefaultUser joeschmoe

Once this is set correctly, you should be set to go.

VERSION HISTORY

  • 09/19/2009 - Initial private beta release of v0.1-beta
  • 09/22/2009 - Version 1.0, initial production release
  • 09/22/2009 - Version 1.1, cleans up the cookie/session data so that the user cannot log in under the anonymous user
  • 09/22/2009 - Version 1.2, Commented code and very minor readability tweaks
  • 09/28/2009 - Version 1.3, Fixed posting by registered logged in users

AUTHOR

This plugin was brought to you by Jay Allen, Principal of Endevver Consulting.

LICENSE

This program is distributed under the terms of the GNU General Public License, version 2.

BUG REPORTS AND FEATURE REQUESTS

If you find a bug in the plugin or would like to request a feature, you can check our bug tracker to see if it's already been filed and, if not, file a new ticket.

mt-plugin-anon-public-post's People

Contributors

jayallen avatar

Stargazers

 avatar Aaron Bailey avatar  avatar Byrne Reese avatar

Watchers

 avatar 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.