PDA

View Full Version : Broken Link in "LeaderBoard"


NOCTURNES
04-26-2011, 12:57 AM
Hello when you go to forums/arcade and click on leaderboard we get a 404 Error page not found, why is that? :

http://www.ultimate-chatzone.com/arcade.php?&act=Arcade&module=league

Its missing the /forums/ like this: http://www.ultimate-chatzone.com/forums/arcade.php?&act=Arcade&module=league

how can i fix this please?

https://vborg.vbsupport.ru/external/2011/04/14.jpg

Where its broken ^^

Hippy
04-26-2011, 10:21 PM
this mod is not part of the ibproaracde ..
But
If you go into your admincp ..
and open up your Plugins & Products
then click Plugin manager
find
Navbar Arcade Tab


and replace the contents with this code


$tabselected = '';
$tablinks = '';
if (THIS_SCRIPT == 'arcade')
{
$vbulletin->options['selectednavtab']='arcade';
$tabselected = ' class="selected"';
$tablinks = ' <ul class="floatcontainer">
<li><a href="arcade.php?&act=Arcade&module=league">Leaderboard</a></li>

<li><a href="arcade.php?&do=viewtournaments">Tournament</a></li>



<li><a href="arcade.php?&act=Arcade&do=createtourney">Create New Tournament</a></li>';

if (!is_member_of($vbulletin->userinfo, 1))
{
$tablinks .= '<li class="popupmenu">
<a href="javascript://" class="popupctrl">Misc. Menu</a>
<ul class="popupbody popuphover">
<li><a href="arcade.php?&act=Arcade&module=settings">Settings</a></li>
<li><a href="arcade.php?&act=Arcade&module=favorites">Favorites</a></li>
<li><a href="arcade.php?&act=Arcade&module=report">Rankings</a></li>
</ul></li>';
}

$tablinks .= '<li class="popupmenu">
<a href="javascript://" class="popupctrl">Categories Menu</a>
<ul class="popupbody popuphover">

<li><a href="arcade.php?&act=Arcade&cat=6">Strategy</a></li>

<li><a href="arcade.php?&act=Arcade&cat=8">Casino</a></li>

<li><a href="arcade.php?&act=Arcade&cat=3">Sports</a></li>

<li><a href="arcade.php?&act=Arcade&cat=5">Space</a></li>

<li><a href="arcade.php?&act=Arcade&cat=7">Car/Bike</a></li>

<li><a href="arcade.php?&act=Arcade&cat=4">Adults</a></li>

<li><a href="arcade.php?&act=Arcade&cat=1">All Games</a></li>

</ul>
</li>

</ul> ';




}
$template_hook['navtab_middle'] .= '<li'.$tabselected.'><a class="navtab" href="arcade.php">Arcade</a>'.$tablinks.'</li>' ;

will fix the problem..

NOCTURNES
04-26-2011, 11:00 PM
this mod is not part of the ibproaracde ..
But
If you go into your admincp ..
and open up your Plugins & Products
then click Plugin manager
find
Navbar Arcade Tab


and replace the contents with this code


$tabselected = '';
$tablinks = '';
if (THIS_SCRIPT == 'arcade')
{
$vbulletin->options['selectednavtab']='arcade';
$tabselected = ' class="selected"';
$tablinks = ' <ul class="floatcontainer">
<li><a href="arcade.php?&act=Arcade&module=league">Leaderboard</a></li>

<li><a href="arcade.php?&do=viewtournaments">Tournament</a></li>



<li><a href="arcade.php?&act=Arcade&do=createtourney">Create New Tournament</a></li>';

if (!is_member_of($vbulletin->userinfo, 1))
{
$tablinks .= '<li class="popupmenu">
<a href="javascript://" class="popupctrl">Misc. Menu</a>
<ul class="popupbody popuphover">
<li><a href="arcade.php?&act=Arcade&module=settings">Settings</a></li>
<li><a href="arcade.php?&act=Arcade&module=favorites">Favorites</a></li>
<li><a href="arcade.php?&act=Arcade&module=report">Rankings</a></li>
</ul></li>';
}

$tablinks .= '<li class="popupmenu">
<a href="javascript://" class="popupctrl">Categories Menu</a>
<ul class="popupbody popuphover">

<li><a href="arcade.php?&act=Arcade&cat=6">Strategy</a></li>

<li><a href="arcade.php?&act=Arcade&cat=8">Casino</a></li>

<li><a href="arcade.php?&act=Arcade&cat=3">Sports</a></li>

<li><a href="arcade.php?&act=Arcade&cat=5">Space</a></li>

<li><a href="arcade.php?&act=Arcade&cat=7">Car/Bike</a></li>

<li><a href="arcade.php?&act=Arcade&cat=4">Adults</a></li>

<li><a href="arcade.php?&act=Arcade&cat=1">All Games</a></li>

</ul>
</li>

</ul> ';




}
$template_hook['navtab_middle'] .= '<li'.$tabselected.'><a class="navtab" href="arcade.php">Arcade</a>'.$tablinks.'</li>' ;

will fix the problem..

Wonderful! Problem solved! :p