When you have
$whoviewed_display_option = 2;
Those who are not allowed to view "
who viewed list" should
NOT see the link "
List users who viewed this thread" either
HTML Code:
<if condition="$whoviewed_display_option == 2">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<a href="showthread.php?$session[sessionurl]do=whoviewedpopup&t=$threadid" target="threadpop" onclick="window.open(this.href, this.target, 'width=640, height=400, resizable'); return false;">List users who viewed this thread
</td>
</tr>
</table>
<br/>
<br/>
</if>
Quote:
Originally Posted by Ocean
Alright everyone!
I have just released v1.3.0 of this hack, and I have given you what you asked for: the ability to have the Who Viewed information displayed in a Pop Up, instead of directly in the ShowThread page.
I made it so that you can choose which Display Mode you prefer - to have the Who Viewed information show up directly on the ShowThread page (as it was for all prior versions), or to only show a Link on the ShowThread page that opens a Pop Up Window with the Who Viewed information there.
That's it!
Let me know what you think of the new Pop Up functionality! 
|