vb.org Archive

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

slmoney 07-16-2007 11:12 PM

ok..I figured it out...
If you have Adsence code loaded on your footer, you need to put the code for USC BEFORE the adsence code...I got it to work!

ChrisBaktis 07-18-2007 03:17 AM

Is there a way to get more then one box on a side that are not connected - I know you can have more then one box but they all show up in the same 'big box' - I would prefer to have 2 seperate boxes - can this be done?

T_Richardson 07-18-2007 03:19 AM

Quote:

Originally Posted by ChrisBaktis (Post 1294264)
Is there a way to get more then one box on a side that are not connected - I know you can have more then one box but they all show up in the same 'big box' - I would prefer to have 2 seperate boxes - can this be done?

You would have to edit the template directly, adding tables, etc..

ChrisBaktis 07-18-2007 03:54 AM

Got it - thank you

NashChristian 07-23-2007 05:40 AM

Hello,

I'm about dizzy looking over all the side column mods and trying to decide which will best meet my needs.

I've boiled it down to the following two:

A.) This one - the Ultimate Side Columns or
B.) Left Side Column on Forum Home Only also by Kerry-Anne

What I'm running: 3.6.7 PL1

What I need: I'm looking for a left side column, on my Forum Home only, that will allow me to have a few (3-5) separate blocks of content (in separate blocks with titles at the top of each block) with a small gap of white space between them.

Any guidance I would greatly appreciate!

Thanks!

ChrisBaktis 07-31-2007 01:53 AM

I have a problem - when I use this hack for the left side - everything looks great except when I view a post or the memberlist...

If you click on the links you will see what I mean...

http://www.hobbystoresearch.com/foru...tyleid=1#post1

And this is how it looks on all pages but a post and the memberlist

http://www.hobbystoresearch.com/foru...?f=2&styleid=1

this 'width problem' only appears on the member list and when viewing a post. any ideas what can be causing this?

T_Richardson 07-31-2007 02:01 AM

Quote:

Originally Posted by ChrisBaktis (Post 1305846)
I have a problem - when I use this hack for the left side - everything looks great except when I view a post or the memberlist...

If you click on the links you will see what I mean...

http://www.hobbystoresearch.com/forums/memberlist.php

this 'width problem' only appears on the member list and when viewing a post. any ideas what can be causing this?

I don't know for sure, but it looks like you have the tables codes mixed up or missing a <tr> or </tr> <td> etc...
Try uninstalling then reinstall.

ChrisBaktis 07-31-2007 02:16 AM

i have - severla times : ) - since it is a new board I even reinstalled 3.6.8 and this happens even on the default template where the only change made is this hack. It just seems that for some reason the memberlist and post code are at a fixed width.

ChrisBaktis 07-31-2007 02:57 AM

Well - getting ticked off I did a fresh install of 3.6.8 - made no changes except install this hack - changed the forum width so it is fixed - and the problem is still there...I cant figure it out - this has taken 3 days of my time and im pulling my hair out.

http://www.hobbystoresearch.com/foru....php?p=1#post1

Chadi 07-31-2007 05:00 PM

Just found this and installed it. However, the right column is showing up below the footer and the left column above the forum (both on forumhome) categories.

I did exactly as told:

header

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="header_bg">
<tr>
    <td align="$stylevar[left]" valign="top" height="112"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    <td align="$stylevar[right]">
        &nbsp;
<!-- banners -->

    </td>
</tr>
<tr>
<td height="34" colspan="2">

<!-- nav buttons bar -->
<div align="center" style="z-index: 100;">
    <table  cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
    <tr align="center">
            <if condition="$show['member']"><else /><if condition="in_array(THIS_SCRIPT, array(index))"><else /><td class="nav_menu_control"><a id="toggle" href="#" name="toggle">$vbphrase[vbstyles_login]</a> </td></if></if>
        <if condition="$show['member']">
            <td class="nav_menu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if>
        <if condition="$show['registerbutton']">
            <td class="nav_menu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
        </if>
 $template_hook[navbar_buttons_left]
