Jump to content

Brilliance v1 With jQuery Pilot Center


monkeypaw201

Recommended Posts

  • 2 weeks later...

why does not the online display at this skin, there is always an error, someone knows how to fix this error

the error is

Pilots Online

Warning: Invalid argument supplied for foreach() in /var/www/web128640/html/lib/skins/brilliancev1/layout.tpl on line 405

Guests Online

Currently 0 guest(s) visiting.

this is the original Code

<h4>Pilots Online</h4>

<?php

$shown = array();

foreach($usersonline as $pilot)

{

if(in_array($pilot->pilotid, $shown))

continue;

else

$shown[] = $pilot->pilotid;

echo "<p>";

echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />';

echo " {$pilot->firstname} {$pilot->lastname}<br />";

echo "</p>";

}

?>

<h4>Guests Online</h4>

<p class="txt-red10">Currently

<?php echo count($guestsonline);?>

guest(s) visiting.

</ul>

can someone help me

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

If the menu comes with its own css, just upload the css to your site and link to it where all the other links are at the top of the layout.tpl

Next look for where the other menu's code is located (in layout.tpl) it probably says something like Template::Show('core_navigation.tpl');

in php tags. Remove that and paste your menu there. (Make sure that you make a backup of the layout.tpl before editing it so you still have it in case you have to revert back to it if the other menu isn't working.

Link to comment
Share on other sites

I have the same problem with this too....

why does not the online display at this skin, there is always an error, someone knows how to fix this error

the error is

Pilots Online

Warning: Invalid argument supplied for foreach() in /var/www/web128640/html/lib/skins/brilliancev1/layout.tpl on line 405

Guests Online

Currently 0 guest(s) visiting.

this is the original Code

<h4>Pilots Online</h4>

<?php

$shown = array();

foreach($usersonline as $pilot)

{

if(in_array($pilot->pilotid, $shown))

continue;

else

$shown[] = $pilot->pilotid;

echo "<p>";

echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />';

echo " {$pilot->firstname} {$pilot->lastname}<br />";

echo "</p>";

}

?>

<h4>Guests Online</h4>

<p class="txt-red10">Currently

<?php echo count($guestsonline);?>

guest(s) visiting.

</ul>

can someone help me

Link to comment
Share on other sites

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

It seems the template messes up the spacing for the pilot tables. Looking at VA's others posted here they've run into the same problem. I don't see any specific styling regarding tables in the css. Anyone worked around this?

Thanks.

Fixed it. The skin is lacking the CSS formatting for the tables.

Link to comment
Share on other sites

  • 6 months later...
  • 3 weeks later...
  • 1 month later...
  • 2 weeks later...
  • 4 weeks later...
  • 1 month later...

As was pointed out earlier in this thread, the author ported this template and uploaded it without permission from the original author. It is a paid template. Once he was busted out for ripping off templates, he took down his site and has not been heard from since. I have looked through my files and I no longer have the original. Mine is so edited and reworked, only the colors and images remain as default. All the rest is completely different...... in it's own kind of way.

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...
  • 2 years later...
  • 3 years 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...