vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   RedBar Style (https://vborg.vbsupport.ru/showthread.php?t=177285)

markbolyard 05-12-2008 03:18 PM

It would be in your footer template. look for this code:

Code:

        <td class="tfoot" align="$stylevar[right]" width="100%">
                <div class="smallfont">
                        <strong>
                                <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> -</if>
                                <if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
                                <if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
                                <if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
                                <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
                                <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
                                <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
                        </strong>
                </div>
        </td>


hitmann 05-14-2008 07:05 PM

Quote:

Originally Posted by markbolyard (Post 1517304)
Code:

        <td class="tfoot" align="$stylevar[right]" width="100%">

That's 100% of which table?

How do I setup the space between the forum and the wrapper?

markbolyard 05-15-2008 01:41 PM

That is 100% of the table that contains those lengths. Since that table is contained in the main page table, depending on what you set your forum width at, this table will expand to 100% of the page table. If you want to manually adjust the width of just the links section in the footer, then change the 100% value to either a new % or a fixed pixel width.

mknapik 05-16-2008 12:26 PM

Installed. Thanks.

Are there plans for a BlueBar sister style?

markbolyard 05-16-2008 12:33 PM

Not at this time. Honestly this was one of the first styles I released and I wasn't that impressed with it. Alot of people here seem to like it, but I don't have plans to make any additional color selections of this style, sorry.

UK-Biker 05-24-2008 08:07 AM

Hi Mark

Another great style.

How do I add links to Navbar template.

I normally look for

Code:

<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
        <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
        <tr align="center">

And add after

Code:

<td class="vbmenu_control"><a href="link.php">Link1</a></td>
<td class="vbmenu_control"><a href="link.php">Link2</a></td>
<td class="vbmenu_control"><a href="link.php">Link3</a></td>
<td class="vbmenu_control"><a href="link.php">Link4</a></td>

etc etc

But your navbar template is different, which has thrown me.

Also, I have done the 100% width for fluid pages, but the navbar needs to be 100% aswell. So I need to alter the code that calls redbar/elements/catsub.jpg etc. to stretch navbar across the page.

Any help appreciated.

:D

UK-Biker 05-24-2008 08:48 AM

Right. So far managed to set navbar 100% width.

UK-Biker 05-24-2008 09:01 AM

Links I normally use just won't work, so I need to know how to add a link to navbar preferrably using usergroup permissions.
(unlike the way I normally do it)

I need to add links for photoplog, all-albums and some custom html pages.

Obviously I know all the links I need, just not how to code them in ie; all-albums.php, /Photoplog, mypage.html etc etc

UK-Biker 05-25-2008 06:11 AM

OK. All sorted I think.

Modified the header template and added this for each new link


Code:

<if condition="$bbuserinfo['usergroupid'] == '2' OR $bbuserinfo['usergroupid'] == '6' OR $bbuserinfo['usergroupid'] == '7'"><a href="mylinkcode.php">My Link</a>&nbsp;&nbsp;
</if>


Seems to be working ok

metin 05-28-2008 08:27 AM

nice skin thanx...


All times are GMT. The time now is 08:55 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.02135 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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