<!-- <td class="nav_menu_control"><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></td> -->
        <td class="nav_menu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
        <td class="nav_menu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
        <td class="nav_menu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
        <if condition="$show['popups']">       
            <if condition="$show['searchbuttons']">
                <if condition="$show['member']">
                <td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <td id="navbar_search" class="nav_menu_control"><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"); </script></if></td>
            </if>
            <if condition="$show['member']">
                <td id="usercptools" class="nav_menu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>       
            </if>
        <else />       
            <if condition="$show['searchbuttons']">
                <td class="nav_menu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                <if condition="$show['member']">
                <td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
            </if>
            <td class="nav_menu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            <if condition="$show['member']">           
                <td class="nav_menu_control"><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 class="nav_menu_control"><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>
    </tr>
    </table>
</div>
<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
<if condition="$show['member']"><else /><if condition="in_array(THIS_SCRIPT, array(index))"><else />
<div class="spacer"></div>
<div id="vbstyles_element" align="right" style="z-index: 10;">
<div id="vbstyles_element_in" align="center">
                  <!-- login form -->
            <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
        <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
                <div class="smallfont" style="z-index: -6;">
                  <input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
                  <label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
                  <input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16"  tabindex="102" onfocus="this.value=''" value="Password" />
                  <input  type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
                </div>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />       
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>

              <!-- / login form -->
</div>
</div>
<div class="spacer_small"></div></if></if>

<!-- USC header edit start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top">
<!-- USC header edit end -->


footer

Code:

<br /><br />
<div align="center">
    <div class="smallfont" align="center">
    <!-- Do not remove this copyright notice -->
    $vbphrase[powered_by_vbulletin]<br />
    vBulletin Skin developed by: <a href="http://www.vbstyles.com">vBStyles.com</a><br />
<div class="spacer"></div>
<if condition="in_array(THIS_SCRIPT, array(index))"><a href="http://validator.w3.org/check?uri=referer"><img
        src="$stylevar[imgdir_misc]/w3cxhtml.gif"
        alt="Valid XHTML 1.0 Transitional" height="13" width="73" border="0" /></a> <a href="http://jigsaw.w3.org/css-validator/check/referer ">
  <img src="$stylevar[imgdir_misc]/w3ccss.gif" alt="Valid CSS!" height="13" width="73" border="0" />
</a></if>
    <!-- Do not remove this copyright notice -->
    </div>
   
    <div class="smallfont" align="center">
    <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
    $cronimage
    <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
   
    $vboptions[copyrighttext]
    </div>
</div>
<br />

<!-- USC footer edit start -->
</td>
$usc_right
</tr>
</table>
<!-- USC footer edit end -->

$spacer_close

<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">
   
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
    <if condition="$show['quickchooser']">
        <td class="tfoot">
            <select name="styleid" onchange="switch_id(this, 'style')">
                <optgroup label="$vbphrase[quick_style_chooser]">
                    $quickchooserbits
                </optgroup>
            </select>
        </td>
    </if>
    <if condition="$show['languagechooser']">
        <td class="tfoot">
            <select name="langid" onchange="switch_id(this, 'lang')">
                <optgroup label="$vbphrase[quick_language_chooser]">
                    $languagechooserbits
                </optgroup>
            </select>
        </td>
    </if>
    <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>
</tr>
</table>

</form>
</div></div>


<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
    var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
    var utcOffset = new Date().getTimezoneOffset() / 60;
    if (Math.abs(tzOffset + utcOffset) == 1)
    {    // Dst offset is 1 so its changed
        document.forms.dstform.submit();
    }
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
    // Main vBulletin Javascript Initialization
    vBulletin_init();
//-->
</script>


Ohiosweetheart 08-07-2007 04:30 PM

Are you able to place this beneath the navbar rather than beside it??

wickland 08-09-2007 01:25 AM

Awsome hack, simple and extremely useful! Installed.

Thanks

bandarsq 08-11-2007 05:45 PM

PLEASE

How can I add another block to the exisiting 5 in each columb?

thanks

tekguru 08-12-2007 01:08 PM

Installed and working, however we use the Aria+ Sand custom scheme, how would one go about adding the custom header and footer images to the column as at the moment these are completely missing?

