vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Miscellaneous Hacks - Create Leftside Rightside Column - includes Table(s) (https://vborg.vbsupport.ru/showthread.php?t=148902)

LEAD_WEIGHT 06-03-2007 10:00 PM

Create Leftside Rightside Column - includes Table(s)
 
These instructions are with table(s) added into the empty column you see after using the instruction provided by Floris & Jake Bunce tutorials in Quick Tips forum @ vBulletin.com. I have little changes, but in whole it is the same. This is for displaying under navbar menu. If you are using a portal, you can add modules within forum and those instruction are posted within other sites forums.
  1. Left Column Table
    Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > footer
    # find in template: footer
    # add 'leftside column' close table code
    # optional: to display in certain pages and not all, add conditional statement

    Code:

    $spacer_close
    <!-- /content area table -->

    <!-- leftside column -->
            </td>
    </tr>
    </table>
    <!-- / leftside column -->


    <form action="$vboptions[forumhome].php" method="get">

    Example of conditional to display in three selected forum pages and must be applied to other code in same manner.
    Code:

    $spacer_close
    <!-- /content area table -->

    <if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
    <!-- leftside column -->
                    </td>
            </tr>
            </table>
    <!-- / leftside column -->

    </if>

    <form action="$vboptions[forumhome].php" method="get">

    Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > navbar
    # find in template: navbar
    # add 'leftside column' open table code
    # optional: to display in certain pages and not all, add conditional statement

    Code:

    <!-- / PAGENAV POPUP -->
    </if>


    <!-- leftside column -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
     <tr>
     <td style="padding:0px 10px 0px 0px" width="175" valign="top" class="page" style="0px;">
                    <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
    <!-- leftsidebar_1 -->
                    <thead width="150" valign="top">
                    <tr align="center">
                            <td class="thead">
                            Left Column
                            </td>
                    </tr>
                    </thead>
                    <tbody>
                    <tr align="center">
                            <td class="tcat">
                    <a style="float:right" href="#top" onclick="return toggle_collapse('leftsidebar_1')"><img id="collapseimg_leftsidebar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
    <!-- title start -->
                            Left Column Bar
    <!-- / title end -->
                            </td>
                    </tr>
                    </tbody>
                    <tbody id="collapseobj_leftsidebar_1" style="">
                    <tr align="center">
                            <td class="alt2">
    <!-- leftbar_1 code -->



    <!-- / leftbar_1 code -->
                            </td>
                    </tr>
                    </tbody>
    <!-- / leftsidebar_1 -->
                    </table>

     </td>
     <td valign="top">
    <!-- / leftside column -->

    Example of conditional to display in three selected forum pages and must be applied to other code in same manner.
    Code:

    <!-- / PAGENAV POPUP -->
    </if>


    <if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
    <!-- leftside column -->
            <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
            <tr>
                    <td style="padding:0px 10px 0px 0px" width="175" valign="top" class="page" style="0px;">
                            <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
    <!-- leftsidebar_1 -->
                            <thead width="150" valign="top">
                            <tr align="center">
                                    <td class="thead">
                                            Left Column
                                    </td>
                            </tr>
                            </thead>
                            <tbody>
                            <tr align="center">
                                    <td class="tcat">
                            <a style="float:right" href="#top" onclick="return toggle_collapse('leftsidebar_1')"><img id="collapseimg_leftsidebar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
    <!-- title start -->
                                    Left Column Bar
    <!-- / title end -->
                                    </td>
                            </tr>
                            </tbody>
                            <tbody id="collapseobj_leftsidebar_1" style="">
                            <tr align="center">
                                    <td class="alt2">
    <!-- leftbar_1 code -->



    <!-- / leftbar_1 code -->
                                    </td>
                            </tr>
                            </tbody>
    <!-- / leftsidebar_1 -->
                            </table>

            </td>
            <td valign="top">
    <!-- / leftside column -->

    </if>






    These instructions are with table(s) added into the empty column you see after using the instruction provided by Floris & Jake Bunce tutorials in Quick Tips forum. I have little changes, but in whole it is the same. This is for displaying under navbar menu. If you are using a portal, you can add modules within forum and those instruction are posted within other sites forums.
  2. Right Column Table
    Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > footer
    # find in template: footer
    # add 'rightside column' close table code
    # optional: to display in certain pages and not all, add conditional statement

    Code:

    $spacer_close
    <!-- /content area table -->

    <!-- rightside column -->
            </td>
            <td width="10px"></td>
            <td valign="top" width="175">
                    <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
    <!-- rightsidebar_1 -->
                    <thead>
                    <tr align="center">
                            <td class="thead">
                            Right Column
                            </td>
                    </tr>
                    </thead>
                    <tbody>
                    <tr align="center">
                            <td class="tcat">
                    <a style="float:right" href="#top" onclick="return toggle_collapse('rightbar_1')"><img id="collapseimg_rightbar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
    <!-- title start -->
                            Right Column Bar
    <!-- / title end -->
                            </td>
                    </tr>
                    </tbody>
                    <tbody id="collapseobj_rightbar_1" style="">
                    <tr align="center">
                            <td class="alt2">
    <!-- rightbar_1 code -->



    <!-- / rightbar_1 code -->
                            </td>
                    </tr>
                    </tbody>
    <!-- / rightsidebar_1 -->
                    </table>
            </td>
    </tr>
    </table>
    <!-- / rightside column -->


    <form action="$vboptions[forumhome].php" method="get">

    Example of conditional to display in three selected forum pages and must be applied to other code in same manner.
    Code:

    $spacer_close
    <!-- /content area table -->

    <if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
    <!-- rightside column -->
                    </td>
                    <td width="10px"></td>
                    <td valign="top" width="175">
                            <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
    <!-- rightsidebar_1 -->
                            <thead>
                            <tr align="center">
                                    <td class="thead">
                                    Right Column
                                    </td>
                            </tr>
                            </thead>
                            <tbody>
                            <tr align="center">
                                    <td class="tcat">
                            <a style="float:right" href="#top" onclick="return toggle_collapse('rightbar_1')"><img id="collapseimg_rightbar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
    <!-- title start -->
                                    Right Column Bar
    <!-- / title end -->
                                    </td>
                            </tr>
                            </tbody>
                            <tbody id="collapseobj_rightbar_1" style="">
                            <tr align="center">
                                    <td class="alt2">
    <!-- rightbar_1 code -->



    <!-- / rightbar_1 code -->
                                    </td>
                            </tr>
                            </tbody>
    <!-- / rightsidebar_1 -->
                            </table>
                    </td>
            </tr>
            </table>
    <!-- / rightside column -->

    </if>

    <form action="$vboptions[forumhome].php" method="get">

    Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > navbar
    # find in template: navbar
    # add 'rightside column' open table code
    # optional: to display in certain pages and not all, add conditional statement

    Code:

    <!-- / PAGENAV POPUP -->
    </if>


    <!-- rightside column -->
    <table border="0" width="100%" class="page" cellspacing="0" cellpadding="0" align="center">
    <tr>
            <td valign="top">
    <!-- / rightside column -->

    Example of conditional to display in three selected forum pages and must be applied to other code in same manner.
    Code:

    <!-- / PAGENAV POPUP -->
    </if>


    <if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
    <!-- rightside column -->
    <table border="0" width="100%" class="page" cellspacing="0" cellpadding="0" align="center">
    <tr>
            <td valign="top">
    <!-- / rightside column -->

    </if>





    These instructions are with table(s) added into the empty column you see after using the instruction provided by Floris & Jake Bunce tutorials in Quick Tips forum. I have little changes, but in whole it is the same. This is for displaying under navbar menu. If you are using a portal, you can add modules within forum and those instruction are posted within other sites forums.
  3. Left and Right Column Table
    Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > footer
    # find in template: footer
    # add 'rightside & leftside column' close/open table code
    # optional: to display in certain pages and not all, add conditional statement

    Code:

    $spacer_close
    <!-- /content area table -->

    <!-- leftside column -->
            </td>
    </tr>
    </table>
    <!-- / leftside column -->

    <!-- rightside column -->
            </td>
            <td width="10px"></td>
            <td valign="top" width="175">
                    <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
    <!-- rightbar_1 -->
                    <thead>
                    <tr align="center">
                            <td class="thead">
                            Right Column
                            </td>
                    </tr>
                    </thead>
                    <tbody>
                    <tr align="center">
                            <td class="tcat">
                    <a style="float:right" href="#top" onclick="return toggle_collapse('rightbar_1')"><img id="collapseimg_rightbar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
    <!-- title start -->
                            Right Column Bar
    <!-- / title end -->
                            </td>
                    </tr>
                    </tbody>
                    <tbody id="collapseobj_rightbar_1" style="">
                    <tr align="center">
                            <td class="alt2">
    <!-- rightbar_1 code -->



    <!-- / rightbar_1 code -->
                            </td>
                    </tr>
                    </tbody>
    <!-- / rightsidebar_1 -->
                    </table>
            </td>
    </tr>
    </table>
    <!-- / rightside column -->


    <form action="$vboptions[forumhome].php" method="get">

    Example of conditional to display in three selected forum pages and must be applied to other code in same manner.
    Code:

    $spacer_close
    <!-- /content area table -->

    <if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
    <!-- leftside column -->
                    </td>
            </tr>
            </table>
    <!-- / leftside column -->

    <!-- rightside column -->
                    </td>
                    <td width="10px"></td>
                    <td valign="top" width="175">
                            <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
    <!-- rightbar_1 -->
                            <thead>
                            <tr align="center">
                                    <td class="thead">
                                    Right Column
                                    </td>
                            </tr>
                            </thead>
                            <tbody>
                            <tr align="center">
                                    <td class="tcat">
                            <a style="float:right" href="#top" onclick="return toggle_collapse('rightbar_1')"><img id="collapseimg_rightbar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
    <!-- title start -->
                                    Right Column Bar
    <!-- / title end -->
                                    </td>
                            </tr>
                            </tbody>
                            <tbody id="collapseobj_rightbar_1" style="">
                            <tr align="center">
                                    <td class="alt2">
    <!-- rightbar_1 code -->



    <!-- / rightbar_1 code -->
                                    </td>
                            </tr>
                            </tbody>
    <!-- / rightsidebar_1 -->
                            </table>
                    </td>
            </tr>
            </table>
    <!-- / rightside column -->

    </if>

    <form action="$vboptions[forumhome].php" method="get">

    Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > navbar
    # find in template: navbar
    # add 'rightside & leftside column' close/open table code
    # optional: to display in certain pages and not all, add conditional statement

    Code:

    <!-- / PAGENAV POPUP -->
    </if>


    <!-- leftside column -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
    <tr>
            <td style="padding:0px 10px 0px 0px" width="175" valign="top" class="page" style="0px;">
                    <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
    <!-- leftsidebar_1 -->
                    <thead width="150" valign="top">
                    <tr align="center">
                            <td class="thead">
                            Left Column
                            </td>
                    </tr>
                    </thead>
                    <tbody>
                    <tr align="center">
                            <td class="tcat">
                    <a style="float:right" href="#top" onclick="return toggle_collapse('leftsidebar_1')"><img id="collapseimg_leftsidebar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
    <!-- title start -->
                            Left Column Bar
    <!-- / title end -->
                            </td>
                    </tr>
                    </tbody>
                    <tbody id="collapseobj_leftsidebar_1" style="">
                    <tr align="center">
                            <td class="alt2">
    <!-- leftbar_1 code -->



    <!-- / leftbar_1 code -->
                            </td>
                    </tr>
                    </tbody>
    <!-- / leftsidebar_1 -->
                    </table>

            </td>
            <td valign="top">
    <!-- / leftside column -->

    <!-- rightside column -->
    <table border="0" width="100%" class="page" cellspacing="0" cellpadding="0" align="center">
    <tr>
            <td valign="top">
    <!-- / rightside column -->

    Example of conditional to display in three selected forum pages and must be applied to other code in same manner.
    Code:

    <!-- / PAGENAV POPUP -->
    </if>


    <if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
    <!-- leftside column -->
            <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
            <tr>
                    <td style="padding:0px 10px 0px 0px" width="175" valign="top" class="page" style="0px;">
                            <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
    <!-- leftsidebar_1 -->
                            <thead width="150" valign="top">
                            <tr align="center">
                                    <td class="thead">
                                    Left Column
                                    </td>
                            </tr>
                            </thead>
                            <tbody>
                            <tr align="center">
                                    <td class="tcat">
                            <a style="float:right" href="#top" onclick="return toggle_collapse('leftsidebar_1')"><img id="collapseimg_leftsidebar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
    <!-- title start -->
                                    Left Column Bar
    <!-- / title end -->
                                    </td>
                            </tr>
                            </tbody>
                            <tbody id="collapseobj_leftsidebar_1" style="">
                            <tr align="center">
                                    <td class="alt2">
    <!-- leftbar_1 code -->



    <!-- / leftbar_1 code -->
                                    </td>
                            </tr>
                            </tbody>
    <!-- / leftsidebar_1 -->
                            </table>

                    </td>
                    <td valign="top">
    <!-- / leftside column -->

    <!-- rightside column -->
            <table border="0" width="100%" class="page" cellspacing="0" cellpadding="0" align="center">
            <tr>
                    <td valign="top">
    <!-- / rightside column -->

    </if>

    Admin CP > Styles & Templates > Style Manager > StyleVars {Drop Down Menu} > Sizes and Dimensions
    • Message Area Width (pixels): [440px]
      (This value allows you to specify the width in pixels of the text box used for all message posting in vBulletin)
    • Code Block Width (pixels): [440px]
      (This value controls the width of [code], [php] and [html] bbcode blocks. You may set this value to 'auto', but if you do, Internet Explorer will stretch the width of the block rather than inserting a scrollbar.)

    Maintenance > Update Counters > Rebuild Post Cache

    You also need to use postbit instead of postbit_legacy to utilize the most of message space.


View images below.

http://img413.imageshack.us/img413/6...homeya7.th.gifhttp://img237.imageshack.us/img237/7...ylv1pv7.th.gifhttp://img180.imageshack.us/img180/9...ylv2jl8.th.gifhttp://img237.imageshack.us/img237/9...eadsqu0.th.gif

Yes, I do know many have posted variation of this and this is a variation of that. It is place under navbar and you may choose both to display at same time.

LEAD_WEIGHT 06-04-2007 05:51 PM

Reserved for side addons

Log in Block
Code:


                        <if condition="$show['member']">
                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                        <tr>
                                <td class="alt2" valign="top" width="175px">
                                <div class="smallfont">
                                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                                        <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
                                </div>
                                </td>
                        </tr>
                        </table>
                        <else />
                                       
                        <!-- 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>
                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                        <tr>
                                <td class="smallfont" align="left"><label for="navbar_username">$vbphrase[username]</label></td>
                                <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                        </tr>
                        <tr>
                                <td class="smallfont"  align="left"><label for="navbar_password">$vbphrase[password]</label></td>
                                <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
                        </tr>
                        <tr>
                                <td class="smallfont" colspan="2" nowrap="nowrap"  align="left"><label for="cb_cookieuser_navbar">$vbphrase[remember_me]</label><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" /></td>
                        </tr>
                        <tr>
                                <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                        </tr>
                        </table>
                        <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 -->
               
                        </if>

Calendar Block *non-vB
# upload files to root/directory
# replace with root forum folder name
Code:


                                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                <tr valign="top">
                                        <td align="center">
       
                                                <iframe name="gToday:calendar:" id="gToday:calendar:"src="/test_vbb/calendar/cal.htm" scrolling="no" frameborder="0"></iframe>
       
                                        </td>
                                </tr>
                                </table>

Attachment 66651

Ohiosweetheart 06-07-2007 10:11 PM

Looks like I'll be trying this one :)

LEAD_WEIGHT 06-08-2007 02:49 AM

Quote:

Originally Posted by MARKETPROFITS (Post 1261189)
This is a nice mod, great work.

*Installed*

Than you for your comment

Quote:

Originally Posted by Ohiosweetheart (Post 1263673)
Looks like I'll be trying this one :)

I hope it works for you, :) and will tinker with other. ;)

