vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=65152)

lierduh 06-15-2004 02:59 PM

Quote:

Originally Posted by Marv
good morning, lierduh.

sorry - that?s what I should have done with the last post already.

Directly after submitting a new thread to the forums I manually run gateway.php without clicking anywhere else and it says:
nothing more...that?s it.
If someones posting now a new answer to that post gateway.php works as it should, but is only sending the answer to the newsserver - not the starting post. so it?s a bit confusing for the newsgroup when answers appear but the starting post is missing..
And of course - the post shows up in my forums but gateway.php just doesn?t seem to recognize that.

If it?s not to impudent, lierduh, would you mind to have a look in my forums by yourself? In that case I would send you the logins for .htaccess and the forum via PM. (erm...and before you ask - the problem remains with and without .htaccess enabled ;) )
Guess it?s easier to make a troubleshooting when you?re on the deck and can see the script in action. Just a suggestion.

And by the way.. - I really appreciate the work you?ve done to this hack. Thanks for the given support - must be hard to handle all the little problems that endusers like me are coming up with..:nervous:

Can you access to your MySQL table directly, perhaps using something like phpmyadmin?

Find out which postid has the problem of not being sent. Check the "post" table, and see if the "isusenetpost" is 1. When someone posts a new message, isusenetpost is 0 as the default. The script changes it to 1 after posting it.

trackpads 06-15-2004 03:39 PM

Quote:

Originally Posted by lierduh
Are you using the same Pop3 mail box? The current version requires a separate email for each mailing list.

Yup. same box. Dang :-)

BustaCap 06-15-2004 04:01 PM

Quote:

Originally Posted by lierduh
Once they are subscribed, there is very little benefit for them to post through the forum instead of just shoot an email directly to the list.

Actually, just the opposite. By posting through the forum you are letting your posts be indexed and searchable by user name, otherwise the posts are by "guest". I use that feature quite often on the rest of my forum. Also, the biggest benefit in my opinion is that it's much easier to follow threads in a forum with threaded posts as compared to email lists where posts are received in your mailbox. If you don't read the list every day, it's a real pain trying to follow topics in your inbox vs. threaded posts on your forum.

However, for some reason I'll never understand, there will always be people who only want to participate via email. Thus the need for both the forum and email list and not just one or the other.


Quote:

Originally Posted by lierduh
2)Closed list. There isn't a good clear solution. Even if you offer your master email address as the posting email address with other user's forum user name. It will not be a good picture to be honest. It is kind of cheating, and unrespectful to the list owner, since the list is a close list. I really need to think again about how to handle this.:) One thing a forum ower does not want to have is to have the list members hating your forums. The same goes for newsgroups.

It sounds like you are assuming that I'm not the list master. As it happens I'm not ;). But my point is that you are looking at this from only one point of view, which is putting the forum owner in a dishonest light. Of course, I would never do this without a discussion with the list owner as well as the list users. I mentioned before that only lists users would have posting privileges, making the "closed" list not an issue. It would only be done with everyone?s approval. However, when I suggest it I would like to be able to demonstrate how it would work, but I can't do that without a working system :)

I'm quite sure that if it worked like how I hope it will that everyone would be agreeable to it since it would benefit both the list and the forum; increased exposure for both groups and imo, a much better user interface with the forum.

Marv 06-15-2004 08:04 PM

Quote:

Originally Posted by lierduh
Can you access to your MySQL table directly, perhaps using something like phpmyadmin?

hi lierduh, I can :)

Quote:

Originally Posted by lierduh
Find out which postid has the problem of not being sent. Check the "post" table, and see if the "isusenetpost" is 1. When someone posts a new message, isusenetpost is 0 as the default. The script changes it to 1 after posting it.

It?s interesting - I had a look in the tables as you suggested and some of them still had the value isusenetpost is 0. But that was yesterday! I said it doesn?t post new threads - but after I had that little peek into the tables...and damn,..now it works like a charme :paranoid: What the heck?s happening there.....?? May be my database is alive and made from flesh and blood ? But than it would be a female for sure :)

