Jump to content


Photo

News Script?


  • Please log in to reply
42 replies to this topic

#21 MagicGangsta

MagicGangsta

    title available

  • Project Team
  • 409 posts
  • Location:Missouri
  • Projects:In The Shadows - Project Leader

Posted 23 October 2004 - 02:03 AM

having a few problems... script isnt working.... i did something wrong i think.

http://game-mod.net/its

this is whats in the index.php;

<?php @include ("forums.revora.net/news/457.txt"); ?>

Edited by MagicGangsta, 23 October 2004 - 02:04 AM.

www.itsmod.com

#22 Stino

Stino

    AKA Stink_o

  • Hosted
  • 1,421 posts
  • Location:the Netherlands
  • Projects:Blitzkrieg II:The Finest Hour (BlitzII:TFH)
  •  Doer of Things

Posted 23 October 2004 - 09:48 AM

The link to your news script is wrong, it should be:

http://forums.revora...ws/news/457.php

Edit: I don't know if mastermind made this for you yet, but this will be your link ;)

Edited by Stino, 23 October 2004 - 09:50 AM.

Posted Image

#23 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 23 October 2004 - 11:09 AM

No, I have not yet. I've been very busy with other work, and I haven't gotten any sleep yet, and It's now 7am.
;)
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#24 MagicGangsta

MagicGangsta

    title available

  • Project Team
  • 409 posts
  • Location:Missouri
  • Projects:In The Shadows - Project Leader

Posted 23 October 2004 - 04:01 PM

i made the change, now i anxiously await MM return.

;)
www.itsmod.com

#25 Stino

Stino

    AKA Stink_o

  • Hosted
  • 1,421 posts
  • Location:the Netherlands
  • Projects:Blitzkrieg II:The Finest Hour (BlitzII:TFH)
  •  Doer of Things

Posted 23 October 2004 - 04:16 PM

I'll do your news.
Posted Image

#26 MagicGangsta

MagicGangsta

    title available

  • Project Team
  • 409 posts
  • Location:Missouri
  • Projects:In The Shadows - Project Leader

Posted 23 October 2004 - 04:34 PM

thanks for all your help guys.

keep me posted when it should be working.

i hope the articles.txt & template.html are correct as well.
www.itsmod.com

#27 Detail

Detail

    King Detail

  • Hosted
  • 7,767 posts
  • Location:Dayonic
  • Projects:Dayvi.com
  •  Blu Spy

Posted 23 October 2004 - 05:06 PM

I've setup your news script ;)

Your template does not look very good. Seems to have become centered, with poor text and link colours.

You should be able to change this in your site and with the template.html file.

I had to make a topic to see if it was working. MM says topics don't get deleted, only edited. Talk to him about getting rid of my test topic.

#28 MagicGangsta

MagicGangsta

    title available

  • Project Team
  • 409 posts
  • Location:Missouri
  • Projects:In The Shadows - Project Leader

Posted 23 October 2004 - 05:23 PM

I dont understand why the text is coming out black...
Here's what the template is like...
Also articles.txt is set to 1 yet its doing multiple posts?
...hmm maybe i can make a CSS to force the font/color ?

<font size='2' face='Verdana'><strong><font color="#FFFFFF">» </font></strong> <font color="#FFFFFF"><b>{topic_title}</b> <br>
</font></font>

<font color="#FFFFFF" size='1' face='Verdana'>Posted {post_date}. By <a href='http://forums.origin-network.net{profile_link}'>{member_name}</a>.</font>

<hr size='1' noshade color='#000000'>
<font color="#FFFFFF" size='2' face='Verdana'>
{post}<br>
<br>
</font>

<font color="#FFFFFF" size='1' face='Verdana'>
<a href='http://forums.origin-network.net{view_all_link}'>View Comments</a>
</font>
<font color="#FFFFFF"><br>
<br>
<br>
</font>

Edited by MagicGangsta, 23 October 2004 - 05:30 PM.

www.itsmod.com

#29 Detail

Detail

    King Detail

  • Hosted
  • 7,767 posts
  • Location:Dayonic
  • Projects:Dayvi.com
  •  Blu Spy

Posted 23 October 2004 - 05:31 PM

To many font tags. Clean them up.

#30 MagicGangsta

MagicGangsta

    title available

  • Project Team
  • 409 posts
  • Location:Missouri
  • Projects:In The Shadows - Project Leader

Posted 23 October 2004 - 05:42 PM

still doesnt work.

oh well.

i'll just do it manually until the bugs get worked out.
www.itsmod.com

#31 Stino

Stino

    AKA Stink_o

  • Hosted
  • 1,421 posts
  • Location:the Netherlands
  • Projects:Blitzkrieg II:The Finest Hour (BlitzII:TFH)
  •  Doer of Things

Posted 23 October 2004 - 06:08 PM

Detail set it wrong up... try now ;)
Posted Image

#32 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 23 October 2004 - 07:50 PM

I patched the news script today. All smilies should now work, and the view comments link should work as well. Do NOT put any type of URL in the show all comments link, as it is now set correctly to point to the forums.
;)
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#33 MagicGangsta

MagicGangsta

    title available

  • Project Team
  • 409 posts
  • Location:Missouri
  • Projects:In The Shadows - Project Leader

Posted 23 October 2004 - 09:25 PM

the first little bit of it shows up white the rest black.

i want it to only show one post on the main page.

the others are still showing... back to plain old reliable html for now.
www.itsmod.com

#34 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 23 October 2004 - 10:13 PM

Could you set up a test page and show me what you do? I've fixed a few things with the script. Also, you need to post news in your news forum for it to show up. I see no posts in your news forum that would show.
;)
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#35 MagicGangsta

MagicGangsta

    title available

  • Project Team
  • 409 posts
  • Location:Missouri
  • Projects:In The Shadows - Project Leader

Posted 23 October 2004 - 10:23 PM

http://game-mod.net/its/index2.php

there ya go.
i had deleted the posts in the news forum but as Detail has mentioned, the posts stick.
also, in articles.txt i put the value of 1, as i want only 1 article (the most current) to show on the main page.
www.itsmod.com

#36 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 23 October 2004 - 11:13 PM

It seems fine to me. Is the horizontal rule supposed to be white or something?
:)
Edit: I just checked it, and everything seems to be working fine. What seems to be the problem?
:)
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#37 MagicGangsta

MagicGangsta

    title available

  • Project Team
  • 409 posts
  • Location:Missouri
  • Projects:In The Shadows - Project Leader

Posted 24 October 2004 - 12:44 AM

working good now except for one small problem.

clicking on the poster's name points to:

http://forums.revora...&CODE=03&MID=71

resulting in:

http://forums.revora.nethttp ...Could not be found

its not a big deal to me but i thought since you were ironing out the bugs i'd point this one out.
www.itsmod.com

#38 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 24 October 2004 - 01:54 AM

Should be fixed, I adjusted your template. Did you change something in the page? I see no news on your main page now.
:)
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#39 MagicGangsta

MagicGangsta

    title available

  • Project Team
  • 409 posts
  • Location:Missouri
  • Projects:In The Shadows - Project Leader

Posted 24 October 2004 - 01:57 AM

no i didnt change anything.

hmmm.

i re-added the news post and it shows.

odd.

works good for now tho. thx.

Edited by MagicGangsta, 24 October 2004 - 02:02 AM.

www.itsmod.com

#40 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 24 October 2004 - 02:05 AM

Alright. Not a problem.
:)
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users