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
  #522  
Old 06-12-2001, 01:05 PM
Sinema Sinema is offline
 
Join Date: Mar 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it exactly how their instructions said and the instructions said that if there were any errors I would see them "loudly"

people can post in the forum , add threads etc.. just nothing from usenet is shown in the folder
  #523  
Old 06-12-2001, 01:31 PM
NgtCrwlr's Avatar
NgtCrwlr NgtCrwlr is offline
 
Join Date: Jan 2002
Location: Fort Myers, FL, USA
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I forgot to mention the link you posted goes to a blank page so I couldn't see anything.

If you can run newnews.pl from telnet without error and it shows a clean disconnect message from your news server then I'm guessing that you have your forum settings wrong.

Try posting a link that works and we can work from there.
  #524  
Old 06-12-2001, 01:56 PM
Sinema Sinema is offline
 
Join Date: Mar 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The cgi-bin server of the place I use is down ..

and also

since it's a free web host .. that allows php and mysql ... I do not have telnet access

I followed their directions exactly as they listed.. and I didn't see any huge errors or anything.. I actually did not see an error at all ..
  #525  
Old 06-12-2001, 11:16 PM
Gilby Gilby is offline
 
Join Date: Oct 2001
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Sinema
I followed their directions exactly as they listed.. and I didn't see any huge errors or anything.. I actually did not see an error at all ..
Did you run newnews.pl? This is done from telnet... although, the latest version may be able to be ran from the webbrowser. Can you show us the output of what you get when you run the newnews.pl script?
  #526  
Old 06-13-2001, 12:21 AM
Sinema Sinema is offline
 
Join Date: Mar 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since it's a free webhost ..

The only web host that I know of that is free and supports mysql/php

It doesn't allow telnet connection :-(

so I can't telnet to the script but the instructions didn't say anything about the pl

it said to place it above the wwwroot .. so I placed it right above www in my ftp
  #527  
Old 06-13-2001, 12:38 AM
Gilby Gilby is offline
 
Join Date: Oct 2001
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Sinema
it said to place it above the wwwroot .. so I placed it right above www in my ftp
That script is meant to be run as a cronjob and is the script that fetches the postings from the newsgroup. So without running that script, no posts will go to or from the newsgroup.

Since you don't have telnet access, you'll need to put the newnews.pl script in a place where it is visible from the web. Also you will need to add this line near the top of the script:

print "Content-type: text/html\n\n<pre>";

Then run it from your web browser. You'll have to figure out a way to run it periodically too since you don't have access to a cronjob. Maybe there is a service on the internet that will access a certain page every 15 minutes or so and therefore execute the script.
  #528  
Old 06-13-2001, 12:41 AM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The newnews.pl was never intended to be executed from the browser. As per section 2 of the instructions:
Quote:
Upload the newnews.pl script into any directory and chmod 0755 to make it executable. It is recommended that this directory be outside your wwwroot. This script is not designed to be executed as a cgi. It should be executed periodically via cron. Next, upload the usenet.php file into the admin directory of your vB installation. This is the control panel page.
And then towards the bottom under the heading 'Running':
Quote:
To collect all the historical news on the server you will need to set the 'keep orphan replies' option to an artificially high number to prevent losing posts. Once you have collected all the news, reset the number to somewhere between 2 and 5 days.

Don't worry if when you run it the first few times you see a lot of messages on the screen saying message 'Not Available'. This is because most newservers are inaccurate in their reporting of the first and last article they have available. Just keep running it and you will see articles start to collect eventually. This is only an issue during the initial historical pull.

Once you have the history, you can set up a cron job to run the script every 20 minutes or so.
But that aside... most ISP news accounts authenticate you using an IP address (the IP address of your home PC). Unless the web host has a news server you can use, you will probably need to get a seperate feed.

As for running the newnews.pl from the browser; I believe it has been done successfully, but I have not tested newer versions using this method and make no guarantees that there won't be problems.

NOTE to everyone waiting for the next release:
I've been so so so so busy I haven't made much progress with the binary attachments so the up-coming version will only have the x-noarchive addition plus a few bug fixes. I was able to reproduce the quote color problems. It was a syntax problem that sonehow crept in between versions. Probably a slip on the keyboard
  #529  
Old 06-13-2001, 12:43 AM
Sinema Sinema is offline
 
Join Date: Mar 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thank you I didn't even know that

And good point ..

I know where there is a server that allows Telnet and CGI .. etc..

but it doesn't run php or mysql ..

do you think I can use that for anything?
  #530  
Old 06-13-2001, 01:03 AM
Gilby Gilby is offline
 
Join Date: Oct 2001
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Sinema
do you think I can use that for anything?
If you can make a cronjob from that account via telnet, then you can run the following command with your crontab file:
wget http://domain.to/your/newnews.pl --output-file=/dev/null
  #531  
Old 06-13-2001, 08:54 AM
chrispadfield's Avatar
chrispadfield chrispadfield is offline
 
Join Date: Oct 2001
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Sinema
Wow thank you I didn't even know that

And good point ..

I know where there is a server that allows Telnet and CGI .. etc..

but it doesn't run php or mysql ..

do you think I can use that for anything?
yes, just run the script on that site and set the database to the one on your other host. That is what is so good about databases, you don't need to run the programs at the same place.
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:02 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.09370 seconds
  • Memory Usage 2,303KB
  • 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
  • (6)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
  • (3)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
  • (10)postbit_onlinestatus
  • (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
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete