× 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 50 online users.
» 0 Member(s) | 47 Guest(s)
Bing, Google, Yandex

Latest Threads
How to use hasPerm
Forum: UserSpice 4.4
Last Post: mudmin
07-20-2019, 02:45 PM
» Replies: 1
» Views: 198
Session issue? What I sho...
Forum: UserSpice 4.4
Last Post: Parth
07-17-2019, 05:06 PM
» Replies: 4
» Views: 836
Email Error
Forum: UserSpice 4.4
Last Post: Brandin
07-17-2019, 04:47 PM
» Replies: 1
» Views: 109
{ Missing Text } after up...
Forum: UserSpice 4.4
Last Post: Brandin
07-16-2019, 04:23 PM
» Replies: 22
» Views: 1,979
Best Practice Info
Forum: New to UserSpice?
Last Post: Brandin
07-16-2019, 11:55 AM
» Replies: 1
» Views: 226
Force to use 2FA -always-
Forum: UserSpice 4.4
Last Post: Brandin
07-12-2019, 12:43 PM
» Replies: 1
» Views: 134
e-mail not verifying
Forum: UserSpice 4.4
Last Post: LBC
07-10-2019, 11:34 AM
» Replies: 31
» Views: 2,158
changes to navigation.php...
Forum: UserSpice 4.4
Last Post: mudmin
07-07-2019, 10:46 AM
» Replies: 2
» Views: 173
Duplicated files in /user...
Forum: UserSpice 4.4
Last Post: mudmin
07-07-2019, 10:44 AM
» Replies: 1
» Views: 128
problems after update
Forum: UserSpice 4.4
Last Post: mudmin
07-05-2019, 10:13 AM
» Replies: 13
» Views: 1,219

 
  How to use hasPerm
Posted by: Aido - 07-20-2019, 05:05 AM - Forum: UserSpice 4.4 - Replies (1)

I try to use this function in my code 
but even using the 
var_dump(((hasPerm([2],$user->data()->id))))

generates the problem with other code first with JS part. without it the code works fine but i need to control some permissions.

I understand it is a kind of interference with something but I have no idea where...

What am i doing wrong?


I've checked the hasPerm implementation and found that I can skip the id parameter and it will be set by hasPerm itself so i deleted the id.
The short version with permissions only works in my case.


  Email Error
Posted by: ssbags - 07-17-2019, 04:42 PM - Forum: UserSpice 4.4 - Replies (1)

I have all settings correct in the email setup as when I debug connection is made login authenticated when it goes to send the message though I get the following error

019-07-17 16:31:45 SMTP INBOUND: "554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A004F81, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:C81B0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:CD1B0000, 1.44866:F6010000, 16.55847:1B0F0000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F19880000F01F43050000, 20.50032:140F19887017F01F0A008381, 0.35180:48050000, 255.23226:0A00"
2019-07-17 16:31:45 SERVER -> CLIENT: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A004F81, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:C81B0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:CD1B0000, 1.44866:F6010000, 16.55847:1B0F0000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F19880000F01F43050000, 20.50032:140F19887017F01F0A008381, 0.35180:48050000, 255.23226:0A00
2019-07-17 16:31:45 SMTP ERROR: DATA END command failed: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A004F81, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:C81B0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:CD1B0000, 1.44866:F6010000, 16.55847:1B0F0000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F19880000F01F43050000, 20.50032:140F19887017F01F0A008381, 0.35180:48050000, 255.23226:0A00
SMTP Error: data not accepted.

Any idea what could be causing this error and how I could fix it.


Question Best Practice Info
Posted by: scotth@bcgov.net - 07-15-2019, 08:56 PM - Forum: New to UserSpice? - Replies (1)

Hey guys, I'm new to UserSpice, and was wondering if there is a best practices post anywhere?

For instance, database setup - should UserSpice be in it's own database, or a part of your project database?

