The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/portal.php 39 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 1,007
» Latest member: kavitasinghji
» Forum threads: 1,324
» Forum posts: 7,788

Full Statistics

Online Users
There are currently 643 online users.
» 0 Member(s) | 641 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

 
  Status Update 016
Posted by: mudmin - 09-16-2017, 01:19 PM - Forum: UserSpice 4.3 and Below - Replies (27)

Goodness, Brandin was busy. His build notes will be pasted below. Note that I also merged in a few pull requests into 4.2 that I manually brought over here to 4.3 alpha.

One allows spaces in z_us_root (I guess I should say strips them out if someone accidentally puts a stray space in the array)
Another allows special characters in passwords for email servers. I don't know how that one has gone this long without causing an issue.
Finally...and I mean finally, I added PLBs git ignore to the init.php file.

We'll probably encourage command line junkies to grab updates over git. We used to have a database migration tool. Idk if I want to go back there, but it would allow better version skipping.

Thanks Brandin. Here's his notes...
UPDATES
users
admin_backup.php
-Added all loggers
-Fixed select all divs
-Changed the deletions success message, commented out original
-Added line break after delete button
admin_messages.php
-Fixed pagnation bug by adding an extra table header
-Added all loggers
-Fixed issue with deleted user gravs and names
admin_message.php
-Fixed issue with deleted user gravs and names
admin_page.php
-Added all loggers
admin_permission.php
-Added loggers
-Added success note for changing permission name
-Fixed a call for errors and successes which was overwriting the success and errors that were defined
admin_permissions.php
-Added logger
-Had to remove the call to verify if in array since there was no $permissionId
-Removed delete call and functions
-Moved submit button to top next to add permission level name
admin_user.php
-Added loggers
admin_users.php
-Removed delete function as this is legacy
-Added logger
admin_verify.php
-Added logger
admin.php
-Split register and social since they are in their own tabs
-Commented redirect calls for success messages - they were doing the same thing as they currently were anyways
-Added a recall for $settings so we have updated on post
cron_manager.php
-Added logger
-Changed active=0 bg color to #CDCDCD
cron_post.php
-Added logger
email_settings.php
-Added loggers
-Added msg on redirect
-Need to find out where the $results comes from and add success and errors results
-Will change the redirect for no test to just recall $results
forgot_password.php
-Added logger
join.php
-Added loggers
message.php
-Fixed call with deleted users gravs and names
-Added an error message and disabled attribute if the message was deleted by the other user, restricted sending in case of manual edits
messages.php
-Fixed call with deleted users gravs and names
user_settings.php
-Added loggers
views
_admin_register_settings.php
-Change call from social to register
_admin_site_settings.php
-Fixed action to be to 2 tab instead of 1
helpers
us_helpers.php
-Modified adminArchiveThread - added logger, add user_id
-Modified adminUnarchiveThread - added logger, add user_id
-Modified adminDeleteThread - added logger, add user_id
-Modified messageUser - added logger, add user_id
-Modified archiveThreads - added logger, add user_id
-Modified deleteThreads - added logger, add user_id

DELETIONS
users
create_message.php - legacy

**PLEASE ADD**
logger on login:
logger($user->data()->id,"User","User logged in.");

**SQL**
INSERT INTO

Code:
crons
(
Code:
id
,
Code:
active
,
Code:
sort
,
Code:
name
,
Code:
file
,
Code:
createdby
,
Code:
created
,
Code:
modified
) VALUES (NULL, '0', '100', 'Auto-Backup', 'backup.php', '1', CURRENT_TIMESTAMP, NULL);


  Login page error
Posted by: kingnath - 09-16-2017, 03:07 AM - Forum: Off-topic Discussions - Replies (6)

My logging page is showing error

"This page isn’t working

betajobs.com.ng is currently unable to handle this request.
HTTP ERROR 500"

please how can i resolve it.


  Status Update 015
Posted by: mudmin - 09-15-2017, 09:18 PM - Forum: UserSpice 4.3 and Below - Replies (24)

I think I got everyone's patches in there. You'll have to doublecheck.

I didn't have good luck combining the js files for pagination.

I did break the admin dashboard into panels and fixed some of the logic there. I split things into more tabs and columns.

I also made a few language changes to navigation. I'm open to suggestions on what we call these things.

phpMailer has been updated to v6.x

New pages are private by default now.

Let me know what you all think


  Validity Time
Posted by: oscar - 09-15-2017, 06:36 PM - Forum: Modifications and Hackery - Replies (3)

I need to check if the user in within a date/time range of permission to access the protected page.

I define the time-window at the user creation, then I can update it, if necessary (usually not).

The user can login, but can see the pages only when inside the time-window.

Attached there is my modification: seems to work.

Hope this helps, but any update/corrections are welcome Smile

Oscar

PS: How can I send a file??? Big Grin Big Grin Big Grin


  Install issues - Install Path vs. Web root directory vs. Server-Document Root
Posted by: cmo - 09-15-2017, 03:44 PM - Forum: UserSpice 4.3 and Below - Replies (9)

Hello,

My development environment:

