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 303 online users.
» 0 Member(s) | 301 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

 
  Let's discuss cloaking, backups, and super administrators
Posted by: mudmin - 12-12-2017, 04:48 PM - Forum: UserSpice 4.3 and Below - Replies (1)

Security and convenience are often at odds with each other and that's the line we often walk when developing something like userspice. How do we give you access to the features you want and protect you from accidentally opening up your system to problems.

Right now there is a variable (array) declared in init.php called $master_account. Why would we use a hard coded variable? To be honest, I want it to be intentionally difficult to give someone this sort of power.

The fact is, you can override this variable in a lot of different ways. Since it's called in init, you can even generate this array in your own header based on permission levels or whatever you want.

Currently this system affects 3 things:
1. The ability to override maintenance mode.
2. The ability to cloak into another user.
3. The ability to manage backups, which includes fully exporting source code and databases.

Thoughts?


  Add UserSpice to CRUD or vice versa
Posted by: PaulM - 12-12-2017, 11:45 AM - Forum: New to UserSpice? - No Replies

Hi, thanks for UserSpice, I can apply Php easily - I'm not yet good at Php.
How do I add UserSpice to a CRUD application?
I have a [MySql] table I have already linked several CRUD pages to; I'm thinking I haven't got them to work well with the UserSpice classes.
To start with, I have the following Php in the read.php CRUD page I need help with:

<?php
// require 'database.php';
$id = null;
if ( !empty($_GET['id'])) {
$id = $_REQUEST['id'];
}

if ( null==$id ) {
header("Location: index.php");
} else {
$pdo = Database::connect();
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); // I haven't appreciated much what this one does.
$sql = "SELECT * FROM bylaws where id = ?";
$q = $pdo->prepare($sql);
$q->execute(array($id));
$data = $q->fetch(PDO::FETCH_ASSOC);
DB::disconnect();
}
?>


  Possible Bug - Cron Manager
Posted by: levitt1313 - 12-11-2017, 01:10 PM - Forum: UserSpice 4.3 and Below - Replies (1)

Not sure but I think I found a bug when you click on the Cron Manager tab and then click the refresh button under functions on a non active job the page gets stuck in a infinite loop. You can't leave the page, can't log out nothing works and the browser tab shows the page trying to load and spinning. I know you would say why are you trying to refresh a cron job that is not active?? Just testing everything out trying to find bugs.


  error while updating to 4.3
Posted by: mroeterdink - 12-10-2017, 05:59 PM - Forum: UserSpice 4.3 and Below - Replies (4)

When I run the update.php script I get the followinn error on my screen:

Fatal error: Uncaught Error: Class 'Cookie' not found in D:\xampp\htdocs\Stamboom\users\init.php:79 Stack trace: #0 D:\xampp\htdocs\Stamboom\users\update.php(2): require_once() #1 {main} thrown in D:\xampp\htdocs\Stamboom\users\init.php on line 79

I have tried it three time with no luck. Has anybody an idea wat is going wrong?

Michael.


  Userspice and bootstrap / admin
Posted by: PeterAarts - 12-10-2017, 05:42 PM - Forum: New to UserSpice? - Replies (1)

Hi all,

I'm a enthusiastic user of UserSpice. I made the pages compatibel with bootstrap and combined with AdminLTE theme.

Is realy lokking great.


  4.3.9 Table Sort Breaks After Copy from users to usersc - Solved
Posted by: mleary2001 - 12-09-2017, 07:03 PM - Forum: UserSpice 4.3 and Below - Replies (3)

I copied

admin_users.php

from the 'users' directory to the 'usersc' directory. At the top of the copied file I had to change

Code:
require_once 'init.php';
to
Code:
require_once '../users/init.php';

to get the page to load. However

- sort by clicking on column header does not work,
- pagination does not show,
- search input is missing.

What else do I need to modify?

Thanks in advance,

Mike


  Hamburger menus
Posted by: eeverts - 12-09-2017, 10:15 AM - Forum: UserSpice 4.3 and Below - Replies (3)

On my mobile phone I cannot access my menus, because all the space on the screen is filled with admin links. My own dropdown menus are hidden off screen and scrolling doesn't work.

My solution is not so nice: comment out lines 69-73 in /users/includes/navigation.php.

Why not putting these admin menu items in an 'admin' dropdown menu?

Thanks for the good work!
grtx, Evert


  Can't login after install
Posted by: wango - 12-07-2017, 08:52 PM - Forum: UserSpice 4.3 and Below - Replies (8)

First I like to say thanks for this open source project. New to user spice. I have gotten it all installed but can't login says check recapcha. The recapcha is in the bottom corner but does not function has red writing over top ask admin


  Sidebar Menu
Posted by: mikeculnane - 12-06-2017, 12:20 AM - Forum: UserSpice 4.3 and Below - Replies (1)

Love the concept & have spent some time yesterday looking to see if I could use UserSpice as the basis for a custom web application.

Certainly - the ability to change some of the look & feel via css is great - but my need is to replace the top nav with a fixed/collapsible sidebar menu (driven by the database settings for new pages etc) ?

I have been fiddling with a template like SB-Admin to build out - but having come across the work you have done - would be great to leverage or combine the 2 x concepts. 1 - either take an SB-Admin like template and insert the UserSpice functionality or 2 - Take the UserSpice template & insert the SB-Admin look & feel

Looking for some help as to how I can do this ?

Or how would you tackle it

Thanks in advance


  PHPMailer Settings
Posted by: MHALL1 - 12-05-2017, 07:46 AM - Forum: UserSpice 4.3 and Below - Replies (5)

Added to my Helpers file in the email function as I was unable to use hyphens in the subject line (or at least have them display as intended) maybe one to include:

$mail->CharSet = "UTF-8";