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 536 online users.
» 0 Member(s) | 534 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 025
Posted by: mudmin - 09-24-2017, 02:53 PM - Forum: UserSpice 4.3 and Below - Replies (3)

New SQL dump required.

This primarily focuses with updates.
What I've done is created a file called users/includes/migrations.php

Every time we do a db update, it will go inside that file. There is also a table called updates that lists which and when db updates were performed.

users/update.php will contain EVERY db update from 4.3.0 on

The great thing about this is that a user can use something like git (or even download an entirely fresh copy of userspice) and dump it on top of their existing one and all of the database changes will happen in order to get them right back up to speed.

In the event that someone downloads an update and doesn't run the database update, they will be notified in the admin dashboard.

I've also made the nags for recaptcha and default password only for live sites.

I think that's about it.


  Proper documentation please!
Posted by: mbr - 09-24-2017, 02:31 AM - Forum: Documentation - Replies (4)

Hi,

Interesting project, but not very easy to use!! Would it be possible to give us the code that we need at the top and the bottom of each page to get them included in UserSpice, so we can copy and paste into our web pages? Actual code, not videos, from which you can not cut and paste.

If you want UserSpice to be able to sit on top of any existing webiste, this would seem to be the very basic information you have to tell us. As far as I can tell, it is only in a video, half way down the home page, 'UserSpice don't care', starting around 9 minutes in. I don't want all the other stuff, I just want the bare minimum -- and that is how you sold your product. As such, there's not even any code for me to copy and paste directly into my project, so I have to wade through all sorts of redundant stuff about bears and includes to get to it. Most of your documentation seems to consist of irrelevant videos about how to code...

Michael


  Status Update 024
Posted by: mudmin - 09-23-2017, 11:15 PM - Forum: UserSpice 4.3 and Below - Replies (19)

Closed out a lot of little issues.

Added the option for pages to be private or public by default.

Modified the securePage function so if it is hit by an admin and a page isn't in the db, it's added with the default public or private and the admin is redirected to the proper admin_page.php to finish off the settings.

I'm about to call it a day.


  Status Update 022
Posted by: mudmin - 09-23-2017, 08:46 PM - Forum: UserSpice 4.3 and Below - Replies (13)

Fixed a few bugs in admin_users caused by removing fields from the users table.
New dump available. I'll be redoing all the auto increments before release for new users.

Added a few new hooks.
usersc/scripts/token_error.php allows the end user to describe a token error however they want or even to redirect.
usersc/scripts/during_user_creation.php allows users to either process additional form fields or basically do anything just before the user creation process ends.

usersc/scripts/additional_join_form_fields.php allows the user to add additional fields to the join form without moving the whole join form to usersc. Example code is inside.

All token doesn\'t match errors have been removed in place of the usersc option.

Fixed language error on email_settings.php

I noticed that there are only 13 forms using the token system. We should probably go back and fix the others.


  Site Offline but with permission group that can still access the website
Posted by: sire - 09-23-2017, 06:11 PM - Forum: Documentation - Replies (1)

if say my Site is "Site Offline" can i have it that a "permission group" that can still access the website
thanks
btw im using UserSpice Version 4.2.6


  Status Update 020-021
Posted by: mudmin - 09-23-2017, 05:48 PM - Forum: UserSpice 4.3 and Below - Replies (19)

*** New dump required.

Hopefully we won't need all 3 digits of the alpha version numbers. Smile

I updated to version 6 of our mailer and had some issues with my dreamhost server. I think they're sorted now.

All of those settings that you used to have to comment in and out in helpers.php have been moved to the database. There are 14 email settings now.

I'd like to move some of the generic welcome emails etc to the usersc folder so people can change them at will. I'd also like to make a more robust email function that allows people to use all the features of the mail program.

I've included composer in the users folder to keep it out of the way of the end user. We should probably be updating fb and google dependencies through this as well.


  Empty Admin and Info Panels
Posted by: alexdp - 09-23-2017, 03:48 PM - Forum: UserSpice 4.3 and Below - Replies (6)

Hello to you all,

I am working on integration of my website into UserSpice in order to take advantage of the user private section. I manage to hide some menu items from visitors.

When I log in as admin and go to the Dashboard, the Admin Panels and the Info Panels display nothing. However, Site Settings, Sitewide CSS as well as Register and Login Settings all look okay.

When I display the source code, the info seems there already.

Any Idea ?

Best regards,

ADP


  Status Update 019
Posted by: mudmin - 09-23-2017, 03:06 PM - Forum: UserSpice 4.3 and Below - Replies (7)

I'm having problems with the new mailer. Forget trying to get it working as a function, I'm just using the default example that is on their github page (called users/email.php for testing purposes).

Hard coding your values in that page, does it work for anyone?

I get a success message if I try to send from gmail, but the email never goes out.

I get an authentication error when I try to send over smtp, even with the proper creds.

Any luck anyone?


  need meta tags per page instead of global
Posted by: haydentech - 09-22-2017, 02:10 PM - Forum: UserSpice 4.3 and Below - Replies (1)

On my site there are various ways to share content via Facebook, etc. To do this correctly, Facebook needs the og:* meta tags in the page header. In UserSpice, these are provided globally in usersc/includes/head_tags.php. I need these locally, as they will be different for each page depending on the shared content.

One way I've come up with is to define a global array before head_tags.php gets pulled in, and reference that global array in head_tags.php to produce them. That will almost certainly work, but it seems like there should be a cleaner way that I'm just not seeing.

What is the correct way to set this on a page-by-page basis in UserSpice instead of using static content in head_tags.php?


  Error in DB.php line 51
Posted by: mckennahampton - 09-22-2017, 11:15 AM - Forum: UserSpice 4.3 and Below - Replies (12)

First, I'd like to say I appreciate the time and effort put into this project, it's a huge help for coders like me.

I'm integrating UserSpice into a pre-existing website built is pure PHP, and we're already using PDO to handle all MYSQL calls. I've installed UserSpice but all the pages are loading blank. In my apache error logs, this is the message:

PHP Catchable fatal error: Object of class stdClass could not be converted to string in users/classes/DB.php on line 51

I've been trying like crazy to figure this our, but to no avail.