Quote:
Originally Posted by Cap'n Steve
Try reuploading the latest files and reinstalling (without uninstalling) the product. If that doesn't work, edit the "Finalize BBCode" plugin that uses the "newpost_preview" hook and replace this:
with this:
PHP Code:
header('Content-type: text/plain');
die('quotes = ' . print_r($quotebbcodeids, true) . "\n random = " . print_r($randomquotes, true));
}
Then try previewing a post with a few [quotes] and [randomquote] bbcodes in it and tell me what the output is. This will break the post preview, so undo the edit after you're done.
|
I have tried the full reinstall several times previously. As for the output test, it results in the following:
I do have one issue which I should point out. After importing quotes on multiple occasions, the reference numbers where out of sync. At one time, Quote #1 was actually had a reference number of 400+. I "fixed" this by manually changing all of the reference numbers with phpMyAdmin, starting from 1 on. However, I noticed that any new quotes would be given a much higher number than simply the last quote number + 1. Apparently there must be a counter setting which needs to be reset. Could this be the problem? If not, I would still like to know where this number is stored and how I can change it.