[high] * Marv takes full cover.. :knockedout:[/high]

Whatever, the problem seems to be solved. Thanks, lierduh.

lierduh 06-15-2004 11:00 PM

Quote:

Originally Posted by BustaCap
Actually, just the opposite. By posting through the forum you are letting your posts be indexed and searchable by user name, otherwise the posts are by "guest". I use that feature quite often on the rest of my forum. Also, the biggest benefit in my opinion is that it's much easier to follow threads in a forum with threaded posts as compared to email lists where posts are received in your mailbox. If you don't read the list every day, it's a real pain trying to follow topics in your inbox vs. threaded posts on your forum.

So the benefit only comes down to that particular user's username is used instead of a 'Guest post' in the forums? (oh, also the post count is boosted by one?:)). When a list member (who is also your forum member) posts to the list by sending an email, he or she will receive all the messages in the email. A filter would need to be activated in his/her email clients to get rid of all the messages coming from the mailing list. So that he/she can read the same messages in your forum with some of the reading benefits that a forum provides (may be)? An email client usually does threading too.:)

There are quite a few benefits by using email to participate in a mailing list instead of using a forum interface. eg.

1) No delay of sending the message
2) Alerted straight away when a reply is available
3) Knowing the format sent will be the format seen in the email
...

Quote:

However, for some reason I'll never understand, there will always be people who only want to participate via email. Thus the need for both the forum and email list and not just one or the other.
I can fully understand someone who wants to use the proper way to participate in a mailing list. I can however understand people who do not trust a forum to send the message.:)

Quote:


It sounds like you are assuming that I'm not the list master. As it happens I'm not ;). But my point is that you are looking at this from only one point of view, which is putting the forum owner in a dishonest light. Of course, I would never do this without a discussion with the list owner as well as the list users. I mentioned before that only lists users would have posting privileges, making the "closed" list not an issue. It would only be done with everyone?s approval. However, when I suggest it I would like to be able to demonstrate how it would work, but I can't do that without a working system :)

I'm quite sure that if it worked like how I hope it will that everyone would be agreeable to it since it would benefit both the list and the forum; increased exposure for both groups and imo, a much better user interface with the forum.
My point of view comes from providing the functionality that are logical to general users. Or providing options for different users to make them logical.:)

I guess what you want to set up is (let me know if it is not):

* Let only handful of forum members to post in the mailing list forum, perhaps by setting forum permission.
* They need to subscribe to the list using the same email address as the email address they use for the forums

I think finding the methodology is the hard part.

Looks like the mailing list part of the function has taken over the usenet part. It can only be:

1) The usenet part just works without the need to post a message
2) There are plenty demand for the mailing list function (should I say list archive function at this stage)

BustaCap 06-15-2004 11:59 PM

Quote:

Originally Posted by lierduh
So the benefit only comes down to that particular user's username is used instead of a 'Guest post' in the forums? (oh, also the post count is boosted by one?:)).

Mainly it allows you to search by username. For example, show me all posts by Capt. Kirk with Klingon in the title. I use this type of search all the time when I remember who posted the thread and the subject, but I can't seem to find it by a general search. I also use the "find all posts by this user" quite often.

Quote:

Originally Posted by lierduh
When a list member (who is also your forum member) posts to the list by sending an email, he or she will receive all the messages in the email. A filter would need to be activated in his/her email clients to get rid of all the messages coming from the mailing list.

Well, I would suspect that those who choose to participate via the forum would no long use the email list since it would be redundant.

When I originally was looking at forum software there was one product (I forget which one) that allowed users to particpate via the forum or via email. So, if someone posted a message on the forum they would receive an email that they could then respond to. That response would then show up back in the forum. Neither one would even be aware the other wasn't posting messages in the same way. This allows the best of both worlds, those who want to particpate via the forum can and those who choose to only particpate via the mailing list can also do so. The hard part is making it transparant to the user. When I think how it would work I guess that's what I'm shooting for :) Those who are happy to post via email could continue to do so and those who want to view and post messages on the forum could choose that option. The end result is that both groups are happy and both groups have increased exposure.

