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
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/printthread.php(287) : eval()'d code 2 errorHandler->error
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



UserSpice
update documentation abou US - 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: update documentation abou US (/showthread.php?tid=580)

Pages: 1 2


update documentation abou US - marceloatmartins - 06-01-2017

Hello everyone, I just wanted to comment on the difficulty of applying the examples found in UserSpice videos in Youtube to version 4.4
I noticed that the existing documentation does not refer to version 4.4, so I have difficulties to use the excellent tool.
Can someaone to help me ?
Thanks


update documentation abou US - mudmin - 06-01-2017

Yeah. UserSpice developed very quickly for about 18 months so documentation would get out of date almost as soon as it happened. I think we're a little more stable now (HOPEFULLY there will be an update tomorrow, btw. HOPEFULLY.).

Either way, let me know what you're having issues with and we'll get you fixed up.


update documentation abou US - marceloatmartins - 06-01-2017

Thanks for your quickly response, and I really like of UserSpice Project and I need put other pages under my project and I created the 'app' folder and put somepages under this folder, but I canĀ“t execute my pages under thart folder. I need insert mypages in table "pages"? Where are the "alt_dev_path" in US 4.4 ? Can you see my difficulties? Help me, please.

Would you like to translate the UserSpice to Portuguese (my native language)? I'm live in Brazil and Portugal, and we have a lot PHP developers in both countries.

Thank you so much.


update documentation abou US - mudmin - 06-01-2017

Open the file z_us_root.php.

Line 2 has an array,

$path=['','users/','usersc/'];

https://mydomain.com and you already have https://mydomain.com/users, https://mydomain.com/usersc and you want to add a folder called 'app' (which would be https://mydomain.com/app
Edit the file z_us_root.php line two to say

$path=['','users/','usersc/','app/'];

and your php files should show right up in the admin_pages section of the dashboard and in your database.


update documentation abou US - marceloatmartins - 06-01-2017

Thank you, I put this and my page appear now, but doesn't works (HTTP ERROR 500
). I need be logged to it works? Which minimum requireds I need put in my page to it works under US ?


update documentation abou US - mudmin - 06-01-2017

I need to confirm which version you are using.

Can you check users/includes/user_spice_ver.php and tell me what it says?


update documentation abou US - marceloatmartins - 06-01-2017

This is the version:

$user_spice_ver="4.2.6";


update documentation abou US - mudmin - 06-01-2017

Ok. Perfect. If you have an error 500 it is one of a few things.

1. USUALLY it's a misconfigured .htaccess file in your root. If you have one, rename it temporarily to htaccess.bak and see if it goes away.

2. It could be that something is goofed on your line 2 of the us_url_root file. Can you paste your line two? Make sure you use straight quotes and not curly quotes.

3. Let me know what kind of server/localhost you're on and I can see if there is anything else to check.


update documentation abou US - marceloatmartins - 06-01-2017

I renamed my .htaccess in users/, but the problem is the same

My url: http://localhost:83/app/register.php , and I'm logged with 'admin' credentials. When I call my url I have an error.

I put this in my page register.php:

<?php require_once 'users/init.php'; ?>
<?php require_once $abs_us_root.$us_url_root.'users/includes/header.php'; ?>
<?php require_once $abs_us_root.$us_url_root.'users/includes/navigation.php'; ?>




update documentation abou US - marceloatmartins - 06-01-2017

Sorry, I don't have a .htaccess in my root folder.

I did it in users/includes folder. There I have a .htaccess