Quote:
Originally Posted by Cap'n Steve
It was a typo, I've fixed that and added a missing phrase I just found.
|
Thank you, Steve. I reuploaded the most recent dated files and that error message I reported has gone away. It's also accepting the fact that I'm allowed to edit quotes now when I give my usergroup editing permissions.
I'm still having other problems, though, with the functioning of this hack. And I'm getting a new error message in the ACP when I change QuoteIt options:
"Warning: preg_match(): Compilation failed: range out of order in character class at offset 13 in /admincp/quoteadmin.php on line 164"
That's one of the new files in your most recent download.
Lines 164-165:
Code:
$quoteitoptions['reportemails'] = preg_match('/^([a-z0-9\.-\+]+@[a-z0-9-]+[a-z\.]+\.[a-z]{2,}[ ]+)*[a-z0-9\.-\+]+@[a-z0-9-]+[a-z\.]+\.[a-z]{2,}$/i', $_REQUEST['report']) ? $_REQUEST['report'] : '';
$globaloptions['reportquotes'] = !empty($quoteitoptions['reportemails']) ? 1 : 0;
The hack isn't letting me edit quotes from a preview screen. I get a message at the bottom saying there's an error on the page. It also gets weird if I try to delete a quote.
Any suggestions?