GithubHelp home page GithubHelp logo

appsforx's People

Contributors

c3c avatar dive-michiel avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

andimou

appsforx's Issues

Check for table existance

This relates to #2

The SQL you have could be injected automatically in the plugin. Look into how you can execute code on plugin activation, and then check if the table already exists, if not, create the table.

Add RDFa to outputted content

GitHub zip file doesn't include submodules

When downloading the project zip file from the GitHub repository, it will not include all needed files. This is because we link to other submodules, which are basically different projects being included in our own.

The fix is simple: download the plugin from the AppsForX WP plugin site and you'll be able to upload that zip file directly in the WordPress admin interface.

Add more information to README.md

Problem

When random people go to your repository they have no idea what this is about

Possible solution

Include basic info about the project in the README.md in markdown:

  • It's a wordpress plug-in, why it is built, and what problem this piece of code will fix
  • Link to the Apps for Europe project (http://appsforeurope.eu/) and to the ontology github
  • add copyright information to the project: OKFN Belgium (some rights reserved). License: I think the MIT license would be best here.
  • ...

ACF plugin

The plugin Advanced Custom Fields appears to replace both posts-to-posts and the Custom-Meta-Boxes plugin.
Things like repeater-functionality appear to be a paid feature though.

Submodule 'posts-to-posts' had to be patched

The patch file is located in meta/p2p.patch.

Perhaps this can be avoided by hooking into "user_has_cap",
tracing where the call came from, and return "true" if the call came from posts-to-posts.

Metadata not flattened

When metadata gets back from the database, the value is stored in a 1-sized array. Is this because of the CMB library's "repeatable" feature? Should these values be flat, or is this standard WordPress behavior? The values are integers or strings, not arrays.

Submitter needs edit_posts capability

Using custom post types (events, ideas, apps), we want users to be able to add/edit them.
These users need to have the edit_posts capability, otherwise an error will be printed.

Although if they get the edit_posts capability they'll also be able to add and edit actual posts.

Add i18n

Create i18n translation files

README.md

Don't forget to complete your README.md file with installation and other instructions.

Group files

Group the files from the plugin in a separate folder (e.g. appsforx).
Do the same with database files (e.g. database), and other files.

Create overview page

The admin could use an overview page that lists the pending ideas/apps.
The menu item exists, but has no content.

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.