• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Custom Solutions » Report in Ajax (Here is the script to show "Report form" in Ajax window)
Report in Ajax
AlexMalik
Posts: 30
Reputation: 0

Message # 1 | 7:22 PM
Paste this code anywhere on your webpage
Code

<!--Report Script by AlexWains-->
<script type="text/javascript">     
     function openreport(){new _uWnd('report','Report this entry',300,100,{align:0,shadow:0,close:1,autosize:1,maxh:500,minh:100,resize:1,closeonesc:1}, $("#chat").html() )}     
     </script>     
     <div style="display:none;" id="chat">$MFORM_2$</div>


Now Paste this, where you want the button
Code

[<a title="Report this entry" href="javascript:;" onclick="openreport();">Report</a>]


-Note
Replace $MFORM_2$ With your Mail Form

===[On Social Network]===
Facebook/-/Twitter
===[My Website]===
WainsOrg
Post edited by AlexMalik - Wednesday, 2013-04-10, 7:28 PM
Ed05
Posts: 556
Reputation: 7

Message # 2 | 6:42 PM
Nice,but if you dont want to receive reports to your e mail but in private messages you could use this script
Code
<script type="text/javascript" src="http://supercafe.ucoz.com/raznokoD/zalba.js"></script>
<a href="javascript://" class="m-btn red-stripe" onclick="complaint('Admin')" title="report this!"><input class="poick_knopka1" type="submit" value="report button"></a>  
  


cool

!
admin8220
Posts: 1
Reputation: 0

Message # 3 | 10:52 PM
Quote Ed05 ()
Nice,but if you dont want to receive reports to your e mail but in private messages you could use this script

I have tried to use your code but it does not work...
Ed05
Posts: 556
Reputation: 7

Message # 4 | 6:52 PM
admin8220, make sure that change this
Quote Ed05 ()
complaint('Admin')
, if your username is not admin, put your nickname there. For me its working fine. What error you geting when try to use this code?

Added (2015-05-09, 6:52 PM)
---------------------------------------------

Quote Ed05 ()
<script type="text/javascript" src="http://onlinebioskop.ucoz.net/js/zalba.js"></script>
<a href="javascript://" class="m-btn red-stripe" onclick="complaint('Here complaint receiver username')" title="report this!"><input class="button" type="submit" value="report button"></a>  

I have changed js source so this option now works great.

!
Post edited by Ed05 - Thursday, 2014-04-10, 11:28 PM
eddison_martin3
Posts: 5
Reputation: 0

Message # 5 | 10:36 AM
Quote Ed05 ()

Where is the js download link??
uCoz Community » For Webmasters » Custom Solutions » Report in Ajax (Here is the script to show "Report form" in Ajax window)
  • Page 1 of 1
  • 1
Search: