vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   acade has dissapeared (https://vborg.vbsupport.ru/showthread.php?t=168369)

Mancunian_Red 01-21-2008 01:12 PM

acade has dissapeared
 
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 [DATE]1200931278[/DATE] at [TIME]1200931278[/TIME] ---------------

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:

Code:

<!-- 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:

Code:

<!--    <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.

Code:

<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:

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

Quote:

Originally Posted by vB Crew (Post 1426109)
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:
Code:

<td class="alt5"><a href="arcade.php">Arcade</a></td>
Or something near it. Preferrably after
Code:

Member List/Search/whatever</a></td>

vB Crew 01-28-2008 06:31 PM

Quote:

Originally Posted by Mancunian_Red (Post 1430748)

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,

Code:

        <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Add the arcade link above it.


All times are GMT. The time now is 06:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01739 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete