Jump to content

Jon Erickson

Administrators
  • Posts

    715
  • Joined

  • Last visited

  • Days Won

    119

Everything posted by Jon Erickson

  1. What do you mean by bugs the rank? Not experiencing on our end.
  2. @Luke Hickton, unfortunately, not at this time. You could create your own column within the table to store this data and write a plugin to use that data for the award citation.
  3. As @v.roberts stated, you can link an application custom field to a personnel file custom field and that way the data is carried over to the personnel file however you'd prefer.
  4. @Daedious, it looks like maybe the table is flowing off the right hand of your screen because of the several form fields. I'll have to truncate that field to prevent that in the future but in the mean time, remove all the fields from the form and re-save and the buttons should re-appear on the screen.
  5. @Daedious @Ignacio Pablo Duro, which module are you guys referring to? Unfortunately, no time frame at the moment. As we continue to improve on the current features, we are slowly building out the LMS system, but it will take awhile.
  6. @v.roberts, there is also a dashboard widget that displays eligible personnel. As far as promotion points go, make sure PERSCOM is understanding which rank is next, for example, within rank settings you can set the order of which rank is next, based on how you've ordered them when you added them (Ascending vs Descending) if its backwards, PERSCOM will always display someone as not eligible because you can't go back in ranks.
  7. @Daedious, there is a delete button on the right side when viewing the list of PAR forms. You may have to click the drop down menu to view it, also check your permission settings to make sure you have access to the delete button.
  8. The date will need to be inputted as a 10 digit unix time stamp - the standard for database times and dates!
  9. Using a function from our Soldier class roots(): /** * Fetch All Root Nodes * * @param string|NULL $permissionCheck The permission key to check for or NULl to not check permissions * @param \IPS\Member|NULL $member The member to check permissions for or NULL for the currently logged in member * @param mixed $where Additional WHERE clause * @param bool $includeDischarged If you want to include discharged personnel in the returned array * @return array */ public static function roots( $permissionCheck='view', $member=NULL, $where=array(), $includeDischarged=FALSE ) { // Get all the soldiers $soldiers = parent::roots( $permissionCheck, $member, $where, $includeDischarged ); // Get saved discharged and combat unit soldiers $status = \IPS\Settings::i()->perscom_settings_personnel_discharge_status; $unit = \IPS\Settings::i()->perscom_settings_personnel_discharge_unit; // Remove the ones where their status or unit matches the discharge status return array_filter( $soldiers, function( $soldier ) use ( $status, $unit ){ return $soldier->combat_unit->_id == $unit OR $soldier->status->_id == $status ? FALSE : TRUE; } ); } For straight up PHP: $position = INSERT_POSITION_ID_HERE; foreach ( \IPS\perscom\Personnel\Soldier::roots( 'view', NULL, array( array( \IPS\Db::i()->findInSet( 'personnel_administrative_unit_positions', array( $position ) ) ) ) as $soldier ) { // List each soldier echo $soldier->_title; } Using IPB template syntax: {{$position = INSERT_POSITION_ID_HERE;}} {{foreach \IPS\perscom\Personnel\Soldier::roots( 'view', NULL, array( array( \IPS\Db::i()->findInSet( 'personnel_administrative_unit_positions', array( $position ) ) ) ) as $soldier}} {$soldier->_title} {{endforeach}} I have no actually plugged this in to make sure there's no syntax errors, but I use the same queries within the application, specifically on the administrative frontend rosters.
  10. Totally doable! We’ll see if someone here can assist...if not I’ll provide some code soon.
  11. Good question! Honestly, because it was brought over from PERSCOM 1.0 when IPB did not natively manage time zones. This personnel field could be taken out in PERSCOM 2.0 as it really plays no role besides letting someone who’s viewing their personnel file know which part of the world they are from.
  12. Luke, PERSCOM uses documents for citation purposes. If you create a document with the text you displayed above and assign it to the service record, this should work! You can also put variables in the document text that will be auto translated to whichever soldier the citation is for. Hope this helps!
  13. Luke, this feature has been requested several times and it seems as it would be very popular. With that being said, yes, we do have plans to build out a feature similar to the one you have described.
  14. Oh, it's already in the works! But yes, will be a large addition to PERSCOM!
  15. PERSCOM already does that - but you must keep the personnel file. Records are linked to the personnel file id. As long as you keep the personnel file, you can relink any member with an existing personnel file and everything will be as it was left off.
  16. @Ashton, looking back on this, just disabling the Roster will remove it from the frontend but keep it active on the backend. This should be all you need.
  17. We're excited to release our newest IPB utility plugin to our community, a Reseller Hosting cPanel Integration plugin. Best of all, it's free! If you are an aspiring web designer and want to get started in the web hosting business, check out this plugin that will help integrate your IPB installation in to cheap web hosting! Description This lightweight plugin enables your Invision Power Board (IPB) software to act as a web hosting management platform for Reseller Hosting, similar to WHMCS. Unlike a Dedicated or VPS with root access, Reseller Hosting is a cheap alternative for web designers and administrators to host several websites using cPanel's Web Hosting Manager (WHM). Reseller Hosting is offered by many of the top web hosting companies. IPB does not natively support cPanel/WHM accounts without root access thus making resell hosting through IPB difficult. This plugin allows you the ability to specify a package/plan name that you've created in WHM and assign it to a hosting product within Commerce. Hosting account quotas such as disk space, bandwidth, email accounts, database accounts etc. are managed through each plan you create within WHM. Popular Reseller Hosting Companies Bluehost ResellerClub Hostgator A2hosting Siteground Requirements: A reseller web hosting account with WHM/cPanel.
  18. No worries! We all have experienced the same.
  19. There’s your answer! I’ll lengthen the DB column to allow longer descriptions!
  20. As the error suggests, do all your widths add up to 12?
  21. Whoops! Thanks for the information!
  22. Totally - we can add settings to choose which information to display.
  23. Yeah, unfortunately that’s not an option yet. The tables are native to IPB and we are limited to the features they have created.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.