MyBB Community Forums

Full Version: SSI, anyone??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
use this plugin by tikitiki and you can handle news from mybb easliy too
http://community.mybboard.net/thread-5896.html
http://mods.mybboard.net/view/site-news-...ned-for-14

Quote:1) Upload inc/plugins/newsplugins.php to your plugins directory (usually inc/plugins/)
2) Use the code in news.php in your site, and change the $directory_to_forum variable to the directory to the forum you are using this plugin on.
3) Activate the plugin
(2008-08-20, 01:59 PM)Revolution333 Wrote: [ -> ]It's an alternative to PHP Includes.

does mybb have this yet or??
(2008-08-21, 03:02 AM)Smoky Wrote: [ -> ]
(2008-08-20, 01:59 PM)Revolution333 Wrote: [ -> ]It's an alternative to PHP Includes.

does mybb have this yet or??

The simple answer is: No.

However, for the third time, if you are looking for something specific, I'm sure someone would be willing to whip something up for you.
(2008-08-21, 03:09 AM)DennisTT Wrote: [ -> ]
(2008-08-21, 03:02 AM)Smoky Wrote: [ -> ]
(2008-08-20, 01:59 PM)Revolution333 Wrote: [ -> ]It's an alternative to PHP Includes.

does mybb have this yet or??

The simple answer is: No.

However, for the third time, if you are looking for something specific, I'm sure someone would be willing to whip something up for you.

ok will get my list in order, thanks DennisTT and aglioeolioBlush
Hmm, to me, "SSI" is just a glorified version of MyBB's global.php and maybe a few pre-implemented functions. Doesn't seem like anything really spectacular.

Here's somewhat a MyBB equivalent:
<?php
chdir('path_to_forum');
define('IN_MYBB', 1);
require './global.php';

echo $header;
?>


<!-- content here -->

<?php echo $footer; ?>

I might look into writing some premade functions, but that's the idea (above).
I recently found this on the User Submitted Tutorials forum:

http://community.mybboard.net/thread-35598.html

I think that is what you're looking for.
(2008-08-21, 03:31 PM)DennisTT Wrote: [ -> ]I recently found this on the User Submitted Tutorials forum:

http://community.mybboard.net/thread-35598.html

I think that is what you're looking for.

lol i will take them both, thank you, DenisTT and ZiNgA BuRgA.. you have really helped me out.. lol.. Smile
Pages: 1 2