Version: , by (Guest)
Developer Last Online: Jan 1970
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.
I used to run UBB so hacking is pretty familiar thing to me and I'm just trying to estimate what risks might be involved here. It seems that at this point this is not for me
This hack is just so good that it would be more than great if Jelsoft makes this part of vB at some point in the future.. sooner or later, preferably ASAP!
I hope that there will be some version of this hack that is suitable for us who are not that familiar with php or mysql. (easy to install and maybe some script to uninstall this hack before a vB upgrade and then somehow install it back to the system).
This script will empty the forums of all usenet posts, users and clean up the index tables. It will empty all posts in a usenet forum regardless of who posted it.
Make sure you have a working backup before running this for the first time!
What it does:
Deletes all usenet threads from thread table for all usenet forums specified in usenet_group.
Sets the replycount, lastpost details to null for all usenet forums.
Delete all posts that belonged to the threads we just deleted.
Deletes all searchindex entries for posts that we just deleted.
Resets the lastmsg numbers to zero in the usenet_group table.
Empties the usenet_article and usenet_ref tables
Deletes all users with a usertitle of 'Usenet Poster'
Deletes userfield table entries for the users we just deleted
Mmmm.. I have a slight problem with 2.0b3... Everything runs smooth, the only flow is that in normal forums ( the vbb forums) I suddenly get Registered: and Location: field printed twice under username while in Usenet forums it's displayed only once. Went through instructions like 5 times already, everything seems to be just fine. I was just wondering if anyone else had simmilar issue...
just one thing on the admin script. If you run the news script for a few weeks and then decide to ugrade to purge everything and do a re-install, the newsgroup posts sent via the forums won't be uploaded because it checks to ensure they are not there if you see what i mean. Is there a way to override this on a fresh install?
just one thing on the admin script. If you run the news script for a few weeks and then decide to ugrade to purge everything and do a re-install, the newsgroup posts sent via the forums won't be uploaded because it checks to ensure they are not there if you see what i mean. Is there a way to override this on a fresh install?
I thought of this myself while I was trying to figure out the best way of upgrading my boards. The easiest way is to add an option to bypass the check and just load everything in.
This release (2.1) fixes some bugs and made a few efficiency changes.
Files Changed:
config.php
newnews.pl
memberlist.php
newreply.php
functions.php
Changes:
moved $usenetusergroupid to config.php to avoid hard coding the id
added variable $lastactivethread_length in config.php to limit length of thread title if used in templates.
corrected thread and forum replycount problems
will re-import locally originated usenet posts if not already in forum
added $recover_deleted_localposts option to re-import any locally originated posts that are on usenet but no longer in the forums due to being deleted. If this option is on, it will mean legitimately deleted posts will also be re-imported.
fixed problem with outgoing messages being deleted from outgoing table before being sent!
made multiple news server support an explicit option to prevent unnecessary connects/disconnects
The documentation has been updated and there is an upgrade set of instructions if you already installed version 2.0. DownloadThe latest release is also in the first post of this thread
Originally posted by DumbQuestion Your installation instructions refer to "usenet.sql", but the file you provided for download does not have this file.
It contains "vB_sql_changes.sql". Do we use this file instead?