The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/portal.php 39 require_once





× 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 522 online users.
» 0 Member(s) | 520 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

 
  I WOULD LIKE TO STRONG OPINION ON THIS PROJECT
Posted by: GePraxa - 09-11-2016, 06:45 AM - Forum: UserSpice 5 - Roadmapping the Future - Replies (7)

# I INTRODUCE MYSELF:
Good night (from Mexico 3:45 AM), I am excited to find this page, I have four days looking for a simple and safe system users.

I have a couple of things to say, I read almost all the questions and answers forum for hours, apparently I can speak directly and "mudmin" Do not feel bad for hawkish comments haha.

# SOMETHING YOU LEARNED OF MY FATHER:
When you create a product you have to think who will be your customers, what kind of users will be directed and what their needs are, then:

1. Users who reach this page, is very likely to be inexperienced users who are looking to save time or simply are creating something like this and want to know if it exists. Among many others…

2. An average user who is looking for a system in php and especially to manage users, is almost certain to be a person who is fluent in HTML and CSS.

3. If you reached this page because you do not have the capacity or time to write your own system, the first thing we do novice users is to download the code, see if we can understand and if so, we started playing ... what otherwise, delete it and download another.

# AS GET ME TO THIS PAGE:
Exactly seven days ago I was talking with my father the future of our family business and its organization, we have 5 branches which on average are 1 hour away from the main (where we live), is very uncomfortable every day after finishing our day, we need to talk to each branch to know how much was sold and how much was spent, then it occurred to me to do an online system in which each branch to make your cut and upload the information to the system and I can read it from my phone while traveling to our home. Something very simple ... Sunday start to develop code and design, spend three days with virtually no sleep and I have almost 80{3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d} of the code ready, but before finishing wanted to know if he was sure, so ask "StackOverflow" and I received about 10 very hard answers on safety, correct all those mistakes would take one more week, so I gave myself the task of finding something done, in the end all he wanted is a secure access system (not even needed the registration and I would give users and password to each store manager), after secure, just needed input 2 input, a text box and a button to send the information (sales, expenses and comments).

I found many frameworks, but all other codes, to download them I realized that depended on other frameworks or requesting installed using "composer" or things that I really long for what I needed.

It is clear ... that this project was the first step of something very big that I have in mind, for personal use, but great for us (my father and me), the final idea was to change our system sales and inventory for something online ...

# WHAT WE PROPOSE:
1. Sort folders:
root
-core
--classes
--helpers
--includes
--views
--files php (users)
-custom
--Empty, here we put our own records we get from core to modify.
--For example our account.php
-styles
--css
--fonts
--images
--js

Thus when copying a file from the "core" to "custom" folder not break the URL of the styles (in header) or classes, it is very important to clean unnecessary files of styles (no need blank.css) because not simply put the files that come by default with "bootstrap" I think it's enough to style anything.

2. I can not use the password: <h> <e> <l> <l> <o>

3. Being able to choose the home page in the configuration.

4. Remove the registry the "company" field or not be necessary (require).

5. Clean the tables in the database, reserve rows in a real project do not need no such row names are used.

6. Okay tracking users but it better not put a field in the configuration for the Google Analytics code?

7. In the navigation links, remove that "hover" color "black".

8. Allow change profile picture.

9. Because I can ban the administrator? Entering as admin.

10. There are two links to "home" and two links to "user".

11. It is more understandable the menu as when you do not sign, all in a straight line without expanding buttons, when you are admin a link next to "home" to say, administration panel opens.

12. The link to "recover password" on the menu is more, when we are in "login.php" is displayed below the form and think it's more understandable. (I do not remember seeing any page with a link on the main menu for this option) is a little strange to find there.

13. It would be nice to create a section within the forum in which to put the points on which you are working (you can go marking green that is ready) to know when will the next version or have an idea, now I want to start my project using this code, but I prefer to wait for the next patch as I found many things wrong (already commented other users, that comment is just a personal opinion, as an end user).

14. Do not take much importance to put as many files of styles, fonts, icons, favicons, etc. We seek how difficult (php), how easy it is our job (styles, buttons, fonts, which look nice haha).

15. Remember ... If you put 2 links to possibly do the same to me or any other inexperienced user to take us one hour remove the duplicate link, after removing security will think if we remove or something bad stay ... because not do everything as simple as possible? It is better than us we add things, instead of erasing ...

I would like to translate all the code and documentation in Spanish. I can help with this without any problems.

Thank you very much for your time, thank you very much for this code, this project has me with an eye on, awake and entered to see if this list the new version, I will be very present in this forum, I hope not to bother or annoy someone else I'm very direct and I like to say what I think, I'm sure this will be something very BIG WITHIN THE COMMUNITY.


  allow override of core in require'd script
Posted by: plb - 09-10-2016, 10:28 AM - Forum: UserSpice 5 - Roadmapping the Future - Replies (3)

As mentioned here: http://userspice.org/forums/topic/verify...#post-2055

It is currently possible to override "pages" but it is not possible to override scripts which are brought into other pages by means of require_once() or the related include*() and require*() functions...

I believe that by changing the require_once() calls from absolute to relative:

Code:
require_once('header.php');

instead of

Code:
require_once($us_url_root.'users/includes/header.php');

and then making judicious use of
Code:
include_path
(presumably configured in init.php during installation) you could make these over-ridable.

Of course the disadvantage is the code becomes a bit less readable and you will suffer a bit of a performance hit (I would guess negligible).


  Facebook & Google login
Posted by: SorinAmzaru - 09-09-2016, 03:03 PM - Forum: UserSpice 5 - Roadmapping the Future - Replies (1)

Hello,

First of all, I would like to say congratulations for your work. I just installed it and it looks very nice.

I want to make some suggestions about login process, it would be nice to have facebook & google login.

Thanks!


  Database abstraction and php tinkering
Posted by: aseiras - 09-09-2016, 03:00 PM - Forum: Off-topic Discussions - Replies (1)

Hi,

thanks for such wonderful platform, it is really cool.

I have done a couple of modifications myself that I think would be great to add to the platform in next versions, like for instance:
1: Upon login, let user choose whether to go to his profile or the main page
2: Let Admin define what is main page, same index (before login) or a new page (after logged in)
3: Different page based on access group? or even per user?

This was not a hard since it was just PHP tinkering, but now I wanted to make this into a full flesh app, with a lot of sql and dynamic pages, but I am at a lost as for the DB abstraction used.

I am familiar with adodb for php, and you seem to use the same nomenclature on your queries ($db -> .....) but I do not see the adodb folder anywhere.
Can you explain which method are you using? I would like to continue on the same line instead of having to create an alternative connection method.


  Coding source
Posted by: picassoo - 09-08-2016, 10:39 AM - Forum: Documentation - Replies (3)

Hi! You can post all the elements for INSERT, SELECT, EDIT(UPDETING), DELETE and COUNT funcs? separete from the all the script. userspace from userusercake is diferent built, and I cant not undesturd Sad

I will like to cont tiket (1) readand not (0) read.

<pre>

Code:
function counthelptiket()
{
    global $mysqli,$db_table_prefix;
    $stmt = $mysqli->prepare("SELECT COUNT(*) FROM ".$db_table_prefix."help_tiket
</pre>
WHERE st_ne_citit = 0 ");
$stmt->execute();
$stmt->bind_result($st_ne_citit);
while ($stmt->fetch()){
$row[$page] = array('st_ne_citit' => $st_ne_citit);
}
$stmt->close();
if (isset($row)){
return ($row);
}
}`


  any way to monitor forums better?
Posted by: plb - 09-08-2016, 06:09 AM - Forum: Off-topic Discussions - Replies (3)

I've got several conversations going on in several different rooms on this forum. The "Recent Replies" on the right side is the only method I have seen where I can tell what is going on (other than email which sometimes works and sometimes doesn't - at least for me).

Is there any way in my profile to see what conversations I have started, which ones I have replied to, etc.?

This morning I was looking for a post I made sometime in the last month or so - don't remember when and I don't remember which "room" it was in. I wandered for quite a while and never found it - it would have been nice if I could have gone to a page that listed the conversations I had started and the ones I had taken part in by replying...

On a similar note, it would be nice if there were a link at the bottom of the "Recent Replies" that took you to a page with the 50 most recent replies or something. There have been some times after only a day or even a few hours where there were more than 5 replies and so I didn't know what I might have missed...

Basically I'm looking for some more robust forum tools. I'm thinking this site is built on WP and I know they have fairly strong capabilities in that department...


  Email Problem
Posted by: gray444 - 09-07-2016, 06:24 PM - Forum: Off-topic Discussions - Replies (2)

Hi,
Great project here so far. I just have one major issue and I know it's all me, but I cannot seem to get my email settings in the admin dashboard to connect.
I am using
smtp-relay.gmail.com
port 587
with TLS and of course my username and password and listing the root URL, but I keep getting an error.
Am I missing step somewhere?

Thanks


  Admin Email
Posted by: levitt1313 - 09-07-2016, 05:03 PM - Forum: UserSpice 4.3 and Below - Replies (1)

Every time I change the admin email, log out and then try to login in it wont accept my login and says the verify.php page doesn't exist. I have added another admin , deleted the stock account and tried to change my email and the same thing happens.


  usersc/navigation.php inconsistent
Posted by: plb - 09-07-2016, 04:19 PM - Forum: UserSpice 5 - Roadmapping the Future - Replies (1)

If I understand the use of the usersc directory it allows me to modify the core of US and still not interfere with updates to US.

In other words, if I make a change to users/foo.php I put my changed copy in usersc/foo.php and my customized version overrides the original.

However, users/includes/navigation.php and usersc/includes/navigation.php are different in this respect. The expectation is that the copy in users will have the standard US menus whereas the copy in usersc (which exists from initial install) creates a separate menu in a different horizontal space in the top bar.

What if I want to change the US menu, adding my items to that menu? How do I override users/includes/navigation.php.

IMHO the custom menu (in a separate horizontal space) should be named usersc/includes/alt_nav.php or something like that. Then if I copy users/includes/navigation.php into usersc/includes/navigation.php then I could actually make the usual override...

Of course now the difficulty is backwards compatibility for all those who have a copy of UserSpice with an existing (either modified or unmodified) usersc/includes/navigation.php.

Anyway, I would just like to see a consistent use of usersc and I would like to have the viable capability of overriding navigation.php without causing problems with future upgrades...


  banned user can't log out
Posted by: plb - 09-07-2016, 04:11 AM - Forum: UserSpice 4.3 and Below - Replies (9)

I'm not sure how big a deal this is outside of a development environment. I think I could come up with a use case where the functionality would need to be there, but I may be stretching it.

Anyway, user X gets banned (users->permissions = 0). Now user X logs in.

Roach motel - you can check in but you can't check out. There's no way (without going behind the scenes and editing the session or etc.) that user X can now log out.