XFileSharing Pro - report abuse captcha?

Message
Author
dollarek
Posts: 46
Joined: Jan 11, 2008 5:09 pm

report abuse captcha?

#1 Postby dollarek » Jun 18, 2009 3:25 pm

Right.

I have a little problem as report abuse thing does not display reCaptcha up there. It works on any other "link" e.g. where you download file.

I have a custom temp. Well it is still being in progress of creating and editing bits here and there. That is why some links are hidden.

As far as I am aware I did not modify anything that could cause this.

Hire is the img.
http://img37.imageshack.us/img37/2064/bugggg.jpg

dollarek
Posts: 46
Joined: Jan 11, 2008 5:09 pm

#2 Postby dollarek » Jun 19, 2009 7:32 am

FIXED myself.

here is how it looks now

http://img195.imageshack.us/img195/3191/fixedj.jpg

For those who experienced the same problem. here is how to fix it.

*only tested with reCaptcha

open "report_file.html" from template folder

find:

Code: Select all

<TMPL_IF captcha_on><tr><td align=right><b><TMPL_VAR lang_code_captcha>:</b></td><td><table cellspacing=0 cellpadding=1><tr><td><TMPL_IF iurl><img src="<TMPL_VAR iurl>"><TMPL_ELSE><TMPL_VAR itext></TMPL_IF></td><td><input type="text" name="code" class="captcha_code"></td></tr></table></td></tr></TMPL_IF>
change to:

Code: Select all

<tr><td colspan="2" align=center><TMPL_IF captcha_on>
  <TMPL_IF ihtml>
<TMPL_VAR ihtml>
<TMPL_ELSE>
<table><tr><td colspan=2><b><TMPL_VAR lang_enter_code>:</b></td></tr>
<tr><td align=right>
<TMPL_IF iurl><img src="<TMPL_VAR iurl>"></TMPL_IF>
<TMPL_VAR itext>
</td><td align=left valign=middle><input type="text" name="code" class="captcha_code"></td></tr>
</table>
</TMPL_IF>
</TMPL_IF></td>
    </tr>
this should fix reCaptcha not displaying on file report site.

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#3 Postby admin » Jun 19, 2009 8:12 am

Good job! We like smart customers :)