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 626 online users.
» 0 Member(s) | 624 Guest(s)
Bing, Google

Latest Threads
Welcome to the new UserSp...
Forum: News Center
Last Post: ehc.ankur
12-30-2024, 10:16 AM
» Replies: 3
» Views: 27,918
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
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

 
  4.3 Alpha Download Link
Posted by: mudmin - 08-05-2017, 10:17 PM - Forum: UserSpice 4.3 and Below - No Replies

Here is the direct download link for the ALPHA of 4.3. If you are not a github user, you can download here...
https://github.com/mudmin/UserSpice43dev...master.zip

If you're using git, you will probably want to drop/reimport your database every time there is a new update of the db since tables will be changing frequently.

Full patches will be available for beta.


  Status Update 002
Posted by: mudmin - 08-05-2017, 10:13 PM - Forum: UserSpice 4.3 and Below - Replies (2)

I pushed out all of Brandin's messaging system mods. This one required updating the users table and the message_threads table, so at this point, it's probably going to be easier to just drop/reimport the db when doing these updates. This is alpha software. We'll make it integrate with patches when we get to beta.


  Status Update 001
Posted by: mudmin - 08-05-2017, 08:58 PM - Forum: UserSpice 4.3 and Below - No Replies

I'm numbering my mini "releases" of the alpha.

Note - This version has an additional data table called MQTT. Please update. For your convenience, you can either reimport the entire db or just the mqtt table. If you do just the table, you'll have to go into the admin_pages and let it detect the new mqtt_settings.php page

New Features -
MQTT Publish has been added and has been customized to allow you to connect to as many servers as you want. For those not in the know, MQTT is the digital "wiring" that connects a lot of IOT devices. You basically "publish" messages that IOT devices "subscribe" to. Each message has a topic and a message. For instance, in my Escape Room, I can publish a message with at topic of ATM and a message of 1 2 or 3 to trigger the relay 1, 2, or 3 in the ATM and make it drop whatever is in that slot. Because I built in the ability to publish to multiple servers, your mqtt call looks like this...

Code:
mqtt(serverID,topic,message);
or
Code:
mqtt(2,"ATM",3); //triggers the third relay in the ATM.

One Click Edit - I've been wanting to add this feature for a while. One click edit allows you to click on a table entry and turn it into a live edit of the database (with lots of checks and balances if you want them). The users/mqtt_settings.php and users/parsers/editMQTT.php file show you a well-commented way of using OCE in your own project. Additionally, you can check out this video series from my good friend (and UserSpice Technical Adviser), Curtis Parham. https://www.youtube.com/playlist?list=PL...Hc3zPDuAhO

More to come.


  Cron Manager
Posted by: Brandin - 08-05-2017, 07:11 PM - Forum: Modifications and Hackery - Replies (23)

Hello all!

I have put a lot of work into my Cron Manager and finally have it done! I will include it and a few of the crons I run for you to use if your heart so desires Smile I use my cPanel Cron Manager to run the script daily at 4:30am.

Cron Table SQL:
https://pastebin.com/9KbensmM

Code:
cronmanager.php
to be placed in usersc
https://pastebin.com/DkHjWxnk

Code:
cronpost.php
to be placed in usersc
https://pastebin.com/7nW2WxKi

Code:
cron.php
to be placed in the root folder in
Code:
cron
https://pastebin.com/hJFsS9UD

**PLEASE ADD /cron IN z_us_root.php**ALL FILES IN THIS DIRECTORY SHOULD BE PUBLIC**

JS:
Code:
bootstrap-editable.js
https://pastebin.com/G4vuQY9A
Code:
jwerty.js
https://pastebin.com/ngMRCMBd

Here is an automated process of the automated Backup function by @Firestorm:
https://pastebin.com/pBA7bUBb to be placed as
Code:
backup.php
in /cron

Add it to the cron from your cron manager page.

When adding crons only include the file name, do not include the directory, it assumes /cron, e.g. for /cron/backup.php just put "backup.php"

I think that is it. For the most part if you add a cron file, you just need to worry about adding this at the end:
https://pastebin.com/N1H52NpX

Let me know if you have any questions or run into any issues Smile


  just getting started
Posted by: rob.lindman - 08-05-2017, 10:45 AM - Forum: UserSpice 4.3 and Below - Replies (2)

