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

 
  displaying pages in newly added folders
Posted by: LBC - 01-11-2017, 11:02 AM - Forum: UserSpice 4.3 and Below - Replies (5)

Hi,

I have added a folder (countries) to my root (which is UserSpice), but it will not display any pages that are inside it. I have altered the require once to: require_once '../users/init.php'; but still no dice.

The new folder and the page that is inside it show up in the database (under pages) and it shows up in the Admin panel.

Any ideas on what is wrong?


  Help with init.php
Posted by: marciocaparica - 01-09-2017, 05:53 PM - Forum: Off-topic Discussions - Replies (1)

Hello there!

I've finally set the public version of the project I've been working on the last few weeks - it's on

http://site.veracruz.edu.br/registrodehoras/index.php

As you guys can see, I keep on getting the message

"Notice: Trying to get property of non-object in D:\xampp\htdocs\registrodehoras\usersc\includes\navigation.php on line 15

Notice: Trying to get property of non-object in D:\xampp\htdocs\registrodehoras\users\helpers\us_helpers.php on line 485"
.

I'm pretty sure that on the path that Userspice got during installation, it shouldn't be anything like "D:\xampp". The installation said it should be fixed in init.php . I'm looking at init.php right now, though, and I can't find what I should change so that this won't happen anymore. I think that several of the other pages that are not working at the moment aren't working because of that.

Can you help me please?

Thank you

M!


  secure AJAX update.php with init.php
Posted by: emanresu - 01-09-2017, 09:22 AM - Forum: Modifications and Hackery - Replies (1)

I have a page that calls update.php via jQuery whenever a input field is changed. How do I check if a user is logged in? do I have to also load init.php at the top of update.php?

I currently use the following code:

<pre>

Code:
<?php
require_once 'users/init.php';
if($user->isLoggedIn()){
   //some script
}
else{
echo 'go away!';
}
?>
</pre>


But I wonder if this is the correct way or if there is a better way.


  default page for not permitted access
Posted by: yankeesierra - 01-08-2017, 07:43 AM - Forum: UserSpice 4.3 and Below - Replies (8)

Hello first of all thank you for this script is saving me lots of time, I hope you can help me with an issue I face, I have setup a different login redirection in custom_login_script.php this has been set to ../../access10/main.php I have some apps that live in access10 and some are available for all users and some are not however I have chosen for design reasons to show the links to all users.

I have access10/main.php and access10/advanced.php showing buttons to other functions all in differnet pages, when I am in main.php and click a function with a user who does not have permissions it does nothing just seems to refresh the page, however in when I do the same in access/advanced.php it goes back to access/main.php I have searched the code and even tho I have included some conditionals in custom_login_script.php and in other places I happen not to understand the code fully yet, could you please point me in the right direction?

Again, thank you very much for this app and your help.

Regards

Carlos


  Gmail SMTP Mailer
Posted by: Brandin - 01-05-2017, 05:03 PM - Forum: Documentation - Replies (32)

Hey guys!

FYI, if you are trying to use Gmail with the PHP mailer, you have to comment out line 115,

Code:
$mail->isSMTP();
or the mail will fail to send! Took me awhile to figure this one out!

Thanks.


  handle existing join+login page
Posted by: yuma - 01-04-2017, 05:46 PM - Forum: New to UserSpice? - Replies (13)

Hi mudmin,

how do i replace an existing user management script that handles a page which already has its graphic design, that has both JOIN and LOGIN forms on it, with UserSpice?


yuma


  Errors, Red Text on Red Background
Posted by: Brandin - 01-04-2017, 03:22 PM - Forum: Modifications and Hackery - Replies (3)

Hey!

Do you know where to edit the text color in the errors block? I am using the flat.css color scheme and it is putting red text on the red background so you can't see the errors Sad

Thanks!


  site meta?
Posted by: meetmec12 - 01-04-2017, 03:30 AM - Forum: UserSpice 4.3 and Below - Replies (6)

I see user spice website and user spice site disruption when my US site link is posted in WhatsApp or Facebook . How do I customize this .Thanks


  advance redirect based on group permission
Posted by: meetmec12 - 01-03-2017, 08:02 PM - Forum: UserSpice 4.3 and Below - Replies (1)

How do I redirect based on group permission after login . eg user to account.php, administrator to superuser.php and moderator to adminmod.php . I knw I need few if statement but I think its better to do it the US way. Thanks


  Undefined Variables on Page
Posted by: Brandin - 01-02-2017, 08:26 PM - Forum: Off-topic Discussions - Replies (4)

Hello!

I have 6 pages that have public access in my system:

Code:
usersc/includes/external/phoneadd.php
Code:
usersc/includes/external/phoneedit.php
Code:
usersc/includes/external/templateadd.php
Code:
usersc/includes/external/templateedit.php
Code:
usersc/includes/external/zipadd.php
Code:
usersc/includes/external/zipedit.php

These pages are accessed via
Code:
usersc/externalpublic.php
using
Code:
?type
in the URL and defined accordingly. However, when a "guest" (non-logged in user) visits the pages, the page works just fine, but in the header we have these errors:
Notice: Trying to get property of non-object in /home/aircentralized/public_html/boss/usersc/externalpublic.php on line 27

Notice: Undefined variable: column in /home/aircentralized/public_html/boss/users/helpers/us_helpers.php on line 111

Notice: Undefined variable: data in /home/aircentralized/public_html/boss/users/helpers/us_helpers.php on line 111

I have removed the navigation from the files as I do not want the public having access to the navigation. These pages are linked separately from my system.

Any thoughts on how to cure these errors? Let me know if you need some code and what.