Git Product home page Git Product logo

wp-member-register's Introduction

Member Register - A Wordpress plugin

Member register offers a way to keep the information of the members organised.

Code Climate Maintainability Wordpress Plugin

The personal information is stored and if the given member has been registered to use WordPress via WordPress user, they can change their personal settings. Also martial art grades and membership payments are stored.

For further WordPress related information, please see readme.txt, which also includes the version history and changelog.

Minimum PHP version supported is 5.4.0.

Development

Docker utilising environment made originally by https://medium.com/soluto-engineering/testing-wordpress-plugins-can-be-fun-d926a20452b0

Publishing to the WordPress Plugin Repository (Subversion)

Detailed background here.

Clean checkout:

svn co https://plugins.svn.wordpress.org/member-register wordpress-member-register

Or in an existing checkout:

svn up

Now delete all contents from wordpress-member-register/trunk/, copy everything from WP-Member-Register/src/ to wordpress-member-register/trunk/ and commit. Follow by creating a version folder under wordpress-member-register/tags/, such as 0.22.7 and copy all contents of wordpress-member-register/trunk/ to there, commit.

In case there has been changes to anything under WP-Member-Register/assets/, then also copy those over, but they go to wordpress-member-register/assets/

Remember: Whatever ends up under wordpress-member-register/tags/ should also be tagged in this git repository, prefixed with v as in version.

Updating translations

TODO: check these commands, since they are really old without comments...

"C:\Program Files\Poedit\bin\xgettext.exe" --join-existing --default-domain=member-register --indent --sort-output --no-wrap --language=PHP --from-code=UTF-8 --copyright-holder="Jukka Paasonen" --package-name=MemberRegister --package-version=0.6.0 --strict --debug --keyword=__  member-forum.php member-functions.php member-install.php member-register.php member-club.php member-member.php


xgettext \
 --default-domain=member-register \
 --sort-output \
 --no-wrap \
 --language=PHP \
 --from-code=UTF-8 \
 --copyright-holder="Jukka Paasonen" \
 --package-name=MemberRegister \
 --package-version=0.13.0 \
 --strict \
 --debug \
 --keyword=__ \
 -o member-register.pot \
 lang/member-register.pot \
  *.php

Contributing

Please refer to a GitHub blog post on how to create somewhat perfect pull request.

"A Beginner's Guide to Open Source: The Best Advice for Making your First Contribution".

Also there is a blog post about "45 Github Issues Dos and Don’ts".

Version history

See readme.txt for details, which follows the structure defined by WordPress for its plugins.

License

Licensed under the MIT license.

Copyright (c) Juga Paazmaya [email protected]

wp-member-register's People

Contributors

bitdeli-chef avatar paazmaya avatar

Watchers

 avatar  avatar  avatar

wp-member-register's Issues

Localise properly

Some of the texts are in Finnish while some in English. PO files are used but not to full extent.
Fix it, by defaulting to Engineering English and providing fi_FI.po for the given locale.

Templates?

Does WP have sensible template system in place by default?

If yes start using it.

Ability for a member to give grade to themselves

Members could fill in any missing grades, up to the highest grade given to them so far.
This would require a member to have a higher grade to exist in the register, and only up to that grade, they could grant themselves the missing grades.

Visualise member addresses on a map

As it might be interesting for clubs and their members, create a map which show the home locations of each member of the given club.

Perhaps the training places should be shown too, with another type of a marker.

Plugin settings page

Create hook for adding a setting page for the plugin. It should include initially the following:

  • Email in which the registrations will be notified
  • Default access levels
  • File path for file uploads

Acces denied after install

I get access denied or in finnish "Sinulla ei ole riittäviä oikeuksia tämän sivun katseluun."

Seems that proplem will be found in functions.php function mr_has_permission
I made that func to return true and i get all working for testing but this should be fixed.

I get this issue in fresh install of wp 4.6 and after that i made also fresh install of wp4.1 if plugin works whit that but did not.

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.