Windows 7
web server via WAMP install:
Apache 2.4.23
Php 5.6.25
MySql 5.7.14

Yesterday I installed UserSpice on my dev environment. Below are the steps I followed:

1. I added a new folder to serve as my root directory for the new web. Added folder 'Reservations' to my c:/webs/ directory.
2. Using Apache, created a new alias to go to this new web via the url: http://localhost/reservations/
3. Created a new MySQL Db with name Reservations.

This makes my file directory 'c:/webs/Reservations' and my root web directory 'localhost/reservations/'. So if I open a browser and type 'localhost/reservations/' in the address bar, I will be served the web content in 'c:/webs/Reservations'.

4. I extracted the UserSpice 4.2 into the 'c:/webs/Reservations' folder.
5. I opened a browser and typed 'localhost/reservations/'.

  • The InstallSpice 0.1a page appears.
  • The System Requirement Checks are all Green
  • The Additional Recommended Settings are all Green


6. I click the 'Continue >>' button.
The Path Settings page appears. It indicates that the system detects that i have installed this software in... C\webs\Reservations\, which is true.
It also indicates that if the system acts weird after install I may need to edit the users/init.php file. Which is also true, stay tuned.

7. I click the red 'Save Settings' button and I'm taken to the Database setup page.
8. Next I enter my db host, user, pass and name. No problem here.
9. I click the green 'Test Setting' button.
The system churns for a bit while it is creating the tables in the db then notifies me the db connection was successful and the tables were imported? successfully.

10. I click the red 'Save Settings >>' button and am taken to the Step 4/ Timezone/ReCaptcha settings page.
11. I add my timezone, add the demo keys and copyright message and click the green 'Test Settings' button.
The system shows the ReCaptcha, I test it, it works.
12. I click the red 'Save Settings' button and am taken to step 5, Cleanup.
13. I get the congratulations, I click the red 'Cleanup Install Files' button.
  • It shows the files deleted and gives a message about errors.
  • It also refers to editing the '/core/init.ini' file... which there is no core folder and no init.ini file. Maybe this message is leftover from previous versions and should be updated to users/init.php??

  • It then mentions errors in deleting and references this '/core' folder again but this time refers to 'init.php'.
  • Finally at the bottom we get a link to the index of the web. In my case it is 'localhost/Reservations/index.php'.


14. I click the link.


  Hello Userspice World.
Posted by: cmo - 09-15-2017, 12:41 PM - Forum: New to UserSpice? - Replies (5)

Hello all,

As a past user of usercake (and heavy modifier), I am starting some new projects and thought it would be nice if I didn't have to continue using the procedural style db calls (which I mostly replaced) of usercake and could find a nice new manager with modern day security and bootstrap.. voila... at first glance, userspice appear to be it.

I'm sure I'll be posting her alot over the next few years. And... I've already encountered issues installing userspice.. directory issues in the init.php...

See you all around here.


  Docs too old?
Posted by: oscar - 09-14-2017, 12:53 PM - Forum: Modifications and Hackery - Replies (3)

I was trying to do some personalization to last/actual version of UserSpice (I've just downloaded it, 4.2.11), as seen in https://userspice.com/registration-form-add-fields/ but some of the file indicated... there isn't Smile

I added 2 columns in "users" table, and added line in users/views/_join.php

Next steps point to files... disappeared! Big Grin

And accessing UserSpice seems that my modifications has no effect at all (no errors, no fields,...)

Thanks!


  Hi!
Posted by: oscar - 09-14-2017, 11:46 AM - Forum: New to UserSpice? - Replies (12)

Hello to everyone, I write from Italy, and it has been a while since the last time I put my hands on the php.

So be patient on both English and coding Smile)

In fact, nice the video guide, but personally I prefer the written one: I have more chance to understand something! Big Grin

Ok, let me try to dig in the code!

Bye

PS: let me know if it's better to start now to translate the language.php or to wait the 5.0 Tongue


  Status Update 014
Posted by: mudmin - 09-14-2017, 10:41 AM - Forum: UserSpice 4.3 and Below - Replies (10)

This is a pretty hefty update.

Requires new SQL

Added pagination to users, pages, tomfoolery and maybe a few other places. It's easy to do other places and also to customize.

Pagination CSS looks a little weird on standard.css, but the other ones look good for the most part. I pushed the default bootstrap css as the default in the sql dump.

Started tabbed interface on the dashboard. I think we can still simplify those main panels.

Plus everything Brandin did with system logs as well as his new functions. I don't think the log feature is toggling properly. I ran out of time to check on this. See his post for more info...
https://userspice.com/forums/topic/statu...#post-5940

Thanks for everything!


  Send values of input radio to database
Posted by: JulienS - 09-13-2017, 06:57 PM - Forum: UserSpice 4.3 and Below - Replies (3)

Hi everyone,

I'm trying to get the values from an input radio in the login form and send it to the database. This is my code in the form field:
<input type="radio" name="typeaccountpro" id="typeind"> An individual
<input type="radio" name="typeaccountpro" id="typepro"> A professional / An agency
What should I write in the script which will send everything to the database?
Also, for a select? A textarea? A checkbox?
Many thanks