![]() |
Quote:
Hey, thanks for the reply. When I run gateway.php manually, I do not get a message but rather a blank white page. It does do something though... (pauses for a few seconds) and brings up new posts from the groups. I test my outgoing messages by posting a reply in my forum, running gateway.php manually, and then waiting for it to appear in Usenet. I have yet to get a reply to appear. I am currently running... VB 3.0.1 VB Portal 3.0.0 Beta 2 PhotoPost site: www.cghaus.com I installed the original hack from this thread https://vborg.vbsupport.ru/showthrea...7&page=1&pp=15 and then followed up with the additions from this thread https://vborg.vbsupport.ru/showpost....&postcount=658 I am still waiting for someone to reply to my posts on my host's forums regarding my cron job. In the meantime, I am running gateway.php manually. http://www.lunarforums.com/forum/viewtopic.php?t=15006 TIA! |
I just got a reply back from tech support and they say my cron job is correct. I check my web email and see this msg.
Quote:
Code:
php /home/cghaus2/public_html/forums/gateway.php?log=cron |
I have rewritten big chunks of the gateway.php. I will give it some test before uploading.
Improvement include: 1) TABLE_PREFIX is now supported. 2) Messages imported from usenet are now inserted into threads based on Reference in the header instead of the subject. 3) Built mechanism to avoid two instances of the gateway.php running at the same time. This can easily happen if someone clicks the link in the Who Is On Line page. This should also solve the problem of double up posts and wrong post counters. 4) Masive speed improvement! 5) Cleaned up the codes. ... Stay tuned. |
lierduh, perhaps any idea how to exclude the p´NG postings from the counter of new posts and themes?
|
Awesome! I'm hoping your new code fixes my problem of VB posts going out to Usenet. I removed the "log=cron" part of my cron job yesterday and now I am getting better results.
Code:
X-Powered-By: PHP/4.3.3 Thans in advance for taking the time to work out some updated code. :) |
I have just uploaded the new package to page 44.
https://vborg.vbsupport.ru/showpost.php?p=444521 == TABLE_PREFIX is now supported. == Messages imported from usenet are now inserted into threads based on Reference in the header instead of the subject. == Built mechanism to avoid two instances of the gateway.php running at the same time. This can easily happen if someone clicks the link in the Who Is On Line page. This should also solve the problem of double up posts and wrong post counters. == Massive speed improvement! == Cleaned up the codes. == Implemented parentid for imported posts == lastmessage is updated now after each message retrieval. This way no message will be imported twice, even if the script is crashed at some stage. == Fixed a bug which occurs in long header lines. Message may not be retrieved due to this bug. This time instead of a quick hack, I have gone through almost each line. So it should be a much better script. |
Quote:
|
Awesome! This patch came through really fast.
I have one question though... it seems I'm getting some SQL errors when attemtping to "insert" the two new tables. They already exist. In fact, value 9 is showing Organization values. Should we just overwrite this stuff manually? Code:
Error |
Quote:
INSERT INTO `nntp_settings` VALUES (NULL, 'Is Gateway Running', 'is_running', '0', 'Check if another instance of gateway.php is running', NULL, 0, 0); INSERT INTO `nntp_settings` VALUES (NULL, 'Last Time Run', 'last_run', '1084316100', 'Last time the gateway.php was run', NULL, 0, 0); |
I made a stupid mistake at the last minute. Please download the gateway.php again. I have attached a "a" to the end of the file name. The only thing changed was two lines in the gateway.php script. There is no need to replace the other files.
|
All times are GMT. The time now is 08:37 AM. |
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:
|