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
First project for dummies - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Documentation (https://userspice.com/forums/forumdisplay.php?fid=30)
+--- Thread: First project for dummies (/showthread.php?tid=873)



First project for dummies - fothert - 12-04-2017

I've installed 4.3 into http://localhost/UserSpice43dev-master as well as 'myown'.com/US but can't figure out how to use it. I'm looking for the simplest steps to add a login procedure to basic html file without bootstrap or anything else. Let's say it's Hello.html and all it does is to say "Hello Joe", Joe being the user name of whoever signs on. So: step 1) rename Hello.html to Hello.php; step 2) Edit Hello.php adding some lines at the top and bottom; step 3) save this php file into ... what folder? Then what? Once I understand the basic steps I assume I'll be able to use them for other projects which include their own CSS, Javascript, Bootstrap, etc.


First project for dummies - mudmin - 12-04-2017

Take the text of this file and save it into the root folder.

https://pastebin.com/w5t5aFqh

Personally, I would do this on localhost only to start and rename UserSpice43dev-master to just us

so put it in your us folder.

Call it index.php

It should do what you're looking for.


First project for dummies - fothert - 12-04-2017

Thank you very much! I hope this simplest possible starter will attract many other users who might otherwise not get going with your wonderful and important application.


First project for dummies - mudmin - 12-05-2017

I hope it helps. If there's anything I can do to help, let me know!