Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 483 online users. » 0 Member(s) | 481 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
|
|
|
Codebase Updates |
Posted by: sparky - 01-29-2019, 05:24 PM - Forum: UserSpice 4.4
- Replies (2)
|
|
Great product but I have a concern that we are not getting the full codebase as indicated in users/includes/migration.php. When executed, it returns 5 out of 23 missing code updates (missing in the DB). I ran the check against a clean install of 4.4.01. Here are the missing migration codes: 17 - hcA5B3PLhq6E, 18 - FyMYJ2oeGCTX, 19 - iit5tHSLatiS, 20 - VNEno3E4zaNz, 21 - qPEARSh49fob
|
|
|
Old version of jq etc |
Posted by: Aido - 01-25-2019, 04:55 AM - Forum: UserSpice 4.3 and Below
- Replies (6)
|
|
Hi,
I used userspice 4.3 and met with the issue that it conflicts with other components i used on my pages.
I meant jq version and some css files for example datatables.css
So i had to make some manual changes... it is ok for me but please update all libraries to the last version in userspice 4.4
Regards, Eugene
|
|
|
Greetings (and a question about user access) |
Posted by: TommyKay - 01-24-2019, 01:39 AM - Forum: UserSpice 4.4
- Replies (1)
|
|
Hi there, my name is Tommy. I've been asked to set up a website for a neighbourhood for them to share news, events, etc. and they have asked for it to be controlled by username / password passed out to residents. So far I have UserSpice up and running, when users login they are redirected to the website as planned. However, I have found that if I know the URL I am able to access the website without logging in (using incognito mode, for example).
I've tried adding the recommended lines for this as php in the html header using something like
<?php
require_once ‘../users/init.php’; //make sure this path is correct!
require_once $abs_us_root.$us_url_root.’users/includes/template/prep.php’;
require_once $abs_us_root.$us_url_root.’usersc/templates/’.$settings->template.’/header.php’; //custom template header
require_once $abs_us_root.$us_url_root.’usersc/templates/’.$settings->template.’/navigation.php’; //custom template nav
require_once $abs_us_root.$us_url_root.’usersc/templates/’.$settings->template.’/container_open.php’; //custom template container
if (!securePage($_SERVER[‘PHP_SELF’])){die();}
?>
But when the browser reads the file the php lines appear as comments (only in the browser, opening the file on the server displays the code correctly). I don't really know what to do with it and don't have enough general understanding of php to make things work. If anyone can point me to a simple tutorial for blocking off web-directories using php (or UserSpice) I'd love to hear about it.
|
|
|
Calendar |
Posted by: LBC - 01-23-2019, 01:36 PM - Forum: Modifications and Hackery
- Replies (5)
|
|
Hello Mudmin,
Do you have any ideas about setting up a simple sort of calendar/agenda?
As the admin I'd like to be able to check or uncheck a certain day of the month at the back-end, so the front-end page shows whether there is an event on a certain date or not.
Or maybe I could fill in some dates for that year on a back-end page, which then show up on the front-page.
Do you think something like that would be possible?
|
|
|
I broke my pages |
Posted by: astropos - 01-22-2019, 01:41 PM - Forum: UserSpice 4.3 and Below
- Replies (2)
|
|
Hi, 4.3.26 on Ubuntu/Apache2
Just wanted to check something (I'm spinning up another instance to test further while I type):
I attempted to run a test system and live system off the same db - it seemed to work OK while I worked on it.
The latest feature initially required an AJAX GET (just to bring in a list of comments). Whilst working on the subsequent AJAX POST, I noticed that the files called by AJAX were not being added to the pages table. Moreover, there were many entries in pages_permissions for pages that did not exist.
The pages called by AJAX have a successful call to init and a call to a DB instance, and return data correctly.
If I access these pages directly in my browser, I am prompted to secure them - but the pages table is not updated.
Is this a result of the live/test 'stunt' or is it anything to do with calling by AJAX?
cheers
|
|
|
Stored Procedures / Routines + general US startup questions |
Posted by: Developer_J - 01-18-2019, 05:05 PM - Forum: UserSpice 4.3 and Below
- Replies (11)
|
|
Hey Guys,
I've just started a new project in the last few days and after researching user management frameworks decided on userspice (over userfrosting <- too many requirements for hosting etc)... I simply cannot be bothered to readjust my admin framework for the nth time.
I must say Its great how simplistic US is and how active the community and devs are, it's great. As promised, from downloading the zip it was roughly 15 mins before it was installed, set up and I could have started coding. I have been reading through the forums, docs, watching youtube vids and googling to get some insight and answers on US but the below are still unanswered so thought i'd say Hi and list a few if I may? (I don't usually do forums so please move me or separate my post if i'm in the wrong place).
My main query regards stored procedures (or routines as they are called in phpmyadmin). I usually use PEAR to handle my db connections and emailing etc which had a handy way to call stored proc's. I was wondering if you have any function for this within US? I really don't like having any (my)sql in my php code and have not been able to find any documentation referencing to this whilst googling etc.
Also whilst i'm here I have a few questions, mostly regarding the correct US way to do the following:
1. I'm looking to allow for users to refer friends and track whom has referred who via a sign up url with a token/guid (ie ?ref={{referring user GUID}}). There may be some reward system to this at some point, which I can handle, but I wanted to know if there is anything already built in to US that could be a starting point or any existing functions I could use when creating this functionality? see question a). (I know i could simply look for the $_GET['ref'] guid and store it in the session until the referred user signed up)
1.a. I also need to collect extra information about the user during sign up, like say a users car. Am I able to just add columns to user table in DB (eg referral guid, referred by? / user inputted data - Your Car, address? etc) I would want this data to be included in $user-->data too.
I guess this is a two part question: Can I safely modify/add to the users table and what would be the correct way to hook into the signup submit function to store this data? (would this be via usersc files <- although i would prefer to add the data at time of adding basic info to table row)
2. final one, for now, Not major but I noticed all user references are by ID={id}. Is there a way to change this to use another column? I like to create GUID's on signup and use these when publicly referencing a user account which can then get me the id for relational data table queries etc.
I also noticed a minor issue, when updating a bio then returning to view_all_users list shows the bios with the html tags as text, I realize this may be intentional to restrict html breaking the page. (just realized on 4.3 not 4.4!!)
Apologies for the wall of text, I'm a bit of a waffler. Looking forward to building this project on US.
Cheers
J
|
|
|
Update path from 4.3.10 to 4.3.26 |
Posted by: gerald - 01-17-2019, 09:55 AM - Forum: UserSpice 4.3 and Below
- Replies (7)
|
|
I didn't update my local UserSpice installation for some time and I'm still running 4.3.10 on a localhost here.
Is there a direct upgrade path to 4.3.26 or do I have to apply all 11 patches you published since that on updates page?
Thanks
|
|
|
|