Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 635 online users. » 0 Member(s) | 633 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
|
|
|
Status Update 029 |
Posted by: Brandin - 10-07-2017, 09:09 PM - Forum: UserSpice 4.3 and Below
- Replies (17)
|
|
Hello guys,
I went ahead and pushed Status 29.
This included merging Karsen's updates he posted about in the 28 thread, and all of Mudmin's little fixes. Also includes my two file commits which I noted in the status 28 thread.
Lets begin our conversations here including:
What are we doing about more graceful token fails? Do you want this in 43 or is this US5?
Should we turn message notifications on by default? Or off? Do users setup their email settings during setup? If we enable it by default we could run into issues with email failures.
The Help menu in the DB-driven nav is set to logged in only, set this to no, we don’t want logged in users to see it, and don’t want guests to not have this menu. You also need to add forgot password to this menu.
When you remove the data in the username field it goes to “Unable to check”…we should just remove the message if the field is empty. We should also add this for email. And I would like to deploy this to admin_users.php for the manual add please.
Thanks for all the work you two have put into this - I am excited for us to get this into Beta!
|
|
|
CodeIgniter Integration / MVC Integration |
Posted by: userspicenewbie - 10-01-2017, 02:09 PM - Forum: Modifications and Hackery
- Replies (9)
|
|
Has anyone integrated UserSpice with CodeIgniter or any other model-view-controller (MVC) framework.
I installed UserSpice (US) in the root directory and everything in the demo pages works correctly.
Now within my CodeIgniter (CI) application, nothing seems to function. With this MVC framework, pages are created programmatically/dynamically within a single page controller within a different directory.
I adjusted all the paths and finally managed to get the header to appear. However, I noticed that even if I log into a UserSpice demo page on the same domain, I'm not really logged into any of the CodeIgniter based pages.
So I tried fooling around with the page 'users/classes/Users.php' to display a dump of the session variable: print_r($_SESSION);
On the demo page that functions properly, it displays:
Array ( [user] => 1 )
But on the CodeIgniter pages, it shows:
Array ( [__ci_last_regenerate] => 1506871995 )
It appears the CodeIgniter framework destroys the UserSpice sessions and overwrites it.
Any advice on rectifying?
|
|
|
Hello from TSPCalc |
Posted by: mjedlin66 - 09-30-2017, 06:17 AM - Forum: New to UserSpice?
- Replies (1)
|
|
Greetings,
I just installed UserSpice for the first time, so I am still playing with it. I like what I see. I particularly like how streamlined it is.
I run a stock investing website aimed at US Government employees. Their 401k plan is called the "Thrift Savings Plan", and it has 5 index funds to choose from. The TSP allows members to move their money between these funds twice a month. So I built a website that allows "What if" calculations to build what's called a seasonal trading strategy. A seasonal trading strategy is nothing more than a trading strategy that says 'you should be in this fund at this time of the year, based on historical data.' The "what if" calculator allows people to put together any seasonal strategy, and display the results from January 1st, 2004 to present day.
Right now my website doesn't do anything but that one core function. My current project is to add subscription services for e-mail trade alerts. I want to charge $19.99/year through Stripe. I want to build a user system at the same time, so that people can manage their subscriptions and their e-mail alerts from their user control panel. I am not decided if I will use the Stripe subscription service, or just use them as a payment processor and do my own billing and subscription. In addition to UserSpice, I am playing with a billing system called CitrusDB.
I already have the e-mail functions built, so now I need to integrate user management and subscriptions.
My website is tspcalc.com.
Thanks,
-Matt
|
|
|
Check Username availability while user types username on registration page |
Posted by: ahmad - 09-30-2017, 03:18 AM - Forum: Modifications and Hackery
- Replies (4)
|
|
Hi,
I am new to web development and I am using UserSpice to manage users on my website.
I want a little modification on registration page.
When a user enters a username then UserSpice checks that username already exits or not. If username already taken then it shows Error Message. But this whole process is done after the user press the Register button.
Can you please make it work live. I don't know how to do that I think its something AJAX or JQuery to work with but have no clear idea.
Please make it like as the password fields working,the user types password and UserSpice checks and turns the gray check to green. I want same function for Username field. On key up UserSpice should check for Username if the username exits in the database it should show the error directly on the same page without pressing the Register Button.
Thanks
|
|
|
US menu's and maintenance |
Posted by: yoyo - 09-29-2017, 09:04 AM - Forum: Modifications and Hackery
- Replies (1)
|
|
Today I was reporting a bug on the forum and stumbling around in the topics.
I found a remark that an menu system is being developed.
Can't find it back so I post my remark here.
Yesterday I started to develop my own database driven menu-generator.
It has rudimentary functionality and will take some time to complete (if ever)
My tip is to include an option in the pulldown menu at the right side were the admin-page is also an option.
This option toggles the appearance of an mini edit button next to every menu-title or menu-item in order to edit this item or title.
This toggle option needs only be visible by the admin , just like the admin access option to other admin-pages.
The menu-generator can add the mini-buttons when the toggle is on. I use a session var for that but there probably are other ways to achieve the same without session vars I think.
Keep on doing the good job folks, I like US very much.
|
|
|
Using US classes in AJAX call |
Posted by: mckennahampton - 09-26-2017, 09:05 PM - Forum: UserSpice 4.3 and Below
- Replies (4)
|
|
I'm building am "add to cart" function via AJAX. When I load ini.php in the PHP file I call to in AJAX, it loads successfully, but I can't use any of the classes. The first thing I try to do is make a query call to the users table, andd I get this error:
PHP Fatal error: Call to a member function get() on null in...
$cart_query = $db->get('users',['username','=',$user->data()->username]);
That is the line of code that's throwing the error. I know I'm loading init.php successfully because I can echo something onto the screen. I had some trouble initially installing US on my server due to security measures over the fact I had PHP lower than 5.6. Same thing was happing, I was loading init.php successfully, but it was as if I was loading a blank file, no classes were coming through I could use. I'm wondering if there a security boundary I'm hitting. I've done all I can think of, I've included both the javascript file that my AJAX call is being made from as well of the PHP file my AJAX is calling to the admin pages, they are both passing the "if (!securePage($_SERVER['PHP_SELF'])){die();}" test. Not sure what to do from here, any help would be appreciated.
|
|
|
Issue with Captcha. |
Posted by: Froggle - 09-26-2017, 11:35 AM - Forum: UserSpice 4.3 and Below
- Replies (4)
|
|
Im not too sure where this issue has come from however when I attempt to login this error appears;
<pre> Code: Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/users/includes/recaptcha.config.php on line 86
Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify?secret=6Le0rywUAAAAAA4ViCASCH2btp2KVcJncQFN3uPt&remoteip=141.101.98.46&v=php_1.0&response=03AJzQf7NlrEv1rXLLaqwAzT__9GyxqDLc9DFsVyOSz4YmxD-n_EkX7dkYDiDOTuSlDLRGhmvewDJqWgAYpNmayZ8NzcVaV1XbIba06IbC6VCbYps27LOD1agJE0yAI0TScKt1EGtl2lxcMQX9wC2BXdvugE_6jtsJGYIA2VsHX7Y7OOvzoIsHIB5mmzNRZQV5v6Pvy-cKmTmItnlSyE_cB008yZGdeI_NyfHdAOhDg0abTu5rmgD6XW6m-iegqEj_2joPodZuxb-kaC6rPDL-KPoh0iB-x7Qass_nc-E2WfCR3JRcUaSvirwRuAP3azqYb9wSqmb6v-9S2AzRlmU-m_iCe9kOq1uxm3WEy2PG3nbgehqyYQaWLL6Wkv61LNYMWFkHRw1ZTvd2O75-40m_sRAmGDICtyh2FbAN9zapUcmOmYP7Fxud2l-mAJR0HGxns7yGNErY15FxyqdUrDa4QguXa5S0JJixkQ): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/users/includes/recaptcha.config.php on line 86
</pre>
- When I turn recaptcha off, the login works as it should.
- I have checked my recaptcha settings are they are fine, as they have always been in working order.
This issue has come out of nowhere, I have also not touched or edited the recaptcha config file, to be 100{3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d} sure I have replaced it with the original download also.
|
|
|
Status Update 26 - BROKEN NAV |
Posted by: mudmin - 09-24-2017, 04:47 PM - Forum: UserSpice 4.3 and Below
- No Replies
|
|
I pushed this out on purpose. I'm pulling in the menu navigation from version 5 and I'm having a hard time figuring out why the menu does not have access to us_url_root
The last two days have been bad for me and technology, so I figure someone else can take a look.
Requires new dump.
|
|
|
|