Welcome, Guest. Please Login or Register.
May 11, 2025, 07:52:27 PM
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  |  adding custom items on the main page before the news « previous next »
Pages: [1] Reply Ignore Print
Author Topic: adding custom items on the main page before the news  (Read 367 times)
Putin
Noobie
*
Posts: 21


adding custom items on the main page before the news
« on: April 02, 2003, 02:02:29 PM »
Reply with quote

On the main page of YaBB we can have some news taken from a board (or from boards ;)) they are placed in this way:

News
News
News
News
(etc.)

I'd like to add a custom item (some text) before the news and after the news. I've managed to add the text  after the news but not before. Is there any way to do it?

PS: I'd like to have a such structure:

[custom]
News
News
News
(etc.)
[custom]

Thanks in advance ;)
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:adding custom items on the main page before the news
« Reply #1 on: April 02, 2003, 09:37:22 PM »
Reply with quote

put the custom lines in the php file where u include the news
example:

[custom lines]
<?php include "http://yoursite.com/forum/index.php?board=3;action=news"; ?>
[custom lines]
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  adding custom items on the main page before the news « 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.284 seconds with 20 queries.