151
Mods & Plugins (Releases & Support) / Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« on: February 05, 2006, 12:12:35 AM »
Sorryyy
me once more..but this mod doesnt work!
I have many Problemes..
FIRST:
I cant make a table with this..i does not work..i get only a white screen
SECOND:
When i fill out the Report form..and klick send..it doesnt show me any confirm as report send is ok or not ok..it replays to the index page and i DONT get any mail.
Now ..what is the error?
me once more..but this mod doesnt work!
I have many Problemes..
FIRST:
I cant make a table with this..i does not work..i get only a white screen
Code: [Select]
<?php
define ('ROOT_PATH', './');
include (ROOT_PATH."global.php");
require (ROOT_PATH."includes/sessions.php");
$user_access = get_permission();
if ($user_info['user_level'] == ADMIN) {
$sql = "INSERT INTO ".SETTINGS_TABLE."
(setting_name, setting_value)
VALUES ('report_image_status', '0')
";
$result = $site_db->query($sql);
if ($result) {
echo "Installation successful.";
} else {
echo "Installation failed.";
} ####### End of if statement.
} ####### End of if statement.
?>
Now i have do it myself in my database.SECOND:
When i fill out the Report form..and klick send..it doesnt show me any confirm as report send is ok or not ok..it replays to the index page and i DONT get any mail.
Now ..what is the error?