Also, should the UserSpice files be in the same root as the project, or can it be setup as a separate folder/website? (Not sure if I'm being clear on that)

I'm really looking forward to experimenting with UserSpice.  Looks like a great interface!

Thanks,
Scott


  Force to use 2FA -always-
Posted by: Coiram - 07-07-2019, 03:17 PM - Forum: UserSpice 4.4 - Replies (1)

Hi,

First of all congratulations for this excellent tool.  To be honest, I am also thinking to donate . . . this means that I really  Heart this tool.

I have a question, though:

  • - I  want 2FA forced on users 

The application idea for this tool is to: 

  • - create users myself
  • - sent them their email containing their login details


When they log in the first time they MUST set their password and their 2FA -not leave it optional-

I could not see this setup, unless I am sleepping deprived or unable to read the guidelines.

Could someone tell me whether this is possible?

Cheers,

Coiram


  changes to navigation.php not taking effect
Posted by: _guavajelly - 07-06-2019, 02:12 AM - Forum: UserSpice 4.4 - Replies (2)

Hi

I am making changes to users/navigation.php (database navigation turned off) but there are not reflected on page. I tried clearing browser caching and reload but no luck. Any one run into this issue? I would like to modify the navbar with my own drops downs, logo, brand , etc..

Thanks
Kevin


  Duplicated files in /usersc are not taken
Posted by: phenomenia - 07-05-2019, 01:55 PM - Forum: UserSpice 4.4 - Replies (1)

Hello,

I'm very new to the userspice system but I love it with every day I work with it! I'm usually working with WordPress as a web developer so I'm familiar with, what wordpress calles 'Child Theme' system. You never change a file in the original folder structure but copy it to a childtheme, or here the /usersc folder and the system automaticaly uses this file over the original one.
Sounds great in theory, but for some reason this is not really working in the userspice I'm using on my localhost. I'm working with the latest version, 4.4.14, according to the dashboard.

At the moment I want to change the logo for example. To do that I dropped my logo file in the template folder I created at /usersc/templates. (I activated the template in the backend). Then I created a new folder /images inside my template folder.
Next step would be to replace the old path to the dummy logo to my actual one. I found out that it's in the database_navigation_stype.php file located at /users/includes/template

I would assume I copy this file to /usersc/includes/templates and the userspice system should automatically use this copy over the original version in /users - but it doesn't. The dropped file is completely ignored and the file in the original path is used.

What am I doing wrong?

Any hints would be much appreciated.

Thanks in advance
Felix


  Hi
Posted by: DanielSam2119 - 07-04-2019, 09:48 PM - Forum: New to UserSpice? - Replies (1)

Hello, My name is Dany and as many here i love computers. Until now i find userspice very useful. I hope to learn a lot and why not help others too. My english is not so good, but im learning. See you in the forum


  Icons not displaying
Posted by: jimoffertim - 07-03-2019, 09:56 PM - Forum: UserSpice 4.4 - Replies (3)

I have a large platform site distributed over several servers which has been in development for 7 years.  Originally it was done in Usercake 2, the updated to 3, then User Frosting.  I'm now going to convert the entire system to Spice prior to launch.

Just for simplicity, I dumped a server and installed Spice 4.4.  It took about 3 minutes, and was totally painless.  Great job guys!

My problem is that none of the icons are appearing in any of my dashboards.  It looks as though Font Awesome is not loading correctly.  Everything else works great.

Any suggestions would be greatly appreciated.  I need to get spice working correctly empty before I bulk update and transfer the approximately 600 php files that are the actual site files, and rebuild all of my custom forms.  Once this is working, I'll need to repeat on all the rest of the servers.

Thanks in advance for all of your help,
Jim ...


  UserSpice and Security
Posted by: spybot - 07-03-2019, 09:40 AM - Forum: Off-topic Discussions - Replies (9)

Hello Guys (and girls),

I allow myself to come back to you about this cms and security. Indeed, I could see a security audit report calling to avoid leakage of information in the source code. They explain that the source code contains information to know the CMS used and thus to better target potential attacks.

While searching a little on the net, some recommend to go through an obfuscator, and others do not advise.

So I come to you to have your opinion on this? Someone would have had the same problem?

Thank you in advance Smile


  problem with page permission
Posted by: tandrit - 07-02-2019, 09:35 AM - Forum: UserSpice 4.4 - No Replies

Hi,
I am new to the system so I wanted to test the page permissions.

I copied the project_root.php file from /blank_pages and only renamed it (12.php). My test user can open the file.

In a second copy (17.php) I put some php code inside and the user with page permissions was not able to open.
Then I removed my php code and now the file is exaclty the same like project_root.php but the user is still not able to open the file.

I tried it also on different browsers with same effect.


Hope you can give me a hint how I can solve the issue and use yur great framework.