Former Member
inherit
guest@proboards.com
101401
0
Nov 24, 2024 7:43:48 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 29, 2013 20:53:38 GMT -8
Is there a code that will keep guest from seeing forum info?The setting in the admin area hides info center from members as well as guest.I would like to just hide it from guest. Thank you Restless Hearts
|
|
inherit
193552
0
Aug 11, 2018 2:35:17 GMT -8
sausages
67
April 2013
sausages
|
Post by sausages on Apr 30, 2013 16:20:34 GMT -8
Hi All +1 Id like this as well if possible to work in V5 thanks in advance
|
|
inherit
193450
0
Oct 5, 2014 18:41:25 GMT -8
Oneeb Malik
51
April 2013
oneeb
|
Post by Oneeb Malik on May 1, 2013 4:24:35 GMT -8
Try this: Go to your Admin Panel, then 'Themes', then 'Layout Templates' and click on the 'Home' template. In the source code, look for the line "{if $[show_stats]}". Right after that line, type this (without quotes): "{if $[current_user.is_member]}". Then go to the complete end of the code and right before where it says "{/if}", type another "{/if}". It should work
|
|
inherit
193552
0
Aug 11, 2018 2:35:17 GMT -8
sausages
67
April 2013
sausages
|
Post by sausages on May 2, 2013 4:11:57 GMT -8
Hi Oneeb Worked like a charm ! Thankyou
|
|
inherit
193450
0
Oct 5, 2014 18:41:25 GMT -8
Oneeb Malik
51
April 2013
oneeb
|
Post by Oneeb Malik on May 2, 2013 4:56:01 GMT -8
Glad to help
|
|
Former Member
inherit
guest@proboards.com
101401
0
Nov 24, 2024 7:43:48 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on May 7, 2013 12:13:35 GMT -8
Well it didn't work for me. Is there a code I can use so it will affect all the skins hiding the info center from guest please?I hate v5 and how if you want something on all skins you have to go through each one individually.On my sad thats alot of flippin skins.lol
|
|
inherit
193450
0
Oct 5, 2014 18:41:25 GMT -8
Oneeb Malik
51
April 2013
oneeb
|
Post by Oneeb Malik on May 7, 2013 14:55:42 GMT -8
Did you put the above-mentioned code into your default theme? It will only work if the template you pasted it in was set as your default. And sorry, but to my knowledge, I don't think there is a way to affect all the themes. v5 is actually MUCH easier to use than the previous version, especially from a developer point-of-view. The code and stylings are all in front of you and you can edit almost anything. It helps to know a little HTML and CSS though.
|
|
inherit
186252
0
Jan 5, 2015 2:31:10 GMT -8
Demian Kinley
54
November 2012
demiankinley
|
Post by Demian Kinley on May 15, 2013 8:47:33 GMT -8
change your code with this ..
{if !$[current_user.is_member]} . . . . . . . {/if} this works..
|
|