The function
processquotes does not seem to be working for me. The routine is changing my WebBBS quote symbol into the tempsymbol okay, but the conversion of lines preceded by the tempsymbol into vBulletin quoted text just isn't happening. I'm getting the tempsymbol appearing in my posts.
I've not changed
processquotes at all, but I'm afraid my PHP isn't good enough to check how it works. My initial thought was that I'd maybe copies the WebBBS files into the conversion directory as binary files (I can tell that
processquotes needs the tempsymbol to start the line), but, after I carefully recopied the files, I was able to rule that out.
Any other suggestions?
[Later]:
I added
PHP Code:
global $tempsymbol;
to the function, and this solved the problem. I imagine that I'm going to have to make $last_indent global as well, though I haven't investgated this yet. I'm just glad to have got this one mysterious bug out of the way.
It's gone two in the morning and it's waaaay past my bedtime.
[Added in the morning]:
Of course $last_indent doesn't need to be global. It's only used to communicate between the processing of lines of a single message.