- to prevent members from seeing or clicking their own ads you can do the following :
find the following file : members/click.php , find this code in it :
$sql = $Db1->query("SELECT * FROM ads WHERE
credits>=1
and active=1
and (daily_limit>views_today or daily_limit=0)
and (upgrade='0' ".($thismemberinfo[type]==1?" or upgrade='1'":"").")
ORDER BY $orderby $type
");
add this code
and username!='$username'
just after
and (daily_limit>views_today or daily_limit=0)
so the final code should be like this :
$sql = $Db1->query("SELECT * FROM ads WHERE
credits>=1
and active=1
and (daily_limit>views_today or daily_limit=0)
and username!='$username'
and (upgrade='0' ".($thismemberinfo[type]==1?" or upgrade='1'":"").")
ORDER BY $orderby $type
");
i'm using sdr 3 and it's line 49 for me , don't know about mrv but think you will find the code
- for forum integration i think there was a guide made by ddesign in a forum but that forum is down , here's a copy of his topic on another forum :
http://www.talkptc.com/index.php?topic=33332.0just follow the steps and your forum will be now integrated with your site , but notice all members who joined before the integration date must be added manually to your forum