Jump to content


Buy 2 skins get 1 free
Refer members and earn 20% commission on purchases they make!

Xenforo Mod [Colapseable Sidebar]


6 replies to this topic

#1 Rikku33

    Premium Customer

  • Customer
  • 70 posts

Posted 24 June 2011 - 12:36 AM

This is an auto templete addon.

Upload files from upload folder to your xenforo root.

Then install the addon like you would install any other addon in zenforo.

These next instruction is important for custom skins make sure you put folder in each of your custom style folders.

For example for BP skins you would put it here. BP-Black>CollapsibleSidebar.

Repeat for each of your custom styles.

This feature is similar to Vbulletin hide and unhide sidebar feature for the xenforo forums.

Demo: http://gwempire.com/forums/


Enjoy, Rikku

Attached Files



#2 Rikku33

    Premium Customer

  • Customer
  • 70 posts

Posted 24 June 2011 - 12:54 AM

For the ones who use xenporta you will need to remove mod from it as it hides everything. here is the fix.

anyone that has the XenPorta mod installed, here is a fix that removes the sidebar collapse feature from the portal page:

in the collapsible_sidebar_js template

find:

<xen:if is"{$sidebar}">

replace with:

<xen:if is="{$sidebar} AND {$contentTemplate} != 'EWRporta_Portal'">


#3 Sean James

    Administrator

  • Administrators
  • 12,627 posts
  • LocationSydney Australia

Posted 24 June 2011 - 01:58 AM

Awesome mate thank you very much for posting this tutorial.

Much appreciated.

#4 Rikku33

    Premium Customer

  • Customer
  • 70 posts

Posted 24 June 2011 - 02:21 AM

Your very welcome trying to take featues i like from old frame work and incorparate them as stand alones for now.

#5 Rikku33

    Premium Customer

  • Customer
  • 70 posts

Posted 24 June 2011 - 02:30 AM

Also for the bp black series 2 templates in the collapsible_sidebar_js template

Find:
 $('.mainContent').animate({marginRight:'260px'},'slow');

and change to:

 $('.mainContent').animate({marginRight:'255px'},'slow');

as i found this to have the perfect spacing as the sidebar is open and closed and vice vera 255px-260px is just right its just a matter of preference. And it is 260px by default.

#6 Sean James

    Administrator

  • Administrators
  • 12,627 posts
  • LocationSydney Australia

Posted 24 June 2011 - 07:24 AM

Just converted one of my own personal forums to XenForo recently, will test this out on it when I get some time next week.

Thanks again

#7 Rikku33

    Premium Customer

  • Customer
  • 70 posts

Posted 24 June 2011 - 11:47 AM

yeah anytime





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Links

Customers

Our Network

Our Friends


  • Follow us...
  • Subscribe to our Announcements
  • Follow us on Twitter
  • Follow us on Facebook
  • Follow us on LinkedIn
  • Follow us on Google +
  • We accept Paypal & 2Checkout with Mastercard and Visa