The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
THIS THREAD IS CLOSED!
Posts in here will NOT be answered This hack has undergone many major changes since this thread was started. Consequently, most of the posts have become dated and of little use. To coincide with the latest major release (20010712), a new one has been started. See this thread for the latest version and discussion Show Your Support
|
Comments |
#32
|
|||
|
|||
ok slight problem:
Someone posted on the newsgroup, i think 2 messages (maybe 3 as their post count is 3 but only two messages are found when searching by username.. bizarre) anyway.. in one thread this were the results (3 posted messages) Quote:
Quote:
Quote:
One final thing this brought up, if someone deletes their own posts it should be deleted from the awaiting to send to usenet table if it has not yet gone. any ideas what is going on here? It only occurs when more than 1 message goes from the awaiting to send at table at once. |
#33
|
|||
|
|||
reading through again this is what appears to have happened.
first post --> sent to correct thread correctly. 2nd post combined with 1st post (including headers) --> sent to forum of first thread. 3rd post combined with 1st post and 2nd post (including headers) --> sent to forum of first thread. not god |
#34
|
|||
|
|||
Ooops! It seems the array that holds the messages for sending is not cleared before it starts reading the next one. I must admit, I never tested it with more than one message in the outgoing table. Here's the fix:
On line 279 of newnews.pl, just after the line that reads Code:
$c->post(@article); Code:
@aticle = (); Sorry about that. |
#35
|
|||
|
|||
thanks a lot
now assuming the next run works and i don't find any more problems in the actual collection of the posts (let's hope) a few things/improvements for v2.0 (have a rest first after all the help though!) 1. Delete post from table to be sent if user deletes it. This may be because they post in wrong forum etc. 2. Using BPCode i would think to change the colour of quoted stuff >stuff >here >for example see. Not quite sure how this can be done really. Perhaps adding the bpcode on import would be best??? 3. I am going to seperate posts in newsgroups to post on forums in user account, this won't be hard i doubt and will be part of vbulletin as opposed to this hack. 4. using more than one server, i know of some newsgroups i would like to mirror that are only on 1 specific server, would need a choice for these. 5. auto pruning of a guest's user posts and auto deletion of any of these posts upon upload (referenced by a username in a certain newsgroup or by an email address etc.) 6. Hard one this is, email notification of a new newsgroup post to a thread that a member of the forum has posted in. 7. Can variables be passed into the signature i would like a sig like Quote:
anyway that is just a few possibile things i can think of, more i am sure will come perhaps add a few of these in (email notification most useful probably) when you do the change for v2.0 (hope that is not too hard, shouldn't be i would not think). Cheers again for all your help. chris |
#36
|
|||
|
|||
What an original and most excellent hack, I look forward to experimenting with it when V2.0 comes out.
Thanks |
#37
|
|||
|
|||
i now get the following error message referring to the new line
Quote:
|
#38
|
|||
|
|||
ok to get it to work just comment out the use strict.
It now works but i get this error message: Quote:
|
#39
|
|||
|
|||
Chris,
It looks like you may have forgotten to use the '@' symbol in front 'article' on that new line you added. Every mention of 'article' in the sub-routine post_outgoing() should be prefixed with @ What exactly do you have on line 296. The post_outgoing() routine should be this: Code:
sub post_outgoing { print "Processing outgoing messages\n"; my @article=(); my $q2 = db_fetch("SELECT poster,newsgroup,subject,refs,body FROM usenet_outgoing"); while ( my ($poster,$newsgroup,$subject,$refs,$body) = $q2->fetchrow_array ) { push(@article,"Subject: $subject\n"); push(@article,"From: $poster\n"); push(@article,"Sender: $poster\n"); push(@article,"Newsgroups: $newsgroup\n"); push(@article,"Content-Type: text/plain; charset=ISO-8859-1:\n"); push(@article,"Content-Transfer-Encoding: 8bit\n"); push(@article,"User-Agent: $useragent\n"); if ($refs) { push(@article,"References: $refs\n"); } push(@article,"Organization: $organization\n"); autoformat $body, {right=>72}; push(@article,"\n$body\n\n$footer\n"); print "Posting message by $poster to $newsgroup...\n"; $c->post(@article); @article = (); } db_execute("DELETE FROM usenet_outgoing"); } |
#40
|
|||
|
|||
even more silly, you made a type and i copied and paste:
Quote:
i should have noticed that |
#41
|
|||
|
|||
I just received an email from hostro telling me that I was spamming newsgroups. I know this was not from my account. I have accounted for all posts. All I can imagine is somebody downloaded the script and didn't change the $footer variable (which had my site in it). Please... if you have the script and didn't change it, change it NOW.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|