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 691 online users.
» 0 Member(s) | 688 Guest(s)
Applebot, 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

 
  account.php
Posted by: nessinits - 03-09-2017, 11:15 AM - Forum: UserSpice 4.3 and Below - Replies (10)

Hi,

I'm new with this. Just installed the version 4.2 of Userspice.

When I log in, I'm redirected to users/account.php, but that's not what I want. I want to be redirected to the page I landed on.

Does anyone know what I should change in my config?

Kind regards,
nessinits


  Hamburger Menu - Divider
Posted by: muhammedc - 03-09-2017, 10:36 AM - Forum: UserSpice 4.3 and Below - No Replies

Hi

Is it possible to use a divider in the hamburger menu?

I've tried

Code:
<li class="divider"></li>
but that doesnt show up on the hamburger menu...

Thanks


  Social login issues
Posted by: jfcano - 03-07-2017, 02:32 PM - Forum: UserSpice 4.3 and Below - Replies (4)

Hi,

I'm stuck. I've configured (I think correctly) both Google and Facebook social logins but I can't login with either of the 2 systems.

For example in the case of Google I can see how the row in the table users is updated correctly with the last login date, but I have the access denied to the page account.php.

I think this is because Session::put($this->_sessionName, ...) is never called as login.php does. I don't know what I'm doing wrong... any clue?

Thanks in advance and regards,
Jose.

PS: I'm using 4.2.2 version.


  check_updates.php
Posted by: Brandin - 03-05-2017, 07:30 PM - Forum: UserSpice 4.3 and Below - Replies (6)

Is the current version being grabbed from a server? From what I see it is being defined in the file, how is it going to check if there is updates when we are defining locally? Is this feature still being worked on and file was deployed by accident? Do you plan on integrating this into the admin panel? I was going to do this manually until I seen it seemed to be incomplete. Thanks for all the work you do! I LOVE the update! Thanks again!


  Mailing List
Posted by: Brandin - 03-05-2017, 05:19 PM - Forum: Off-topic Discussions - No Replies

Hey guys,

Thoughts on a mailing list for when you publish releases? A lot has happened last month when I wasn't checking the site and HOLLLLLLY! It would be awesome if there was a mailing list I could subscribe to!

Thank you.


  securePage issue
Posted by: philb1664 - 03-05-2017, 04:21 PM - Forum: UserSpice 4.3 and Below - No Replies

Hi,

I'm using the following code in a file in a subdirectory, and while it allows me to log in, if I put the full url in the browser, it brings up the page.

With other pages at the same level, the conditional does work, and the request 'dies'

require_once '../../../users/init.php'; // the securePage conditional doesn't work
require_once $abs_us_root.$us_url_root.'users/includes/header.php';
require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
if (!securePage($_SERVER['PHP_SELF'])){die();}

The problem page 'requires' a number of other files - of my own, which load, so is there anything in particular I should look through these other files?

Many thanks


  .htaccess not working with 'post' requests
Posted by: bitsoft - 03-05-2017, 03:58 AM - Forum: UserSpice 4.3 and Below - Replies (9)

I'm using the .htaccess code below to hide .php in the url. It works fine, however all POST requests do not work afterwards. For example, all form submissions stopped working unless I changed them to GET.

Please help take a look why this is happening and a way out.


Quote:Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
# RewriteBase /

# To externally redirect /dir/foo.php to /dir/foo
RewriteCond {3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d}{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
RewriteRule ^ {3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d}1 [R,L,NC]

## To internally redirect /dir/foo to /dir/foo.php
RewriteCond {3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d}{REQUEST_FILENAME}.php -f [NC]
RewriteRule ^ {3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d}{REQUEST_URI}.php [L]


  Where and how to add javascript i need on every page?
Posted by: JeroenVD - 03-02-2017, 03:12 PM - Forum: Documentation - Replies (4)

Hello,

I'm trying to port a project without usermanagement into userspice.
In the project are different folders with different pages. I added those folders to the array with monitored folders and so far so good.
Now i try to put some generic javascript files on a location and reference them from every page.
I choose the js folder under the users folder to put the generic.js. When i try to link this file from the footer.php it seems it is not working... Before digging any deeper i would like to know what is the recomanded way to do this kind of stuff. where to put the generic javascripts i see jquery and bootstrap are linked to the net. and how to reference them from different folders?

Thx

Jeroen


  haha got the redirect working right
Posted by: raven - 03-02-2017, 02:18 PM - Forum: Modifications and Hackery - Replies (10)

alright after making a custom redirect script lol i have another question now the users name at the top is there a way to script that so if they have the proper permissions it will redirect to the correct user page vs the generic user page

http://prntscr.com/ef5127


  Import Users to Userspice
Posted by: joeluvmusic - 03-02-2017, 02:12 PM - Forum: UserSpice 4.3 and Below - Replies (2)

I am new to Userspice and it's great to have this framework which reduces the development time. But I would like to know how can I import users to Userspice? I am currently using Userspice to built an web application in which I need to import users from our legacy system. I would also like to assign a default password for all the users like 'test123' or something which they can change after logging in to the system.

If I can use SQL to import users then please let me know how to assign a default password for users.

I appreciate your time on my behalf and many thanks in advance.


Kind Regards,
Joe