You can see the style in action in site here.

DefenceTalk 08-14-2007 01:57 PM

Quote:

Originally Posted by DefenceTalk (Post 1247771)
Never mind, got it. Goes in the templates.

Installed this on another site but for some reason includes do not parse? Has anything changed? :confused:

WoodiE 08-14-2007 02:39 PM

I have this installed on a forum that also has photopost installed, how can I make it so it doesn't display at www.domain.com/gallery ?

Brew 08-14-2007 11:11 PM

Is there a way to get this to only show to certain usergroups or membergroups?

Or maybe to NOT show to certain usergroups or membergroups?

Thank you for any help :)

BTW... I'm running vB ver 3.6.8 and the script is working great. I just need to have it only appear for a certain group (usergroup number 9)
I've tried a conditional statement in the header ( < if condition="$bbuserinfo['usergroupid'] = 9" > ) but that really messes up the formatting of the page for some reason.

RaceJunkie 08-15-2007 12:57 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1227713)
I also must say that I don't understand the reasoning behind releasing hacks that aren't supported? It's great IF there are others who can support it and help others out, but only the hack author knows what she/he did to code this hack, so really he/she should be the one supporting it.

Could not agree more, if you got the time to make it then support it, if not then keep it to yourself..:down:

detordiggei 08-18-2007 05:22 PM

it works fine even if i have an older version :D thanks!

detordiggei 08-18-2007 05:28 PM

it works fine even if i have an older version :D thanks!

thenetbox 08-19-2007 09:47 AM

Thank you very much.

It would have been even better if it didn't ignore phrases and variables. I would have liked to use cyb's advanced stats in the side bar.

Quote:

Originally Posted by dizzy100 (Post 1204696)
rss feeds from your forum is possible

Heres one for pulling the latest threads from your vbulletin board (make sure you have Vbulletin Options > External Data Provider > Enable External Javascript enabled)

PHP Code:

<script type="text/javascript" src="external.php?&amp;type=js"></script>
<
script language="" type="text/javascript">
<!--
for (var 
x in threads)
{
document.writeln("<img class=\"inlineimg\" src=\"YOUWEBSITEADDRESS/images/buttons/lastpost.gif\" alt=\"\" border=\"0\" /> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <span class=\"time\">(Posted By : "+threads[x].poster+")</span><hr />");
}
//-->
</script

Substitute YOUWEBSITEADDRESS with the full url to your forum (assumes using ther default theme).

