Page 1 of 1

"219" in IntegraMOD News

PostPosted: Sun Dec 03, 2006 11:32 am
Author: Vadar
I've noticed that in my ACP index page, the numbers "219" (and nothing else) appear in the IntegraMOD News box. Might this have something to do with the switch to the new server?

Re: "219" in IntegraMOD News

PostPosted: Sun Dec 03, 2006 4:36 pm
Author: Teelk
Yup, you'll need to update your admin/index.php to reflect the change in URL.

Open admin/index.php
FIND
Code: Select all
    if ($fsock = @fsockopen('www.integramod2.com', 80, $errno, $errstr))    {       @fputs($fsock, "GET /forum/updateNews/news.txt HTTP/1.1rn");       @fputs($fsock, "HOST: [url=http://www.integramod2.com]http://www.integramod2.com[/url]rn");       @fputs($fsock, "Connection: closernrn");
REPLACE WITH
Code: Select all
    if ($fsock = @fsockopen('www.integrmod.com', 80, $errno, $errstr))    {       @fputs($fsock, "GET /forum/updateNews/news.txt HTTP/1.1rn");       @fputs($fsock, "HOST: [url=http://www.integrmod.com]http://www.integrmod.com[/url]rn");       @fputs($fsock, "Connection: closernrn");

PostPosted: Mon Dec 04, 2006 12:03 am
Author: tekguru
Thanks Teelk!

Can we use this sort of thing to bring in data from any text file and post it online within a Portal block?

KIf so any ideas how?

PostPosted: Mon Dec 04, 2006 9:19 am
Author: Vadar
Thanks Teelk! Works great now.

PostPosted: Tue Dec 05, 2006 11:06 am
Author: gcomfx.com
Phew... been gone a while. Updated this. I take it we're switching names again. LOL

Edit: Received the following error when posting this.

Ran into problems sending Mail. Response: 550 email client.