Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 540 online users. » 0 Member(s) | 539 Guest(s) Bing
|
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
|
|
|
how to add variables to database with your form manager or php file? |
Posted by: yourfriendkarol - 07-01-2018, 04:04 PM - Forum: UserSpice 4.3 and Below
- No Replies
|
|
I wanted to add user_ID next to the input he submits with a form created by your form manager
so I know which user entered that input and i can show him things accordingly.
I tried this
Code: if(!empty($_POST)){
$response = preProcessForm();
$response['fields']['user_id']=$user->data()->id;
if($response['form_valid'] == true){
//do something here after the form has been validated
$response = postProcessForm($response)
}
}
from here:
https://userspice.com/advanced-form-processing/
[font=Monaco, Consolas, Courier, monospace]But i am getting errors.[/font]
[font=Monaco, Consolas, Courier, monospace]Also tried this:[/font]
PHP Code: $my_user_id = $user->data()->id; if(!empty($_POST)){ processForm(); $db->insert("tablemain", ["userid"=>$columnmy_user_id]); //do something here after the form has been validated}
[font=Monaco, Consolas, Courier, monospace]but this only inserts, and I wanted to modify the added row to add user id to it. The update feature from documentation needs me to specify row but I cant know what row is that.[/font]
[font=Monaco, Consolas, Courier, monospace]How can one achieve adding user id variable to the row that user submitted to database? Thanks!
[/font]
<h1> nvm solved!</h1>
|
|
|
Hello Everyone!!! |
Posted by: yami - 06-30-2018, 07:34 AM - Forum: New to UserSpice?
- No Replies
|
|
Myself yami Forum is where you can get answer to any kind of questions with different thoughts in it.
Anybody here to welcome me.
.
|
|
|
DB driven menu |
Posted by: nessinits - 06-29-2018, 01:05 PM - Forum: UserSpice 4.3 and Below
- Replies (1)
|
|
Hi,
Why is the users/includes/database-navigation.php poluted with make up of the userspice framework/layout?
Due to the logo and navigation toggle it cannot be used elsewhere.
Is it possible to clean this up?
Kind regards,
nessinits
|
|
|
Welcome to the new UserSpice Forums! |
Posted by: Brandin - 06-28-2018, 06:56 PM - Forum: News Center
- Replies (2)
|
|
Hello everyone,
Welcome to the new UserSpice Forums! After several years of running off of bbPress, we have finally made the migration to another forum software that is much more user friendly but still filled with features and configuration possibilities. This is the first step towards having a centralized login system for UserSpice which will handle your login for all UserSpice Services! With this change, you may notice topics moved to different locations compared to before, and some topics in their incorrect place. Feel free to submit reports for the Moderators to move topics to their appropriate location.
That being said, one thing we lost out on in our migration is automated Gravatar images. You will now need to visit the User Control Panel and enter your email address in the "URL" field under Change Avatar and it will trigger your Gravatar. We may look at a programmatic function for this in the future, but for the time being, we appreciate you helping us out with this!
If you have any questions or concerns, feel free to ask, and don't forget to join our Discord Community-the link can be found on the Index Page!
Thank you,
Brandin & Dan.
|
|
|
Error Formatting |
Posted by: MHALL1 - 06-24-2018, 04:07 PM - Forum: UserSpice 4.3 and Below
- Replies (3)
|
|
Hi,
I'm trying to style a password update error message to fit with a new theme by removing the bg-danger or text-danger class depending on the style I end up choosing.
I thought removing from the class from function display_errors in validate.php would do the trick however they are still finding their way onto the page.
Anywhere else I should look?
Thanks
|
|
|
custom login page |
Posted by: roger - 06-21-2018, 12:39 PM - Forum: UserSpice 4.3 and Below
- Replies (6)
|
|
Hi!
...I'm a noob. but the installation was easy and userspice is running of course. Everything works. What I would like to do, is create a custom user page for each user. They don't really differentiate much, but I would need to transfer a variable (username) to a form respectively when the form is submitted the username automatically in there.
This is how the form works right now:
====
<form class="form-horizontal" role="form" id="test-form">
<div class="form-group">
<label class="col-lg-3 control-label">First Name</label>
<div class="col-lg-3 inputGroupContainer">
<div class="input-group">
<input type="text" class="form-control" name="firstName" placeholder="First Name"/>
</div>
</div>
</div>
====
So ideally I have a hidden form field that gets the username or full name through the login procedure. I can then submit the form without the user having to input anything.
Any help is greatly appreceated.
R.
|
|
|
version 4.4 |
Posted by: UsaMusa - 06-20-2018, 06:16 AM - Forum: UserSpice 4.3 and Below
- Replies (2)
|
|
Hello,
I really can't wait to use the Multilingual Feature in userspice 4.4
When do you expect to release it?
Thank you guys very much
|
|
|
Modifier users table doesn't update my new fields |
Posted by: Kolok - 06-15-2018, 12:28 AM - Forum: UserSpice 4.3 and Below
- Replies (1)
|
|
Hello
I need to ad 4 fields in the users table to manage differents kinds of payed service
on my website.
I modified admin_user_system_settings.php so i can see my field, and data
but the update doesn't work at all.
A tried to modify the admin_user.php form to, but the fields dont update at all.
I'm unable to find where a have to change the script for that.
I have search an read all the forum but i can't find anything
Can you help me please ?
Philippe
|
|
|
|