vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to i add links to this? (https://vborg.vbsupport.ru/showthread.php?t=209335)

Deadlysinsx 03-24-2009 08:39 PM

how to i add links to this?
 
i got green fox skin and i want to no how to add links to the top as in this pic i want to add arcade and armysystem to it

https://vborg.vbsupport.ru/external/2009/03/45.jpg


Thanks in advance

dai-kun 03-24-2009 08:52 PM

Depending on where your navbar code is, either in HEADER template or NAVBAR, most like HEADER template for the greenfox that you're using.

Find the section of code that's similar to
Code:

<td class="vbmenu_option"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
Copy and paste the code in which you have in your template and edit it as you need.

The code in red may be different depending on your template style, change it match the other td class=(what you have in your template)
The code in blue is the url relative to your forum directory. For example, "gallery.php" for a file or "/gallery" for a directory
The code in green is the TEXT that you want it to show. For example, you can replace it to "GALLERY" or something else.

mrtroybaker 03-24-2009 08:53 PM

Quote:

Originally Posted by Deadlysinsx (Post 1776127)
i got green fox skin and i want to no how to add links to the top as in this pic i want to add arcade and armysystem to it

https://vborg.vbsupport.ru/external/2009/03/45.jpg


Thanks in advance


Goto style manager. In your header box your going to see all the code. I just copied a link then changed it to what I wanted and pasted it in the code where I wanted the link to show up.

<a rel="help" href="http://www.cafepress.com/reptileplanet" accesskey="5">MRP Gear</a>

Paste that in your code. Changing the info of coarse.

Prob not the best way to do it but its works

dai-kun 03-24-2009 08:59 PM

Quote:

Originally Posted by mrtroybaker (Post 1776138)
Prob not the best way to do it but its works

It's the only way to do it (unless you use plugin which is unnecessary)

Deadlysinsx 03-25-2009 04:16 PM

didnt work :(

Deadlysinsx 09-02-2009 04:26 AM

ok well i started my site again and i need the Code =/

Here is my Header


Code:

<!-- logo -->
<a name="top"></a>
<!-- <div class="side_borders"> -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="tborder">
<tr>
        <td align="center" valign="top">

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr class="header_bg">
        <td align="$stylevar[left]" valign="middle"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

       
                <td align="$stylevar[right]" id="header_right_cell">
        <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    </td>
               
       
</tr>
<tr>
<td height="34" colspan="2" class="vb_navigation">

<!-- nav buttons bar -->

        <table  cellpadding="0" cellspacing="0" border="0"  align="left" class="vb_navigation">
        <tr align="center">
                <if condition="$show['member']">
                        <td width="78" height="34"  class="css_nav"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td width="78" height="34"  class="css_nav"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
                </if>
 $template_hook[navbar_buttons_left]
<if condition="$vbulletin->products['vbprojecttools']"><td width="78" height="34"  class="css_nav"><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></td></if>
<if condition="$vbulletin->products['vbblog']"><td width="78" height="34"  class="css_nav"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td></if>
                <td width="78" height="34"  class="css_nav"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
                <td width="78" height="34"  class="css_nav"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[vb_members_list]</a></td>
                <td width="78" height="34"  class="css_nav"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
                <if condition="$show['popups']">               
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td width="78" height="34"  class="css_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[vb_new_posts_nav]</a></td>
                                <else />
                                <td width="78" height="34"  class="css_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[vb_todays_posts]</a></td>
                                </if>
                                <td id="navbar_search" width="78" height="34" class="css_nav"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", 1); </script></if></td>
                        </if>
                        <if condition="$show['member']">
                                <td id="usercptools" width="78" height="34" class="css_nav"><a href="$show[nojs_link]#usercptools">$vbphrase[vb_quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools", 1); </script></td>               
                        </if>
                <else />               
                        <if condition="$show['searchbuttons']">
                                <td width="78" height="34"  class="css_nav"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>

                                <if condition="$show['member']">
                                <td width="78" height="34"  class="css_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td width="78" height="34"  class="css_nav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>

                                </if>
                        </if>
                        <td width="78" height="34"  class="css_nav"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
                        <if condition="$show['member']">                       
                                <td width="78" height="34"  class="css_nav"><a href="#" onClick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>                       
                        </if>                       
                </if>
$template_hook[navbar_buttons_right]
                <if condition="$show['member']">
                        <td width="78" height="34"  class="css_nav"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
                </if>
                <td width="8" height="34" align="left"><img src="$stylevar[imgdir_misc]/nav_final.gif" width="8" height="34" alt="" border="0" /></td>
        </tr>
        </table>

<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
$ad_location[ad_header_end]


Lynne 09-02-2009 01:52 PM

You should be asking for assistance from the skin designer.

Deadlysinsx 09-02-2009 04:17 PM

ehhh i was hopping someone here could help out =/

Lynne 09-02-2009 04:26 PM

Well, the nav buttons are pretty well commented in your code. Just copy a line and change the url and text:
HTML Code:

<td width="78" height="34"  class="css_nav"><a href="xxxxx.php$session[sessionurl_q]" accesskey="5">yyyyyyy</a></td>

euantor 09-02-2009 05:35 PM

Well, I actually have this skin, so i can help you. You need to edit the template "HEADER".

Find:

Code:

                $template_hook[navbar_buttons_right]
After that add this:

Code:

<td width="85" height="34"  class="css_nav"><a href="http://www.360elites.net/gxboxlive.php">XBL</a></td>
All you have to do is change the place the link links to and the title of the link.

This method will add the links to the end of the navbar by the way.


All times are GMT. The time now is 09:32 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.02828 seconds
  • Memory Usage 1,776KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_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