In the showthread template there is this code:
Code:
<vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if> Code:
<vb:if condition="$show['closethread']"> |
This conditional is being placed in a forum block, but doesn't work correctly. I only wish to display the code to members who are logged in. Not guests.
Here's what I have: Code:
<vb:if condition="$show['member']"> Thanks! |
@BirdOPrey5
thx, but its not work to me.. :( * my code at postbit_legacy @tundrasoul may be this..? Code:
<vb:if condition="$show['guest']"> |
Quote:
|
or this.. ?
Code:
<vb:if condition="!is_member_of($bbuserinfo, 1)">Show this to user group not guest</vb:if> |
Quote:
The code still displays to everyone including guests. |
@tundra
this is worked for me : Code:
<vb:if condition="$bbuserinfo['usergroupid'] == 1"> |
Quote:
Did you try it in the forum block code? It doesn't work there for me, using vB 4.13. |
Quote:
For example the closedthread check is only done in showthread, not postbit, so you have to pre-register it for postbit. |
hi
how to display Google ads to the guest and in home page only? |
All times are GMT. The time now is 01:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|