Jump to content

[Free] CrewCenter - Modern and responsive pilot center


swan58

Recommended Posts

On 3/15/2018 at 7:17 PM, shakamonkey88 said:

Change this:


<input type="checkbox" name="remember"> Remember Me

to this:


<label style="font-weight: normal;"><input type="checkbox" name="remember"> Remember Me</label>

 

How did you fix this? it did not work for me; checkbox only showing for <second then dissappears.

Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...
On 3/15/2018 at 5:31 PM, gio1961 said:

Thanks. Problem is

    <script>
      $(function () {
        $('input').iCheck({
          checkboxClass: 'icheckbox_square-blue',
          radioClass: 'iradio_square-blue',
          increaseArea: '20%' // optional
        });
      });
    </script>

To    

<script>
      $(function () {      
      $('input').iCheck({
  labelHover: false,
  cursor: true
});
    </script>

i also have same issue ,,where to put it 

Link to comment
Share on other sites

On 9/21/2019 at 2:00 PM, sayedzaafir said:

i also have same issue ,,where to put it 

hello .. open the layout.php file, find the code there

<script>
      $(function () {
        $('input').iCheck({
          checkboxClass: 'icheckbox_square-blue',
          radioClass: 'iradio_square-blue',
          increaseArea: '20%' // optional
        });
      });
    </script>

do not make any changes

open the file login_form.php find
<input type = "checkbox" name = "remember"> Remember Me
and replace it with

<input type="checkbox" name="remember" />
<label>Remember Me?</label>

It should work...

 

Link to comment
Share on other sites

19 hours ago, sayedzaafir said:

still the same bro 

then try: open the layout.php file, find

<script>
      $(function () {
        $('input').iCheck({
          checkboxClass: 'icheckbox_square-blue',
          radioClass: 'iradio_square-blue',
          increaseArea: '20%' // optional
        });
      });
    </script>

change with   

<script>
      $(function () {      
      $('input').iCheck({
  labelHover: false,
  cursor: true
});
    </script>

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

I am working on adding some weather tools to my VA using this skin. I've been looking around and have found some useful information. Aviation Weather V1.0 by Parkho is a great tool for doing individual airport searches. You can check out that forum > HERE < I am having some trouble finding a code to display live METARs for specific airports. I have found plenty witch show the METAR of the pilots current location, but I am looking to display the current METARs for my hubs all in one page. I came across the following by Tylor Eddy and I am wondering if it can be edited to my needs. Any help in this area, would be appreciated.

For Departure Airport:

<?php $metar = $_POST['metar']; $url = 'http://metar.vatsim.net/'.$schedule->depicao.''; $page = file_get_contents($url); echo $page; ?>

For Arrival Airport:

<?php $metar = $_POST['metar']; $url = 'http://metar.vatsim.net/'.$schedule->arricao.''; $page = file_get_contents($url); echo $page; ?>

 

Link to comment
Share on other sites

  • Moderators
4 hours ago, Shadesb181 said:

I am working on adding some weather tools to my VA using this skin. I've been looking around and have found some useful information. Aviation Weather V1.0 by Parkho is a great tool for doing individual airport searches. You can check out that forum > HERE < I am having some trouble finding a code to display live METARs for specific airports. I have found plenty witch show the METAR of the pilots current location, but I am looking to display the current METARs for my hubs all in one page. I came across the following by Tylor Eddy and I am wondering if it can be edited to my needs. Any help in this area, would be appreciated.

For Departure Airport:

<?php $metar = $_POST['metar']; $url = 'http://metar.vatsim.net/'.$schedule->depicao.''; $page = file_get_contents($url); echo $page; ?>

For Arrival Airport:

<?php $metar = $_POST['metar']; $url = 'http://metar.vatsim.net/'.$schedule->arricao.''; $page = file_get_contents($url); echo $page; ?>

 

You should look into using checkWX - https://apidocs.checkwx.com/

I added a right-hand sidebar that slides out when you click on it to this theme to quickly show METAR at all hubs using checkWX and their API:

oQf7XOo.png

 

I'm working on a METAR search page in my spare time:

fEsp3hT.png

It's pretty easy to implement. Just read the API instructions as linked in my post.

Link to comment
Share on other sites

39 minutes ago, shakamonkey88 said:

You should look into using checkWX - https://apidocs.checkwx.com/

I added a right-hand sidebar that slides out when you click on it to this theme to quickly show METAR at all hubs using checkWX and their API:

oQf7XOo.png

 

I'm working on a METAR search page in my spare time:

fEsp3hT.png

It's pretty easy to implement. Just read the API instructions as linked in my post.

This is exactly what I am looking for. Works perfect. Based on your images I can see that you have already fixed my next question and im hoping you can tell me how to fix it. I am using the following code

<div class="small-box bg-darken-3">
                <div class="inner">
                    <center><h4>KDEN METAR</h4></center>
                    <?php
                      $ch = curl_init();
                      curl_setopt($ch, CURLOPT_URL, 'https://api.checkwx.com/metar/kden');
                      curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
                      curl_setopt($ch, CURLOPT_HTTPHEADER, ['X-API-Key: API_KEY']);
                    
                      $result = curl_exec ($ch);
                      curl_close ($ch);
                      print_r($result);
                    ?>
                </div>
</div>

 

as a result the I get this http://prntscr.com/poweyl.

Can you tell me How I can remove the items underlined in red and just leave the metar itself showing.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...

Hey guys. Did a search for Simbrief in this topic and no results. I am running this skin. When i generate my simbrief OFP, it opens in a blank page (no sidebar, header or footer). I reached out to Vangelis (simbrief guru) who said someone will need to design the template for this skin. 

Surely someone is using this skin and getting the Simbrief dispatch to open inside the skin. 
M7rcQV.jpg

 

Had a CEO attempt to help from Brazil but there was a language barrier. If anyone can assist me, it would be greatly appreciated as this is placed a total halt on the rollout of my site. I am not opposed to donating money to the cause (thats how serious this is for me right now). 

Thanks

phpvms 5.5.2
PHP 5.6
 

Edited by djtiger76
Link to comment
Share on other sites

  • 3 weeks later...

Hello All!

 

    I've got a new one for you today. I want to create a new home page for crew center. As far as skinning it, I can handle that part. What I cant figure out is how to make it public to the point where it will show the page itself along with the nav menu to the left. I can make it public and see the page but no nav to the left. Any suggestions would be much appreciated. 

Link to comment
Share on other sites

On 3/19/2020 at 4:52 PM, djtiger76 said:

Hey guys. Did a search for Simbrief in this topic and no results. I am running this skin. When i generate my simbrief OFP, it opens in a blank page (no sidebar, header or footer). I reached out to Vangelis (simbrief guru) who said someone will need to design the template for this skin. 

Surely someone is using this skin and getting the Simbrief dispatch to open inside the skin. 
M7rcQV.jpg

 

Had a CEO attempt to help from Brazil but there was a language barrier. If anyone can assist me, it would be greatly appreciated as this is placed a total halt on the rollout of my site. I am not opposed to donating money to the cause (thats how serious this is for me right now). 

Thanks

phpvms 5.5.2
PHP 5.6
 

If you haven't sorted this out, Im happy to assist you. I just rolled it out on my own crew center. Let me know if you still need help on this topic.

Link to comment
Share on other sites

Wait.. I don't understand whats happening in this thread anymore. Im just now seeing this. 

 

@shakamonkey88

My solution was simple but may not work for everyone. In the schedule_briefing.php file, find the line that says:


onclick="simbriefsubmit

 

make sure the web address after onclick="simbriefsubmit, has a www. in the URL. And of course make sure you are using the correct protocol (http or https).

Adding 'www' to my web address allowed my SimBrief dispatch to show up in the skin. 

 

I hope that helps

(sidenote) i thought I already shared this information. 

 

@Shadesb181

You solution may be different. Please share what you solution was.

Link to comment
Share on other sites

19 hours ago, djtiger76 said:

Wait.. I don't understand whats happening in this thread anymore. Im just now seeing this. 

 

@shakamonkey88

My solution was simple but may not work for everyone. In the schedule_briefing.php file, find the line that says:


onclick="simbriefsubmit

 

make sure the web address after onclick="simbriefsubmit, has a www. in the URL. And of course make sure you are using the correct protocol (http or https).

Adding 'www' to my web address allowed my SimBrief dispatch to show up in the skin. 

 

I hope that helps

(sidenote) i thought I already shared this information. 

 

@Shadesb181

You solution may be different. Please share what you solution was.

First things first, anyone wanting to use simbriefs API be sure to read this >> http://www.simbrief.com/forum/viewtopic.php?f=6&t=243&sid=9c5c763b31a09ce919973b42c8839ae6 << has a full step by step. At the bottom of this page you will find this >> https://github.com/vangelisb/Simbrief << it is a pre-build module for the integration of simbrief into your VA via its API. The whole process takes 5 simple steps. Fair warning, simbrief will not provide any type of support if you run into trouble with integrating via the module (they did not create it). It took me 20min to read the directions. Took me about 5min to get it working using the module.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...