The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
This hack provides a gateway to any NNTP newsgroup such as those from Usenet and other newsgroup servers. Selected newsgroups are imported from your news server and post on the forum are sent out to the newsgroup. This hack was greatly inspired by fastforward's usenet gateway hack. This one is a complete rewrite of that hack written in PHP and works with vB 2.2.2.
Installation: Installation is pretty simple. No modifications to the vB php files are needed and it simply consists of dropping in the files to your forums directory, running the SQL modifications, and modifying the newsgroup settings for your desired newsgroups. For the complete installation details, read the readme.txt file. Here are some of the features:
For control panel integration, please check out GameCrash's Graphical Interface addition. What's not in it that was in fastforward's usenet gateway hack:
There is still lots that I'd like to add to it, but this is competely functional for basic newsgroup gateway support. It is most likely not free of bugs. If you have questions, suggestions or annoyances, please post in this thread. vb3 support lierduh modified this to provide support for the beta versions of vb3. When the release candidates of vb3 come out, I plan to add support for vb3 and add other features to this hack. If you have suggestions for new features, let me know. E-mail gateway support New in this version, you can now gateway with an email list. This will fetch emails from a POP email account and send via php's mail function to the mailing list's email address. To set up the list, in the newsgroup field, enter in the email address to send outgoing posts to. In the server field, enter in the pop3 server, and in the username and password fields enter in, you guessed it, the username and password to your pop account. Note: the email gateway capabilities has not been fully tested, so it might not work with your POP server. Also, it does not work in combo with a news<->forum gateway in the same forum (you can use either kind though in differnet forums within your forums). Show Your Support
|
Comments |
#622
|
||||
|
||||
allan grossman, what news server are you using? Is it a free one or do you pay?
I have a pay server I am using. I modified the database to make reference to the server name, username and password but it seems to be ignoring the password. When running gateway.php, I keep getting the error Logging in to news-west.newscene.com, group alt.games.adnd Posting Message from DK: 500 Huh? Posting Message from DK: 500 Huh? Ideas? |
#623
|
|||
|
|||
Quote:
I think top reply would be the same thing. Like if someone replies to a post in the middle of the thread on our forum, because it's linear it goes on the end. No problem. But because Usenet is threaded, it really needs to go to the correct part of the thread there and not 'top reply/post' as the NGers get really ++++y. Does your hack send the post to the correct part of the thread? It looked quite complicated at first but I'm gonna give it a try anyway because all of a sudden long names eg"Re: bla blah (was blah blah blah)" are for some reason not threading at all and I'm ending up with a full page of those that I have to merge! |
#624
|
|||
|
|||
I'm sorry lierduh but I can't make head nor tail of your instructions.
Quote:
Quote:
Quote:
Thanx |
#625
|
|||
|
|||
Quote:
Your 500 error means "Command not recognized". I used GameCrash's graphical in terface to the NNTP gateway - it stores the server name, username and password in a template. Here's the thread - https://vborg.vbsupport.ru/showthread.php?t=36475 |
#626
|
|||
|
|||
How exactly do I do this? If I click the post> "insert" I get a lot of 'field' 'type' 'null 'value' etc. There is no 'pre-postid' just postid. At the bottom it indicates this would add a new row. As a row isn't a column, where is the bit to add columns??
You do it with a MySQL query - ALTER TABLE post ADD COLUMN ref TEXT; ALTER TABLE post ADD COLUMN pre_postid INT; Then I just set the column width for pre_postid in phpMyAdmin because I didn't know how to do it with a query - but it worked. Again confused here: are we to edit the code currently at lines 26,27, and 30 so it reads as above or add this to replace it? If '}' is to go at line 30 then the code currently there will now be on 31? You put it directly *under* line 26. It should look like this - if (isset($postid)) { if (isset($pre_postid)) { $pre_postid=(int)$pre_postid; } We change to 'require_once' , then comment it out? Yup. good luck! |
#627
|
||||
|
||||
Quote:
I still get the same error. Another thing to note. When I edit the newsgroup forum in the graphical interface, the password field is blank. Yet when I look at the database, the correct password is in there. Could it be that the password is not being sent when trying to connect to the news server? |
#628
|
|||
|
|||
Quote:
Gilby wrote one version of nntp.php that does extensive logging - I've attached it here. You'll need to rename it to nntp.php after you back up the one you have now. Maybe it'll help - good luck! |
#629
|
|||
|
|||
Thanks allan!
I'm just stuck on this bit Quote:
ETA: actually I'm getting stuck further. Quote:
Thanx! |
#630
|
|||
|
|||
Okay I bit the bullet and just went for it, even though the instructions were not at all clear to me. I fear I've got it wrong though. <sobs>
It half works for me: As it's so early in the morning I've not got a lot of incoming so it's hard to tell if it'll thread correctly in my forums. I had two posts with identical 'Re:' subjects that should have been on the same thread. Checked with my newsreader and they were on the right thread in the NG, so not 'strays'. I'll know if it's really worked later today I guess, but I can live with it as it's no worse than at the moment, just takes a bit of effort merging them all if there are a lot of posts. More interesting was the threading in the newsgroup when I posted from the forum. Yay, it sent the posts to the correct part of the thread, but only if one used the Quote button to reply. If one uses Add Reply then it 'top replies'. Is it supposed to still do this? Have I misinterpreted the instructions and if I get it right it'll stop top posting if the Add Reply is used? So it's sorta half working at the moment and I'm mightily pleased. Thanks lierduh! Can I get it fully working or am I gonna have to put notices up forbidding people to use the Add Reply button in that forum? Thanx ETA: Actually, I guess it's kind of impossible to stop it top posting with the Add Reply, 'cause how would it know which post to reply to. Hmmm. So I guess it did work properly after all and I never buggered it up. Phew Now if only I could think of a way to remove the add reply button from that forum. |
#631
|
|||
|
|||
Hi, PhoenixBB
Might be a good idea to read the man page for "diff" - it might make things a little clearer. 125a126,132: This means that on the hacked file lines 126-132 were added (that's what the 'a' means) - they don't exist in the original file. I copied a few lines above and below so you'd know what the thing was supposed to look like here - PHP Code:
You're getting there allan edit: If your "add reply" button doesn't work there's something bollixed up in newreply.php - best to start over with a fresh copy of that file and make sure the hack is applied correctly. The button does work, honest I gotta go to work now - good luck! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|