The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
|||
|
|||
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. |
#13
|
||||
|
||||
what did you put after the line:
//variables could you please post that here? |
#14
|
|||
|
|||
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"; |
#15
|
||||
|
||||
as you have put the php-file into your forum-directory, you should have
require("admin/global.php"); does that work? |
#16
|
|||
|
|||
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. |
#17
|
||||
|
||||
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... |
#18
|
|||
|
|||
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. |
#19
|
||||
|
||||
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 |
#20
|
|||
|
|||
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. |
#21
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|