vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Sidebar Column (https://vborg.vbsupport.ru/showthread.php?t=204773)

s-p0k 12-08-2009 02:58 AM

1 Attachment(s)
Quote:

Originally Posted by GSA (Post 1926813)
I got this working on the left, anybody know how I can get this to work on the right?

hope this helps..works on all my themes..3.8.4

ggr80 12-09-2009 05:31 AM

I would like to change the colour of the font that shows the results next to the bars is black atm and as i have a black background you cant see it, could someone please assist me.

ggr80 12-09-2009 05:34 AM

also how would i get my upcoming events into the side bar

cheers retta

SVTCobraLTD 12-09-2009 04:22 PM

Quote:

Originally Posted by ggr80 (Post 1927645)
also how would i get my upcoming events into the side bar

cheers retta

I would like that as well. Also, the poll is not working.

goycarden 12-10-2009 07:45 PM

How can I change the section-titles ?

Burleson 01-12-2010 08:51 PM

Quote:

Originally Posted by ggr80 (Post 1927645)
also how would i get my upcoming events into the side bar

cheers retta

I really need that functionality.

DZaidle 01-12-2010 09:40 PM

Quote:

Originally Posted by Burleson (Post 1953903)
I really need that functionality.

I don't know if this will help you, but here is the sidebar code I use to place ads and external links in the left sidebar. The code is the complete Header template as modified.

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><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>
</table>
<!-- /logo -->


<!-- SIDEBAR CODE ADDED -->

<table width="$stylevar[outertablewidth]" border="0" cellpadding="0" cellspacing="0" align="center">
        <tr>

        <td width="150" valign="top" class="page" style="padding: $stylevar[cellpadding]px;">





<! ADVERTISEMENT CODE HERE >

<! -CONTEXTUAL AD PLACEMENT- >

<script type="text/javascript">
var forumnumber="$foruminfo[forumid]";

// -HUNTING

if (forumnumber=="5")  document.write("<a href='http://www.tinks69.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/HUNTING/left_side1.jpg'  width='180'/></a>");

else if (forumnumber=="7") document.write("<a href='http://www.excaliburcrossbows.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/HUNTING/left_side3.jpg' height='460' width='180'/></a>");

else if (forumnumber=="11") document.write("<a href='http://www.cz-usa.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/HUNTING/left_side2.jpg'  width='180'/></a>");

// -FISHING

else if (forumnumber=="4") document.write("<a href='http://www.coveharbormarina.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/FISHING/left_side1.jpg'  width='180'/></a>");

else if (forumnumber=="3")  document.write("<a href='http://www.huffmarine1955.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/FISHING/left_side2.jpg'  width='180'/></a>");

else if (forumnumber=="19")  document.write("<a href='http://www.lmcboats.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/FISHING/left_side3.jpg'  width='180'/></a>");

// -GENERAL

else document.write("<a href='http://www.arcticcat.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/left_side1.jpg' width='180'/></a>");


</script>

<! /-CONTEXTUAL AD PLACEMENT- >

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*






<!-- LINKS -->

<table border="1"; frame="box"; width="180">
<tr>
<th style="font-size:14pt; family:Veranda; color:green">Links</th>
</tr>

<tr><td  align="center"><a href="http://www.tpwd.state.tx.us" target="_blank"; style="color:blue; font-size:10pt; font-family:'Franklin Gothic Demi';">Texas Parks & Wildlife Dept.</a></td></tr>

<tr><td  align="center"><a href="http://www.fws.gov" target="_blank"; style="color:blue; font-size:10pt; font-family:'Franklin Gothic Demi';">U.S. Fish & Wildlife Service</a></td></tr>

<tr><td  align="center"><a href="http://www.noaa.gov" target="_blank"; style="color:blue; font-size:10pt; font-family:'Franklin Gothic Demi'">NOAA</a></td></tr>

</table>
<!-- /LINKS -->







<! /ADVERTISEMENT CODE HERE >


</td>



        <td valign="top">
<!-- /SIDEBAR CODE ADDED -->


<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]


Burleson 01-13-2010 01:37 PM

Quote:

Originally Posted by DZaidle (Post 1953940)
I don't know if this will help you, but here is the sidebar code I use to place ads and external links in the left sidebar. The code is the complete Header template as modified.

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><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>
</table>
<!-- /logo -->


<!-- SIDEBAR CODE ADDED -->

<table width="$stylevar[outertablewidth]" border="0" cellpadding="0" cellspacing="0" align="center">
        <tr>

        <td width="150" valign="top" class="page" style="padding: $stylevar[cellpadding]px;">





<! ADVERTISEMENT CODE HERE >

<! -CONTEXTUAL AD PLACEMENT- >

<script type="text/javascript">
var forumnumber="$foruminfo[forumid]";

// -HUNTING

if (forumnumber=="5")  document.write("<a href='http://www.tinks69.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/HUNTING/left_side1.jpg'  width='180'/></a>");

else if (forumnumber=="7") document.write("<a href='http://www.excaliburcrossbows.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/HUNTING/left_side3.jpg' height='460' width='180'/></a>");

else if (forumnumber=="11") document.write("<a href='http://www.cz-usa.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/HUNTING/left_side2.jpg'  width='180'/></a>");

// -FISHING

else if (forumnumber=="4") document.write("<a href='http://www.coveharbormarina.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/FISHING/left_side1.jpg'  width='180'/></a>");

else if (forumnumber=="3")  document.write("<a href='http://www.huffmarine1955.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/FISHING/left_side2.jpg'  width='180'/></a>");

else if (forumnumber=="19")  document.write("<a href='http://www.lmcboats.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/FISHING/left_side3.jpg'  width='180'/></a>");

// -GENERAL

else document.write("<a href='http://www.arcticcat.com/' target='_blank'><img src='images/TFG_ADS/TEST_ADS/left_side1.jpg' width='180'/></a>");


</script>

<! /-CONTEXTUAL AD PLACEMENT- >

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*






<!-- LINKS -->

<table border="1"; frame="box"; width="180">
<tr>
<th style="font-size:14pt; family:Veranda; color:green">Links</th>
</tr>

<tr><td  align="center"><a href="http://www.tpwd.state.tx.us" target="_blank"; style="color:blue; font-size:10pt; font-family:'Franklin Gothic Demi';">Texas Parks & Wildlife Dept.</a></td></tr>

<tr><td  align="center"><a href="http://www.fws.gov" target="_blank"; style="color:blue; font-size:10pt; font-family:'Franklin Gothic Demi';">U.S. Fish & Wildlife Service</a></td></tr>

<tr><td  align="center"><a href="http://www.noaa.gov" target="_blank"; style="color:blue; font-size:10pt; font-family:'Franklin Gothic Demi'">NOAA</a></td></tr>

</table>
<!-- /LINKS -->







<! /ADVERTISEMENT CODE HERE >


</td>



        <td valign="top">
<!-- /SIDEBAR CODE ADDED -->


<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]


Thanks for the response. I've got everything working except getting the upcoming events to display as it's not part of this plugin. Pretty new to vB and the million different templates is just frustrating.

Thanks though!

grey_goose 01-17-2010 02:47 PM

+1 for collapsible. Also, how can I exclude it from my vBA pages?

sergioloporto 01-17-2010 04:43 PM

Hello,

I need help with the Sidebar 3.8.002.

As you can see here in the VBA page there is a big empty space on the left -this is due to the Sidebar.

In the forum is working fine.

How can I make that white "bar" disappear from the main VBA page?


Thanks much


All times are GMT. The time now is 08:19 PM.

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.01645 seconds
  • Memory Usage 1,765KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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