PDA

View Full Version : Conditional Statement for Private Messaging Page


sigh
02-20-2010, 12:13 AM
My forum is running the Tynt script, which provides a pretty cool service. Tynt shows you want text and images are being copied from your site, and inserts a little attribution link. I get reports and a link ... I'm in heaven.

The downside is that I can't display the "What's Popular" type Tynt widget because some members are copying from PMs.

Right now I have the Tynt script sitting in the ad_foot_end template. Is there a conditional I could use to say:

If this page != the PM page(s) {
print the script
} else {
do nothing
}

Thanks!

Lynne
02-20-2010, 02:56 AM
<vb:if condition="THIS_SCRIPT != 'private'">
script
</vb:if>

sigh
02-20-2010, 12:28 PM
Sweet, thank you very much :)