Its not phrased because this mod seems to ignore them :( This is a shame as stats, banner etc can't be used through internal vbulletin options. However javascript seems to work well.


thenetbox 08-19-2007 12:40 PM

Ah thank you! This works perfectly! Integration.

Quote:

Originally Posted by BrettMo (Post 1255377)
I have replaced this functionality with CMPS now. The upgraded version 3.0 is fantastic: http://www.vbadvanced.com/products.p...roductinfo&p=4


kholland 08-20-2007 03:58 PM

Hi,

This mod is great. Have a couple of questions I hope someone might be able to help me with:

How do I make the sidebars NOT collapsable....and how do I make the 'inner section' (the rest besides the sidebar) collapse? My VB install collapsed before I installed this but now only the sidebars collapse which is the opposite of what I want.

Thanks!

Kenneth

RaceJunkie 08-20-2007 04:04 PM

Quote:

Originally Posted by kholland (Post 1321696)
Hi,

This mod is great. Have a couple of questions I hope someone might be able to help me with:

How do I make the sidebars NOT collapsable....and how do I make the 'inner section' (the rest besides the sidebar) collapse? My VB install collapsed before I installed this but now only the sidebars collapse which is the opposite of what I want.

Thanks!

Kenneth

The default install of this mod does not have collapsible boxes?

kholland 08-20-2007 04:27 PM

Hi RaceJunkie,

When I installed the mod they collapsed. But, I just figured out how to fix it...I found the Ultimate Sidebar templates in the template manager in VB and changed the table value from 100% to 160 (pixels). I hope that's ok to do...not an expert in coding.

Now (and maybe you can help me), where do I find the template that controls the main section (or table) so I can change the value on that since it will not collapse (it is fixed).

Thanks!

K

RaceJunkie 08-20-2007 04:49 PM

Quote:

Originally Posted by kholland (Post 1321721)
Hi RaceJunkie,

When I installed the mod they collapsed. But, I just figured out how to fix it...I found the Ultimate Sidebar templates in the template manager in VB and changed the table value from 100% to 160 (pixels). I hope that's ok to do...not an expert in coding.

Now (and maybe you can help me), where do I find the template that controls the main section (or table) so I can change the value on that since it will not collapse (it is fixed).

Thanks!

K

The only things you can edit are the usc_sidecolumn_left & usc_sidecolumn_right templates and the settings in the vB options under Ultimate Side Columns Options

kholland 08-20-2007 04:50 PM

Well I found how to adjust the Forum width in the StyleVars section but changing the forum width doesn't seem to have an effect. I wonder if this mod interferes with that or maybe I am missing something.

Any help?

kholland 08-20-2007 04:52 PM

RaceJunkie,

I figured that out (what I can edit with USC) but the basic forum editing I'm having trouble with.

remlle 08-20-2007 04:53 PM

I love this mod. Im having an issue though.
when I have it enabled it is causing a refresh on the site after it is done loading once.
it will load one time then reload then fine. but its causeing extra wear on the server plus agervating customers.
any ideas?

RaceJunkie 08-20-2007 04:57 PM

Quote:

Originally Posted by kholland (Post 1321735)
Well I found how to adjust the Forum width in the StyleVars section but changing the forum width doesn't seem to have an effect. I wonder if this mod interferes with that or maybe I am missing something.

Any help?

I use full width on my site and I did not have to change anything regarding the forums width, I'm not sure what width you are using but I don't think this hack bothers either. I do know that you can completely edit the templates to your liking. Here is a How to About Collapsable Tables maybe that will help you. If you can leave a link to your site maybe I can help you better.:confused:

RaceJunkie 08-20-2007 05:06 PM

Quote:

Originally Posted by remlle (Post 1321738)
I love this mod. Im having an issue though.
when I have it enabled it is causing a refresh on the site after it is done loading once.
it will load one time then reload then fine. but its causeing extra wear on the server plus agervating customers.
any ideas?

Can you provide a link?

remlle 08-20-2007 05:10 PM

<a href="http://www.adultwebdesires.com/forum/" target="_blank">http://www.adultwebdesires.com/forum/</a>

kholland 08-20-2007 05:38 PM

RaceJunkie,

I checked the main table setting and it's 100%.

My site is http://autoracingsport.com/forums

wickland 08-20-2007 10:30 PM

How do I add extra input boxes for each block in the Ultimate Side Columns Options? I can add another block from the template, but how do I add a 6th input area in the control panel options?

Thanks

Cyborg86 08-20-2007 11:16 PM

thanks. it works perfectly

wickland 08-21-2007 08:51 PM

Can someone help me out with my question above? This is very urgent as my 5 spaces on each side are now completely full and more demand is coming in.

EmpireZ 08-22-2007 02:06 AM

Just open the xml file with a text editor and near the top for left (middle for right) you will see a block for additional content. Just add your code on there.

wickland 08-22-2007 02:34 AM

Is there any way to add additional input fields in the options? This is what I want to add, so I can place the additional content in there and make it more practical.

EmpireZ 08-22-2007 02:57 AM

Yes, If you open the xml file and add a phrase name for block6 and then
use a settin varname and display order for it in vboptions after block5.

EmpireZ 08-22-2007 03:09 AM

Quote:

Anyone know the conditionals to not show the columns on VB Advanced? VBGallery etc? (especially VbAdvanced)


Thanks !
You can use a if condition in the header template to stop pages from showing.
VBAdvanced =
Quote:

<if condition="VB_AREA != VBA_PORTAL">
<!-- USC header edit start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top">
<!-- USC header edit end -->
</if>


All times are GMT. The time now is 01:08 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.01843 seconds
  • Memory Usage 1,899KB
  • 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
  • (12)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
  • (40)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