Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 401 online users. » 0 Member(s) | 399 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
|
|
|
forgot passw. reset err:Undefined variable: verify in forgot_password_reset.php |
Posted by: gokhan - 03-10-2018, 07:31 AM - Forum: UserSpice 4.3 and Below
- Replies (1)
|
|
Hey all,
Ever since I upgraded to US 4.3.14, I'm getting this error after an attempt to enter a new password for a user following the "forgot password" link sent in an e-mail:
Notice: Undefined variable: verify in /htdocs/userspice4314/users/forgot_password_reset.php on line 63
Call Stack
# Time Memory Function Location
1 0.0186 381872 {main}( ) .../forgot_password_reset.php:0
( ! ) Fatal error: Uncaught Error: Call to a member function data() on null in /htdocs/userspice4314/users/forgot_password_reset.php on line 63
( ! ) Error: Call to a member function data() on null in /htdocs/userspice4314/users/forgot_password_reset.php on line 63
Call Stack
# Time Memory Function Location
1 0.0186 381872 {main}( ) .../forgot_password_reset.php:0
My env is using PHP 7.1.12 and MySQL 5.7.
I tried this with at least 2 US instances one of which was completely a fresh install.
|
|
|
4.3.9 - How to modify admin_user.php |
Posted by: mleary2001 - 03-08-2018, 12:53 AM - Forum: UserSpice 4.3 and Below
- Replies (7)
|
|
Hello all!
The customer wants to add a phone number to the registration page. That is done, now I need to modify admin_user.php to allow editing of the phone number. However, when I copy admin_user.php to the usersc folder I break the whole user management page, admin_users.php.
How can I add a phone number to admin_user.php???
Thanks for your time,
- Mike
|
|
|
Form Processing Functions |
Posted by: firelightcd - 03-07-2018, 02:26 PM - Forum: UserSpice 4.3 and Below
- Replies (8)
|
|
https://userspice.com/advanced-form-processing/
This page mentions two functions, preProcessForm() and postProcessForm(). I haven't gotten to postProcessForm yet but preProcessForm is giving an error: Call to undefined function preProcessForm()
The displayForm and displayView functions work fine.
I've done a search through the code and this function can't be found. Do I have a problem with my codebase or has this not been implemented yet?
|
|
|
problems understanding how to override |
Posted by: bradley.cormack - 03-06-2018, 07:21 PM - Forum: Documentation
- Replies (3)
|
|
First off - love UserSpice... even if its making my brain melt.
my host had an older version I tried first, and then I saw your site a newer version.
Im almost smart enough to know that where was a lot of changes in the code and more tables in the DB...
short story - I had to trash all the work from the older version. update wrote over all my code modifications.
BUMMER...
Now Im embracing the latest version... but DO NOT want to start over again when you update next time.
if I want to make my own maintenance.php that wont get over written, I stick it in usersc ? ? I get a error 500 on any pages I have stuck in there... Ive tried erasing the /users/maintenance.php and just use the file in /usersc but error 500...
without blasting through each file studying how you coded the intricate structure... do I have the right idea? do I have to write a handler that checks if there is a duplicate page file in the usersc directory and use that one instead ?
If I have to edit a bunch of base page code to deal with my custom pages, your next update will overwrite the base files changes I made.
How can I deal with my custom pages not breaking ?
Thank you for your help !
Bradley.
|
|
|
Error while submitting form |
Posted by: venthewolf - 03-06-2018, 03:08 PM - Forum: UserSpice 4.3 and Below
- Replies (9)
|
|
Hi there,
I'm currently developing a website where user can organize their own events. I'm currently coding the create form for my website, but when i click submit on my form it returns a error. Maybe its just me.
here is the code sofar:
<pre> Code: <?php
/*
UserSpice 4
An Open Source PHP User Management System
by the UserSpice Team at http://UserSpice.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
?>
<?php
require_once '/home/dave/public_html/users/init.php';
require_once $abs_us_root.$us_url_root.'users/includes/header.php';
require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
?>
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-xs-3">
<h1>Organizeer een event</h1>
<?php
//Laat het formulier zien
displayForm('event');
?>
</div> <!-- /.col -->
</div> <!-- /.row -->
</div> <!-- /.container -->
</div> <!-- /.wrapper -->
<?php
//Zet de ingevoerde data in de database
processForm(['debug'=>1]);
?>
<!-- footers -->
<?php require_once $abs_us_root.$us_url_root.'users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?>
<!-- Place any per-page javascript here -->
<?php require_once $abs_us_root.$us_url_root.'users/includes/html_footer.php'; // currently just the closing /body and /html ?>
</pre>
|
|
|
Token Doesn't Match (again - sorry) |
Posted by: sbarbee - 03-05-2018, 05:51 PM - Forum: UserSpice 4.3 and Below
- Replies (1)
|
|
I read the other "token doesn't match" forum items, but do not yet know what caused mine. I'm on UserSpice 4.1.8b, running a media site. you can see it here --> http://media.allegiancetitle.com. Even if you try and register, you'll get token doesn't match. As for what the problem is, who knows!!?? This site has been running without any changes or modifications to any file other than index.php and account.php. On THOSE page we only change a link to a video hosted on another site.
So, changes were made Friday - as usual, without problems. Site was tested and working all weekend. Returned this morning to "token doesn't match" errors no matter what I do.
What do you need to see? and thanks ahead for helping me out.
SB
|
|
|
Invalid parameter number |
Posted by: WebAIFHS - 03-05-2018, 04:51 PM - Forum: UserSpice 4.3 and Below
- Replies (4)
|
|
May be a "newbie" being stupid but need help. I maintain the website for the "Anglo-Italian Family History Society" and am looking to change the access to the various pages to improve security. At the moment the site access is split between "open", "members only" & "committee only" and is controlled by the host on a protected directory basis with a single userid/password for all members and a different on for the committee. I have been asked to provide individual logins for each person etc and Userspice seems to be the solution. I am currently "playing" with it on my development system keeping the sites "page look & feel". The first thing I'm tackling is to link the Userspice "users" table with our "members" table which needs a mutual link "aifhs_id" in both tables. I have produced php code based on the Userspice code that is supposed to transfer the members details to the user table and add a default password. Hoewver I get the following error:-
Warning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in C:\AIFHS\Klamath\users\classes\DB.php on line 62.
I have enable DEBUG in the query function in DB.php and get the following display:-
DEBUG: query(sql=INSERT INTO (, , , , , , , , ) VALUES ( ? ), params=Array ( [0] => juliegoucher@gmail.com [1] => Member_0001 [2] => $2y$12$J6vHdar6qqDCyBaVIg58i.GaDMXgplQuk2UtCCm3/hutwkLTRvhkq [3] => Julie D [4] => Goucher [5] => 1 [6] => 2002-04-01 [7] => 2018-03-05 [8] => 1 ) )
As far as I can see there are 9 table entries and 9 data items so don't understand the error. Can you more experienced people point me in the right direction?
Nello Ostacchini
|
|
|
Getting rid of 'Register' and 'Help' nav buttons |
Posted by: Synergic - 03-02-2018, 05:54 PM - Forum: UserSpice 4.3 and Below
- Replies (3)
|
|
Hello. I have an issue that has me completely stumped. I'm trying to remove the 'Register' and 'Help' buttons from the upper right-hand corner in nav bar (which appear when no user is logged in), but they just won't die. I removed the following code from users/includes/navigation.php:
<pre> Code: <li><a href="<?=$us_url_root?>users/join.php" class=""><i class="fa fa-plus-square"></i> Register</a></li>
<li class="dropdown"><a class="dropdown-toggle" href="#" data-toggle="dropdown"><i class="fa fa-life-ring"></i> Help <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="<?=$us_url_root?>users/forgot_password.php"><i class="fa fa-wrench"></i> Forgot Password</a></li>
<?php if ($email_act){ //Only display following menu item if activation is enabled ?>
<li><a href="<?=$us_url_root?>users/verify_resend.php"><i class="fa fa-exclamation-triangle"></i> Resend Activation Email</a></li>
<?php }?>
</ul>
</li>
</pre>
But the buttons remain in place, fully functional. I've tried grepping through the source and editing various different things, but the mighty buttons stand strong. Already tried flushing browser cache, and even tried using a completely different machine. A shove in the right direction would be highly appreciated!
|
|
|
|