inherit
76433
0
Feb 4, 2016 13:01:27 GMT -8
Frosty225
New Resident Evil RP Site based off of the Original trilogy. Links in Signature.
452
April 2006
frosty225
|
Post by Frosty225 on Sept 15, 2014 22:51:59 GMT -8
I'm not sure if this is the proper place for this but.... Okay so, this is the board in question: apocalypseafter.proboards.com/board/79/013There is a Div Table and then the thread listing and legend visible. What I would like to do, is make it to where non-staff group members will only see the Div table and the table will have links that when clicked will link them to File threads. So How do I do this?
|
|
Alisha
Junior Member
Cake, and grief counseling, will be available at the conclusion of the test.
Posts: 308
inherit
174267
0
Jun 17, 2024 17:20:06 GMT -8
Alisha
Cake, and grief counseling, will be available at the conclusion of the test.
308
December 2011
alishabussart
|
Post by Alisha on Sept 15, 2014 23:09:29 GMT -8
Okay, I'm just throwing this out there off the top of my head, so it might not work, but try adding this to that board's header. This should hide the thread list and such.
{if !$[user.is_staff]}<style>div#content { display:none }</style>{/if}
|
|
inherit
76433
0
Feb 4, 2016 13:01:27 GMT -8
Frosty225
New Resident Evil RP Site based off of the Original trilogy. Links in Signature.
452
April 2006
frosty225
|
Post by Frosty225 on Sept 15, 2014 23:13:05 GMT -8
Okay it worked for the most part to the point that all of it is hidden ((even from me)) however under the Div table it shows this bit of code:
{if !$[user.is_staff]}{/if}
|
|
Alisha
Junior Member
Cake, and grief counseling, will be available at the conclusion of the test.
Posts: 308
inherit
174267
0
Jun 17, 2024 17:20:06 GMT -8
Alisha
Cake, and grief counseling, will be available at the conclusion of the test.
308
December 2011
alishabussart
|
Post by Alisha on Sept 15, 2014 23:32:16 GMT -8
Frosty225, *facepalm* Okay, I forgot the if statements only work in layout templates(and used the wrong variable). Remove what I originally gave you and try this in your Board Layout Template. Sorry about that! {if !$[current_user.is_staff]}{if $[board.id] == 79}<style>div#content { display:none }</style>{/if}{/if} Edit: Edited to change to your desired board.
|
|
inherit
76433
0
Feb 4, 2016 13:01:27 GMT -8
Frosty225
New Resident Evil RP Site based off of the Original trilogy. Links in Signature.
452
April 2006
frosty225
|
Post by Frosty225 on Sept 15, 2014 23:37:50 GMT -8
Oh, Okay XD. Alisha Is there a specific line or anything that this goes on?
|
|
Alisha
Junior Member
Cake, and grief counseling, will be available at the conclusion of the test.
Posts: 308
inherit
174267
0
Jun 17, 2024 17:20:06 GMT -8
Alisha
Cake, and grief counseling, will be available at the conclusion of the test.
308
December 2011
alishabussart
|
Post by Alisha on Sept 15, 2014 23:40:02 GMT -8
Frosty225, Nope. Anywhere should be fine. I'd suggest the top or the bottom so it doesn't get lost in the code.
|
|
inherit
76433
0
Feb 4, 2016 13:01:27 GMT -8
Frosty225
New Resident Evil RP Site based off of the Original trilogy. Links in Signature.
452
April 2006
frosty225
|
Post by Frosty225 on Sept 16, 2014 0:04:42 GMT -8
Alisha I added it and it works! You are amazing! That board is going to be my favorite board to use. Thank you so much
|
|
Alisha
Junior Member
Cake, and grief counseling, will be available at the conclusion of the test.
Posts: 308
inherit
174267
0
Jun 17, 2024 17:20:06 GMT -8
Alisha
Cake, and grief counseling, will be available at the conclusion of the test.
308
December 2011
alishabussart
|
Post by Alisha on Sept 16, 2014 0:06:39 GMT -8
|
|