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
/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
users and userc not mirrors
#5
I've got some working code, except for the $users structure.. it's not being respected on new page loads. I'm stumped.

<?php
require_once '../users/init.php';

require_once $abs_us_root.$us_url_root.'users/includes/template/prep.php';

if(isset($user) && $user->isLoggedIn()){
echo "hokay";
die;
}

This is the top of the page inside users/wall.php

This is what is at the top of most user-facing pages in users folder

I noticed when saving a wall post and inserting a row into the wall table, this doesn't exist: $user->data()->id

Any suggestions helpful.
  Reply


Messages In This Thread
users and userc not mirrors - by Malatesa - 04-23-2019, 04:42 PM
RE: users and userc not mirrors - by mudmin - 04-23-2019, 04:51 PM
RE: users and userc not mirrors - by Malatesa - 04-24-2019, 06:11 AM
RE: users and userc not mirrors - by mudmin - 04-24-2019, 11:59 AM
RE: users and userc not mirrors - by Malatesa - 04-26-2019, 01:57 PM
RE: users and userc not mirrors - by mudmin - 04-26-2019, 06:16 PM
RE: users and userc not mirrors - by mudmin - 04-27-2019, 10:55 AM
RE: users and userc not mirrors - by Malatesa - 04-28-2019, 03:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)