Page 3 of 3

Re: Need help with this, please

Posted: Thu Sep 23, 2010 7:02 pm
by k33bz
YEAH,

I got the site working in almost its entirety. Only thing I am missing now is being able to view user details and adding a user. Here is the block of code from /pb_events.php

Code: Select all

		case "users":

			

			if ((!$_GET["action"])&&($_SESSION["minibase"]["raw"]["user_level"] != 0 )) {

				$_GET["action"] = "details";				

			}



			if ($_SESSION["minibase"]["raw"]["user_level"] == 1) {

				$_GET["user_id"] = $_SESSION["minibase"]["raw"]["user_id"]; 

				$_POST["user_id"] = $_SESSION["minibase"]["raw"]["user_id"];

			}

			

			$data = new CSQLAdmin($_GET["sub"], $_CONF["forms"]["admintemplate"],$thiss->db,$thiss->tables);

			return $data->DoEvents();

		break;
Does anyone see anything wrong in it?

Re: Need help with this, please

Posted: Thu Sep 23, 2010 11:01 pm
by Jonah Bron
If you mean syntax errors, I can't see any. Do you get errors?

Re: Need help with this, please

Posted: Fri Sep 24, 2010 6:16 am
by k33bz
Nope, no errors that are apperant. Just have the users details page and add user not showing up. Also there is this:
http://ubuntuforums.org/showthread.php? ... ost9882402