inherit
\o/ ^o^ /o_ /o\
16464
0
Apr 28, 2024 3:27:19 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Aug 29, 2013 11:40:55 GMT -8
pawl, when I click on the link that's suppose to be viewable I can't view it no more (on your site). Gah, bloody hell! x.x This is beginning to annoy me, haha. Gimme five minutes...
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,590
December 2012
avinalaff
|
Post by Barkley on Aug 29, 2013 11:43:26 GMT -8
Should it be used in conjunction with the general permission settings? General permissions should leave boards as viewable by everyone for the board. Could you just confirm that you're using the new code, with only 1 {/if} at the bottom? =] Yes Paul, 1 x if. View and access to everyone.
|
|
inherit
196452
0
Nov 1, 2013 7:40:31 GMT -8
Baller95
What's for dinner?: Food
1,771
July 2013
baller95
|
Post by Baller95 on Aug 29, 2013 11:45:42 GMT -8
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,590
December 2012
avinalaff
|
Post by Barkley on Aug 29, 2013 11:45:46 GMT -8
Baller95, yours is working for me mate
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Apr 28, 2024 3:27:19 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Aug 29, 2013 11:49:15 GMT -8
Other boards are broken though. =P Still working on it, should have something shortly. =]
|
|
inherit
196452
0
Nov 1, 2013 7:40:31 GMT -8
Baller95
What's for dinner?: Food
1,771
July 2013
baller95
|
Post by Baller95 on Aug 29, 2013 11:53:05 GMT -8
Barkley I've set my view and access permissions to everyone and put in the new code pawl posted. Be sure to put the proper board number on the template pawl's given
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Apr 28, 2024 3:27:19 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Aug 29, 2013 11:54:51 GMT -8
Okay, if you could try this for me - it's not pretty but it seems to work without a problem on my test forum, all boards, logged in or out. =]
Top:
{if $[thread.board.id] == "1"} {if !$[current_user.is_member]} <div class="container posts"> <div class="title-bar"> <h2>Error!</h2> </div> <div class="content cap-botom"> <div style="padding: 10px;"> Error Message </div> </div> </div> <!-- {/if} {/if}
Bottom:
{if $[thread.board.id] == "1"}{if !$[current_user.is_member]}-->{/if}{/if}
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,590
December 2012
avinalaff
|
Post by Barkley on Aug 29, 2013 11:55:11 GMT -8
Barkley I've set my view and access permissions to everyone and put in the new code pawl posted. Be sure to put the proper board number on the template pawl's given Your number is 18? Yes?
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,590
December 2012
avinalaff
|
Post by Barkley on Aug 29, 2013 11:58:38 GMT -8
Okay, if you could try this for me - it's not pretty but it seems to work without a problem on my test forum, all boards, logged in or out. =] Top: {if $[thread.board.id] == "1"} {if !$[current_user.is_member]} <div class="container posts"> <div class="title-bar"> <h2>Error!</h2> </div> <div class="content cap-botom"> <div style="padding: 10px;"> Error Message </div> </div> </div> <!-- {/if} {/if}Bottom: {if $[thread.board.id] == "1"}{if !$[current_user.is_member]}-->{/if}{/if}Thanks Paul. Not working that I can see. Is the <!-- supposed to be in there?
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,590
December 2012
avinalaff
|
Post by Barkley on Aug 29, 2013 11:59:27 GMT -8
oops, hold on. Noticed there is another number to change at bottom. brb
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Apr 28, 2024 3:27:19 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Aug 29, 2013 12:00:23 GMT -8
Yeah, the <!-- is intentional, it's closed at the bottom. That stops the boards from displaying for guests, after putting the error message up. Code is live on my test board here, works logged in and out.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,590
December 2012
avinalaff
|
Post by Barkley on Aug 29, 2013 12:01:06 GMT -8
ok, made both numbers number 8, and not working that I can tell.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,590
December 2012
avinalaff
|
Post by Barkley on Aug 29, 2013 12:02:44 GMT -8
Is it safe to post the complete template for you to view, or do you have access anyway?
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Apr 28, 2024 3:27:19 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Aug 29, 2013 12:03:37 GMT -8
ok, made both numbers number 8, and not working that I can tell. How very odd - what I posted it copied straight from my test template, which seems to be working fine. =/
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,590
December 2012
avinalaff
|
Post by Barkley on Aug 29, 2013 12:05:52 GMT -8
Could the global log in affect it ?
|
|