Welcome, Guest |
You have to register before you can post on our site.
|
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... :-)
|
|
|
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...
|
|
|
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>
|
|
|
|