vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=65152)

lierduh 10-30-2004 02:09 AM

Quote:

Originally Posted by Marv
You?re funny, lierduh - don?t you think I?ve already tried this before ;)
Since my first installation of your hack the param `gateway.php` isn?t working for me. With this I only receive a blank page in admincp and gateway.php is doing nothing. Wether importing nor exporting.

I used gateway.php in my limited test. It does not give errors. It is possible the error you received was caused by the php running as cgi. 'gateway.php?debug=1' will definitely fail by the way.

Using "http://www.myforums.com/forum/gateway.php" as the file name in the cronCP will fail on most servers unless 'allow_url_fopen' is turned on in php.ini. Even that, different versions of php will behave differently.

Since the lastest version sends the debug message through email (set $do_cron_log = 1). I would like to see someone with this problem post some debug messages.

If possible, the Unix cronjob is the preferred way to run the script. I think some ISP provides cron job through the ISP's control panel if you can not access to the shell. Because I do not use the vB3 cron, the test done on them is very limited. Also the vB3 cron has been designed to run some simple scheduled tasks. It was never designed to run complicated tasks as gateway.php.

SaN-DeeP 11-06-2004 09:40 AM

HI lierduh,
so far i appreciate the time and work you have devoted for this hack :) and it works perfectly fine now.
i need to ignore posts from this newgroups forums to get added to the global (total no. of threads and posts on my forums home - whats going on box

how can i acheive this ?

Regards,

AWS 11-06-2004 01:06 PM

Quote:

Originally Posted by SaN-DeeP
HI lierduh,
so far i appreciate the time and work you have devoted for this hack :) and it works perfectly fine now.
i need to ignore posts from this newgroups forums to get added to the global (total no. of threads and posts on my forums home - whats going on box

how can i acheive this ?

Regards,

<off-topic>
San Deep,
Sorry I missed you when you tried to IM me. You messaged me whenever I was idle and when I was going to reply you were offline.
</off-topic>

lierduh 11-07-2004 01:13 AM

Quote:

Originally Posted by SaN-DeeP
HI lierduh,
so far i appreciate the time and work you have devoted for this hack :) and it works perfectly fine now.
i need to ignore posts from this newgroups forums to get added to the global (total no. of threads and posts on my forums home - whats going on box

how can i acheive this ?

Regards,

I have not looked into this. I believe someone has mentioned about a hack to do this, most likely in this thread.

esfron 11-07-2004 03:12 PM

I tryied to get running cronjob from Cpanel but I can't get it working.

Crontab with GET /home3/blalbla/public_html/forum/gateway.php

Any idea ?

-
edit: fixed

we_are_borg 11-07-2004 10:27 PM

I run this script for some time now but i have one aquestion to the programmer. Is it posible with the passwords not to show the real one but as it should ***** as replacements. This is far beter then others can also use that section to add there newsserver.

lierduh 11-08-2004 12:19 AM

Quote:

Originally Posted by we_are_borg
I run this script for some time now but i have one aquestion to the programmer. Is it posible with the passwords not to show the real one but as it should ***** as replacements. This is far beter then others can also use that section to add there newsserver.

Use the attached file.

Torqued 11-08-2004 01:15 AM

awesome! I'm not using it for newsgroups, but have it working just fine w/ mailing lists.

*clicks install*

SaN-DeeP 11-08-2004 09:34 PM

Quote:

Originally Posted by Qwest
Everyone I found out how to make the posts not count towards your total board post counts.

Note: this hack is totally the work of Wayne Luke. I'm just copy/pasting


Quote:

Quote:
Originally Posted by Wayne Luke
Should be easy...

Add a smallint field on the database record such as "is_usenet" and set it to '1' for the forums that are.

Then in index.php find the following code (it is near the bottom):
PHP Code:
if (is_array($forumcache))
{
foreach (
$forumcache AS $forum)
{
$totalthreads += $forum['threadcount'];
$totalposts += $forum['replycount'];
}
}




And change it to:
PHP Code:
if (is_array($forumcache))
{
foreach (
$forumcache AS $forum)
{
if (!
$forum['is_usenet']) {
$totalthreads += $forum['threadcount'];
$totalposts += $forum['replycount'];
}
}
}





My only addition is that you have to go into your AdminCP and update post counts for the changes to take affect. Try running gateway.php as well.

i found the solution in this HUGE thread finally :)
But now, need to know a little more details on implemeting the same ?

How do i proceed, what field needs to be added into db which table ? how to add forums id there etc. etc

Looking for help

Regards,

esfron 11-09-2004 07:34 AM

Default Footer set to: default_footer
organization_check 0
nofooter 1
nosignature 0

All is working fine except signature and moderating queue.

1) Signature
Thread and profile links are working fine in outgoing posts. Signatures are showing in http forum but they aren't exported in outgoing messages. Signatures are showing usenames instead the real signature i.e. if username is esfron. signature display is:
-------
esfron

2) Moderation
I have both threads and posts moderation enabled in a usenet forum but usenet posts are going directly to the forum instead of the moderatong queue. They aren't held back.

Any idea ?


All times are GMT. The time now is 06:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02061 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete