Thanks for replying, Lynne.
I've tried both of these:
PHP Code:
if ($forumid == 55)
PHP Code:
if ($forum[forumid] == 55)
Those both have the same result.
What I end up with is a blank thread title and date, but the "by
user" is still there, along with the post icon and the arrow to see the latest post. (Of course, being private, it takes you to the vB error screen when clicked and not logged in.)
The "private_1" message is not shown.
If I change it back to "private", however, the private default vbphrase shows up fine.
-
-------- UPDATE:
Actually, I found another workaround.
PHP Code:
<td class="alt2" width="%">
<if condition="is_member_of($vbulletin->userinfo, 5, 6, 7)">
$forum[lastpostinfo]
</if>
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3, 4)">
<if condition="$forum[forumid] == 55">
$vbphrase[private_1]
</td>
<else />
$forum[lastpostinfo]
</if>
</if>
</td>
This completely bypasses the membership login check, and hard codes a display predetermined by user group.
4,5,6 are admin/mod users.
1,2,3,4 are members
To show the forum content to a user group, move them to the first conditional.
(My own code is actually more complicated, more usergroups and workarounds, but no need to make this complex by over-sharing.)
If anybody finds this useful, click the heart.