Emre Goren 06-11-2007 07:49 PM

Thank you so much , I was looking for something like this and couldnt get enough help from official help staff..

LEAD_WEIGHT 06-11-2007 10:22 PM

Quote:

Originally Posted by Emre Goren (Post 1266459)
Thank you so much , I was looking for something like this and couldnt get enough help from official help staff..

In vbulletin.com or on this site? I do help people over at vbulletin.com... [Jose Amaral Rego] is the username I have over on that site.

blindman4556 06-14-2007 09:29 PM

is there a way to push it up to the top like image 1, cuz right now it stays down below shout like image 2: and i tried putting it in the header but it pushes it clear to the top.
http://i130.photobucket.com/albums/p...556/image1.jpg

http://i130.photobucket.com/albums/p...556/image2.jpg

LEAD_WEIGHT 06-14-2007 09:54 PM

What hack are you using for a shoutbox? I can always see where that edit was placed. It most likely under the template: header code.

A|X 07-01-2007 03:04 PM

I like this MOD. But after installation my left and right column not same level with my forum page/column.

Look at my attachment. I need your help. What should i do?

Thanks.

LEAD_WEIGHT 07-01-2007 05:47 PM

Just notice you are using separate 'Categories Modification'. I am going to see what I can do to fix the problem, it should be easy enough. I am going to edit my templates with same edits you have in your forum.

