Welcome, Guest. Please Login or Register.
May 12, 2025, 04:50:58 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 Mod, subject only « previous next »
Pages: [1] Reply Ignore Print
Author Topic: News Mod, subject only  (Read 849 times)
tore-
Sr. Member
****
Posts: 291


I love YaBB SE!

News Mod, subject only
« on: April 23, 2002, 12:13:21 PM »
Reply with quote

How about a News mod, just like the news function on yabbse right now, but it just displays the subject.

Like 10 last news. If you run a page with a main page and not just a forum, if you understand
Logged

Star wars rules!
tore-
Sr. Member
****
Posts: 291


I love YaBB SE!

Re:News Mod, subject only
« Reply #1 on: April 23, 2002, 12:19:39 PM »
Reply with quote

Manage to make on for myself, here is what i did.

Make news_template10.php in your community dir

It shall contain:
<?
print <<<EOT
<a
href=http://www.domain.com/forum/index.php?board=[b]x[/b];action=display;threadid=$row[ID_TOPIC]>$news_title</a><br>
EOT;
?>


Then include it with:
<? include("http://www.domain.com/community/index.php?action=news;board=[b]x[/b];limit=[b]x[/b];template=news_template10;ext=php"); ?>

You will have to change x to your values.
Comment this if you want to :)
Logged

Star wars rules!
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  News Mod, subject only « 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.064 seconds with 21 queries.