| after a closer look
i found that you need to change few files: recommend.php and recommend_small.tpl also xmlhttp.js and xmlhttp.php
copy and rename those files as recommend.php ->reportstory.php
and recommend_small.tpl -> reportstory.tpl
do all changes in these files.
and change form action in reportstory.tpl to
<form name="email_to" method="get" action="{$my_base_url}{$my_pligg_base}/reportstory.php">
and onclick="emailto to onclick="emailtospam
then look for function show_recommend and emailto
they are in xmlhttp.js and xmlhttp.php
just duplicate and rename those functions to show_spam and emailtospam
and you will see that you have to change file names in those functions as well.
look for old names - recommend -
then just change that Report spam link in link_summary.tpl from onclick="show_recommend to onclick="show_spam
and yahoo
__________________
-...-
Last edited by diablo : 03-25-2007 at 08:11 PM.
|