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
/showthread.php 28 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!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different access levels
#8
That would be pretty easy to do.

For anyone interested, add a new column to the pages table called 'description' to save each page's description for admin users. Copy your
Code:
admin_page.php
file from
Code:
/users/
to
Code:
/usersc/
and add in a form textarea to edit the description. You can display this description by copying
Code:
admin_pages.php
to `/usersc/' and add the description between each page's path and public/private listing.

Be sure to validate your textarea input on form submission. You can easily see how to do this from looking at other page's code or the Validation documentation here on the website. (We're working on updated documentation too!)

I'll see about adding it to the upcoming 4.3 release as I think this is a feature that would be helpful to many UserSpice users!
  Reply


Messages In This Thread
Different access levels - by pierre - 08-30-2017, 05:43 PM
Different access levels - by Brandin - 08-30-2017, 10:13 PM
Different access levels - by Katronix - 08-31-2017, 03:26 AM
Different access levels - by pierre - 08-31-2017, 05:39 AM
Different access levels - by pierre - 08-31-2017, 05:43 AM
Different access levels - by Katronix - 08-31-2017, 09:09 AM
Different access levels - by pierre - 08-31-2017, 09:14 AM
Different access levels - by karsen - 09-01-2017, 03:29 PM
Different access levels - by mudmin - 09-01-2017, 04:05 PM
Different access levels - by Brandin - 09-01-2017, 04:14 PM
Different access levels - by mudmin - 09-01-2017, 04:34 PM
Different access levels - by Katronix - 09-01-2017, 04:46 PM
Different access levels - by mudmin - 09-01-2017, 04:57 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)