Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 359 online users. » 0 Member(s) | 356 Guest(s) Applebot, Bing, Google
|
Latest Threads |
UserSpice Alpha Testing a...
Forum: News Center
Last Post: ivinsons
11-08-2024, 06:13 PM
» Replies: 13
» Views: 42,475
|
UserSpice 4.4 Development
Forum: News Center
Last Post: Amelie12
09-21-2024, 12:23 PM
» Replies: 4
» Views: 15,199
|
Welcome to the new UserSp...
Forum: News Center
Last Post: ivinsons
08-25-2024, 07:39 AM
» Replies: 2
» Views: 27,918
|
How to use hasPerm
Forum: UserSpice 4.4
Last Post: mudmin
07-20-2019, 02:45 PM
» Replies: 1
» Views: 13,755
|
Session issue? What I sho...
Forum: UserSpice 4.4
Last Post: Parth
07-17-2019, 05:06 PM
» Replies: 4
» Views: 14,502
|
Email Error
Forum: UserSpice 4.4
Last Post: Brandin
07-17-2019, 04:47 PM
» Replies: 1
» Views: 6,623
|
{ Missing Text } after up...
Forum: UserSpice 4.4
Last Post: Brandin
07-16-2019, 04:23 PM
» Replies: 22
» Views: 53,638
|
Best Practice Info
Forum: New to UserSpice?
Last Post: Brandin
07-16-2019, 11:55 AM
» Replies: 1
» Views: 13,490
|
Force to use 2FA -always-
Forum: UserSpice 4.4
Last Post: Brandin
07-12-2019, 12:43 PM
» Replies: 1
» Views: 6,636
|
e-mail not verifying
Forum: UserSpice 4.4
Last Post: LBC
07-10-2019, 11:34 AM
» Replies: 31
» Views: 76,232
|
|
|
Problems with update to 4.07 |
Posted by: vkirov - 04-04-2019, 05:50 AM - Forum: UserSpice 4.4
- Replies (10)
|
|
Hi,
I just downloaded the new update and replaced the files, when I run users/updates it says that it finished applying 0 updates (0 errors) and it still says i`m running 04. Also I found out that there are languages now, when I translate a file in my own language, where can I change the default language?
P.S
I`m translating to Bulgarian, where can I submit my translation file, so that others can use it?
Thanks in advance!
|
|
|
Login validation with Android App |
Posted by: daveyc - 04-01-2019, 09:43 AM - Forum: UserSpice 4.4
- Replies (2)
|
|
Hi guys,
I'm new to userspice and have been building an IOT platform using the system. Its coming together well. I now need to allow login from an android app to the platform.
At the moment, I'm just trying to send a validation message that the user and password are correct. I've tried using POST to send the data to the login form but I am not getting any response. When I try it in Postman, I get an error page with the message:
"There was an error with your form. Please go back and try again. Please note that submitting the form by refreshing the page will cause an error."
Am I going about this the wrong way?
|
|
|
db query in during_user_creation |
Posted by: LoveJailbreak4S - 03-29-2019, 07:45 AM - Forum: UserSpice 4.4
- Replies (3)
|
|
Hello,
at first, i love Userspice for so feature rich and easy understanding (after one week of reading and testing).
I changed the core _join.php file for my needs with a Dropdown to select with "typ" the new user is. My typs are "model", "videograph" and "fotograph".
now the chellange: i tried to edit the during_user_creation to do the following:
If the new user select the typ "model", give him automatically the permissionlevel "4" (4 is permissionlevel "model" i have created).
i tried an if-statement but i think this is really garbage (copied the ['typ'=>Input::get('typ')] code and match it with 'model')
Can you help me with this if-statement and db query?
Have a nice day
|
|
|
Hierarchical Priviledges |
Posted by: artoo80 - 03-22-2019, 03:30 PM - Forum: UserSpice 4.4
- Replies (1)
|
|
Thank you for you work on the framework.
I appreciate your work on the framework. I really do. I notice that currently it is possible to add new privilege levels, so for instance (following the default implementation with user-admin level) we may have:
- Cleric
- Administrator
- Candidate
- Fresher
- Graduate
- Lecturer
However it does not seem to be possible to have (E.g.) "../users/account.php" page as a private page available to multiple user levels and it seems I can only add one user level at the time.
One option would be to consider that all these user levels are actually sub-level of "user" and create another table to allow the definitions of these. However, this seems a hack around your neat implementation and management of privileges using the Admin interface.
If I wanted one page (e.g.) "../usersc/lecture.php" to be private and available only to freshers, graduate and lecturer but not to candidates how do I achieve that without modifying the logic of your priviledge check?
I was trying to reverse engineer your permission check but then I thought I ask as maybe I have picked up the wrong end of the stick with this problem.
(03-22-2019, 03:30 PM)artoo80 Wrote: Thank you for you work on the framework.
I appreciate your work on the framework. I really do. I notice that currently it is possible to add new privilege levels, so for instance (following the default implementation with user-admin level) we may have:
- Cleric
- Administrator
- Candidate
- Fresher
- Graduate
- Lecturer
However it does not seem to be possible to have (E.g.) "../users/account.php" page as a private page available to multiple user levels and it seems I can only add one user level at the time.
One option would be to consider that all these user levels are actually sub-level of "user" and create another table to allow the definitions of these. However, this seems a hack around your neat implementation and management of privileges using the Admin interface.
If I wanted one page (e.g.) "../usersc/lecture.php" to be private and available only to freshers, graduate and lecturer but not to candidates how do I achieve that without modifying the logic of your priviledge check?
I was trying to reverse engineer your permission check but then I thought I ask as maybe I have picked up the wrong end of the stick with this problem.
Like I said " I got the wrong end of the stick". You can set multiple privileges to users instead of doing so for pages. It makes sense.
Then I guess it will be easy to figure out how to set up features in the page that maybe drawn only in case a user has a specific priviledge.
|
|
|
creating a user dossier |
Posted by: LBC - 03-22-2019, 02:56 PM - Forum: UserSpice 4.4
- Replies (11)
|
|
Hi,
I am trying to create a sort of user dossier. I'd like it to contain the info from _admin_user.php but be presented like the account.php.
How would I go about this?
I know I need something like this line: ?view=user&id=<?=$v1->id?>'><?=$v1->username?>, to show the data from a particular user. But I can't figure out how to get it to work.
Any ideas?
|
|
|
hot to get user ids from database to array |
Posted by: Vtins - 03-21-2019, 07:00 AM - Forum: UserSpice 4.4
- Replies (3)
|
|
Hi,
i have a problem with my array_filter
Example i need all usernames or ids for the array_filter like the $filter examples
How can i get all ids into this format
thanks a lot for checking my thread
PHP Code: $filter = array("1","2","3");
or
array_filter example
PHP Code: $filter = array("1","2","3"); $filter = [1,2,3]; $filtered = array_filter($responseData['json'], function ($item) use ($filter) { return in_array($item['id'], $filter); });
admins please move my thread
|
|
|
Sending emails |
Posted by: paragonjenko - 03-19-2019, 06:20 PM - Forum: UserSpice 4.4
- Replies (1)
|
|
Is this possible through the framework? Searching through the code I don't understand the process that has been done for example in "verify_resend.php".
|
|
|
Plugins documentation |
Posted by: artoo80 - 03-19-2019, 11:32 AM - Forum: UserSpice 4.4
- Replies (1)
|
|
I am considering using usespice as the auth framework for an application I am building. It seems v neat.
I have noticed you speak about plugins. Is there documentation about them?
|
|
|
|