I've installed and set up UserSpice 4.2. I recall from a video there are a couple of lines of code I need to add to any file to make it 'UserSpice ready'. I don't remember where I saw that. Is that code here in the forums somewhere?

Also, the home page, I got confused. It looks like you bought UserCake but the way the headings are, it looks like the download of '4.2' is a download of UserCake. Might want to add a 'Download UserSpice' heading there.

Thanks.


  Let's Talk Alpha
Posted by: mudmin - 08-03-2017, 03:31 PM - Forum: UserSpice 4.3 and Below - Replies (4)

With more community involvement, I've decided to do what I'm calling a "rolling alpha" on github. I'm going to work on pushing out all the community supplied (and my own ported from other projects) updates and features. The software will be extremely unstable and is not ready for public use, but you're welcome to grab it and provide feedback whenever you want. This is the forum for that sort of thing.

PLEASE NOTE: My github-fu is terrible and github has screwed me up more than it has helped me, so if you want me to merge something into the code that is going to be tricky, providing some git commands here is always helpful.

Since this code doesn't belong on production servers, I'm using an "installed" version as the repo. If you're on xampp/wamp/lamp/mamp you can just create a db called 43 with root as the username and no password and you won't even have to mess with the init.php file. The sql dump is in the root of the repo.

As it stands at this posting, 4.3.000 is 4.2.9 that has been installed and had its user_spice.ver.php file changed. That's it.

With that said...here is the repo...
https://github.com/mudmin/UserSpice43dev


  Active Development is beginning again - What are your thoughts?
Posted by: mudmin - 08-03-2017, 01:28 PM - Forum: New to UserSpice? - Replies (2)

I'm back! It was a great summer, but the weather is getting colder in Alaska and that means it's time to code. I have tons of modifications provided by the community as well as some features on my own wish list. So many that I think it's worth developing an Alpha and calling it 4.3 Alpha. This will allow us to keep patching bugs as they pop up on 4.2 and make one giant upgrade after people have had some time to bang on all these mods.

Thoughts?


  Problems with installing on a subdomain?
Posted by: gtilflm - 08-03-2017, 12:23 AM - Forum: UserSpice 4.3 and Below - Replies (9)

Hi. I installed US into a subdir called "users" which I had previously set up to be a subdomain. No problems.

I then noticed that paths ended up like "users.mydomain.com/users/....." Effectively, I had "mydomain.com/users/users/....." So, I decided to reinstall into the public_html folder on my site with the goal being to get paths like "users.mydomain.com". For some reason, that is producing all manner of issues.

I then tried an experiment. I deleted the subdomain, and reinstalled in public_html. That went fine and I ended up with links like "mydomain.com/users/....". However, when I re-created the subdomain of "users" hoping to get "users.mydomain.com/....", I now get these errors immediately...

Warning: require_once(/MY_ABSOLUTE_PATH/public_html/users/users/helpers/helpers.php): failed to open stream: No such file or directory in /MY_ABSOLUTE_PATH/public_html/users/init.php on line 22

Fatal error: require_once(): Failed opening required '/MY_ABSOLUTE_PATH/public_html/users/users/helpers/helpers.php' (include_path='.:/opt/php70/lib/php') in /MY_ABSOLUTE_PATH/public_html/users/init.php on line 22


Note the "users/users" aspect in the warning. Is there a known issue with installing US on subdomains?


  Error while sending QUERY packet
Posted by: chandra.harrys@gmail.com - 08-02-2017, 06:34 AM - Forum: UserSpice 4.3 and Below - Replies (7)

Hi all,
I got this error when parsing JSON then saving it into my database,

PHP Warning: Error while sending QUERY packet. PID=23158 in /home/myweb/public_html/users/classes/DB.php on line 56

Im using shared web hosting, so i cannot change the php.ini file.

Please help me to solve my problem


  I get a error in this function first
Posted by: marceloatmartins - 08-01-2017, 12:57 PM - Forum: UserSpice 4.3 and Below - Replies (3)

Hi Everybody,

I get a error in function first in DB Class.

public function first(){
return $this->results()[0];
}

I don't understand this sintaxe: return $this->results()[0];

Is the [0] a paramter?

Help me please
Thanks