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
New Page
#1
I have tried...but can't seem to figure out how to get something to work...

How do I create a new page?
I have tried but continually get errors....
What I am trying to do...
I want a subscribed user to log in, and be taken to a 'new page' ...like 'logged_in.php'
this is where they will be able to download different applications...

I will be able to give a user privilege to this page as all the other pages...

Seems like it should be simple... I have tried to use the 'empty.php' in the usersc folder...
I copied the php from the index page...but get errors due to log in issues...

Thanks in advance for guidance
  Reply
#2
Your issue would be changing the init call.

A good page to start with would be index.php in the users folder. Your replacement files for stuff in users should go in usersc, and your init call would be ../users/init.php instead of init.php.

Hope this helps.
  Reply
#3
???
Ok...Makes some sense...I guess If I knew the Hierarchy of the cms...
However, I don't see anything that navigates to the usersc folder while logged in...
Maybe I've played with .NET too long...lol
but it seems if the init.php files were different, there would be navigation to the /usersc/index.php page

I truly appreciate your help....
  Reply
#4
You will just change your call at the beginning of the PHP file so it can reach init.php within the users folder. You never want to have multiple init's, only ever in the users folder.
  Reply
#5
For instance...
when logged in, i view /users/account.php
I try to navigate to /users/index.php , and it auto navigates back to /users/account.php....
I thought it was a page or user permissions issue, so I logged in as admin, and set /users/index.php to be accessible with 'Users'
Tried again after this, and it still autonavigates back to account.php

I would like for it to navigate to /users/account/newpage.php once logged in...

Ideas?
  Reply
#6
You modify the after-login redirect in usersc/scripts/custom_login_script.php
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)