Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 374 online users. » 0 Member(s) | 372 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
|
|
|
Custom Forms Issue |
Posted by: medtrans - 02-06-2018, 02:21 AM - Forum: UserSpice 4.3 and Below
- Replies (8)
|
|
Hello,
I have created a couple of forms to insert records into a database outside of the User Spice frame work. They are created using bootstrap 3 css. I am having an issue placing these forms into a UserSpice (userspice_blank.php) page without having formatting issues. I and loosing some of the nav functionality and some of the form functionality.
Any ideas?
Best Regards,
|
|
|
GetRoles |
Posted by: shoropio - 02-06-2018, 12:45 AM - Forum: UserSpice 4.3 and Below
- Replies (14)
|
|
Hi guys, @mudmin made this function for me,
Code: <?php getRoles(1);?>
<pre>Code: function getRoles($id, $opts = []){
$db = DB::getInstance();
$userQ = $db->query("SELECT * FROM user_permission_matches WHERE user_id = ?",array($id));
$c = $userQ->count();
if($c > 0){
$results = $userQ->results();
foreach ($results as $u){
echoPerm($u->permission_id);
$c = $c-1;
if($c > 0){
echo ", ";
}
}
}
}
function echoPerm($id){
$db = DB::getInstance();
$p = $db->query("SELECT * FROM permissions WHERE id = ?",array($id))->first();
echo $p->name;
}
</pre>
it's about calling the role the user has on the site. For example, I am the administrator and the user and administrator come out under the photo. but if I enter as a user the same thing comes out, what it means is that that function calls all the permissions not precisely to the specific permission. There will be a way to call the right permit.
|
|
|
Existing site question |
Posted by: simplymarkb - 02-05-2018, 07:40 PM - Forum: UserSpice 4.3 and Below
- Replies (2)
|
|
I have an existing site that I added US to. When I look in page management I dont see all of my PHP files. How can I add existing files in my root and the subdirs? I have sub dirs that have thier own index.php. Is there a way I can protect those as well? I am guessing something with .htaccess. I dont want people going directly to http://mysite.com/subdir/index.php for example.
Thanks in advance!
|
|
|
Can I achieve this with userspice? |
Posted by: Antoh - 02-05-2018, 10:13 AM - Forum: UserSpice 4.3 and Below
- Replies (1)
|
|
For a client that owns a Club (120 members) that has also a restaurant, I need to create a member website with these features:
Admin side:
1. The admin should be able to create custom filed for the members (Adress 1, Adress 2, Company, etc. etc.)
"Budget" will be one of this custom field: every member has an amount of money when they join the club. Money they can use for restaurant etc.
2. The admin will have a "Add Bill" function where he can add Bills from the restaurant for every member. The amount of the Bill will be then detracted to the Members budget.
Example: The member Kevin White has a budget of 1000 Euros, he goes to the restaurant and spends 20. Actualized budget: 980 Euros.
The Admin can check the "History" of the bills/invoice for each user. Filter by date.
3. The admin will have a section called "Members" where he can see an overview of the members and the open bills they have to pay
4. The admin can creates events for members. The events can have maximum numbers of applications and every member can decide to come with someone.
5. The admin can send via email a report to the members with the Negativ "Balance".
Member side:
1. Every member will have an overview of the Bills from the restaurant
2. Every member can join events.
That's it. So my main question is:
Can I do this with userspice?
When yes can please you suggest me from where to start?
Many many many thanks
|
|
|
Not closed option tags |
Posted by: hadrasoft - 02-05-2018, 09:49 AM - Forum: UserSpice 4.3 and Below
- Replies (2)
|
|
Hi,
I found in \users\views\_admin_css_settings.php that the opened <option> tags are not closed.
line 13
line 27
line 41
Code: echo "<option value=".$filename.">".$filename."";
should be
Code: echo "<option value=".$filename.">".$filename."</option>";
Userspice version 4.3.12
Best regards,
Hadrasoft
|
|
|
Possible bug 4.3.9 permissions |
Posted by: levitt1313 - 02-04-2018, 10:55 AM - Forum: UserSpice 4.3 and Below
- Replies (8)
|
|
When logging in as Admin and going to the manage users tab and trying to change the permissions of a user all radio buttons are disabled except for the administrator radio button meaning I can't remove any permissions and I can only add administrator . This is happening for all users with varying permission levels. I was able to change the permissions only by going directly to the permissions tab, clicking on a permission level and adding or removing users to the level.
|
|
|
Question regarding whether UserSpice is a good fit... |
Posted by: ps23Rick - 02-03-2018, 09:02 PM - Forum: New to UserSpice?
- Replies (8)
|
|
Hi.. Stupid question for ya all.. I'm working on a redesign of a website from scratch and its for an older couple who frankly don't know the ins-n-outs of HTML or markup and I would like to allow a feature on this site so that they can essentially login via a login page (that's where UserSpice would come in) and edit ONE file using something like TinyMCE -- save it and it writes it out as HTML into a specific file which will be included as a sort of blog entry on their homepage for the site. What I'm wondering is whether UserSpice would work for this sort of application. I had looked into various flat-file CMS's but decided that they were way overkill for what I need.
Basically, I just need some way to authenticate a user and give them access to alter one file thru a browser based WYSIWYG editor. That's pretty much it.. thoughts? Seems like UserSpice would be great for this..
|
|
|
updated 4.3.10 to 4.3.11 |
Posted by: mouse - 02-02-2018, 04:57 PM - Forum: UserSpice 4.3 and Below
- Replies (24)
|
|
Hello, after updating from 4.3.10 to 4.3.11 i can no longer login to userspice.
I am 65 and just learning this stuff , i know some hmtl, css and php. But can't figure out how to get my login to work again. am using macOS High Sierra, and mac server localhost.
|
|
|
|