Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 440 online users. » 0 Member(s) | 438 Guest(s) 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
|
|
|
User id in validate class |
Posted by: thenumbernine - 11-20-2016, 04:54 AM - Forum: New to UserSpice?
- Replies (5)
|
|
I'm trying to validate a form against the user's id in the validate class, using something like the following:
$query = "SELECT * FROM users WHERE username = '{$value}' AND id = {$id}";
What's the proper syntax for grabbing the id within this class?
|
|
|
Access Key (Email) |
Posted by: Brandin - 11-19-2016, 02:24 PM - Forum: Modifications and Hackery
- Replies (2)
|
|
Hey there!
I am making a new system (in addition to my lovely Master system that I had to bug you guys to build). It's called lol - simple name eh? Basically it will to the following functions:
-Users in my office will visits the link, enter their email, and select their start time, pizza type (primary, secondary) and press submit
-This will log into the DB for the next selected date by me (in the backend)
-I can then modify the users choices (based on Primary and Secondary), figure out costs and stuff, and all that good stuff
I can do all of the above except the first. I need to keep the login and user function because I personally need to login to the system and make changes and stuff, and change around the pizza list, close and open new weeks and stuff.
However, function 1 I need to check the email, against 2 domains. I have some users that are and some that are . How do I do this? When they click the Register button, how do I automatically send them an email saying "Hey, you're registered! blah blah blah click here to take your name off the list within x time".
Thank you,
Brandin
|
|
|
Need a point in the right direction |
Posted by: sandrews - 11-18-2016, 06:02 PM - Forum: New to UserSpice?
- Replies (23)
|
|
Well I'm back, and having a hell of a time figuring out what I'm doing haha. My inexperience with PHP is showing and I have no idea how to get what I want done...done. I haven't coded with this stuff in 5-6 years so I'm quite out of touch.
Basically, I'm just looking for some help on getting a single function done. Once I figure that out, I'm confident I can take it from there and run with it. I just need help with the basics to get me started.
So for one, I need to add another row/column (I think?) to your database where I can log times when a button is pressed. I have no idea how to do that, but I plan on trying in phpMyAdmin to see how that works out. Problem is I don't know what options to use...I just know that I need to be able to store timestamps in it.
Second, I don't know what an example code would look like to set that timestamp into the DB for that relevant user. I've tried Google and my other team member tried coding something from scratch himself and we both are failing to figure out how to keep any DB entries made by a user stuck to that user's session.
I'm trying to make something like a time clock but not really...it will evolve into tracking breaks of team members as a whole, showing realtime who is on break and for how long they've been on break, give reports to myself and the other supervisor about often people are up out of their desks, etc.
|
|
|
multiple select box or checkboxes in the registration form |
Posted by: LBC - 11-11-2016, 07:05 AM - Forum: Modifications and Hackery
- Replies (24)
|
|
Hey,
I really need to have a multiple select box or some checkboxes in the registration form.
Something that people can select or check so the data gets saved in the database to be displayed in their profile.
I have tried to do this myself but I'm not getting anywhere really
Can someone please help me with this perhaps?
|
|
|
View As User |
Posted by: Brandin - 11-10-2016, 09:03 PM - Forum: UserSpice 4.3 and Below
- Replies (34)
|
|
Hey there!
I have an idea for a new feature in my system so the Administrators can view as Users. Basically, I want any System Administrator to access a page, we'll call it . On this page, they can select a user from the user list, which will redirect them to a page with the general navigation bar, their name, etc. and then an IFRAME or something of the system again, but viewing as the user they selected on the previous page. So, in a sense, they will see everything they would see on any page, including the navigation, but as that user within the IFRAME window.
Maybe IFRAME is not the best method for this, but that is why I'm turning to you guys for help in turning this into an actual script. The reason for this system is to see the users current alerts, remove items specific to their user, and modify stuff within their account. My system has many different tables, all linked to the custom pages I have created, but every table is linked with a column called which only allows the current user to see their database rows in each table. This is why I need this feature to view things as a specific user.
Thanks in advance!
|
|
|
|