![]() |
Quote:
I got this message: Quote:
Regards, Matt |
Things are looking good now, but I have a question pertaining to follow-up gateway.php synchronization. I want to be careful not to import the same records or export them!
A) Do I run setlastmessage.php 1) ...before every gateway import 2) ...after every gateway import and B) Do I run it only once or every time I run gateway? The Readme isn't clear. It says: Quote:
Thanks, Matt |
Quote:
|
Quote:
|
>different
Maybe ;) I mean the $newposts[count] und $activethreads[count] variables. They count ALL including the NG posts. The exclude statement only shows them not up, but counts it.... |
Lierduh,
There is a BIG error in your code in function sendnews. PHP Code:
After using this, EVERY thread in my DB has been updated with the new msgid from the latest new thread created in the newsgroup forums. Any way to fix this? By fixing this, I mean, resetting all the msgid's to the correct ones, or removing values where they don't belong in the thread table? |
Corrected code:
PHP Code:
|
Got a little trouble here too, lierduh :)
Code:
Database error in vBulletin 3.0.1: |
Mine's also not assigning posts to the proper thread after this change. I'm going to look over the code again for another hour or so, and revert to my last version if I can't get it working properly.
Messed up part is, the posting via the vB adminCP scheduled tasks worked after only minimal tweaking of the new script, and I have it tested to successfully post properly. (which was my only problem before) I think the main problem is coming from the references. They don't seem to be assigning at all anymore. |
No need to worry, although thank you very much for pointing out.:)
the msgid in the thread table is not actually used. So it does not cause any problem at all. You can safely comment this section out. I have got a new version ready to be uploaded including an optional "X-No-Archive" header honouring. Allan will love this. I am thinking of getting rid of this field altogether. Saving a field or index is always a good thing. (by the way, the error is inherited from the original script:)) Quote:
|
All times are GMT. The time now is 01:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|