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

 
  Security issue
Posted by: tudtude - 10-06-2016, 12:13 AM - Forum: New to UserSpice? - Replies (2)

Dear team,

Your open code is very cool, it help many people save thire time. I just have some question about security. Is it sucurity enouch to have a single place for login both of user and admin level? Please let me know about your idea about this issue.

Thanks,
Tudtude


  helpers.php -- email_body
Posted by: Sebastian - 10-05-2016, 09:56 AM - Forum: UserSpice 4.3 and Below - No Replies

Hi,
I've added a contact form to the UserSpice navigation bar and wanted to use the UserSpice functions like email and email_body from the helpers.php. However, the function email_body requires an email template:

Code:
require $abs_us_root.$us_url_root.'users/views/'.$template;
Should I place my template in users/views ?
Or makes it sense to put it in usersc/views and add something like:
<pre>
Code:
if (file_exists($abs_us_root.$us_url_root.'users/views/'.$template)) {
    require $abs_us_root.$us_url_root.'users/views/'.$template;
    }
</pre>

<pre>
Code:
if (file_exists($abs_us_root.$us_url_root.'usersc/views/'.$template)) {
        require $abs_us_root.$us_url_root.'usersc/views/'.$template;
    }
</pre>


?
Thanks,
Sebastian


  nested groups, "permissions"->"groups"
Posted by: plb - 10-04-2016, 05:58 AM - Forum: Modifications and Hackery - Replies (4)

I've submitted a pull request with a lot of changes over on github.

https://github.com/mudmin/UserSpice4/pull/4

Not sure how anxious you're going to be to go this route - it may be too much change or not enough backwards compatibility. I wanted to clean it up a bit as a good starting point for my next project which will make extensive use of groups elsewhere...

I do think it's worth looking through the changes in detail as I've got a lot of helpful re-factoring and some needed bug-fixes in there as well.


  admin_user loses edits
Posted by: plb - 10-03-2016, 05:40 PM - Forum: UserSpice 4.3 and Below - Replies (4)

When editing a user in admin_user.php, if you violate the validation constraints then the value goes back to what is in the database. I would expect that the form would hold onto whatever edits I made and just report the errors.


  root URL in email_settings.php
Posted by: plb - 10-03-2016, 01:14 PM - Forum: UserSpice 4.3 and Below - Replies (1)

If the user forgets to put a slash at the end of this field it should be added automatically.

Is it really necessary to set this? The system already knows it, right? If sometimes there will be a difference when verifying email (I'm not thinking of the use-case, but I'm sure there's something) then perhaps if there is a blank value in this field then it could just be assumed to be the normal?


  users/verify.php bug
Posted by: plb - 10-03-2016, 11:33 AM - Forum: UserSpice 4.3 and Below - Replies (1)

Fresh install with most recent source. Went to email_settings.php and saw this error:

===(snip)===
You have a bug in your init.php that cannot be patched automatically.

Please replace verify.php with users/verify.php towards the bottom of your init.php file.
===(snip)===

I have no problem fixing my init.php, but presumably this shouldn't be happening in a fresh install - if we can identify the error in email_settings.php then we really ought to not cause the problem with the same version of the software... :-)


  php mysqli Chart by datetime
Posted by: picassoo - 10-02-2016, 04:56 PM - Forum: Modifications and Hackery - No Replies

Mudmin, can you help me to build "php mysqli Chart by datetime", pleasee. I have make something, but I want to use your script structured,

Bar Chart for Signup Counts,
Bar Chart for Signup Counts,
Bar Chart for Login Counts

I tried all day to implement this structure, but not resulte Sad(
do you have any ideas how to do.

example from here, waht i need to do:
https://www.codeofaninja.com/2012/06/dyn...ript.html/
https://ndesostyle.wordpress.com/2014/02...gle-chart/
http://lampload.com/2012/08/26/google-ba...php-mysql/
http://www.codediesel.com/visualization/...and-mysql/


  Archiving 2.5.x and 3.x forums
Posted by: plb - 10-02-2016, 12:26 PM - Forum: UserSpice 3 - Replies (4)

I wonder about creating a new forum called "Older Versions and putting 2.5.x and 3.x there rather than at the top level menu.

Or, perhaps better, creating a new forum called "Specific Versions" or something and putting all the versions under there.

Kind of like how you have the "Bug Report" organized now, with different versions underneath that overall title...


  Undefined variable
Posted by: picassoo - 10-01-2016, 05:01 PM - Forum: UserSpice 4.3 and Below - Replies (4)

Notice: Undefined variable: str in C:\xampp\htdocs\helpers\us_helpers.php on line 515
No language key found. why ????


  CheckPermission
Posted by: picassoo - 10-01-2016, 11:01 AM - Forum: UserSpice 4.3 and Below - No Replies

it is possible to be here permission to certain pages like below ?

<pre>

Code:
<?php
//Links for logged in user
if(isUserLoggedIn()) {
//Links for permission level ()
    if ($loggedInUser->checkPermission(array(2))){
?>                
                
                
                <li><a><i class="fa fa-laptop"></i> Landing Page <span class="label label-success pull-right">Coming Soon</span></a>
                </li>
<?php
}
}
?>
</pre>