Jump to content

Heritage1

Members
  • Posts

    194
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Heritage1

  1. Ah yes, thee ol menu series continues, I've created a super easy menu system for all newbies, below is the coding, play around with it, I use it in 2 of my phpvms sites.

    Here ya go;

    <!--START NEW MENU SCRIPT FOR HEAD universal with the newest bootsrap.css and bootstrap.js which are included with this skin DON"T replace them please -->
    <style> /* MUST BE in <head> This will run also without bootstrap on any skin */
    .dropbtn {
        background-color: #378682; /* you may change colors,font sizes etc.Always back things up,you may remark out if you don't want this menu system */
        color: white;
        padding: 14px;
        font-size: 14px;
        border: none;
        cursor: pointer;
    	min-width: 200px;
    }
    
    .dropdown {
        position: relative;
        display: inline-block;
    }
    
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #AFCFCD;
        min-width: 290px;
        box-shadow: 0px 28px 28px 8px rgba(0,140,12,0.2);
        z-index: 1;
    }
    
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    
    .dropdown-content a:hover {background-color: #DCDCDC}
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .dropdown:hover .dropbtn {
        background-color: #42757E;
    }
    </style>
    <!--======= END Menu script for top of headder <head> =====-->
    
    <div id="collapse2z-Three" class="accordion-body collapse">
          <div class="panel-body">
          <div class="row">                                                
          <div class="col-md-12">
          <h4 class="no-margin no-padding">Menu #1 System</h4>
          <div align="left">
            
    div class="dropdown"> <!-- replace below scripting with your stuff/site menus -->
      <button class="dropbtn">Operations</button>
      <div class="dropdown-content">
        <a href="<?php echo url('/pilots') ?>">Pilot Roster</a>
        <a href="<?php echo url('/acars') ?>">ACARS Live Map</a>
        <a href="<?php echo url('/departuretv'); ?>">Airport Monitor</a>
        <a href="<?php echo url('/toppilot') ?>">Top Pilot</a>
        <a href="<?php echo url('/touchdownstats') ?>">Touch Down Stats</a>
        <?php if(Auth::LoggedIn()) { ?>
        <a href="<?php echo url('/logout'); ?>">Logout</a>
    <?php } else { ?>
        <a href="<?php echo url('/registration'); ?>">Sign Up</a>
        <a href="<?php echo url('/login'); ?>">Login</a>
    <?php } ?> 
        <a href="<?php echo url('/hub'); ?>">Our Hubs</a>
        <a href="<?php echo url('/Fleet'); ?>">Our Fleet</a>    
      </div>
    </div>
            
    <div class="dropdown">
      <button class="dropbtn">Dropdown</button>
      <div class="dropdown-content">
        <a href="#">Link 1</a>
        <a href="#">Link 2</a>
        <a href="#">Link 3</a>
      </div>
    </div>
            
    <div class="dropdown">
      <button class="dropbtn">Dropdown</button>
      <div class="dropdown-content">
        <a href="#">Link 1</a>
        <a href="#">Link 2</a>
        <a href="#">Link 3</a>
      </div>
    </div>
    
    <div class="dropdown">
      <button class="dropbtn">Dropdown</button>
      <div class="dropdown-content">
        <a href="#">Link 1</a>
        <a href="#">Link 2</a>
        <a href="#">Link 3</a>
      </div>
    </div>
            
    <div class="dropdown">
      <button class="dropbtn">Dropdown</button>
      <div class="dropdown-content">
        <a href="#">Link 1</a>
        <a href="#">Link 2</a>
        <a href="#">Link 3</a>
      </div>
    </div>
            
    <div class="dropdown">
      <button class="dropbtn">Dropdown</button>
      <div class="dropdown-content">
        <a href="#">Link 1</a>
        <a href="#">Link 2</a>
        <a href="#">Link 3</a>
      </div>
    </div>        

     

  2. Yeh I think Parkho is right, beaware of any hosting company, especially a paid host, they have a habit of upgrading your php version. Long story short, you need to be running a PHP version of 5.3 as the php.ini file on the server is far different then the latest versions. This "WILL" screw things up with any PHPVMS 5.5x you are running, including All Modules.

    Get a hold of your Hosting company and check on that, hope this helps you !

    Jimbo

  3. Just a quick reply on this one,  That would be another whole world of programming for a customized Module as I have yet to see anything of that nature. Not only would you have to break down all of the math in phpvms, you would also as Admin, Enter all of the Data yourself I'm Sure ! But, who knows, maybe in the future.

    Good Luck with this one.

  4. The recaptcha key is free, as mentioned above, however, for those who do not want to mess with it, I've enclosed a bypass file which completely eliminates the recaptcha process all together. I DO NOT recommend this, but if your looking to get started quickly, then please see the enclose file. This will put and overwrite the

    Registration.php file, Make sure you always backup up. I just rename things on the Server, example; Registration.php.backup , this usually works great. If you so choose to use this file, do remember to keep a very close eye on applications pending, your open for bots ! Upload the file to the following :: /myserver/core/modules/Registration/Registration.php , You will at least be able to get your Registration up quickly until you fix your issues. Hope this helps you !

    Jimbo

    Registration.zip

    • Like 1
  5. Just a quick note on jquery peeps, be very careful how you mix up any javascript calls, especially a Google javascript call to the outside, nine times out of ten, you will have all kinds of conflicts, and the infamous "NO ROUTE PASSED", gosh I hate that one, lol.  The one I've been using for a few years has proven fail safe to me, even with a bootstrap. Its Called jquery-1.7.2.js , this one for me never fails, and never hiccups. I've found even with phpvms 5.5xxxx , things with *.js can be tempermental, just like my puppy when she doesn't get her way, lol, Multiple libarys never seem to work when mixed together, always pay attention to the <head> as to whats calling what for a "href". Hope this helps, and if anyone needs the jquery file I use, just shoot me a message. See ya all in DUH AIR !

    Jimbo

  6. Been trying to get a hold of you, I see  you've got your site going, thats "Great", hope everything works out for you, and by all means the best of luck.

    I will zip up what I've done on your skin from my server, feel free to use anything of course that I've done, hope you find something you can use in the Zipped Skin.

    See ya in duh Air,

    Jimbo

  7. Yeppers,

    Thats what I found also, but I am working on an XML export and conversion table for parsing the data for a php reading format, I'm close to an answer, and will keep you guys updated, so far this has been a little complicated. But NOT without some success so far.

    Jimbo.......(aka heritage1)

  8. Thanks flyalaska, 

    that was exactly my idea for him, however with a few bells and whistles using of course the infamous <table> , <td>, <tr> etc, which will allow for columns, colors, bgcolors etc. Sorry I couldn't get back to you right away, but flyalaska definately has the right idea. 

    Jimbo

    • Like 1
  9. I would be more then willing to help you with getting started. I have some questions obviously for you before anything is concluded. Just some basic questions of course. Let me know if your still interested in some help, I've included some links to some "Customized Web Sites", I've created with phpvms from the ground up. These are built from the ground up from scratch. Long story short, phpvms once figured out, is pretty much unlimited with skinning. As the old story goes, you have to have the right tools to build your house !

    I've been a Web Master for a long time, and actually have a business on the side building sites for mostly local clients. HTML, HTML5, php, and more...... I look forward to chatting with you, as one VA to another, we are all brothers in this VA world. Thanks for your time, let me know.

    Jim Lyman

    ceo@heritageva.net

    http://heritageva.net

    http://heritageva.net/heritage1

    http://heritageva.net/bbb

    http://heritageva.net/mpd

     

  10. Saw your post, if your still looking for a Web Master, please let me know. I've included some links for some custom web sites I've created from the ground up with PHPVMS. including many custom modules and forms for a variety of different things. You can contact me via any of our web sites on our contact forms or guest book. I also have a 24/7 Team Speak server if you'd like to meet there. I'm well known across the boards here in the forums, and throughout the Flight Sim World. I'm retired, and enjoy helping new people out with getting started. Thanks.

    Jim Lyman "Jungle"

    ceo@heritageva.net

    http://heritageva.net

    http://heritageva.net/mpd

    http://heritageva.net/heritage1

    http://heritageva.net/bbb

     

  11. My apologies to the 509 Tigers, I have been in the hospital for a long time due to getting hit by a Drunk driver head on, and have been home now for 7 days trying to get back to my life of course, I would still love to get involved as mentioned in earlier messages, as I'm finally starting to feel a little better recently. Again my apologies for not contacting you sooner. I will contact your VA soon, via your site of course, and would love to chat some more, we do have a 24/7 team speak also. Hope to talk with you soon.

    Thank You, 

    Jim Lyman "Jungle" 

    ceo@heritageva.net

  12. Hi Rick,

    As a matter of fact I've figured that out, Also, a few questions first. Have you in the local.config.php  & the app.config.php files, (these 2 must match configuration wise), Set the Transfer hours to "Active" ? In doing so, what happens is transfer hours will count believe it or not in the Members hours not only from other VA's, but it also allows bonus pay and points for the Admin to easily be applied in the CP. I do have a little script I am working on that might help you, depending on what version of PHP your running, if lower then version 5.5 on your server, you can also use the Career Module here in the Forums etc. If running 5.5 or higher the module will not work.This module has physical view of total hours YTD and pay and ranks etc. It works slick, sadly I can't use it, running php version 5.6 on my server. You are more then welcome to jump on my Team Speak if you'd like, just go to the site http://heritageva.net  and you will see on the home page some tabs , one will say Team Speak , all info is there, and you can jump right in by clicking on Join Server. Would love to get together and chat and give you a hand with this, I have all the time in the world, just poke me or contact me via the site, and give me a heads up!

    Jimbo!

  13. Is your Image 24 bit or 32 bit ? There is a BIG difference in the Alpha channels. It needs to be 24 bit  as a png file relies on a 32bit transparency for an alpha channel, so the layer it looks like for the font is not showing up because its buried under a layer. Try converting to 24 bit. Let me know how you make out.

    Jimbo

  14. Interesting, always like checking out new things. But, we all have an opinion for sure. And of course I respect every ones opinion in here especially.

    On that note, I have uploaded and checked out VAM, it does have its good points, and bad points. However, I must agree with one thing, Its very limited with new modules, skins, and anything that pertains to the word = "CUSTOM" !  Sorry, but PHPVMS for sure has a Huge edge on that area, I have just recently managed to convert a complete HTML5 skin to phpvms/*.php files, on my main Domain. No, it wasn't easy, but phpvms allows you to make mistakes, and FIX them. VAM has whats called a WebConfigurator, don't ask as its Not pretty, lol. Yes, VAM can be customized, if you feel like spending weeks or months re-vamping it on the CSS and/or *.js files. Good luck, nine times out of ten that will get you into trouble. The idea of VAM is great, especially for those who really don't understand the CP. Thats a huge advantage, I think, correct me if I'm wrong, thats what this is geared up for.

    VAM Bootstrap is great, I agree with that for sure, nice look, fast, and easy navigation, I think that in the future if many of the bugs are taken out, and the allowance of us Advanced Guru's for customizing comes about, then yes, It will in my opinion Take off big time. Don't get me wrong peeps, I like it, and I like the idea, but for now, PHPVMS is still my main stay and will be for some time just because of the ability to really crawl deep and come up with something unique for your Airline. I could go on, about details, but we all know what it is, and what its not, just remember one thing in closing, sometimes the Grass isn't always greener on the other side.

    Feel free to see what I am talking about with converting and customizing skins with phpvms, I've enclosed some links below for ya all, and I will be keeping and eye on this subject, its very very interesing, thanks for letting me share people ! Hope everyone had a Good Holiday !!!!!!!

    http://heritageva.net

    http://heritageva.net/mpd

    http://heritageva.net/heritage1

    Be good all, and take care and see ya in DUH Air !! "Jimbo"

     

  15. Do you have access to your Server CGI Scripting Area ? If so, you might find yourself able to bump back down

    To PHP Version, 5.3, I've had the same errors, and have not figured out why when you upgrade, a lot of

    Modules go haywire, including most of the older modules around. I've been playing around with version

    Changes for sometime, Most of my purchased ones do work, but alot of the freeware ones do not.So, long

    Story short, if you can bump back down as long as you have nothing installed on the Server that

    Requires 5.5 or higher, be careful with this, and from the server, copy and paste your original

    CGI php.ini file to notepad for backup. All your settings are there for your Server.

    WARINING: THIS IS ADVANCED, IF UNSURE, THEN JUST DON'T DO IT!!!!!!!

  16. Was wondering if you got any help with this, there are several ways , very very easy ways of doing this.

    Below is the code for 2 Pop - Up windows you can create, and create if so desired as a page in the Admin area.

    You can also replace the Text for a popup with and image file/thumbnail to. If you have full access to your

    Server via "FileZilla" etc.... then this is made simple. Let me know how you make out or if this is what your

    Looking for, hope this helps someone !

    <button onclick="myFunction3()"><p style="font-size:130% ; color:red ; "><b>NOAA Aviation Weather</button></b></p>

    <script>

    function myFunction3() {

    window.open("http://new.aviationweather.gov/airep", "_blank", "toolbar=no, scrollbars=yes, resizable=yes, top=50, left=50, width=1100, height=500");

    }

    </script>

    NOTE: The addresses can be anything, and you can change the colors of the <p style> and the font size with % or 18px. The

    Higher the value of the percentage or px's, the larger the button. This will open up to a new window, and you can also make

    It private with changing the window.open attributes to your liking. The window.open attributes are completely changable.

    Jim

  17. Yep,

    Tried everything. However, I did break down and actually purchase a password locker software package which encrypts hard core. And has the features of

    backup along with different encryption methods of course, worth every single penny, I'm now using it faithfully for private areas in phpvms.

    I'm amazed at how easy it really is to view page sources, hence the purchase. It was worth a shot LOL, I tried.

    Thanks guys.

    Jim

  18. I've come up with this little script code for calling outside pages, and/or scripts. There is no Need to fill up the Admin pages section in phpvms anymore. You can create any html page, php, or even a graphic with this little script. Its very simple, fast an doesn't bog down the layout.php page what so ever. I use it hardcore for calling my own custom html or php files within my sites.

    For those who are even just a little advanced, there is NO limit to what you can create, I use a sub-directory "pages", and/or whatever you decide to call your custom files. As long as the directory is within the folder where your phpvms lives, then again, there is no limit.

    You do not have to worry about multiple pages within the Admin section of phpvms anymore. just call your outside custom script/pages.

    Thats it. Its very very simple. The biggest thing is making sure you place the call just before the closing of the </head>. It will not work any other way. Then after doing so, you can place the call for the actual file anywhere in the <body> area you'd like. Below is the code snippet, please read the comments carefully, and enjoy. This works great for me. Hope you guys get some use out of it, I know I do.

    Jimbo

    ceo@heritageva.net

    =========================================================================================================

    <!--Insert into the layout.php file first before calling any outside scripting
    Below initializes the call functions.This also MUST be in between the
    <head>HERE</head>. NOT the <body> See below for calling your outside pages.-->
    
    <!-- start call outside scripts-html etc pages-->
    <script type="text/javascript">
    var rootdomain="http://"+window.location.hostname
    function ajaxinclude(url) {
    var page_request = false
    if (window.XMLHttpRequest) // if Mozilla, Safari etc
    page_request = new XMLHttpRequest()
    else if (window.ActiveXObject){ // if IE
    try {
    page_request = new ActiveXObject("Msxml2.XMLHTTP")
    }
    catch (e){
    try{
    page_request = new ActiveXObject("Microsoft.XMLHTTP")
    }
    catch (e){}
    }
    }
    else
    return false
    page_request.open('GET', url, false) //get page synchronously
    page_request.send(null)
    writecontent(page_request)
    }
    function writecontent(page_request){
    if (window.location.href.indexOf("http")==-1 || page_request.status==200)
    document.write(page_request.responseText)
    }
    </script>
    <!-- end of call outside scripts initializing coding. by Jungle-->
    <!--/==============================================================================/-->
    <!--How to call your pages ! Place in <body> only, anywhere you feel it functions good.
    Do not enter a named domain, the (rootdomain makes the script call, just add the
    folders as example below-->
    EXAMPLE::::
    <script type="text/javascript">
    ajaxinclude(rootdomain+"/hva/core/pages/imenu.html") <!--you can call anything!-->
    </script>
    
    
    

×
×
  • Create New...