EXAMCenter Beta 1.0

Nice Mod!!!

for those who having problems just look in the folder after you download it and put them in the folder on your website root. really easy to install and set is easy too

Hi

This looks like a great project, but I have a small problem. The button that appears in the admin panel just closes the drop-down list it’s in. The orange highlight bar is missing also from the mouse-over.

Cheers in advance,

DeeQ

4 - Place a link in your menu for the Admins and Staff Members of EXAMCenter ->

<?php

$admin = ExamsData::check_admin(Auth::$userinfo->pilotid);

if ($admin->admin_level >= ‘1’)

{echo ‘<a href="’.url(‘/Exams_admin’).‘">EXAMCenter Admin</a>’;}

?>

Sorry about this kind of question, but in wich file i must to add above instruction, where is located.

Thanks in advance

Wow there was me thinking v2 was released with a new post in this thread, i got all excited then

@lorlandi - You want to place that in your menu items, unless you have changed things greatly it should be in core_navigation.tpl.

@mark1 - sorry, been sidetracked on a couple other projects, not even sure at this point if I will release a v2. I got it about 60% coded and it has sat for about a month now…

Thanks simpilot.

Regards

Simpilot thats a massive shame, i was looking forward to the entrance exam and the admin interface looked excellent.

Hi.

I’ve just started moving my VA on phpvms and i am having trouble with installing examcenter. First question. Is this works with build 854. And another thing i have added it my menu but thats i’snt showing up.

Thats code in core_navigation

<li><a href="<?php echo url('/'); ?>">home</a></li>
<?php
if(!Auth::LoggedIn())
{
// Show these if they haven't logged in yet
?>
<li><a href="<?php echo url('/login'); ?>">Login</a></li>
<li><a href="<?php echo url('/registration'); ?>">Rejstracja</a></li>
   <li><a href="<?php echo url('/Exams') ?>">Egzaminy</a></li>
<?php
}
else
{
// Show these items only if they are logged in
?>
<li><a href="<?php echo url('/profile'); ?>">Centrum Pilota</a></li>

<?php
}
?>
<li><a href="<?php echo url('/pilots'); ?>">Roster</a></li>
<li><a href="<?php echo url('/acars') ?>">Aktualne Loty</a></li>
<?php echo $MODULE_NAV_INC;?>
<?php
if(Auth::LoggedIn())
{
if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))
{
	echo '<li><a href="'.fileurl('/admin').'">Centrum Admina</a></li>';
}
?>


<li><a href="<?php echo url('/logout'); ?>">Wyloguj</a></li>
<?php
}
?>

Another thing is that idk where to put admin link. in which file.

Thanks for help

Maciej.

You have the Examcenter link inside of the if command so it will only show if you are not logged in. You need to put it in the other section so it will show when you are logged in to the site.

Where to put admin link one ? which file ?

Olbi.

Where to put admin link one ? which file ?

Olbi.

You can put the admin link in the core_navigation.tpl as well. Maybe make a new line right after the acars link “live map” for the EXAM Center admin link.

SimPilot, are your going to put this back up for download?

I had worked on coding a new version with the admin side being incorporated in the admin side of phpVMS but got frustrated with the bitwise permission values and set it down. I will get the license added to this version and get it posted, maybe someday I will pick up the next version again.

File posted again with license included in first post of this thread. Please respect the license.

Thank you, very much appreciated.

hello everyone !

i would like to make a change on the exam center… how i can make the exam request number of hours and not total pay ?

Thank you for this great add on !

Awesome Simpilot, as usual! Thanks. Would LOVE it if this was continued on in development.

can any one post a screenshot?

First Beta Release - EXAMCenter

Developed using phpVMS ver 1.2.778 and ie8

Features:

2 Levels of Administration

-Administrator

-Staff Member

Exam and Question creation and editing

Optional “Assign Only” system

Installation:

1 - Download Package and place files in your phpVMS install in the proper paths

2 - Load the exam_center.sql file in your phpVMS database using phpMYAdmin or similar

3 - Place a link to the EXAMCenter in your menu ->

EXAMCenter

4 - Place a link in your menu for the Admins and Staff Members of EXAMCenter ->

<?php $admin = ExamsData::check_admin(Auth::$userinfo->pilotid); Â Â Â Â Â Â Â Â if ($admin->admin_level >= '1') {echo 'EXAMCenter Admin';} ?>

5 - Start building exams! 

Some Notes:

1 - EXAMCenter Staff Members have the ability to assign & approve exams, author exams and questions, and create revision reasons.

2 - EXAMCenter Administrators have all the abilities that a staff member has plus the ability to open and close the center, add/remove staff members and admins, edit static messages for the EXAMCenter, change the assign/purchase option, and edit revision codes.

3 - The system automatically assigns the pilot with the database id of “1” as the first administrator. DO NOT un-assign this pilot as an admin unless you have at least one more admin assigned, you will not be able to log back into the center as an admin. I am still working on a check that will not let you do this but wanted to get the beta out.

4 - There are two exams already in the database to give some guidance on how things work.

*The code has some extra in it still. Still working on getting rid of some of the duplicate functions.

I dont get what you mean by: Load the exam_center.sql file in your phpVMS database using phpMYAdmin or similar

I have searched it in my database using phpMyadmin and browsed all of my database and could not find it, I have never used phpMyadmin and I really want to use the entrance exam, Please help me.

Many Thanks,

Matthew

Thank you, very much appreciated.

Hi mark, just the man i needed, I do not know how to do this step : Load the exam_center.sql file in your phpVMS database using phpMYAdmin or similar… I have been in phpMyadmin and cannot find it. Please help me as I know you have this in your VA as my brother told me, He is Josh Talbot at Luton Airport (EZY0040).

I have searched all of my database and browsed all of it and don’t know what to do.

Many Thanks,

Matthew