ok just in case anyone is interested who may be confused on where to put the switch, here is what i did and it might help you understand this better.
now this is just what i did, you might want to do something different.. im just adding this because i just did this and i wanted to share to make it easier for you..
after you place the code in the functions php file.. which by the way that place your looking for to place that code is near the bottom of functions php lol... i should have started from the bottom up lol
now once thats is there... i went to the templates folder forumlist_body.html and at the very top of that file before anything else i put this
Code: Select all
<!-- switch for adult group members only, this will not display for non members -->
<!-- IF S_GROUP_8 -->Welcome back Afterdark Group Member. You may access the Afterdark Forum <a href="http://forum.xxxxxx.com/viewforum.php?f=29">Here</a>
<!-- ENDIF -->
then refresh your template from the acp... at the top of your forum list on the main page you will see that switch display if you are a member ... the way it works is that the message only displayes if in fact you are a member of that group.. everyone else just sees nothing there.
the address of course i got from just coping the url from the browser..
hope that helps someone.. thanks