vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Have Newsletters Posted To Your VB (https://vborg.vbsupport.ru/showthread.php?t=53142)

StepFenz 06-24-2003 08:07 PM

I followed the instructions, but I keep on getting this error message:

Warning: main(./config.php) [function.main]: failed to create stream: No such file or directory in /www/htdocs/headpres/forum/admin/global.php on line 96

I'm not sure that I've entered the right mailport, but I don't think this is the problem, right?
I've put the file in my /forum directory.

Hope anyone can help, because this hack was about the first thing to come into my mind as a great idea.

kreftt 06-25-2003 03:44 AM

what did you put after the line:

//variables

could you please post that here?

StepFenz 06-25-2003 04:43 AM

Hi kreftt, I've already tried and changed the first line into require("forum/admin/global.php");, but that didn't help. I got more evil messages :classic:
I have also installed VBHome, so my forum is in a different, i.e. forumdirectory.

This is what I have now:

require("forum/admin/global.php");

//these are to determine which "user" shall post
//the newsletter in which forum
$forumid="23";
$postusername="PersberichtenBot";
$userid="259";

//pop3-settings
$mailserver="mail.xxxx.nl";
$mailport="110";
$mailuser="xxxxxxx";
$mailpass="xxxxxxx";

//next setting is to avoid spam
//only emails with the following string included in the sender is parsed
$allowedsender="vbulletin-announcement";

kreftt 06-25-2003 02:52 PM

as you have put the php-file into your forum-directory, you should have

require("admin/global.php");

does that work?

StepFenz 06-25-2003 04:18 PM

No kreftt, that causes the error message I mentioned. So I changed the require-line. But then I've got 3 error messages.
What's the mailport number, by the way? Where can I find that?

Do you have an example of a newsparserscript running on a site? So I can see some output to understand (a bit) what the script is doing.

kreftt 06-26-2003 04:12 AM

sorry my board isnt public so i couldnt show you.
is your php-file in /www/htdocs/headpres/forum ? the mailport would be 110, which is standard for pop3...

Ronin Six 07-10-2003 02:53 PM

Hi Kreftt,

I'm getting the same errors as StepFenz. Below is part of the php file residing in the forum root:

//variables
require("admin/global.php");

//these are to determine which "user" shall post
//the newsletter in which forum
$forumid="55"; //Test Forum
$postusername="HAL9000";
$userid="540";


//pop3-settings
$mailserver="https://sub.domain.net/v-webmail/";
$mailport="110";
$mailuser="me@domain.com";
$mailpass="xxxxxx";



Another question: if html isn't allowed in a particular forum, I assume that html emails won't get parsed correctly, right? And for html emails to get parsed correctly, I'd have to allow html in the posts? Just wanna be certain.

kreftt 07-11-2003 04:02 AM

hmm, ive never seen a mailserver starting with https://, are you sure that is right?

i only guess now, but i think the post gets parsed and checked for html before it gets entered into the database. so if a hack enters the post by a query directly into the db without using newpost.php it SHOULD work. just try it, if it doesnt work, we'll find a workaround...

greetz

kreftt

Ronin Six 07-11-2003 10:23 PM

Still getting the same errors. Any ideas why? Perhaps another hack interfering? Here's my new settings:

//variables
require("admin/global.php");

//these are to determine which "user" shall post
//the newsletter in which forum
$forumid="55"; //Test Forum
$postusername="HAL9000";
$userid="540";


//pop3-settings
$mailserver="pop.isp.domain.com";
$mailport="110";
$mailuser="me@isp.com";
$mailpass="xxxxxxxxx";

Also, exactly what is that error message telling me? That it can't find global.php or config.php?

Thanks so much for any help you can give. :)

twollert 12-28-2003 03:10 PM

Quote:

Originally Posted by alesis404
kreftt, I have followed the directions and still no results and not sure if any factors that might stop this from working

I am not running this via cron but I visit the page manually and reload a few times and get no results, have sent 5 mails to skybot@mydomain.net and I know they are getting there but the emails don't seem to get posted to the forum as they should, any factors you could think that might influence this not happening?

Thanks again for your time

The same problem here...


All times are GMT. The time now is 04:14 AM.

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.01098 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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