PDA

View Full Version : acade has dissapeared


Mancunian_Red
01-21-2008, 01:12 PM
i updated my skin to a different one but now the arcade link has gone fromthe navbar any ideas how i get it back? i know its a newbie question but i am a newbie sorry if this is wrong section

nexialys
01-21-2008, 01:18 PM
this is simple... take back the archive containing the arcade script, and read the docs for installation... there will be a detail on how to add the arcade link in your navbar.

Mancunian_Red
01-21-2008, 01:19 PM
thanks for a quick response will do that now

--------------- Added 1200931278 at 1200931278 ---------------

ok done that but in the install it says find something in my navbar template and its no where to be found so i pasted it in somewhere near the top of the template now i have a white arcade text link under my navbar and it looks odd as it don't match the colour of the forum if im allowed to post a link i will so you can see what im working with?

slappy
01-21-2008, 06:28 PM
Generally, things in the navbar, in the form of actual "buttons," go in the section which starts with:


<!-- nav buttons bar -->

For example, the first entry in a stock 3.6.8 navbar for this section is:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>


This is the code for the "button" which appears on the far left of the navbar as "Register" if you are not logged in, and "UserCP" if you are logged in.

Unless you have Projects and/or Blogs installed, the next "stock" button would be:


<!-- <td class="vbmenu_control"><a href="faq.php?$session[sessionurl]" ">$vbphrase[faq]</a></td> -->


And so on across the list.

What you should notice, is that each entry has the following configuration: a reference to a .php file and a $vbphrase.


<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]" accesskey="5">$vbphrase[faq]</a></td> -->


This one happens to be to the FAQ.

I would assume, without having seen your Arcade addon, that it would have similar language to add it's link to the navbar. This is just a sample, but probably looks something similar to your navbar code:


<td class="vbmenu_control"><a href="arcade.php$session[sessionurl_q]">$vbphrase[Arcade]</a></td>


Technically, I would believe you could put your navbar link to the Arcade in any position along the navbar that you want, as long as the <a href=" finds your php file for the Arcade and the $vbphrase listing contains the "text" which shows on the navbar.

You can adjust it's position shown on the navbar by where you place it among the existing code list of "buttons" already on the navbar.

Again, this is just general information on how the navbar is configured, without seeing the code for your Arcade plugin.

Hope that helps.

Regards,

vB Crew
01-21-2008, 07:27 PM
Some designers put the navbar buttons in the header template. What is the link to your site?

Freesteyelz
01-22-2008, 12:24 AM
@slappy:

Please wrap the codes in the code tag.

slappy
01-22-2008, 01:45 AM
My Bad! :erm:

Code wrapped in code tags now. ;)

Regards,

Mancunian_Red
01-28-2008, 10:31 AM
Some designers put the navbar buttons in the header template. What is the link to your site?
http://www.techwars.co.uk

cheat-master30
01-28-2008, 10:43 AM
I am assuming then the code must be in the header template, since the links are right at the top of your forum, even in the coding. Look for this in a template search:

memberlist.php

And then add:
<td class="alt5"><a href="arcade.php">Arcade</a></td>

Or something near it. Preferrably after Member List/Search/whatever</a></td>

vB Crew
01-28-2008, 06:31 PM
http://www.techwars.co.uk

This is in your header template. The original arcade hack always looked for the calendar in the navbar template and added the arcade link above it.

Look for this in the header template,

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

Add the arcade link above it.

Mancunian_Red
01-30-2008, 04:03 PM
thanks chaps got this sorted with your help keep up the good work guys