The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Userspice 4.3 with added DB driven gallery and event calendar options. - 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: Userspice 4.3 with added DB driven gallery and event calendar options. (/showthread.php?tid=918) |
Userspice 4.3 with added DB driven gallery and event calendar options. - Jamezs - 01-21-2018 As promised here my added functions. Don't really know where to leave it but I would like some opinions or advice. https://github.com/Jamezsss/userspice I added gallery options that create pages, uploads images and writes the locations and such to the DB. The event calendar was designed to let people register on your Userspice website and let them register for events with one click. The event calendar does not create pages yet. It is DB driven to check if user has registered for one or multiple of the events or not. Also I added and option to create DB content blocks to make articles, blogs etc. Still have to create them manually in the DB and php file but will make an fwrite function for blogs and articles etc. I will describe what dependencies it uses and how it works on Github next week so it is easier to understand what is added and how it works. I am a starter and didn't have schooling for this so any comments or help on security, cleaner way to do the same etc... are appreciated. Should I post the DB structure here with some examples? I have setup a test version online for people who are interested to see. Just poke me. WYSIWYG Editor for content blocks http://puu.sh/z68mq/13b2d2ead9.png Upcomming events with 1 click registration option. http://puu.sh/z68qe/4729c8ce9d.png http://puu.sh/z68rU/a0ea9ae123.png http://puu.sh/z68t1/250bee0c02.png Userspice 4.3 with added DB driven gallery and event calendar options. - Brandin - 01-21-2018 Hi Jamezs, If you have a scrubbed dump (doesn't have your hashes or personal info it) it would be great to share! Can't wait to test this, Brandin. Userspice 4.3 with added DB driven gallery and event calendar options. - Jamezs - 01-21-2018 What you guys use to share sql files? It is made on a clean install so no private or personal info exists yet. I implemented these functions in my excisting websites like https://vulpine.events Clean install with excisting functions so far: https://test.userspice.cf/ Userspice 4.3 with added DB driven gallery and event calendar options. - Brandin - 01-21-2018 I would just upload it to hastebin.com You can also just publish it to the git as sample.sql or something. Userspice 4.3 with added DB driven gallery and event calendar options. - Jamezs - 01-21-2018 It's in Github now test.sql Userspice 4.3 with added DB driven gallery and event calendar options. - mudmin - 01-23-2018 This is awesome! thanks so much for sharing! Userspice 4.3 with added DB driven gallery and event calendar options. - mudmin - 01-23-2018 On index.php I had issues with Code: require_once $_SERVER['DOCUMENT_ROOT'] . '/users/init.php'; Code: require_once 'users/init.php'; Userspice 4.3 with added DB driven gallery and event calendar options. - Jamezs - 01-23-2018 Please note that some things broke. I need to fix the upload script on created gallery pages itself. I'll keep you guys posted on fixes and added functions. There will be an Event page per agenda item as well soon. Userspice 4.3 with added DB driven gallery and event calendar options. - Jamezs - 01-23-2018 And yes we used it in index.php just to avoid confusion and break things. We needed to change it for putting indexes and other pages and filer in new folders. It works just fine but I agree that the Userspice way is sufficient for the index.php |