Welcome, Guest. Please Login or Register.
April 22, 2025, 07:04:23 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  News Script Plus or News Script Mod « previous next »
Pages: [1] Reply Ignore Print
Author Topic: News Script Plus or News Script Mod  (Read 510 times)
Swad
Noobie
*
Posts: 22


I'm a llama!

News Script Plus or News Script Mod
« on: August 02, 2002, 04:25:28 PM »
Reply with quote

Greetings.  

I did some searching on the forums here and haven't found anything pertaining to this.  When I was using vanilla YaBB Forums, I ran a mod for it called News Script.  It was perfect--you could setup one of your boards to be a news board that was used on a page on your internet site.  Only authorized users could start posts and people could post replies (which appeared as a commnets link below the news posting on the webpage).  It was a great way to avoid using something like NewsPro to post news on a site.

Is there something like this for YaBB SE?
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:News Script Plus or News Script Mod
« Reply #1 on: August 02, 2002, 04:47:44 PM »
Reply with quote

Yes there is, it is include with the board, News.php ;)
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Swad
Noobie
*
Posts: 22


I'm a llama!

Re:News Script Plus or News Script Mod
« Reply #2 on: August 02, 2002, 04:52:02 PM »
Reply with quote

What do you know! :D  I never bothered to see / look at that or the accompanying .txt.

Thanks!!!
Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:News Script Plus or News Script Mod
« Reply #3 on: August 02, 2002, 07:10:16 PM »
Reply with quote

Check out my site to see it in use.  ;D

http://www.gamerzalliance.com

There is also the ssi.php you might want to look at. Can do some kewl stuff with it.
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:News Script Plus or News Script Mod
« Reply #4 on: August 02, 2002, 07:30:06 PM »
Reply with quote

Here is my news scripts:

http://www.agigames.com/site.php?page=news
http://www.agigames.com/news.php
http://www.agigames.com/scinews.php

And here is the SSI.php stuff:
http://www.agigames.com/site.php?page=member
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Re:News Script Plus or News Script Mod
« Reply #5 on: August 04, 2002, 12:28:55 PM »
Reply with quote

Pimp pimp ;)

Hey Chris I like your blue screen of death avatar ;D
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:News Script Plus or News Script Mod
« Reply #6 on: August 04, 2002, 12:58:42 PM »
Reply with quote

Hehe, thanks. It doesn't just have to been blue though, you can edit the color... I forgot what file it was but in the windows directory there is a file that has the color set in it. Right now I have "The Red Screen of Death". ;D
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Re:News Script Plus or News Script Mod
« Reply #7 on: August 04, 2002, 01:04:24 PM »
Reply with quote

Yeah, changed mine a while ago with Xsetup to grey writing on a black background (used to use DOS :P)

Haven't seen a BSOD in ages on my PC though :o
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:News Script Plus or News Script Mod
« Reply #8 on: August 04, 2002, 01:06:23 PM »
Reply with quote

I just saw it recently... those buggers are annoying, they appear often when I compile stuff in Visual C++.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Swad
Noobie
*
Posts: 22


I'm a llama!

Re:News Script Plus or News Script Mod
« Reply #9 on: August 08, 2002, 02:44:29 PM »
Reply with quote

Another quick question regarding News.php.  I can get it to work just great as a PHP include.  Why will it not work as a server side include?  I try to include virtual and change how it is included, etc as I would with any other ssi, but it returns:

[an error occurred while processing this directive]

here is my newsTest.shtml file:

<html>
<head>
<title>News Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<p>This Is A Test</p>
<p>
  <!--#include virtual="http://www.mysite.com/yabbse/index.php?action=news;board=28;template=news_template:ext=html" -->  
</p>
</body>
</html>


and my news_template.html:

<table border=0 width=100% align=center>
<tr>
  <td><font face=verdana size=2>$news_icon <b>$news_title</b></font><font face=verdana size=1><br />$news_date</font><font face=verdana size=1>   $txt[525] $news_poster<br /><br /></font></td>
</tr>
<tr>
  <td><font face=verdana size=2>$news_body<br><br></font></td>
</tr>
<tr>
  <td><font face=verdana size=2>$news_comments | $news_newcomment</font></td>
</tr>
</table>
<br><hr width=100%><br>


Any ideas why i'm getting an error?
Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:News Script Plus or News Script Mod
« Reply #10 on: August 08, 2002, 03:35:43 PM »
Reply with quote

did you try....

<!--#include virtual="community/index.php?action=news;board=(?);limit=(?)" -->

replace (?) with a number like. Example:
index.php?action=news;board=12;limit=10"
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Swad
Noobie
*
Posts: 22


I'm a llama!

Re:News Script Plus or News Script Mod
« Reply #11 on: August 08, 2002, 03:57:53 PM »
Reply with quote

i did in fact

-------------

When I do everything as php (the php template, give my test page a .php extension and make the include as php) as outlined in the NewsPHP_ReadMe.txt, it works great.  However, I have other uses that will require me to get this to work via a Server Side Include
« Last Edit: August 08, 2002, 04:08:33 PM by Swad » Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  News Script Plus or News Script Mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.029 seconds with 17 queries.