A|X 07-01-2007 06:13 PM

many thank for your respond.
waiting for your feedback.

LEAD_WEIGHT 07-01-2007 06:53 PM

-----------------
Amend post
-----------------
Note: [S]It does not work in IE 7. I have to go though it again to see what I can do to work with 'Separate Categories Mod'.[/S] I have fixed what was wrong in IE7. This is going to work for only forum index and if you want it to line up on other pages, then please post a request and I will give more information in how to achieve this.


# find in template: footer
# add <td> {Table Data Cell} with padding
# adjust padding 15=top 0=right 0=bottom 0=left
Code:

$spacer_close
<!-- /content area table -->


<!-- leftside column -->
        </td>
</tr>
</table>
<!-- / leftside column -->

<!-- rightside column -->
        </td>
        <td width="10px"></td>
        <td style="padding: 15px 0px 0px 0px" valign="top" width="175">
                <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- rightbar_1 -->

# find in template: footer
# replace variable '$stylevar[outertablewidth]' with numerical percent
Note: This will correct footer and display it as Forum lenght.
Code:

<!-- / rightside column -->

<form action="$vboptions[forumhome].php" method="get">
       
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" class="page" align="center">
<tr>

# find in template: navbar
# adjust padding 15=top 10=right 0=bottom 0=left
Code:

