Results 1 to 19 of 19

Thread: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

  1. #1

    Smile Collapse Sidebars of vBA CMS (1.0.1)

    Version: 1.0.1
    vB Version: 3.5.2
    Assuming that you have vBAdvanced Version: 2.1.0 with this integration installed.

    Description: Give your users an option to collapse the sidebars of your integrated vBulletin Forum & vBAdvanced CMS.
    Details: 1 Template Change and 1 Product XML (with 1 Plugin, 2 Settings, 4 Phrases and 0 Template).
    Difficulty: very easy (plugin product and one template change).

    Author: Milad

    Upgrading: If you upgrade from 1.0.0, I prefare you uninstall the product (Because the product ID was changed) and revert adv_portal template, then reinstall it as the following instructions.

    Installation:
    1. Import product-collapse_sidbars_vba.xml into your PRODUCTS by going to
      Plugin System -> Manage Products -> Add/Import Product
      IF YOU ARE UPGRADING, be sure to set "Allow Overwrite" to "Yes".
    2. Upload 4 images (left_vbacollapse.gif, left_vbacollapse_collapsed.gif, right_vbacollapse.gif and right_vbacollapse_collapsed.gif) to forum/images/buttons directory.
    3. In adv_portal template do
      1. Find:
        [html]width="$vba_style[portal_leftcolwidth]"[/html]
        Replace with:
        [html]width="$vba_style[portal_leftcolwidth]" id="collapseobj_left_sidebar" style="{$vbulletin->left_sidebar_style}"[/html]
      2. Find:
        [html]width="$vba_style[portal_rightcolwidth]"[/html]
        Replace with:
        [html]width="$vba_style[portal_rightcolwidth]" id="collapseobj_right_sidebar" style="{$vbulletin->right_sidebar_style}"[/html]
      3. Find:
        [html]$home[centerblocks][/html]
        Add above:
        [html]<if condition="$show[left_column] and $vboptions[allow_collapse_left_sidebar]">
        <a href="#top" onclick="return toggle_collapse('left_sidebar')" style="float:$stylevar[left]; margin-bottom:2px"><img alt="" border="0" src="$stylevar[imgdir_button]/$stylevar[left]_vbacollapse{$vbulletin->left_sidebar_image}.gif" id="collapseimg_left_sidebar" /></a>
        </if>
        <if condition="$show[right_column] and $vboptions[allow_collapse_right_sidebar]">
        <a href="#top" onclick="return toggle_collapse('right_sidebar')" style="float:$stylevar[right]; margin-bottom:2px"><img alt="" border="0" src="$stylevar[imgdir_button]/$stylevar[right]_vbacollapse{$vbulletin->right_sidebar_image}.gif" id="collapseimg_right_sidebar" /></a>
        </if>[/html]
    4. Click to receive updates.
    5. Done! Thank you for installing.

    Changelog:
    • Feb, 21st 2006: (1.0.0)
      • Initial release

    • Feb, 23rd 2006: (1.0.1)
      • Appearance improved, see this post. (screenshots updated)
      • Add the abbility to collapse both left and right sidebars.
      • Add two options in "Style & Language Settings" to Allow/Disallow Collapsing Left/Right sidebar.
      • Arrows Directions work in both RTL & LTR forums.
      • Hack was renamed "Collapse Left Sidebar of vBA CMS" -> "Collapse Sidebars of vBA CMS".

    Support is free-time controlled.
    Last edited by Milad; 02-22-2006 at 09:46 PM.

  2. #2

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    Get Support HERE

  3. #3

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    I assume this is for people that have integrated a sidebar into the forum pages themselves e.g. forums/index.php, forums/forumdisplay.php, and forums/showthread.php, Yada Yada.

    I know, stupid question, but...




  4. #4

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    Yes you'r right

    Thread updated.

  5. #5

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    1.0.1 released.

  6. #6

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    Very nice .. thanks for releasing ..

    A suggestion .. Can you make it to remember each collapse per page?

  7. #7
    Join Date
    Nov 2004
    Posts
    108

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    Wonderful hack, I have it installed and my members think very highly of it.
    One question though, how come in Firefox the images appear as in your screenshots, to each side of the centreblock, but in IE they appear just above the centreblock??
    Not a problem or error, just curious.

    Patience is something I learned the hard way!
    I drove National Express coaches for 6 years....

  8. #8

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    Quote Originally Posted by Slave
    Very nice .. thanks for releasing ..

    A suggestion .. Can you make it to remember each collapse per page?
    This will require you to collapse each page.
    I think it is not good to do.

  9. #9

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    Quote Originally Posted by gothic1213
    Wonderful hack, I have it installed and my members think very highly of it.
    One question though, how come in Firefox the images appear as in your screenshots, to each side of the centreblock, but in IE they appear just above the centreblock??
    Not a problem or error, just curious.
    It designed to appear above the central block, and it looks different in FF.
    I think it looks better in IE.

    In the next version, appearance will be united.

  10. #10
    Join Date
    Nov 2004
    Posts
    108

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    Quote Originally Posted by Milad
    In the next version, appearance will be united.
    Very good news, I look forward to it. Thankyou.

    Patience is something I learned the hard way!
    I drove National Express coaches for 6 years....

  11. #11
    Join Date
    Nov 2004
    Posts
    108

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    Any news on the update for this brilliant mod ??

    Patience is something I learned the hard way!
    I drove National Express coaches for 6 years....

  12. #12

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    does this work on the front portal page? (non-vbulletin pages)

  13. #13

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    This Hack doesn´t works with CMPS 3.0...

    The adv_portal-template-code was changed at 3.0. Now the sidebar collapsed, but by clicking on another forumsite (or refreshing the site) the sidebar will be showing up automatically... I tried to edit the template, but it doesn´t works.

    Can you make this hack compatible to CMPS 3.0, please!?

  14. #14

    Default Re: [Hack] Collapse Left Sidebar of vBA CMS (1.0.0)

    Is there any way to make it as an option in User CP?

    I mean to enable or disable vBAdvanced columns...
    Aure entuluva!

    http://www.dipsizkuyu.net - Turkey's fountain of knowledge.

  15. #15

    Default

    Seems to work ok for me in 3.0.1 . State of column is remember upon page refresh.

    The only thing need to work on is the spacing when the column is expanded.

  16. #16

    Default

    Quote Originally Posted by Carsten View Post
    This Hack doesn´t works with CMPS 3.0...

    The adv_portal-template-code was changed at 3.0. Now the sidebar collapsed, but by clicking on another forumsite (or refreshing the site) the sidebar will be showing up automatically... I tried to edit the template, but it doesn´t works.

    Can you make this hack compatible to CMPS 3.0, please!?
    I'm getting the same problem

    Please can anyone help - this is a BRILLIANT Hack that needs updating

  17. #17
    Join Date
    Mar 2006
    Posts
    8

    Default

    no updates to this?

  18. #18
    Join Date
    Jan 2006
    Posts
    10

    Default

    Is there a way to set permissions per usergroup for this hack? I'd like to reward a certain usergroup with being able to collapse sidebars, whereas regular and gu3ests cannot collapse.
    Greg Cagle
    Site Admin
    http://www.ChipTalk.net

  19. #19
    Join Date
    May 2010
    Posts
    1

    Default

    Hey guys,

    Anyone who got a solution, please share it!

    Thanks for those who tried.
    ------------------------------------
    Smile, life is tooooooooo short!
    Ammar,
    Syrian Clinic Medical Information Guide

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. left sidebar in Links
    By CSS59 in forum "How Do I..." Questions
    Replies: 6
    Last Post: 08-04-2005, 02:51 PM
  2. Flash Header & Left SideBar
    By DGTLMIK in forum Troubleshooting / "How do I..." Questions
    Replies: 5
    Last Post: 04-07-2005, 06:41 PM
  3. SideBar to the left of the Breadcrumb Bar
    By DGTLMIK in forum Troubleshooting / "How do I..." Questions
    Replies: 5
    Last Post: 02-17-2005, 04:49 PM
  4. Opinions needed - collapsable left sidebar
    By Alan @ CIT in forum Add-On Modules & Modifications
    Replies: 3
    Last Post: 01-03-2005, 01:13 PM
  5. Left sidebar on forum home doesn't work
    By golfrewind in forum Troubleshooting / "How do I..." Questions
    Replies: 7
    Last Post: 07-25-2004, 10:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •