Jump to content

treygeboy

Members
  • Posts

    47
  • Joined

  • Last visited

Posts posted by treygeboy

  1. Hello, everyone. 

    I am trying to add a drop down box for phpvms. Under a about page. I have added the proper code and added it on the phpvms admin page. My template is different from other peoples template I have all of my sites under core_navigation.php. I attached the code for the drop down box below. Thank in advanced :). I will attach the screenshot in a reply.

     

    	// Show these if they haven't logged in yet
    	?>
        <li><a href="<?php echo url('http://www.americantoursandcharters.com/index.php/pages/aboutus'); ?>" class="link-kumya"><span data-letters="About Us">About Us</span></a></li>
            <ul> 
    			<li><a href="<?php echo url('/downloads'); ?>" class="link-kumya"><span data-letters="">Downloads</span></a></li>
                
            </ul>
        <li><a href="<?php echo url('/login'); ?>" class="link-kumya"><span data-letters="Login">Login</span></a></li>
        <li><a href="<?php echo url('/registration'); ?>" class="link-kumya"><span data-letters="Join Us">Join Us</span></a></li>

     

    Sincerely, 
    Trey

  2. Hello, 

     

    I am wondering how you can add another email to pilot manager. I have added the template of the email I want to add into the proper templates folder. I have also added the correct code for the pilot manager .php. That way it will get the template from the templates folder. The only thing I cant figure out is how to let it show up in the dropdown box on the admin page. I cannot find where it is. Any help with that will be awesome!!

    Thank you in advanced,

    Trey 

  3. 4 hours ago, TAV1702 said:

    Oh I really do understand. I am loaded right now. I just started back to school yet again and am working on opening up a new business. Permits, licenses, insurance, etc etc..... good times! Very trying times for me to say the least. So trying I have not flown a flight in a month or more and even got retired from my own va website.

    Haha ok just let me know when you have time agian. :)

  4. On 3/4/2017 at 5:59 PM, TAV1702 said:

    Sorry man. I actually have nothing to day today. Let me see if I can dig something up for you today.

    How confident are you in adding to your css files and php files? That is the first thing I might need to know so I can tell you how to do it.

    Good Sorry for the very late delay very busy

  5. 4 hours ago, TAV1702 said:

    I sure will try my best to help if able. In the mean time  would seek an alternative just in case. I have been swamped since we talked on here last and its not looking good for the rest of this week for me at bare minimum. :wacko: Good for the bank account but nothing else.

    I'll try to dig up some code and share it before tomorrow afternoon and see if it works for you if you have not already fixed the width issue.

    Nope have not thank you

  6. 13 hours ago, TAV1702 said:

    yep, that is correct. use the link I provided and you should be good to go. You don't need that extra page created in the admin panel

     

    And if we can, we need to set you up with a div for your page  and css to limit the width. as it is now that page goes coast to coast.

    Yes please I need help... I was going to ask u for help as well :)

    • Like 1
  7. 1 minute ago, TAV1702 said:

    Ohh ok I see. that is an easy fix. The link in the menu is wrong. it is heading to pages/staffapplication. that is a addon page created in the acp. We really dont need to do that. That essentially trumps the module itself.
     

    it needs to be pointed something like this:

    
    <a href="<?php echo url('/Application'); ?>">Application</a>

    Obviously the word Application After the link an d before the close can be anything from application,  pilot application, employment etc etc

    Ok so all I have to do is just put the link that the module came with... instead of creating a new page?

    • Like 1
  8. 7 hours ago, TAV1702 said:

    Hey chief, I am having an issue following where this might be. I sincerely apologize. I can never see the big picture in life. If you can, create a demo account and PM me login details so I can see it in action. Once I see it, I can surely tell you how to fix it. I got some rare down time so the sooner you can hit me with the info the sooner I can get on it for you. I would like to help resolve. B)

     

    Here is a screenshot of mine in action. I click the link to go to the application and there is nothing in between the link and the app. Everything above the application can easily be removed. As you can se, mine looks nothing like yours does I don't think , is why I am a bit confused. So please do PM me a login detail of a demo account so I can give it a look and see what is going on.

     

    UEoLstI.jpg

     

    Have a great night.

    Ray

    Yes another guy responded as well but here is a demo account.

     

    Username: ATC0033

    Password:atc123

     

    If we get this working I might ask for some more help on the drop down boxes, and other stuff to make mine more appealing because right now my application does not look as nice with the boxes around it etc. Hope this helps

    • Like 1
  9. 1 hour ago, TAV1702 said:

    By looking at this image, I have no clue where to even look. The image is very large and vague. Any chance you can show me a shot of the entire page? Obscure the personal info if any if you so choose. My apologies on this chief. I just can not figure out where this is located. I am looking at my website now for reference.

    And yeah, ti takes me forever to reply now days. Kids and life has me so dang busy I got retired from my own VA website. :wacko:

     The one circled is the monkeys to the actual application. Is there any way to skip that part. And Haha I totally understand. 

    Screenshot_2017-02-15-20-27-50.jpg

  10. 9 hours ago, ProAvia said:

    You're welcome!

    I do hope you take my suggestion to review both the php and tpl version. That will go a long way in helping you to understand the errors you may get in the future with other modules and give insight into the workings of the system.

    Ok I will do that thank you!!

  11. 26 minutes ago, ProAvia said:

    phpVMS 5.5.2 requires the php version of modules. There is a way to convert the tpl versions to php, but for now you may be better off sticking with the already converted ones. Once you have a better feel and understanding of the system, you can try your hand at converting a module.

    Here's the link to the php version of the events module: https://github.com/DavidJClark/phpVMS-Event-Booking And in looking it over quickly, it appears to have the 'public static function' in the .../core/common/EventsData.class.php file (in place of the 'public static').

    After you have the php version of events module installed, I'd suggest you compare all the file of the php version to the tpl version to see the differences. This should give you an idea of how to attempt to convert other tpl module versions to php. Do this by having all files on your local computer and possibly use Notepad++ when comparing the files.

    When you receive an error like your 3rd one, go to the folder it states and look to see if you have the file mentioned. phpVMS 5.5.2 will look for the .php file extension. So if you have the file name in the correct location, look again at the file extension - most likely you have the .tpl version instead of the .php version if you already have the module installed.

     

    That fixed it thank you !!!

  12. 22 minutes ago, ProAvia said:

    There's phpVMS 2.1.x and phpVMS 5.5.x that are publically available - Version 3 is being worked on and hasn't been released yet. Check the bottom right corner of your admin panel or admin panel, 'Site & Settings, General Settings, phpVMS Version' and let us know what exact version.

    Whether php or tpl version depends on phpVMS version.

    Have you searched the forums for 'Strict Standards' yet?

    And the phpVMS events index is a .tpl file not php so I don't know if that changes something.

  13. 7 minutes ago, ProAvia said:

    There's phpVMS 2.1.x and phpVMS 5.5.x that are publically available - Version 3 is being worked on and hasn't been released yet. Check the bottom right corner of your admin panel or admin panel, 'Site & Settings, General Settings, phpVMS Version' and let us know what exact version.

    Whether php or tpl version depends on phpVMS version.

    Have you searched the forums for 'Strict Standards' yet?

    I have phpvms 5.5.2 I have looked but all of the stuff is very confusing. 

  14. 19 minutes ago, ProAvia said:

    What version of phpVMS are you using? Probably a good idea to list that in any post asking for assistance.

    Have you searched the forums for the 'Strict Standards' error? Lots of posts about it.

    For your first two errors (line 16 and line 17), look in core/common in the EventsData.php file. Are the items listed as 'public function' or 'public static function'?

    For your third error, that's telling you that the file 'events_index.php' is not in the ... core/templates/events/ folder. Are you using the tpl or php version of the module?

    Phpvms 2 I guess the one before 3....

    And I am using php version....

     

    And public function 

  15. On 12/11/2013 at 2:07 PM, simpilot said:

    Looks like you have the wrong version of the plugin manager for the phpVMS version you are using. Try using the one under the releases tab taht uses the .tpl extension.

    Hi I am getting this error... but I have installed it just like the instruction told me...

     

    Strict Standards: Non-static method EventsData::get_upcoming_events() should not be called statically, assuming $this from incompatible context in /home/xxxxxxxx/public_html/core/modules/Events/Events.php on line 16

    Strict Standards: Non-static method EventsData::get_past_events() should not be called statically, assuming $this from incompatible context in /home/xxxxxxxx/public_html/core/modules/Events/Events.php on line 17

    Notice: The template file "/home/xxxxxxxx/public_html/core/templates/events/events_index.php" doesn't exist in /home/xxxxxxxx/public_html/core/classes/TemplateSet.class.php on line 231

  16. 6 hours ago, TAV1702 said:

    Should be in the core/templates/application folder or something like that. it is the 2 php files in that folder, I believe. I have not looked at this file in a month or so at least. Try that and in the mean time I will go look at my files

     

     

    **EDIT**

    Wait, are you trying to get the link to show up in the site navigation? Is that what you are trying to do? If so that is in core/templates/core_navigation.php

    Yes that was it thank you!! Another question, is there a way to get rid of the staff application text and just have the application itself show up instead of click on the page then clicking staff application then filling out the application?

  17. On 12/17/2016 at 1:09 PM, TAV1702 said:

    Hmm that is kind of odd. This module has no admin controls at all nor does it do anything at all with the vStaffList. All it is  is a glorified html drop down menu and email form.

    is this vStaff module you have payware or a freeware module on this site?

     

    Ahh I just saw you said it was the wrong place. You had me wondering for a minute  lol. As I said this is just a glorified drop down html menu

    Hi I am trying to add the code to a page I have all of it installed ect etc, however I cannot get the page to show up on the top of the bar where all my other pages go? Could you tell me where i can edit in the actual page layout?

  18. 4 hours ago, web541 said:

    Check to see if this is in your core/local.config.php file (if not, then try app.config.php)

    
    /*  These are pilot statuses which can be selected in
        the admin panel. I would be weary of changing these!
        Though you can safely change the name or messages or tweak
        the additional settings provided
     */
    Config::Set('PILOT_STATUS_TYPES', array(
        /* DO NOT CHANGE THIS ACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */
        0 => array(
            'name' => 'Active',             # The title to show in the dropdown
            'message' => '',                # Message to show if they can't login (below is false)
            'default' => true,              # Should this be their default status?
            'canlogin' => true,             # Are they allowed to log in
            'active' => true,               # Are they an active pilot?
            'autoretire' => false,          # Use this status for the auto-retire functionality
            'group_add' => array(           # ID or name of the group this user is added to with this status
                'Active Pilots',
            ),
            'group_remove' => array(        # ID or name of the groups this user is removed from with this status
                'Inactive Pilots',
            ),
        ),
        /* DO NOT CHANGE THIS INACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */
        1 => array(
            'name' => 'Inactive',
            'message' => 'Your account was marked inactive',
            'default' => false,
            'canlogin' => false,
            'active' => false,
            'autoretire' => false,
            'group_add' => array(
                'Inactive Pilots',
            ),
            'group_remove' => array(
                'Active Pilots',
            ),
        ),
        2 => array(
            'name' => 'Banned',
            'message' => 'Your account is banned, please contact an admin!',
            'default' => false,
            'canlogin' => false,
            'active' => false,
            'autoretire' => false,
            'group_add' => array(
                'Inactive Pilots',
            ),
            'group_remove' => array(
                'Active Pilots',
            ),
        ),
        3 => array(
            'name' => 'On Leave',
            'message' => 'You have been marked as on leave',
            'default' => false,
            'canlogin' => true,
            'active' => false,
            'autoretire' => true,
            'group_add' => array(
                'Inactive Pilots',
            ),
            'group_remove' => array(
                'Active Pilots',
            ),
        ),
    ));

    And replace your block with that one and it shouldn't allow active and banned pilots to log in.

    Ok I got it it was in app.config.php thank you very much very helpful!!

  19. 8 minutes ago, web541 said:

    Check to see if this is in your core/local.config.php file (if not, then try app.config.php)

    
    /*  These are pilot statuses which can be selected in
        the admin panel. I would be weary of changing these!
        Though you can safely change the name or messages or tweak
        the additional settings provided
     */
    Config::Set('PILOT_STATUS_TYPES', array(
        /* DO NOT CHANGE THIS ACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */
        0 => array(
            'name' => 'Active',             # The title to show in the dropdown
            'message' => '',                # Message to show if they can't login (below is false)
            'default' => true,              # Should this be their default status?
            'canlogin' => true,             # Are they allowed to log in
            'active' => true,               # Are they an active pilot?
            'autoretire' => false,          # Use this status for the auto-retire functionality
            'group_add' => array(           # ID or name of the group this user is added to with this status
                'Active Pilots',
            ),
            'group_remove' => array(        # ID or name of the groups this user is removed from with this status
                'Inactive Pilots',
            ),
        ),
        /* DO NOT CHANGE THIS INACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */
        1 => array(
            'name' => 'Inactive',
            'message' => 'Your account was marked inactive',
            'default' => false,
            'canlogin' => false,
            'active' => false,
            'autoretire' => false,
            'group_add' => array(
                'Inactive Pilots',
            ),
            'group_remove' => array(
                'Active Pilots',
            ),
        ),
        2 => array(
            'name' => 'Banned',
            'message' => 'Your account is banned, please contact an admin!',
            'default' => false,
            'canlogin' => false,
            'active' => false,
            'autoretire' => false,
            'group_add' => array(
                'Inactive Pilots',
            ),
            'group_remove' => array(
                'Active Pilots',
            ),
        ),
        3 => array(
            'name' => 'On Leave',
            'message' => 'You have been marked as on leave',
            'default' => false,
            'canlogin' => true,
            'active' => false,
            'autoretire' => true,
            'group_add' => array(
                'Inactive Pilots',
            ),
            'group_remove' => array(
                'Active Pilots',
            ),
        ),
    ));

    And replace your block with that one and it shouldn't allow active and banned pilots to log in.

    Where should I change to start true to allow them to log in... which area?

  20. 1 minute ago, web541 said:

    Check to see if this is in your core/local.config.php file (if not, then try app.config.php)

    
    /*  These are pilot statuses which can be selected in
        the admin panel. I would be weary of changing these!
        Though you can safely change the name or messages or tweak
        the additional settings provided
     */
    Config::Set('PILOT_STATUS_TYPES', array(
        /* DO NOT CHANGE THIS ACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */
        0 => array(
            'name' => 'Active',             # The title to show in the dropdown
            'message' => '',                # Message to show if they can't login (below is false)
            'default' => true,              # Should this be their default status?
            'canlogin' => true,             # Are they allowed to log in
            'active' => true,               # Are they an active pilot?
            'autoretire' => false,          # Use this status for the auto-retire functionality
            'group_add' => array(           # ID or name of the group this user is added to with this status
                'Active Pilots',
            ),
            'group_remove' => array(        # ID or name of the groups this user is removed from with this status
                'Inactive Pilots',
            ),
        ),
        /* DO NOT CHANGE THIS INACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */
        1 => array(
            'name' => 'Inactive',
            'message' => 'Your account was marked inactive',
            'default' => false,
            'canlogin' => false,
            'active' => false,
            'autoretire' => false,
            'group_add' => array(
                'Inactive Pilots',
            ),
            'group_remove' => array(
                'Active Pilots',
            ),
        ),
        2 => array(
            'name' => 'Banned',
            'message' => 'Your account is banned, please contact an admin!',
            'default' => false,
            'canlogin' => false,
            'active' => false,
            'autoretire' => false,
            'group_add' => array(
                'Inactive Pilots',
            ),
            'group_remove' => array(
                'Active Pilots',
            ),
        ),
        3 => array(
            'name' => 'On Leave',
            'message' => 'You have been marked as on leave',
            'default' => false,
            'canlogin' => true,
            'active' => false,
            'autoretire' => true,
            'group_add' => array(
                'Inactive Pilots',
            ),
            'group_remove' => array(
                'Active Pilots',
            ),
        ),
    ));

    And replace your block with that one and it shouldn't allow active and banned pilots to log in.

    Ok thano you I will look!!

×
×
  • Create New...