Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-21-2001 Last Update: Never Installs: 3
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #182  
Old 03-29-2001, 02:59 AM
Guest
 
Posts: n/a
Default

Updated version - New features & bugfixes

This release adds a few options and fixes some of the bugs discovered over the last few days.
  • Added option in control panel for eliminating usenet users and posts from the stats.
  • Added option in control panel for eliminating usenet posts from the 'Get New Posts' search.
  • Added option in control panel to allow multiple iterations of replies load per batch run to avoid staggling posts left in the article table when pulling history or large batches.
  • Removed hardcoded regexes that were removing things like 'fred wrote in message <123213@news.news.com>'. This should now be entered in your 'Replacements' in the 'Spam Control' section of the control panel.
  • Corrected usenet user post count when importing usenet users
  • Corrected miscounting of replies in the forum table. (this was confusing vB and causing the next thread link to display when it shouldn't)
  • Disabled the refresh in the control panel after updates to prevent the 'cant send header' errors when gzip or buffered output is disabled.
  • Prevented orhan replies with the subject of '(no subject)' being threaded incorrectly alongside non-related articles with no subject. They are now not loaded at all unless there is a reference in the header.

Download version 2.4 for vB 2.0b3

There are upgrade instructions for anyone who has installed v2.3. There are only two places in which to change code and a few SQL statements to run. I'll be around for a few hours if anyone installs it tonight and runs into problems. But it's straightforward enough... trust me

Both the newnews.pl and the usenet.php need replacing with this new version

The latest version of this hack will always be in this first post of the thread.
  #183  
Old 03-29-2001, 03:09 AM
Guest
 
Posts: n/a
Default

Fastworward, help!

A user asked me about some crap messages shown in a non-usenet forum, lots usenet posts that arenet from the one I pull with things like:

"This message has been automatically sent by Micromuse's Netcool/NNTP
Internet Service Monitor."

and some SPAM etc. dated Feb 12, but added today.

The forum in question is

http://www.lowcarber.org/forum/forum...p?s=&forumid=2

I'm still using 2.3. Is this a new bug, or a known one fixed in 2.4?

I only use one usenet group as forum #30 and it is populated correcly, while this stuff shows in forum #2.
  #184  
Old 03-29-2001, 03:17 AM
Guest
 
Posts: n/a
Default

Don't panic! The only way this can happen is if you have a destination forum for one of your usenet groups set to a real forum.

Just look in your usenet groups option in the control panel and find the offending group. If you're getting automated messages it sounds like it's alt.test or another test group.

If you're absolutely sure it's not showing on your groups options page then look in the usenet_group table for it. But there is no way this can happen by itself. The script has to be told which forum to place messages in.
  #185  
Old 03-29-2001, 03:26 AM
Guest
 
Posts: n/a
Default

Hmm,

I've deleted alt.test (was it set by default to forum #2)? I might've had run it by mistake before I set up the only usenet group I carry. My usenet server has a huge retention rate, so feb12 messages soesn't surprise me.
  #186  
Old 03-29-2001, 03:32 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by tamarian
Hmm,

I've deleted alt.test (was it set by default to forum #2)? I might've had run it by mistake before I set up the only usenet group I carry. My usenet server has a huge retention rate, so feb12 messages soesn't surprise me. ]
Nope. It was set to forumid 9999. This was done to avoid the very problem you've just ran into. Maybe I'll just leave the test group out altogether next time.

But if the messages have just appeared today, the script must still be pulling them from usenet. Was it in the usenet_group table?
  #187  
Old 03-29-2001, 03:39 AM
Guest
 
Posts: n/a
Default

No, my database shows one group only, alt.support.diet.low-carb, and the same in my CP.

I might've just noticed it today when a user reported it, since the retention is hight on y NNTP server, I pulled feb 12 messages in late March, so they appear at the bottom and don't get noticed. That's what comes to mind.
  #188  
Old 03-29-2001, 03:44 AM
Guest
 
Posts: n/a
Default

Hmmm, sorry about that. I think I will leave the alt.test group out of the next release... just to be safe. But there really is no way for the script to place messages in any forum other than that specified in the usenet_group table.

Can you clean up the forum easily? It's easy to identify a post as usenet, but it's not easy to determine which forum it's in because there's no forumid in the post table. If there's not too many it's probably safer to do it by hand rather than a query.

Let me know if you need any help.
  #189  
Old 03-29-2001, 04:02 AM
Guest
 
Posts: n/a
Default

Oh it could've been a screw up on my part. Remember my earlier post when I was using the 2.1 script on top the 2.3 version of the hack.

Thanks for the offer of help. There are quite a few of them to do by hand.

How can I identify usenet messages. I might be able to do something like

"delete all usenet posts where forum id=2"

If that what you ment by the difficulty due to not having forum id in post table, I can try this:

"delete all usenet posts prior to feb 13"?
  #190  
Old 03-29-2001, 04:29 AM
Guest
 
Posts: n/a
Default

There is a column in both the post table and the thread table called 'isusenetpost'. The threads are easy to delete as there is also a 'foumid' column there. But there is no way of knowing which usenet articles from the post table are from the forum that needs cleaning as there is no forumid column.

The cleanest way may be to purge all usenet posts and re-pull the news. You can opt to keep articles that are usenet, but were posted by your users in the control panel if that is a requirement.
  #191  
Old 03-29-2001, 04:39 AM
Guest
 
Posts: n/a
Default

I have no problem purging all usenet posts and polling them back again. How can I purge them? Just to make sure I got it right:

Delete all threads where is usenetpost=1
Delete all posts where isusentpost=1

Any other queries I need to do?
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05796 seconds
  • Memory Usage 2,279KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete