The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Tomfoolery Javascript extra code - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Tomfoolery Javascript extra code (/showthread.php?tid=584)



Tomfoolery Javascript extra code - karsen - 06-03-2017

At the bottom of tomfoolery.php there is Javascript code for OneClickEdit, but the Javascript file isn't included with UserSpice. Is it from code that wasn't fully implemented? It also references 'parsers/editVR.php' which doesn't exist either. Should I ignore this code, or will it eventually be implemented?


Tomfoolery Javascript extra code - mudmin - 06-06-2017

Ahh great catch! That is some leftover code from my closed source project. I desgined tomfoolery for that project and then donated it to UserSpice. The VR is actually a vehicle request system. I will add OCE to UserSpice and implement it somewhere to show you how it works. It's REALLY cool. You can display something like a table and just click on a cell and edit the database live. Obviously dangerous without validation, so I've been a little hesitant to put it out there, but I think I will. I've been slammed at work, but I'm hoping to have an update to UserSpice soon.


Tomfoolery Javascript extra code - mudmin - 06-08-2017

I don't have time to document OCE right now, but I can send you to my friend's playlist that goes through OCE in great detail. It's a very cool bit of code.

https://www.youtube.com/playlist?list=PLFPkAJFH7I0krh2_P80RhPVHc3zPDuAhO


Tomfoolery Javascript extra code - Brandin - 06-08-2017

This is great! I've forever been dumping JS plugins into my script to do this, and having something built into US would be great!!! Thank you!


Tomfoolery Javascript extra code - picassoo - 06-08-2017

cooll, I can update to my userspice project ?


Tomfoolery Javascript extra code - mudmin - 06-08-2017

Yes!

Although I am bundling MQTT and OCE into the next update. Then I am integrating OCE into the page that controls the MQTT so everyone will have a good understanding of how it works.



Tomfoolery Javascript extra code - firestorm - 06-10-2017

you might want to look at datatables.js ive integrated it into my rewrite, it has loads of features including live editing to mysql, responsive, search, export to pdf, csv etc.


Tomfoolery Javascript extra code - mudmin - 08-25-2017

I'll check this out. OCE is in 4.3, btw.

@firestorm, do you have any stuff that does database polling for "live-ish" displays of what's in the db?