Quote:

Originally Posted by lierduh
I guess what you want to set up is (let me know if it is not):

* Let only handful of forum members to post in the mailing list forum, perhaps by setting forum permission.

Yes. The way I would set it up would be to deny everyone posting privlages to that forum, and then I would create a usergroup with posting privlages, and anyone that was a member of the listgroup who requested it, I would move them to that usergroup.

Quote:

Originally Posted by lierduh
* They need to subscribe to the list using the same email address as the email address they use for the forums

I think so although I'm not sure. My *guess* would be that for it to work, my email address would first be accepted, and then the listbot would look at the From field in the header (or maybe the reply to email address?) and then use that to show who the message is from.

I am likely the only one here who is interested in this function :D, so I don't want to take up too much of your time making something that I'm likely the only one to use. I was just hoping it might be somthing quick and simple, like unscrambling the outoing email address and perhaps inserting the posters name into the "From" field. Regardless, I am very happy with how it works now and I appreciate the work you have done on the hack :)

fustanella 06-17-2004 08:30 PM

Quote:

Originally Posted by lierduh
What is it?

It's great, that's what is is. :D

I am delighted with this; thank you! It was painless to install, worked both inbound and out the first time without fiddling, and adds a handy new service for my members.

I would like to find a way to automate the gateway.php calls under WinNT 4, though. I understand the concept of 'cron' but don't see how this maps directly over, other than through "Scheduled Tasks" - specifically, how I can run the PHP script either in a browser window that closes when done, or without the need for a browser at all.

