3.1.x SnippetsCollapse in 3.1.x

Snippets
User avatar

martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Collapse in 3.1.x

Post by martin »

CorradoG60.com wrote:
EDIT: I also checked the source of this site, and it doesn't have the coding the same as shown in the first post of this topic, it passes validation, so the first post instructions must be wrong?
Now go check my site wink im using the code in first post and it passes on mine :whistl:

Blades-place - Index page or direct link [Valid] Markup Validation of http://www.blades-place.dyndns.info/index.php - W3C Markup Validator

the test site wont pass and the collapse on this site is done by an ext that if i remember right conflicts.
Use this to install an ext on your board no more ftp or path making.
Path too install this ext is ext/boardtools/upload
Download is here Make it easy for us to solve your issues
User avatar

martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Collapse in 3.1.x

Post by martin »

Made a small change yourdomain.com - Index page now valid.
User avatar

dsaf
Users
Users
Magic user status: Offline
Posts: 31
Joined: Jan 17th, '15, 16:51
    Windows 7 Chrome

Re: Collapse in 3.1.x

Post by dsaf »

Is there a way to change or set the z-index perhaps to stop the collapse icons appearing in the notification panel on smaller screens?

Image
User avatar

martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Collapse in 3.1.x

Post by martin »

Css file
Find This may be a partial find and not the whole line

Code: Select all

.trigger {
    background: url("./images/collapse-icon.png") no-repeat;
    width: 32px;
    height: 17px;
    cursor: pointer;
    float: right;
    position: relative;
    z-index: 9998;
    margin-top: -21px;
}

.active {background-position: left top;}
.inactive {background-position: left bottom;}
Replace with Replace the preceding lines with the following

Code: Select all

.trigger {
    background: url("./images/collapse-icon.png") no-repeat;
    width: 32px;
    height: 17px;
    cursor: pointer;
    float: right;
    position: relative;
    z-index: 2;
    margin-top: -21px;
}

.active {background-position: left top;}
.inactive {background-position: left bottom;}
the above will stop the collapse going over other images i have not tested on a smaller screen yet so pls post a result.
User avatar

dsaf
Users
Users
Magic user status: Offline
Posts: 31
Joined: Jan 17th, '15, 16:51
    Windows 7 Chrome

Re: Collapse in 3.1.x

Post by dsaf »

Martin,

Thats what I tried first, hasnt worked.. still shows after purge?
User avatar

martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Collapse in 3.1.x

Post by martin »

Looking at your site now on iphone and cant see a collapse icon
User avatar

dsaf
Users
Users
Magic user status: Offline
Posts: 31
Joined: Jan 17th, '15, 16:51
    Windows 7 Chrome

Re: Collapse in 3.1.x

Post by dsaf »

Um.. Its there on android? Its a white -. I dont have a iPhone to test?

Image
User avatar

dsaf
Users
Users
Magic user status: Offline
Posts: 31
Joined: Jan 17th, '15, 16:51
    Windows 7 Chrome

Re: Collapse in 3.1.x

Post by dsaf »

Ah i see what the issue is martin, you have to be logged in as when logged out your viewing forumlist_body2.html which hasnt got collapse written into it.
User avatar

martin
Admin
Admin
Magic user status: Offline
Posts: 4777
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Collapse in 3.1.x

Post by martin »

There is now a collapse ext out on phpbb.com.
User avatar

ninowebs
Users
Users
Magic user status: Offline
Posts: 29
Joined: Jun 4th, '15, 21:44
    Windows 7 Chrome

Re: Collapse in 3.1.x

Post by ninowebs »

I can apply this change , for the closing blocks of portal board3 ?

tnk
User avatar

Emperor1
Users
Users
Magic user status: Offline
Posts: 9
Joined: Dec 9th, '15, 13:11
    Ubuntu Chrome

Re: Collapse in 3.1.x

Post by Emperor1 »

Is there a ready extension?
User avatar

Topic Author
dmzx
Founder
Founder
Magic user status: Online
Posts: 5974
Joined: Jan 13th, '14, 20:45
    Windows 10 Firefox

Re: Collapse in 3.1.x

Post by dmzx »

Emperor1 wrote: Aug 22nd, '16, 09:05 Is there a ready extension?
What are you looking for the Collapse extension?
binance.com ;) try it!
User avatar

clight77
Donator
Donator
Magic user status: Offline
Posts: 435
Joined: Sep 24th, '15, 14:23
    Windows 10 Chrome

Re: Collapse in 3.1.x

Post by clight77 »

Just marking this for sidebar use
User avatar

clight77
Donator
Donator
Magic user status: Offline
Posts: 435
Joined: Sep 24th, '15, 14:23
    Windows 10 Chrome

Re: Collapse in 3.1.x

Post by clight77 »

Will this work in phpbb 3.2?