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)

chopperp1 06-30-2004 03:13 PM

Quote:

Originally Posted by lierduh
How long is <domain>\<user> ?

The user name field is limited to 32 characters. If you need longer, you can modify the database to increase the char length.

If you can access the DB directly, eg. using phpmyadmin, check what exactly is stored in the DB for the user name.

Looks like it is either the length or the "\" causing the issue.


domain as you noticed is "yamner' and user name is 5 characters. I just checked "nntp_groups" table in mysql and I don't see any issues there (server lenght=64; username=32; password=32) all values are correct . :ermm:
But I noticed one thing, when I go to admincp>Execute SQL Query I get the message "You are not authorized to execute SQL queries"- I'm logged in as a superadmin. Do you think this might be my problem? If yes, what file should I modify?
Thx

john_rsd 06-30-2004 03:26 PM

Quote:

Originally Posted by lierduh
I have merged KevinM's attachment routine into the gateway.php. Please try out.

You now need to run

http://forums.yourdomain.com/gateway.php?debug=1

Without the debug=1, the script won't output anything on the screen.

Cool :)

Ill try it, is this just the original php file + Kevins mod or
an updated gateway.php + Kevins mod?

Ill run it later and see if I can recreate it.

KevinM 06-30-2004 05:11 PM

Quote:

Originally Posted by john_rsd
Cool :)

Ill try it, is this just the original php file + Kevins mod or
an updated gateway.php + Kevins mod?

I updated how part of the script that handles the attachments works (this is not related to any previous mini-hacks I have released). There are 3 minor improvements:
1. The script will now handle attachments as 'save as files' if that is how your version of vb is set-up.
2. It checks attachment permissions against the forum (allow attachments or not) and extension types (as set up in control panel).
3. On some flavours of php installations the making of thumbnails was problematic. It now follows vb's standard way of thumbnail creation.

There may be other improvements made by Lierduh ;)

vprp 06-30-2004 07:08 PM

Quote:

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

alesis404 06-30-2004 08:45 PM

Can someone please tell me how to properly stop attachments being made with posts, I get constant errors sent to my email everytime gateway.php run's , I tried to comment out a small piece in gateway.php and this stopped the attachments and the posts so I must have did something wrong. I re-edited and am getting attachment errors again.

john_rsd 06-30-2004 09:18 PM

Quote:

Originally Posted by KevinM
I updated how part of the script that handles the attachments works (this is not related to any previous mini-hacks I have released). There are 3 minor improvements:
1. The script will now handle attachments as 'save as files' if that is how your version of vb is set-up.
2. It checks attachment permissions against the forum (allow attachments or not) and extension types (as set up in control panel).
3. On some flavours of php installations the making of thumbnails was problematic. It now follows vb's standard way of thumbnail creation.

There may be other improvements made by Lierduh ;)

Kevin

So is the mini hack for thread by subject enhancement is now integrated or will it need updated again for this version of gateway.php?

john_rsd 06-30-2004 10:06 PM

Its Ok Kevin, I answered my own question (just tried it)

If i add the thread by subject mini hack I get

Parse error: parse error in /home/protelus/public_html/bbs3/gateway.php on line 401

Without it its fine.

KevinM 07-01-2004 07:42 PM

Quote:

Originally Posted by john_rsd
Its Ok Kevin, I answered my own question (just tried it)

If i add the thread by subject mini hack I get

Parse error: parse error in /home/protelus/public_html/bbs3/gateway.php on line 401

Without it its fine.

I will update it when Lierduh makes an 'official' release.

lierduh 07-01-2004 10:17 PM

Quote:

Originally Posted by chopperp1
domain as you noticed is "yamner' and user name is 5 characters. I just checked "nntp_groups" table in mysql and I don't see any issues there (server lenght=64; username=32; password=32) all values are correct . :ermm:
But I noticed one thing, when I go to admincp>Execute SQL Query I get the message "You are not authorized to execute SQL queries"- I'm logged in as a superadmin. Do you think this might be my problem? If yes, what file should I modify?
Thx

With pop.php file, please find:

$this->_write("USER $this->username");

and insert the following line before that:

echo "=========USER Name: " . $this->username . " ==========";

This will show the user name entered by the script. I want to confirm if the right username is used by the script at this stage.

Also with gateway.php, find:

$pop_connect = $pop3->connect();

and add the following line after this:

logging($pop3->showlog());

This will show the entire pop3 connection log. No fix at this stage, just need to find out the reason behind this first.

lierduh 07-01-2004 10:19 PM

Quote:

Originally Posted by alesis404
Can someone please tell me how to properly stop attachments being made with posts, I get constant errors sent to my email everytime gateway.php run's , I tried to comment out a small piece in gateway.php and this stopped the attachments and the posts so I must have did something wrong. I re-edited and am getting attachment errors again.

Have you tried the script I posted in last page?


All times are GMT. The time now is 10:51 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.01702 seconds
  • Memory Usage 1,751KB
  • 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
  • (8)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