Hello all,
if a user is subscribed to particular thread he should see unsubscribed link were as my users always see subscribed link on subscribed threads aswell i added OR statement that also didnt worked looking for help below is my code
Quote:
<vb:if condition="$show['subscribed']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&t={vb :raw threadid}" rel="nofollow" class="newcontent_textcontrol"><span>-</span> {vb:rawphrase unsubscribe_from_this_thread}</a>
<vb:else />
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&t={vb:ra w threadid}" rel="nofollow" class="newcontent_textcontrol"><span>+</span> {vb:rawphrase subscribe_to_this_thread}…</a>
</vb:if>
|
thanks waiting for reply