Welcome Guest [Log In] [Register]



Add Reply
Remote Report System; show all reports to all mods
Topic Started: Jun 29 2006, 09:04 PM (276 Views)
ari_aaron
Member Avatar
1a4
Root Administrator
This is the last one for now. iFusion closed, so I'm posting my codes in other places.
I don't know about all of you, but I've wanted this one for a while.
The problem with the default report system, it that a) it goes into your email box, which some people don't read, due to the ammount of junk, and B) It could go to any mod, who might just happen to log off, and not come back for a year.

That is why, the Remote Report System, stores all reports in a list that is accesable through the Mod CP, and any mod who is online can deal with them.

Now, why is is called "Remote"?
The list cannot be created in IF, because users do not get access to the DB. Therefore, I had to make my own system, which redirects the report to my own pages, and takes your board's ID number, and the report details, and files them until you come.

In order to make a space in the SQL Database, you have to sign up.

CLICK HERE TO SIGN UP

After you sign up, you will be given a code with your own board ID, and URL inside of it.

UPDATE: Now Admin-only reports!

Here is the code, for those of you who just want to see it:
Quote:
 
<script>
/*
Remote Report System v1.7
©2006 by ari_aaron
*/
var get
var boardurl="URL HERE"
var board_id=Board ID here
if(location.href.match("act=report"))
    {
    get=location.href
    get=get.replace(boardurl,'')
rep = document.getElementById('userlinks').getElementsByTagName('A')[0].innerHTML
document.REPLIER.action="http://if_reports.php0h.com/mreport.php"+get+"&rep="+rep+"&board="+board_id
//Add Admin/Mod Choice.
tro=document.getElementsByTagName('tr')
for(i=0;i!=tro.length;i++)
{
if(tro.innerHTML.match("Topic Title"))
{
tro.cells[0].innerHTML+="<br><br><b>Report To</b>"
tro.cells[1].innerHTML+='<br><br><select name="to"><option value="mod">All Staff<option value="admin">Administrator Only</select>'
}
}
    }
if(location.href.match("act=modcp"))
    { 
divs=document.getElementsByTagName('div')
for(i=0;i!=divs.length;i++)
{
if (divs.className=="pformstrip" && divs.innerHTML.match("Manage Members"))
{
divs.innerHTML += "· <a href='http://if_reports.php0h.com/reports.php'>Manage Reports</a>"
}
}
    }
</script>


Screenshots:
Mod CP
Posted Image
Report CP
Posted Image
Report Screen
Posted Image

Comments and sudgetions are apprecaited.

My msn: Posted Image
Posted Image
If anyone wants GMail or Windows Live Messenger invites, PM me!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · InvisionFree Scripts · Next Topic »
Add Reply


Theme designed by Sith of Outline