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 |
#192
|
|||
|
|||
You can do it from the control panel in the 'Groups Section'
There is an option at the very top to purge all posts, or you can do it for each group. But if you want to do it by hand you are correct in what you said. 'where isusenetpost=1' |
#193
|
|||
|
|||
Oops, that didn't work right. It just deleted the posts from the usenet forum, not from the screwed up one! I'll table by table.
|
#194
|
|||
|
|||
Ah.. yeah.. sorry. I should have realized that. It's another safety feature to only delete from forums that are specified in the usenet_group table. As you've deleted it from that table it ignores it.
|
#195
|
|||
|
|||
Fastforward, I think I found the explanation to what happened. I grep'd on test and found this:
vB_sql_changes.sql:INSERT INTO usenet_group (newsgroup, forum, lastmsg, server, username, password, enabled, footer) VALUES ( 'alt.test', '2', '0', '', '', '', '1', ''); I'm not sure if this was 2.1 or 2.3, but one of them probably wasn't 9999. Just in case anyone has the same installation. Those funny threads were probably sucked in before I deleted alt.test. Everything's fine now, and I'll install the 2.4 |
#196
|
|||
|
|||
The link for downloading 2.4 doesn't work?
|
#197
|
|||
|
|||
Quote:
|
#198
|
|||
|
|||
Quote:
I have now removed the alt.test group completely. I'll also add a note in the docs to double check the groups options page and make sure the forums specified are really where you want the usenet messages to go before runing the script for the first time. The download link was a good one, but I woke up this morning to find my disk was full. Apparently I no longer have access to /dev/null so all my log files filled up. I guess I'll be on the phone all day to Host Pro Has anybody installed 2.4 yet? Is it all working OK? |
#199
|
|||
|
|||
Quote:
|
#200
|
|||
|
|||
With 2.4 i'm actually getting
Parse error: parse error in /usr/local/apache/htdocs/forum/admin/functions.php on line 871 Fatal error: Call to undefined function: vbdate() in /usr/local/apache/htdocs/forum/admin/sessions.php on line 326 in both admin/ and forum It's the $DB_site->query("UPDATE forum SET lastactivethread = LEFT('"..addslashes(htmlspecialchars($threadinfo[title]))."',$lastactivethread_length) WHERE forumid = ".$threadinfo[forumid]); line... |
#201
|
|||
|
|||
I wrote a script that let's you insert an archived newsgroup or mailing list into the usenet tables. I wrote it so that I could import all the messages since the newsgroup was created and so that I could feed the new messages in from two sources, the mailing list and the newsgroup. Feeding it in from the two sources, I hope will eliminate my missing posts problem for the ones that don't make it into the newsgroup.
This script will read mail in from a file or from an email alias and then parses it to be included in the database. Then the messages will be inserted with the newnews.pl script provided in the Usenet Gateway hack. This script does not make use of any of the spam/binary filtering or other replacement strings that occur before it's inserted. How to use this script: From the command line, execute the script like: Code:
./mail2forum.pl < filename2messages.txt This script can also be used to insert a message sent to an email address right into the database. To do this, you'll need to create an alias in the sendmail aliases (usually at /etc/aliases) to execute the script. The alias would look like this: Code:
forum: "|/path/to/mail2forum.pl" You'll need to rename the file to have the .pl extension. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|