vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Ultimate Side Columns 2.2 (https://vborg.vbsupport.ru/showthread.php?t=175181)

petro78 07-18-2008 01:29 PM

trying to figure my way through....im a noob at this and was looking for some help on where to copy the code for having navbar links show up in the side columns?

thanks
jim.

dreck 07-18-2008 02:51 PM

Quote:

Originally Posted by petro78 (Post 1578416)
trying to figure my way through....im a noob at this and was looking for some help on where to copy the code for having navbar links show up in the side columns?

thanks
jim.

Go to your vb cpanel / Styles & Templates / Style Manager / expand the style you want to edit / Ultimate Side Columns / usc_block_1

Edit the follow code between the <!-- site navigation --> with your links:
Code:

<tr>
<td class="alt1">
<!-- site navigation -->
<a href="http://www.test.com/">Test</a><br>
<a href="http://www.test2.com/">Test2</a><br>
<!-- /site navigation -->
</tr>
</td>

Do the same for each block, usc_block_2, usc_block_3, ect..

petro78 07-18-2008 02:54 PM

Quote:

Originally Posted by dreck (Post 1578462)
Go to your vb cpanel / Styles & Templates / Style Manager / expand the style you want to edit / Ultimate Side Columns / usc_block_1

Edit the follow code between the <!-- site navigation --> with your links:
Code:

<tr>
<td class="alt1">
<!-- site navigation -->
<a href="http://www.test.com/">Test</a><br>
<a href="http://www.test2.com/">Test2</a><br>
<!-- /site navigation -->
</tr>
</td>

Do the same for each block, usc_block_2, usc_block_3, ect..

THANKS VERY MUCH...:D

thompson 07-18-2008 02:58 PM

thanks for that.

is there a chance to ad a block with the latest blog entries ?

petro78 07-18-2008 04:05 PM

thanks very much for your help....one more question.....:confused:

if i wanted to change the color of the links within the sidebars....can someone help me with this code?

also....if i wanted to change the color of the sidebars themselves....is this possible too?

what about if i wanted to edit the font of the sidebars only...not to affect the rest of the forum?

best,
jim

http://www.verticalobsession.net/forum/index.php

blind-eddie 07-18-2008 07:06 PM

I added Ultimate Side Columns to my who's online page to test it.
Worked great. But, I then noticed that all member profile pages were distorted.
Has anyone had this issue?

psylenced 07-19-2008 03:07 PM

Quote:

Originally Posted by psylenced (Post 1576744)
I found a bug in this product. There is a certain situation which causes the template not to draw correctly and the right column to draw in its own table.

I think i've fixed the issue (at least for me). It requires an additional plugin. What happens is on an error page such as the one that occurs on the "getnew" returning no posts, the error page clears the navbar template. This causes the auto-template to draw the starting table to not be created.

This happens in functions.php lines 2824 + 2836.

The following plugin will fix this issue. It may occur on other error pages also, but i only tested for the occasion listed in my original post.

Plugin Name: USC Error Page Fix
Hook Location: error_generic
PHP Code:

if(THIS_SCRIPT != 'profile')
{

if (
$vbulletin->options['usc_column_start_point'] != 3)
{
    if (
$vbulletin->options['usc_column_start_point'] == 2)
    {
        
$find '$ad_location[ad_navbar_below]';
        
$template 'navbar';
    }
    if (
$vbulletin->options['usc_column_start_point'] == 1)
    {
        
$find '<!-- / nav buttons bar -->';
        
$template 'navbar';
    }
    if (
$vbulletin->options['usc_column_start_point'] == 0)
    {
        
$find '$ad_location[ad_header_end]';
        
$template 'header';
    }
    
$append '$usc_table_start';

    
$vbulletin->templatecache[$template] = str_replace($find$find $append$vbulletin->templatecache[$template]);


    
$find2 '$spacer_close';
    
$append2 '$usc_table_end';

    
$vbulletin->templatecache['footer'] = str_replace($find2$append2 $find2$vbulletin->templatecache['footer']);
}

}  
    
eval(
'$usc_table_start = "' fetch_template('usc_table_start') . '";');
    
eval(
'$navbar = "' fetch_template('navbar') . '";'); 


popular 07-19-2008 10:41 PM

my layout doesn't seem compatible with the blocks as i set it to right side it ends up at the bottom of my page, how do i manually adjust the blocks to wherever i want? thank you

i want to make $block11 align to the right of my forum but my layout wont break so the block ends up at the bottom of the page, does anyone know where i can edit that or know why? thanks

psylenced 07-20-2008 01:18 AM

I think thats related to the error i tried to fix above.

Try changing your location to above navbar instead of below - that might fix your issue.

popular 07-20-2008 01:46 AM

i solved the problem by uploading my layout and reverting all templates to 3.7 to see what the problem is... so here's what it was

in template "header" put this code @ the end

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]


and it should work.. at least it worked for me =)) cheers!

oh yes for "column start point" i selected (below header and above navbar) the others don't seem to work so make sure you do that.


All times are GMT. The time now is 08:57 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.01462 seconds
  • Memory Usage 1,759KB
  • 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
  • (1)bbcode_php_printable
  • (3)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