Customizing SMF > SMF Coding Discussion
Show stuff only in topics what are public
Arantor:
You're looking in the wrong direction, since you're still focusing on what boards the current user can see, not whether the board can be seen by guests. Two different ways of looking at the same thing.
Owdy:
Anyone? Please? :D
Bugo:
--- Code: --- if (in_array('-1', $board_info['groups']))
your_code
--- End code ---
Owdy:
Thanks, i try that! :)
Owdy:
Didnt work, doesnt show anything.
';
if (in_array('-1', $board_info['groups']))
echo '
<div class="addthis_toolbox addthis_default_style" style="float:right;position:relative;bottom:-7px;">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_identica"></a>
<a class="addthis_button_compact"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=****"></script>
';
echo '
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version