Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Making something collapsible inside templates, using collapsible block Details »
Making something collapsible inside templates, using collapsible block
Mod Version: 1.00, by Alan_SP (Designer) Alan_SP is offline
Developer Last Online: Oct 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (0 vote - 0 average) Installs: 4
Released: 28 Nov 2015 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

Well, sometimes we want to make something collapsible, so users can see it, or not, depending on their wishes.

To make some HTML code collapsible in vB4, you need to use this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In upper example I used CODE BBtag so I can use color BBcode, so you can see in red what are variables you can (and have to) change to suit your needs. The two unique names in green must be the same that collapsing work.

This is most universal example, you can also have ordered list, than you have something like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

For example, you can use for code there: {vb:raw infractionbits} or {vb:raw reputationcommentbits} or something similar.

One example you can find here: http://www.vbulletin.org/forum/showthread.php?t=278884 Here I made collapsible block of usernotes in user profile.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:27.

Layout Options | Width: Wide Color: