![]() |
Show/Hide Subforums
1 Attachment(s)
Show/Hide Subforums & Save Page Load Time...! Hello All, Hope this mod is not present already and this mod will be useful to save page load time for busy/huge forums like ours. Lets Start :) GOTO --> Style Manager --> forumhome_forumbit_level1_post Find: Code:
{vb:raw forum.subforums} Code:
<div class="divspoiler"> Button Style CSS: [Add below code any were in additional.css template] Code:
.mc { LIVE DEMO Thanks All |
1 Attachment(s)
heres an attached image from the site.
|
Thanks !
Possible to exclude forum sections ? :) |
good job friend, you would have to do to be centered under the subforum oh?
|
Quote:
Thanks Quote:
Thanks |
Thanks , ready.
|
nice setup looks like xda forum but the light version :D
|
Quote:
|
Quote:
|
Quote:
Most likely the JavaScript is not executing, check your browser for JavaScript errors. |
This works great using vb4.2.0
no problems at all! |
Works on 4.2.1 too ;)
Thanks a lot |
good work
|
anyway to make this work on certain forums only?
|
Yes possible just use if - else it will work below is example and demo
PHP Code:
PHP Code:
|
Excellent :) One thing I did notice: If there is no Forum Description entered the Button locates it self to the right but if there is a Description the button will stay under the Description.
Trying to figure out...How to keep the button under Forum Title without the forum Description? |
perfect, thanks :)
|
Quote:
Code:
<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if> |
1 Attachment(s)
I could be wrong but I believe the code would add a forum description?
Here is an image of what it looks like when there is No forum description... |
Show/Hide Subforums buttons removed from Demo site?
|
Nope its still present see "Programming" Section
@Mr. Running give me your forum url so that i can check once Regards, |
would be nice to have it in FORUMDISPLAY template too ;)
|
That's a good looking site you got there ramesh_umk3.
I particularly like the collapsible postbit. Is that a mod from here or one of your own? |
Quote:
Quote:
|
1 Attachment(s)
I think you have me misunderstood kind sir..
I have applied the code above and see no changes. Perhaps this is because I have no sub forums to work with, I will create them tomorrow. What I was referring to was this.... https://vborg.vbsupport.ru/attachmen...1&d=1399053032 Slightly confused here..:confused: |
Yes brother i understood what you asked just little changes of the code which i provided here and you will get it :)
Example: Quote:
that's it |
Thanks for your patience old boy but I really have no idea what you are talking about.
Code:
<div class="divspoiler"> |
Just Paste your complete POSTBIT_LEGACY code here it would be simple now :)
|
Cheers Mr umk_3, I will give that a go in the morning...
My head is full of numbers and symbols right now and drinking beer doesn't make it any easier.. |
All times are GMT. The time now is 05:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|