![]() |
Quote:
Using "http://www.myforums.com/forum/gateway.php" as the file name in the cronCP will fail on most servers unless 'allow_url_fopen' is turned on in php.ini. Even that, different versions of php will behave differently. Since the lastest version sends the debug message through email (set $do_cron_log = 1). I would like to see someone with this problem post some debug messages. If possible, the Unix cronjob is the preferred way to run the script. I think some ISP provides cron job through the ISP's control panel if you can not access to the shell. Because I do not use the vB3 cron, the test done on them is very limited. Also the vB3 cron has been designed to run some simple scheduled tasks. It was never designed to run complicated tasks as gateway.php. |
HI lierduh,
so far i appreciate the time and work you have devoted for this hack :) and it works perfectly fine now. i need to ignore posts from this newgroups forums to get added to the global (total no. of threads and posts on my forums home - whats going on box how can i acheive this ? Regards, |
Quote:
San Deep, Sorry I missed you when you tried to IM me. You messaged me whenever I was idle and when I was going to reply you were offline. </off-topic> |
Quote:
|
I tryied to get running cronjob from Cpanel but I can't get it working.
Crontab with GET /home3/blalbla/public_html/forum/gateway.php Any idea ? - edit: fixed |
I run this script for some time now but i have one aquestion to the programmer. Is it posible with the passwords not to show the real one but as it should ***** as replacements. This is far beter then others can also use that section to add there newsserver.
|
Quote:
|
awesome! I'm not using it for newsgroups, but have it working just fine w/ mailing lists.
*clicks install* |
Quote:
But now, need to know a little more details on implemeting the same ? How do i proceed, what field needs to be added into db which table ? how to add forums id there etc. etc Looking for help Regards, |
Default Footer set to: default_footer
organization_check 0 nofooter 1 nosignature 0 All is working fine except signature and moderating queue. 1) Signature Thread and profile links are working fine in outgoing posts. Signatures are showing in http forum but they aren't exported in outgoing messages. Signatures are showing usenames instead the real signature i.e. if username is esfron. signature display is: ------- esfron 2) Moderation I have both threads and posts moderation enabled in a usenet forum but usenet posts are going directly to the forum instead of the moderatong queue. They aren't held back. Any idea ? |
Seems to be working ok but posts aren't being exported. I have vBulletin set up to run the task every 15 minutes. I just made a post and this is what I get when I run it manually...
Quote:
Does this mean I need to set this up as a cron job? I've never set one up. If that's what I need to do can someone help me through it? |
Quote:
|
Ok, I *think* I have this set up right (I want it to run once per hour). Like I said I've never set up a cron job so if someone could take a look and tell me if it looks right I'd appreciate it. :)
|
Quote:
Code:
php -q /path/to/gateway.php |
Quote:
Make sure when you post, "Show your signature" is checked. No matter what settings you have. Your user name will always be appended. 2). Your forums set up is wrong somewhere. If local posts show up in moderated forums, then it is nothing to do with the script. |
Hi lierduh,
I'm having the same problems. Posts are being sent no problem. Footer is sent no problem. Username sent too. But signatures only appear in local forum and are not sent in usenet. And the signature box before posting is selected. Signature: XXXXXXXXXXXXX NNTP Settings: nosignature = 0 nofooter = 1 default_footer = http://www.mywebsite.com send_message = 1 Result in usenet: -- The Prince http://www.mywebsite.com Also, you modified the email sent to usenet, is it still possible to have the emails sent the old way? ThePrince.1dnp9z@mywebsite.com thanks! |
Quote:
I've tried: /usr/local/bin/php /home/<username>/public_html/forums/gateway.php and php -q /home/<username>/public_html/forums/gateway.php I should be able to run these from the commandline and have it execute, no? When I run it w/ the php -q command @ the commandline it spits out html code to the screen, I get emailed this error: Quote:
|
Quote:
|
Quote:
I can also run it via a Scheduled vB Task, but would rather have it as a cron job. |
Okay, so I've been trying to read all 44 pages. :)
I used this hack in vb2 for a while, but then stopped using it because the "Find New Posts" became very bothersome for users when there were 1000's of new usenet posts showing in their search. It looks as if some have found a way around this? I'd love to install this again and open up Usenet for my users. Thanks much in advance!! |
I thought maybe I screwed up something on the install, so I reinstalled.
"which php" shows my php path to be: /usr/local/bin/php When I try to run the gateway.php via cron w/ the command of: /usr/local/bin/php /home/<username>/public_html/forums/gateway.php I get the following error message: "nntp.php and mime.php files need to be in the './includes/' directory" The nntp.php and mime.php files are in the ./includes directory. My gateway.php is in my /forums directory. I can get it to run via the vB task scheduler. Are there any advantages/disadvantages w/ vB Task Scheduler vs cron? Does it matter? |
Quote:
Code:
lynx -dump http://www.trackpads.com/forum/gateway.php |
Two questions:
#1) Has anyone noticed an increase in the number of threads not being found and instead having new threads created? Im getting a LOT of these. It started prior to my install of the latest scripts and seems to be continuing #2) I installed the latest scripts and it seems to run slower. Anyone notice that? |
First of all, great job and I appreciate all of the work that has gone into this hack.
When I run the gateway.php, I get the following: <snip> Gateway version 2.3.2 2 group(s) gatewayed. Could not connect to NNTP-server. (Connection timed out (110)) Not connected Not connected Could not connect to NNTP-server. (Connection timed out (110)) Not connected Not connected </snip> I checked with my hosting provider and port 119 is being blocked for outgoing and incoming traffic. The output seems to validate that fact. I read on some other posts about using another port. How can I configure the newsreader to use a port other than 119 to connect to the new server. I'm not sure if my news hosting provider (newsgroups.com even supports ports other than 119. Thanks, |
Quote:
Anyone else out there that has had problems w/ getting the cron working but finally figured it out? |
Quote:
|
Quote:
|
Hello all. I'm a new user and think this hack is completely awesome. Been running the Usenet component for a few days for testing without dramas. For those on a Windows platform who lack the functionality offered by Cron (and are not happy with Win Task Scheduler), I have been using nnCron and can recommend it for achieving the same.
|
Quote:
|
How would I stop this increasing the forum post count?
|
Can anyone recommend a NNTP provider that provides NNTP access over port 80? I need to use port 80 for my gateway.php because my hosting provider blocks all traffic on port 119.
Thanks. |
I *think* giganews.com allows traffic over port 80. Someone else in this thread said so. You can sign up with them for a 3-day trail before they will charge you.
|
Guys,
I'm having a small issue. When a user posts to our usenet forum it gets posted to the relevant Newsgroup, however during the next import run means the posted message gets imported as a seperate post on the thread. I suspect it isn't supposed to work that way. Any ideas? |
Anyone else having problems with imported posts not getting added to the original thread and instead creating a NEW thread with the exact same title? This is getting to be a real bother.
|
Quote:
|
Hi lierduh PLEASE HELP,
I'm having signature problems. Posts are being sent no problem. Footer is sent no problem. Username sent too. But signatures only appear in local forum and are not sent in usenet. And the signature box before posting is selected. Signature: XXXXXXXXXXXXX NNTP Settings: nosignature = 0 nofooter = 1 default_footer = http://www.mywebsite.com send_message = 1 Result in usenet: -- The Prince http://www.mywebsite.com Also, you modified the email sent to usenet, is it still possible to have the emails sent the old way? ThePrince.1dnp9z@mywebsite.com Finally, is it possible to strip the footer of a message? The reason I'm asking is that in the newgroup I'm using there are many similar footers used by other websites, and I'd like to prevent my users from seeing the link of a competitor. I'd like for these footer not to show. (it says in the settings that the killfiles are not set to work with usenet) thanks! |
Quote:
Around line 340. Replace the block of the code with the following: PHP Code:
Quote:
I think someone posted a modification about the chopping of footer for the usenet in this thread somewhere. |
last couple of days i am gettting this error
[quote] Invalid SQL: UPDATE forum SET replycount = replycount + 1, threadcount = threadcount + 1, lastpost = '1101084923', lastposter = 'Alexandr B.', lastthread = 'tet', lastthreadid = 10889 WHERE forumid IN () mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 8 mysql error number: 1064 Date: Sunday 21st of November 2004 06:56:01 PM Script: http://forum.*.com/gateway.php Referer: Username: Unregistered IP Address: **.**.***.** |
How do I change the blue font color on the usenet quotes to a different color? Im using a black background, and it's kind of dark. What file do I have to edit in-order to change it?
|
oops suddenly stopped receiving/sending usenet posts to/from my forum
I am assuming this is a problem from server end related to port 119, i tried confirming the same with provider he says nothing has been changed. Any one can confirm what is happening ? I have scheduled this task to run every hour in my task manager of vbulletin.. Here is the log according to same : Code:
10246 Gateway Messages Import 22:29, 24th Nov 2004 Ran NNTP Gateway Regards, |
All times are GMT. The time now is 02:46 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:
|