<!-- / PAGENAV POPUP -->
</if>

<!-- leftside column -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td style="padding: 15px 10px 0px 0px" width="175" valign="top" class="page" style="0px;">
                <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- leftsidebar_1 -->

http://img115.imageshack.us/img115/6...lumnrd1.th.gif

A|X 07-03-2007 05:01 AM

LEAD_WEIGHT , thank you very much for your help. All problem solve now :D

Ski-Whiz 07-03-2007 06:05 PM

Great mod..

Can you please post a conditional based on usergroups??

For example, do not display for usergroup X (paid membership) or vice versa....


Would I just wrap your code in this:

PHP Code:

<if condition="is_member_of($vbulletin->userinfo, 5, 6, 7)">
            
</if> 


thanks for the nice mod!!

LEAD_WEIGHT 07-04-2007 08:46 AM

If you are using the other conditional in the instruction, you can combine like this. This will make it not show for these usergroup(s). You need ! to not display.

PHP Code:

<if condition="in_array(THIS_SCRIPT, array('index','forumdisplay','showthread')) AND !is_member_of($vbulletin->userinfo, array(5, 6, 7))">

</if> 


njoker555 07-04-2007 04:52 PM

ok im a pretty newbie at this and would like to know how the first image blindman put up was done - the codes for that and the settings, how would i set that up to be like that?

response is appreciated

njoker555 07-04-2007 09:08 PM

ok i kinda got it but it seems to look really really bad when u view a thread with more than one page - here is an example

http://www.gamers-forum.com/showthread.php?t=1019

help is appreciated - thanks!

edit: it only seems to be like that in ie7 :( and in firefox the bar on top is longer than the post box

LEAD_WEIGHT 07-04-2007 10:37 PM

njoker555 you need to click 'installed' for any more help. ;)

# find template: spacer_open
# replace all contents with below
Code:

<!-- open content container -->
<if condition="$show['old_explorer']">
        <table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center"><tr><td class="page" class="spacer-open">
<else />
<div align="center">
        <div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
                <div class="spacer-open">
</if>

# Admin CP -> Styles & Templates -> Style Manager -> All Styles Options -> Go -> Additional CSS Definitions
# enter below into second input box

Code:

.spacer-open { padding: 0 25px; }
.spacer-open .spacer-open { padding: 0; }


njoker555 07-04-2007 10:59 PM

thanks a lot - marked as installed, thought i did it already but didnt :)

well anyway, your thing helped me fix it in FF but not in ie - in IE - check this following thread - the first page, the column is overlapping the text area and in the second page, it really really stretches

http://www.gamers-forum.com/showthread.php?t=56

help appreciated once again, thanks!

LEAD_WEIGHT 07-04-2007 11:05 PM

njoker555 you must of miss the last part of the instruction on fisrt post.
Admin CP > Styles & Templates > Style Manager > StyleVars {Drop Down Menu} > Sizes and Dimensions
  • Message Area Width (pixels): [440px]
    (This value allows you to specify the width in pixels of the text box used for all message posting in vBulletin)
  • Code Block Width (pixels): [440px]
    (This value controls the width of [code], [php] and [html] bbcode blocks. You may set this value to 'auto', but if you do, Internet Explorer will stretch the width of the block rather than inserting a scrollbar.)

Maintenance > Update Counters > Rebuild Post Cache

You also need to use postbit instead of postbit_legacy to utilize the most of message space.

njoker555 07-04-2007 11:12 PM

actually i did miss that but it didnt work - can you explain what you meant by postbit and postbit_legacy ?

you can go back to that thread link i gave, didnt work there - and i updated counters too :(

LEAD_WEIGHT 07-04-2007 11:15 PM

You need to fix your signature(s), it is not stacking on your pages.

What knd odf code are you using for your sig?

njoker555 07-04-2007 11:27 PM

oh wow, thanks lol - dam i just converted today and it looks bad, i have to look at the people's sigs one by one :) thanks a lot, excellent support for this mod :D

LEAD_WEIGHT 07-04-2007 11:33 PM

Just remove <br /> and ask them or just place sig image on next line below.. Now I wonder why I do not see any padding between block and post?.

I will be back after I have dinner...

njoker555 07-04-2007 11:38 PM

Quote:

Originally Posted by LEAD_WEIGHT (Post 1283041)
Just remove <br /> and ask them or just place sig image on next line below.. Now I wonder why I do not see any padding between block and post?.

I will be back after I have dinner...

yea im removing those myself lol - and about the padding between block and post, does that regard me?

LEAD_WEIGHT 07-05-2007 12:22 AM

Quote:

Originally Posted by njoker555 (Post 1283047)
yea im removing those myself lol - and about the padding between block and post, does that regard me?

Not anymore, as I just seen your site and it seems alright for now.. :)

njoker555 07-05-2007 12:28 AM

Quote:

Originally Posted by LEAD_WEIGHT (Post 1283068)
Not anymore, as I just seen your site and it seems alright for now.. :)

ok thanks a lot, appreciate the help a lot :)

and question, do you know how i can put the info around the forum in there - such as this on top right corner when u login it says "You last visited: Today at 03:53 PM" into the panel.

and stuff like you have "this much private msgs" etc. also forum statistics like total members, posts, etc. on there.

thanks!

LEAD_WEIGHT 07-05-2007 02:09 AM

njoker555m I have the log in block on post number #2
https://vborg.vbsupport.ru/showpost....63&postcount=2

njoker555 07-05-2007 03:09 AM

right, thanks! :) i've been missing a lot of things lately :/ thanks a lot again :D

edit: i've just tried to set this up on another skin - like copy and paste all the contents and move them where they belong but it didnt work out for me, it all went all the way at the bottom, under copyright and stuff, about to try on another one, hope it works

LEAD_WEIGHT 07-05-2007 04:56 AM

njoker555, you can not use the same identification to collaspe a cell. This is meant for one cell and you ca change 'rightbar_1' to 'rightbar_2' or if you callaspe one with the same (id), then it will stay close or just not work at all.

If you create a collasping cell make sure that cell has its own (id).

Code:

                        <td class="tcat">
                <a style="float:right" href="#top" onclick="return toggle_collapse('rightbar_1')"><img id="collapseimg_rightbar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<!-- title start -->
                        Right Column Bar
<!-- / title end -->
                        </td>
                </tr>
                </tbody>
                <tbody id="collapseobj_rightbar_1"


njoker555 07-05-2007 02:52 PM

yea i fixed that - but im trying to set it up on another theme - http://www.gamers-forum.com/index.php?styleid=4 - and in the frnt page looks good but on the footer, it stretches the white line and when you go into see a topic, the top bar like shrinks, and when u post a reply the panel overlaps - i've tried changing the stylevars like last time but its not working, it just looks worse, i've attached some screenshots of those pics. help again, is apprecaite :D

