Coder Social home page Coder Social logo

userspice5-dev's Introduction

UserSpice5-Dev

UserSpice 5 Dev Channel - Note this is PRE Alpha at best. Not for production use.

The UserSpice 5 channel is intended to permit larger or more significant changes to the code base. There is still a lot of work that needs to be done.

To get started you will need to rename users/db_cred.config.php to users/db_cred.php and fill in the empty values.

You will need to manually import the sql dump located at git location sql/userspice5.sql . This is a "sanitized" dump, which should be free of credentials. After the import, you can edit the settings table and fill in the following keys:

site_name (e.g. My Site)

site_url (e.g. https://example.com/)

If you are using recaptcha, then you need to put your keys in here:

recaptcha_private (e.g. google test key is 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe)

recaptcha_public (e.g. google test key is 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI)

If you are using the Google login, then you will need to enter your id and secret here after obtaining them with these instructions

https://developers.google.com/api-client-library/php/auth/web-app#creatingcred

gid (i.e. this is the Client ID)

gsecret (this is the secret/private key)

If you are using the Facebook login, then you will need to enter your id and secret here:

fbid (i.e. this is the App ID)

fbsecret (this is the secret/private key)

userspice5-dev's People

Contributors

plbowers avatar raceybe avatar mudmin avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

userspice5-dev's Issues

Allow custom fields to be added to key tables

Allow an administrator to add custom fields with a limited set of types and they get stored in custom fields which are already included in these key tables.

Thus US would distribute with users.custom1, users.custom2, users.custom3 as unused but available fields

A separate table "custom_fields" would allow choosing a table and a label for these custom fields.

In the form(s) after the normal fields are added there would be a generic "add_custom_fields('users')" or something like that which would read this table and set things up for editing/validating/etc.

Allow clicking on hint-icon to see hint-text

Currently you can see the hint-text by hovering over, but there is a slight delay before the hover takes effect. Some users might go straight there and click immediately - in that case something sensible should happen which would seem to indicate showing that text.

See http://jsfiddle.net/9mmmwum4/2/ or similar

It would be good if we could figure out a way to make it look the same as the hover-over, but that may get into some browser-dependent code...

Allow validations to be edited by admin

Validations are increasingly being stored in the database. There needs to be a way for the administrator to edit these.

(For instance, 1 admin might want to make "users.company" non-required, another site might want to allow spaces in usernames, another site might want more secure passwords to be required, etc.)

fixing header/menu overwriting top of form

Sometimes (http://userspice.com/forums/topic/page-formating-bug/, http://userspice.com/forums/topic/navigation-covering-data/) the top of a form gets covered up by the UserSpice header and nav. (This can be reproduced by using a bigger image which covers more vertical pixels in place of the UserSpice logo.)

If we put the header/nav inside of bootstrap rows would that solve the problem?

Perhaps

could be in header.php and

could be in page_footer.php or something like that?

This is all theoretical in terms of the fix - but the problem does occur sometimes.

Allow read-only access to all pages implemented via Classes/form.php

A group could be given access to a page but with read-only access specified. In that case a "disabled" or "readonly" attribute would be added to each input field and no DB update/insert/delete would occur.

See http://userspice.com/forums/topic/function-level-access-control/

This could also be extended to allow not just "everything" (as it is now) and "readonly" but various other "modes". Thus a group administrator (NOT a system administrator) might be able to see or modify part of a form but not the whole form...

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.