Adding new content after forums for any category - Posted (648 Views)
Starting Member
aow
Posts: 25
25
My categories are restricted to members only, so they can only see a subset of all available categories.
I want to add additional content (in table rows) beneath the list of forums in every category. This is not the problem. The problem is that this information is visible even for categories that a member is restricted from. I cannot figure out how to make it invisible, how to make its visibility coincide with the visibility of any category for a given member.
The visibility of any category seems to be driven by the following code? - if chkDisplayHeader then ....<br> chkDisplayHeader = false<br>end if but I cannot seem to adapt this to work again, if I place the new content below the code which displays the available forums for the category.
Can anyone offer some suggestions?<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
I'd find the usergroups mod and base the display of that content on which group they are a part of. Might make things easier.
Just my 2c.<
Posted
Support Moderator
Shaggy
Posts: 6780
6780
Are you hardcoding this text in or is it being pulled from a database? My first guess would be that you added your code outside of the if statement that determines whether to display a category or not. We'd be better able to help you if you coud provide us with a link to your forum (with a test login) as well as a link to a *.txt copy of your default.asp file.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
 
You Must enter a message