Jump to content

CapitalConnectVirtualGroup

Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by CapitalConnectVirtualGroup

  1. This is more complex than expected.

    The whole file reads:

    [/size]
    <?php
    ///////////////////////////////////////////////
    ///Rules and Regulations v1.2 by php-mods.eu///
    ///		 Author php-mods.eu		 ///
    ///		 Packed at 11/2/2015		 ///
    ///	 Copyright (c) 2015, php-mods.eu	 ///
    ///////////////////////////////////////////////
    class Ruleregs extends CodonModule {
    public function index()
    {
    $this->set('category', RuleregsData::getAllRuleCat());
    $this->render('ruleregs.php');
    }
    }
    

  2. Hey all!

    I'm back with another nooby question.

    My homepage is having some "things" added - I'm using bootstrap elements with some features from a template on it - all's good.

    I'm trying to style the page first and then add content.

    My footer is appearing halfway across the site. Which is odd.

    And the font's have changed. And the dimensions - it looks like a CSS error, I can't resolve it. Ugh.

    Now, I'm probably stupid, but I can't seem to resolve it.

    ccg_broken_home.pngBut, below, is how the page should appear- obviously this is without the homepage additions, but its the template working correctly.

    How_It_Should_Loo.pngSo, can anybody assist? Yes I created the site myself using an internet template then adding my features, still no effect on it.

  3. But with that added I get Parse error: syntax error, unexpected '<' in /home/ccvgnet/public_html/pilots/lib/skins/iceair/layout.php on line 58

    even though the only < is the <li> and <a href="..."> blah blah blah

    EDIT: Fixed by using

    <?php
    
    if(Auth::LoggedIn())    {
    echo '<li><a href="http://pilots.ccvg.net/index.php/Login/logout"/>Log Out</a></li>';
    }
    else   {
    echo '<li><a href="http://pilots.ccvg.net/index.php/Login">Login</a></li>';
    echo '<li><a href="http://pilots.ccvg.net/index.php/Registration/">Join Us</a></li>';
    }
    ?>
    

  4. Hey guys,

    So I'm new to skinning, and am basically needing assitance! Can anybody tell me the code/provide me with a snippet for the login link? I've got a screenshot to put it into context - basically, if pilot is logged out, display login button, if logged in display logout button etc etc.

    I assume the principle for an Admin Centre Link is the same too..

    snippet.png

    I've already added the buttons, I'm working on menu bar before I add it to the main "template" file as I always do, hence the lack of a detailed screenie!

    Thanks in advance!

    Regards,

    Damon

  5. Fatal error: Call to undefined method CodeShareData::save_new_codeshare() in /public_html/pilots/admin/modules/CodeShare_admin/CodeShare_admin.php on line 66

    Think it was a bad choice upgrading to v 5.5.2 of PHPVMS and the php version ;-)

    It's not writing codeshares..

  6. Probably a simple issue, but I run a newer version of PHPVMS and so most things are PHP and not TPL. In admin end, I get this :

    Strict Standards: Non-static method CodeShareData::get_upcoming_codeshares() should not be called statically, assuming $this from incompatible context in /public_html/pilots/admin/modules/CodeShare_admin/CodeShare_admin.php on line 28

    Strict Standards: Non-static method CodeShareData::get_past_codeshare() should not be called statically, assuming $this from incompatible context in /public_html/pilots/admin/modules/CodeShare_admin/CodeShare_admin.php on line 29

    I'm probably being very stupid here, but is there an easy way to resolve? I did omit the path to my public html folder in the copy and paste, as I'm just like that ;-)

    Thanks

    -Damon

  7. To get kACARS, You have to buy it at fsproducts website. It gets customised to your VA's colours by the software developers. http://www.fs-products.net/index.php/kacars-custom

    "The standard package is $40.00 USD. This standard package includes everything available in the free version plus the following.

    • More flight logging data
    • Pilot to Pilot chat (MySQL based - No extra charges and not dependent upon FS-Products)
    • Online Pilots listing
    • Web browser

    To reduce the initial investment the chat/online pilot can be removed for a savings of $5.00 USD and then web browser can also be removed for a savings of $2.00 USD. These can be activated again at any time. Or they can be turned off at any time."

  8. Its an issue with IP.Board, the VATSIM-UK forums had the same exploit a couple of months back. Theres some patch, but I think the server admins might need to look for the patch for this.

    On my iPhone it works good, on Android not.

    Me too, using Android.

    Josh

    Same for me, Android only.

  9. Good Evening All

    On installing PHPVMS on my WAMP desktop server for skin/module development, I recieved an error message. I have searched forums and tried the fixes mentioned, so I am aware. I now have the following issues.

    ( ! ) Fatal error: Cannot re-assign auto-global variable _FILES in E:\wamp\www\ccvg\phpvms\core\common\PilotData.class.php on line 436 Call Stack # Time Memory Function Location 1 0.0085 256096 {main}( ) ..\index.php:0 2 0.0135 301920 include( 'E:\wamp\www\ccvg\phpvms\core\codon.config.php' ) ..\index.php:40 3 0.2955 952088 pre_module_load( ) ..\codon.config.php:121 4 0.3185 1157000 Auth::StartAuth( ) ..\bootstrap.inc.php:34 5 0.3305 1241416 spl_autoload_call ( ) ..\bootstrap.inc.php:106 6 0.3305 1241448 codon_autoload( ) ..\bootstrap.inc.php:0

    Any ideas on how to fix this? I have tried a reinstall and also have managed to get visible pages on homepage

    Kind Regards

    Damon

×
×
  • Create New...