(Anyone who has insights on my related question of importing text files as vB3 messages is welcome to chime in as well, over at https://vborg.vbsupport.ru/showthread.php?t=66250 - thanks.)

jilly 06-18-2004 01:53 AM

i can find the name, like alt.paranormal - how do i know what it's nntp is?

fustanella 06-18-2004 02:33 AM

Quote:

Originally Posted by jilly
i can find the name, like alt.paranormal - how do i know what it's nntp is?

NNTP is the protocol, like HTTP is for web pages. You'll find newsgroups on your ISP's news-server, often news.(ispname).com. Check with your ISP for specifics.

If your ISP doesn't carry newsgroups or the specific one you want, there are subscription services available, and maybe even a free German news-server still available upon request.

trackpads 06-18-2004 05:20 AM

Is there a way to write a conditional in Postbit LEgact so that if it is a USENET or MList post that we can disable the entire postbit or just make it display something like "USENET"? That would make it a lot nicer when you have some really long names that are taken from the usenet.

Also, is there a way to disable the killfile for mlists only? The killfile is an AWEOME addition and has really, really helped me on my site.

Thanks again for all the work on this!!

-Jason

AWS 06-18-2004 11:10 AM

Quote:

Originally Posted by fustanella
It's great, that's what is is. :D

I am delighted with this; thank you! It was painless to install, worked both inbound and out the first time without fiddling, and adds a handy new service for my members.

I would like to find a way to automate the gateway.php calls under WinNT 4, though. I understand the concept of 'cron' but don't see how this maps directly over, other than through "Scheduled Tasks" - specifically, how I can run the PHP script either in a browser window that closes when done, or without the need for a browser at all.

(Anyone who has insights on my related question of importing text files as vB3 messages is welcome to chime in as well, over at https://vborg.vbsupport.ru/showthread.php?t=66250 - thanks.)

On Windows create a scheduled task.
Create a new task. When the box pops up browse to php.exe. The full path should show for the exe.
You should see something like
C:\Inetpub\php\php.exe
or whatever the path to php.exe is. At the end of that add the path to gateway.php. When done you should have something like
C:\Inetpub\php\php.exe C:\Inetpub\wwwroot\gateway.php
Now go to advanced and set it to run every 15 minutes for 23 hours and 59 minutes. Click OK and when the password box comes up put in your administartor password.
You now should have a scheduled task called php.exe. Open scheduled task folder and right click the task and run it. A DOS box should popup as it runs. If the box pops up and disapears right away then try to run the task command from a dos prompt. By doing this you'll see what the problem is. More than likely bad path.

fustanella 06-18-2004 01:17 PM

Quote:

Originally Posted by AWS
C:\Inetpub\php\php.exe C:\Inetpub\wwwroot\gateway.php

Thank you. I'm familiar with scheduled tasks, and prefer to try in a command window before creating a task so errors can be seen. Good thing, as I got 'em. :)

Quote:

Turck MMCache - can not create shared memory area
in unknown on line 0
- this occurs both in a graphical warning requiring clicking on the pretty button, and in the text in the command window. I'm running the same script that works through my browser.

I searched my machine and checked my vB install to make sure I didn't have various copies of PHP floating about, and I have only the one in my c:\php4\php dir. It's PHP 4.3.3 if that matters.

Princeton 06-20-2004 04:04 AM

the more I use this hack the more I like it!

... missing htmlspecialchars($subject) :rolleyes:

Cold Steel 06-20-2004 05:55 AM

After getting thousands of messages from usenet, I'm starting to run into errors.

This is the latest:

Code:

Getting message number 300606:
'Re: Bush's war -- against Richard Clarke' from Congenital Kano. Thread found by References.
Getting message number 300607:
'Reversing Pledge, Bush Lets OPEC Bilk Americans' from Paul Kekai Manansala. New thread.
Getting message number 300608:
<html><head><title>asiansINC.com Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the asiansINC.com database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;">refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.1:

Invalid SQL: SELECT post.postid FROM thread AS thread, post AS post
                                    WHERE thread.threadid = post.threadid AND
                                    (post.msgid = '&lt;For-Tom_Cerco's-benefit-A772E2.23264904042004@phswest.com&gt;') AND
                                    thread.forumid = 72   
                                    ORDER BY post.dateline DESC LIMIT 1
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 's-benefit-A772E2.23264904042004@phswest.com&gt;') AND
           

mysql error number: 1064

Date: Sunday 20th of June 2004 01:44:04 AM
Script: http://forums.asiansinc.com/gateway.php
Referer:
Username: Webmaster
IP Address: **.**.**.***
</textarea></form></blockquote>

</body></html>

Any ideas?

Cold Steel 06-20-2004 05:59 AM

Also, I signed up for an account at Giganews for $7.99/month for 2GB.

Then I found out about Teranews.com - 50MB per day for only a $3.95 setup fee. This is slightly less than 2GB a month, but their paid acccount for $7.95 gives me 250MB a day (~7.3 GB month).

Is there really such a huge difference in the quality of the connection? I don't think I'll need that much bandwidth. I'm considering dropping giganews and signing up with a free account at teranews. Thoughts?

Cold Steel 06-20-2004 06:03 AM

Quote:

Originally Posted by allan grossman
If it's a UNIX or Linux box use top to determine the process ID then kill the process with kill -9 process_id - if it's a Windows machine you can use Task Mangler to kill the task.

How do I determine which one is gateway.php?

lierduh 06-20-2004 06:48 AM

Quote:

Originally Posted by Cold Steel
After getting thousands of messages from usenet, I'm starting to run into errors.

This is the latest:

Code:

                                    (post.msgid = '<For-Tom_Cerco's-benefit-A772E2.23264904042004@phswest.com>') AND
Any ideas?

The single quote in the message ID is the cause of the problem. Message ID should not contain quotes charactor. You can either bypass this message by editing the lastmsg in the control panel, or do the following:

Around line 338 find:

(post.msgid = '$par_msgid') AND

Change it to:

(post.msgid = '" . addslashes($par_msgid) . "') AND

KevinM 06-20-2004 08:19 AM

Quote:

Originally Posted by trackpads
Also, is there a way to disable the killfile for mlists only? The killfile is an AWEOME addition and has really, really helped me on my site.


Yes you can. Find this:
PHP Code:

else if ($killfileresult checkkillfile($message)) 

and change it to to:
PHP Code:

else if ($killfileresult checkkillfile($message) AND $grouptype == 'news'

This will work on newsgroups only.

To work on mailing lists only:
PHP Code:

else if ($killfileresult checkkillfile($message) AND $grouptype != 'news'

I haven't tried it, but it should work.

KevinM 06-20-2004 08:23 AM

Quote:

Originally Posted by Marv
Could you add the body of a message as fifth element ? Some (including me) could find that very useful.

If you find this:
PHP Code:

if     ((stristr(trim($message['subject']), $killphrase)) OR
                        (
stristr(trim($message['from']), $killphrase)) OR
                        (
stristr(trim($message['path']), $killphrase))) 

and change it to this:
PHP Code:

if     ((stristr(trim($message['subject']), $killphrase)) OR
                        (
stristr(trim($message['from']), $killphrase)) OR
                        (
stristr(trim($message['path']), $killphrase)) OR
                        (
stristr(trim($message['text']), $killphrase))) 

This will now search the main text of the message as well.

KevinM 06-20-2004 08:30 AM

This is a quick one to get the thread preview to work with this hack.

Find:
PHP Code:

logging("'$subject' from "$from_name .
                    
". New thread.\r\n"); 

And below it put:
PHP Code:

// enable thread preview
                    
$DB_site->query("UPDATE " TABLE_PREFIX " thread
                    SET firstpostid = 
$postid
                    WHERE threadid = 
$threadid"); 

If you have thread preview enabled in the adminCP then all new threads from now on will show a preview when you hover over them.

Cold Steel 06-20-2004 04:27 PM

Quote:

Originally Posted by lierduh
The single quote in the message ID is the cause of the problem. Message ID should not contain quotes charactor. You can either bypass this message by editing the lastmsg in the control panel, or do the following:

Around line 338 find:

(post.msgid = '$par_msgid') AND

Change it to:

(post.msgid = '" . addslashes($par_msgid) . "') AND


Thanks. :)

Made the change, but now I'm getting this error:

Code:

Getting message number 300622:
'Re: When did "oriental" become a bad word?' from nttran@webtv.net. Thread found by References.
Getting message number 300623:
'Re: Japanese loves American fashion.' from Charley Brown and Almighty Snoopy. Thread found by References.
Getting message number 300624:
'Re: Ref: Hiroshima and Nagasaki Justified?' from Mike1. Thread found by References.
<html><head><title>asiansINC.com Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>
<body></table></td></tr></table></form>
<blockquote><p class="error">&nbsp;</p><p class="error"><b>There seems to have been a slight problem with the asiansINC.com database.</b><br />
Please try again by pressing the <a href="javascript:window.location=window.location;">refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.1:

Invalid SQL: INSERT INTO post
                                        (postid, threadid, title, username, userid, dateline,
                                        pagetext, allowsmilie, showsignature, ipaddress, iconid,
                                        visible, isusenetpost, msgid, ref, parentid)
                                        VALUES (NULL, 33342,
                                        'Re: Ref: Hiroshima and Nagasaki Justified?',
                                        'Mike1', 0,
                                        '1087752217',
                                        '(alfred montestruc) wrote:

&gt;....societies have....



Ambiguous-Collective fallacy.  (It\'s a popular one.)

Lemme help ya:  http://home.mn.rr.com/meadowbrookhome/z/FALLACYS.HTM


No charge.

--

Reply to mike1@@@usfamily.net sans two @@, or your reply won\'t reach me.

Anarchy: The political manifestation of Liberty.
Capitalism: The economic manifestation of Liberty.
\&quot;An election is nothing more than an advance auction of stolen goods.\&quot;
-- Ambrose Bierce, \&quot;The Devil\'s Dictionary\&quot;
\&quot;Democracy: Nine Nazis and one Jew voting in the 1932 German elections.\&quot;
', 1, 0,
                                        'For-Gilly\'s-benefit@usfamily.net', 0, 1, 1,
                                        '&lt;For-Gilly's-benefit-AE567C.01160607042004@phswest.com&gt;',
                                        '&lt;5dda60h3nm2n3as4k80kemmaaf6pb2v8kh@4ax.com&gt; &lt;c2c06a17.0403311712.1ded4c6c@posting.google.com&gt; &lt;ht9p60p9o42esuufj2mqghisklr4os2q21@4ax.com&gt; &lt;c2c06a17.0404031725.609a165a@posting.google.com&gt; &lt;hstu60htq5qcemv309jel8f9neu9g10v64@4ax.com&gt; &lt;c2c06a17.0404041024.7a514d28@posting.google.com&gt; &lt;For-Tom_Cerco's-benefit-A772E2.23264904042004@phswest.com&gt; &lt;c2c06a17.0404050502.26a4556f@posting.google.com&gt; &lt;For-Tom_Cerco's-benefit-358608.22421205042004@phswest.com&gt; &lt;c2c06a17.0404061456.69a8fa88@posting.google.com&gt;',
                                        0 + 0)
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 's-benefit-AE567C.01160607042004@phswest.com&gt;',
                                        '&lt;5dda60h3n

mysql error number: 1064

Date: Sunday 20th of June 2004 12:23:37 PM
Script: http://forums.asiansinc.com/gateway.php
Referer:
Username: Webmaster
IP Address: **.**.**.***
</textarea></form></blockquote>

</body></html>


Cold Steel 06-20-2004 04:38 PM

Quote:

Originally Posted by Cold Steel
How do I determine which one is gateway.php?

Is there a way to get it to run more than every 30 minutes? I keep on getting this message:

Quote:

Another instance of gateway.php is running, try again in 30 minutes if the script was crashed.
when running it manually. Would the same thing happen if I set it to cron?

Cold Steel 06-20-2004 09:24 PM

After disabling the one newsgroup above that is still giving me mysql errors, I have gateway.php set to run every 10 minutes via cron.

However, I am getting tons of doubleposts in those newsgroups. I think it must be because of gateway.php, because Agent and Google don't show the double posts. I don't think they're being threaded properly, either. I'd greatly appreciate it if someone could take a look for me:

alt.asian-movies
http://forums.asiansinc.com/forumdisplay.php?f=74
http://groups.google.com/groups?hl=e...n-movies&meta=

alt.food.asian
http://forums.asiansinc.com/forumdisplay.php?f=73
http://groups.google.com/groups?q=al...ie=UTF-8&hl=en

lierduh 06-21-2004 12:01 AM

Quote:

Originally Posted by Cold Steel
Thanks. :)

Made the change, but now I'm getting this error:
[/code]

Around line 392, find:

'{$message['message-id']}',
'{$message['references']}',

Change them to:

'" . addslashes($message['message-id']) . "',
'" . addslashes($message['references']) . "',

Cold Steel 06-21-2004 12:12 AM

Woohoo, working like a charm again.

Positive Karma for you if this place had it. :)

Qwest 06-21-2004 04:03 AM

Mine was working fine, then all of a sudden it started getting stuck on "Getting message number 11653:".

It goes that far then says done. Of course when I try to refresh it I get the 30 minute warning. No new posts are picked up even after I've added new news groups.

Please Help!

Cold Steel 06-21-2004 06:00 AM

You may want to do these fixes:

https://vborg.vbsupport.ru/showpost....&postcount=217
https://vborg.vbsupport.ru/showpost....&postcount=224

I've had no problems after I made those changes.

Cold Steel 06-21-2004 08:45 PM

How come some posts go through, but some don't?

This one didn't go through - http://forums.asiansinc.com/showpost...04&postcount=2

But these four did - http://forums.asiansinc.com/search.php?searchid=20571

trackpads 06-22-2004 09:43 AM

Quote:

Originally Posted by KevinM
Yes you can. Find this:
PHP Code:

else if ($killfileresult checkkillfile($message)) 

and change it to to:
PHP Code:

else if ($killfileresult checkkillfile($message) AND $grouptype == 'news'

This will work on newsgroups only.

To work on mailing lists only:
PHP Code:

else if ($killfileresult checkkillfile($message) AND $grouptype != 'news'

I haven't tried it, but it should work.

Thanks!!!!!

Cold Steel 06-22-2004 06:23 PM

Is there anyway to set it so vB signatures ARE passed into the newsgroups?

KevinM 06-22-2004 06:31 PM

Quote:

Originally Posted by Cold Steel
Is there anyway to set it so vB signatures ARE passed into the newsgroups?

It's an option in the control panel (nntp gateway settings). Set the 'send no signature' to 0.

Keep in mind that most groups have rules on the size of the sigs, mostly 2 lines or 4 lines and with VB3 your users could have much, much bigger sigs.

Princeton 06-22-2004 08:33 PM

Does anyone have the "mailing-list footer stripper" working (released by KevinM)?

If I understand correctly you are suppose to add the first line of the footer between { } and it should strip the remaining lines -- is this correct?

If it is - than I must be missing something. :(

Princeton 06-22-2004 08:41 PM

Request
An option to NOT send posts (created by forum members) to newsgroup.

eg:
Send posts created by members to newsgroup? Yes/No
(The best place to put this would be in the gateway settings.)

Cold Steel 06-22-2004 09:56 PM

Quote:

Originally Posted by Cold Steel
How come some posts go through, but some don't?

This one didn't go through - http://forums.asiansinc.com/showpost...04&postcount=2

But these four did - http://forums.asiansinc.com/search.php?searchid=20571

I don't think posts from members with longer usernames or spaces in their usernames are going through. Any idea why?

Qwest 06-22-2004 10:41 PM

Important,

This hack is great but it's driving my post count on my site INSANE!!

Is there anyway to run this hack but have the posts NOT counted towards your BOARD'S total posts?

NOTE: I said BOARD total not USER total. Everywhere I ask this people tell me about teh option in the admincp to not count posts towards USER totals.

lierduh 06-22-2004 11:18 PM

Quote:

Originally Posted by Cold Steel
I don't think posts from members with longer usernames or spaces in their usernames are going through. Any idea why?

Space in user name is not a problem. Length should not be too.

Please try to capture the screen when you run it manually.

lierduh 06-22-2004 11:24 PM

Quote:

Originally Posted by Qwest
Important,


This hack is great but it's driving my post count on my site INSANE!!

Is there anyway to run this hack but have the posts NOT counted towards your BOARD'S total posts?


NOTE: I said BOARD total not USER total. Everywhere I ask this people tell me about teh option in the admincp to not count posts towards USER totals.

I think you may have to disable the thread/post counts in the usenet forums (by altering code).

Cold Steel 06-22-2004 11:37 PM

Quote:

Originally Posted by lierduh
Space in user name is not a problem. Length should not be too.

Please try to capture the screen when you run it manually.

It's attached. The usernames of "Webmaster" and "teapot" have no problems being posted to usenet -- I've checked through Agent.

However, the usernames "The Invisible Man" and "Three Gun Fish" haven't gotten through.

lierduh 06-22-2004 11:58 PM

Quote:

Originally Posted by Cold Steel
It's attached. The usernames of "Webmaster" and "teapot" have no problems being posted to usenet -- I've checked through Agent.

However, the usernames "The Invisible Man" and "Three Gun Fish" haven't gotten through.

I can't see the post by Webmaster or teapot being sent too. Are you talking about an old post which was not sent? you need to test on a freshly posted message.

Cold Steel 06-23-2004 12:32 AM

Ok, I made a post http://forums.asiansinc.com/showthre...054#post476054 but for some reason it gave me a 500 error when running gateway.php.

So I disabled signatures and tried again, same result.

See attached.


All times are GMT. The time now is 06:37 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
  • Page Generation 0.02550 seconds
  • Memory Usage 1,953KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (10)bbcode_php_printable
  • (33)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete