I'm using 6.3br1. Here's the situation:
I click on "Browse" and choose the file to attach. The path to the file shows in the little input box. I click on "Continue", the path disappears, and nothing else happens. I've compared my addpost.php file to a stock (unhacked) addpost.php file from 6.3br1 and the only differences are I have these two lines under "Get the input"
[] // strip off the URL
$Icon = basename($Icon);
[/]
I also have another $Icon = just above that, which is
[] $Icon = get_input("Icon","post");
[/]
I guess the prior is from a hack - can't remember which one though. I commented out the extra one though, and attachments still did not work.
I also have the spoiler tag installed:
[]// -----------------------------------------------
// If spoiler tag is used, make sure it was closed (preview)
$spoiler_open = substr_count($PrintBody, "
");
$spoiler_close = substr_count($PrintBody, "
");
if ($spoiler_open > $spoiler_close) {
for ($i = 1; $i <= $spoiler_open - $spoiler_close; $i++) {
$PrintBody = $PrintBody . "[/spoiler]";
}
}
[/]
I have this in two places. Besides those, everything else is the same. I also compared my addpost_preview.tmpl files and they are exact matches. What other files should I look at?