osoc13 / appsforx Goto Github PK
View Code? Open in Web Editor NEWA WordPress plug-in for event organizers
A WordPress plug-in for event organizers
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.
There's a project that includes only the core of the posts-to-posts plugin at
https://github.com/AppThemes/wp-posts-to-posts-core
Might be easier to integrate directly into the plugin.
Some fields should be mandatory (eg. event start /endtime)...
How to enforce this? (Preferrably a server-side solution).
Currently no checks are being done. Meaning there are errors on the browse pages.
There are some plugins that handle this: http://wordpress.org/plugins/mandatory-fields/installation/
Related:
http://wordpress.org/support/topic/how-do-i-require-a-title-for-posts
http://wordpress.org/support/topic/require-post-title-prevent-posts-with-no-title
How to modify already exisiting tags ? (Without ob_*)
For the html tag: http://wordpress.stackexchange.com/questions/89193/cant-find-where-to-modify-html-attrbitutes
Title attribute: http://stackoverflow.com/questions/7348004/how-remove-or-change-title-tag-in-wordpress-using-plugin-add-filter
Others: ?
Possible hookable filters:
http://codex.wordpress.org/Plugin_API/Filter_Reference/template
http://codex.wordpress.org/Plugin_API/Filter_Reference/single_template (voor CPT??)
http://codex.wordpress.org/Plugin_API/Filter_Reference/template_include (inb4 inclusion)
Using shortcodes instead of page templates eliminates the need of copying over the page template files (which is rather dirty)
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.
Display the content!
In accordance with #10
When random people go to your repository they have no idea what this is about
Include basic info about the project in the README.md in markdown:
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.
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.
CPT needs Metaboxes for title, description, logo, jury, awards,..
Output in RDFa
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.
Not all fields are covered right now,
each CPT should have its needed CMB's (events,ideas,apps)
Handle submissions:
This might be possible by
Default usertype on register should be able to submit ideas/apps.
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.
Create i18n translation files
Don't forget to complete your README.md file with installation and other instructions.
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.
Investigate / integrate one of the following custom metaboxes libraries for use in Events&Ideas.
https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress
https://github.com/humanmade/Custom-Meta-Boxes
The admin could use an overview page that lists the pending ideas/apps.
The menu item exists, but has no content.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.