thanks!

edit: and i did the spacer thing u showed and it just screws it up even more

LEAD_WEIGHT 07-05-2007 10:21 PM

njoker555 did you add to Additional Cascading Style Sheetings and edit spacer_open in that style. Plus did you edit in 'Sizes and Dimensions' for message area & code and then run update counter.

njoker555 07-06-2007 12:17 AM

Quote:

Originally Posted by LEAD_WEIGHT (Post 1283904)
njoker555 did you add to Additional Cascading Style Sheetings and edit spacer_open in that style. Plus did you edit in 'Sizes and Dimensions' for message area & code and then run update counter.

yes i did - but these were already in the additional cascading style sheet - in the bottom text box, so i just put the addition there, this is what it already had:

Code:

.menu {
        padding-left: 10px;
        font-size: 8pt;
        color: #FFFFFF;
        border-left: 2px solid #1E1E1E;
        border-right: 2px solid #1E1E1E;
}

.menu a:link, .menu a:visited, .menu a:active {
        font-size: 8pt;
        color: #FFFFFF;
        font-weight: bold;
        text-decoration: none;
}

.menu a:hover {
        font-size: 8pt;
        color: #FFFFFF;
        font-weight: bold;
        text-decoration: underline;
}

and i added this under it:

Code:

.spacer-open { padding: 0 25px; }
.spacer-open .spacer-open { padding: 0; }

i dont know if thats the problem

LEAD_WEIGHT 07-06-2007 12:50 AM

What does your 'Sizes and Dimensions' of Style RedBar have for values.

Message Area Width (pixels) [???]
(This value allows you to specify the width in pixels of the text box used for all message posting in vBulletin)

Code Block Width (pixels) [???]
(This value controls the width of [code], [php] and [html] bbcode blocks. You may set this value to 'auto', but if you do, Internet Explorer will stretch the width of the block rather than inserting a scrollbar.)

njoker555 07-06-2007 01:13 AM

Main Table Width (pixels or percentage) - 780
Spacer Size (pixels) -- 10
Outer Border Width (pixels) -- 20
Inner Border Width (pixels) -- 1
Table Cell Padding (pixels) -- 6
Form Element Spacer Size (pixels) --3
Form Width (pixels) -- 640px
User Control Panel Form Width (pixels) -- 480px
Message Area Width (pixels) -- 440px
User Control Panel Message Area Width (pixels) -- 380px
Code Block Width (pixels) -- 440px

thats all of them

edit: and if u look at the theme with teal black - its all the way at the bottom, i dont know why but icant get it to work in any other themes except the first one :(

help really appreciated, thanks!

LEAD_WEIGHT 07-06-2007 02:12 AM

I do not see any difference in Teal to default style other then you do not have sidebar displaying at forum index on Teal.

I would want to test that style RedBar, but I do not have the time to do it this week. I know it is something simple with the navbar template, but I am not sure. Is this style located at vBulletin.org [Free Styles Forum]

njoker555 07-06-2007 02:31 AM

yea thats where i got it - and for the teal one - in the front page, its all the way at the bottom of the forum lol, look for it, just scroll all the way down

and i finally found a template that works -- http://www.gamers-forum.com/index.php?styleid=11 - silver and red - also from this forum - and it works perfectly :)

thanks for all your help - i do like redbar better but just let me know when/if you've found a solutions because i can live with this current one now :)

how would i make it so this theme is changed for everyone and people visiting the forum sees this first?

LEAD_WEIGHT 07-06-2007 02:39 AM

I could just help you edit these into your template(s) if you want. Just make me have only 'Can Administer Styles' set for that user.

If you do it has to be next day... as I am going out right about now.

skooby 07-07-2007 02:36 AM

Is there anyway to show your calendar in the weekly view in one of the boxes?

LEAD_WEIGHT 07-07-2007 01:06 PM

skooby if you want a real working vB calendar, then you should get vBadvanced.com cmps or this Java Script one here in this link. I am in the process of creating a .php version that loads faster.
https://vborg.vbsupport.ru/showpost....63&postcount=2


All times are GMT. The time now is 06:30 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.01772 seconds
  • Memory Usage 2,017KB
  • 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
  • (22)bbcode_code_printable
  • (2)bbcode_php_printable
  • (7)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
  • (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