"219" in IntegraMOD News

Support for IntegraMOD 140

Moderator: Integra Moderator

"219" in IntegraMOD News

PostAuthor: Vadar » Sun Dec 03, 2006 10:32 am

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?
Last edited by Vadar on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Vadar
Integra Supporter
Integra Supporter
 
Posts: 68
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 7:30 pm
Cash on hand: 0.00

Re: "219" in IntegraMOD News

PostAuthor: Teelk » Sun Dec 03, 2006 3:36 pm

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");
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: tekguru » Sun Dec 03, 2006 11:03 pm

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?
Last edited by tekguru on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:29 pm
Cash on hand: 0.00

PostAuthor: Vadar » Mon Dec 04, 2006 8:19 am

Thanks Teelk! Works great now.
Last edited by Vadar on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Vadar
Integra Supporter
Integra Supporter
 
Posts: 68
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 7:30 pm
Cash on hand: 0.00

PostAuthor: gcomfx.com » Tue Dec 05, 2006 10:06 am

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.
Last edited by gcomfx.com on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Paul (gcomfx) - 100mphclub.com originator
[size=99px]
User avatar
gcomfx.com
Sr Integra Member
Sr Integra Member
 
Posts: 251
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 8:34 am
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: Majestic-12 [Bot], Vendethiel