Welcome, Guest. Please Login or Register.
November 25, 2024, 09:55:35 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  |  Template -CHANGE IT PLZ - in future Version « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Template -CHANGE IT PLZ - in future Version  (Read 19589 times)
Larry_Laffer
Jr. Member
**
Posts: 82


I love YaBB SE!

ICQ - 5459459 WWW
Template -CHANGE IT PLZ - in future Version
« on: December 22, 2001, 10:25:44 PM »
Reply with quote

It would be great if you could INCLUDE the template.html (as template.php) instead of Reading it as a file into YaBB.

Then we can add PHP Code into the TEMPLATE, that would be great. I could show NEWS from my NUKE site etc.

It would be great, if we could have many template which can be attached to a board ;D
Logged

YaBB SE is the best BB System I know. Let's integrate it into PHPNUKE!!!!!!!
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:Template -CHANGE IT PLZ - in future Version
« Reply #1 on: December 22, 2001, 10:27:11 PM »
Reply with quote

you can't really include the file, as it would immediately try to execute it.

Logged

Larry_Laffer
Jr. Member
**
Posts: 82


I love YaBB SE!

ICQ - 5459459 WWW
Re:Template -CHANGE IT PLZ - in future Version
« Reply #2 on: December 22, 2001, 10:34:19 PM »
Reply with quote

Exactly, that's what I hope that it will be possible in future releases.

Then the template would be more flexible.

Nuke Themes and many PHP apps use templates, but always as an INCLUDE ('template.php')

so in template.php can be PHP CODE! that would be great. It is very easy to do for you boys, because you just rename the template.html to template.php

and in the template when you call [YABBMENU] you insert instead <?php YABBMENU() ?>, it will have the same effect, but WE CAN ADD OUR OWN PHP Code without modifying the original YABB CODE!
Logged

YaBB SE is the best BB System I know. Let's integrate it into PHPNUKE!!!!!!!
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:Template -CHANGE IT PLZ - in future Version
« Reply #3 on: December 22, 2001, 10:35:57 PM »
Reply with quote

Quote from: Larry_Laffer on December 22, 2001, 10:34:19 PMExactly, that's what I hope that it will be possible in future releases.

Then the template would be more flexible.

Nuke Themes and many PHP apps use templates, but always as an INCLUDE ('template.php')

so in template.php can be PHP CODE! that would be great. It is very easy to do for you boys, because you just rename the template.html to template.php

and in the template when you call [YABBMENU] you insert instead <?php YABBMENU() ?>, it will have the same effect, but WE CAN ADD OUR OWN PHP Code without modifying the original YABB CODE!
If we had done this, the template woudln't have been compatible with the Y1G template! LOL

and as this was a port, sucha  deficiency would be a problem
Logged

Larry_Laffer
Jr. Member
**
Posts: 82


I love YaBB SE!

ICQ - 5459459 WWW
Re:Template -CHANGE IT PLZ - in future Version
« Reply #4 on: December 22, 2001, 10:43:11 PM »
Reply with quote

Yes!!! That is why I wrote IN FUTURE VERSIONS. YaBB SE 1.1 or so! PLEASE, do it! Or make a mod from it. Don't you thinkt this is a great advantage?
Logged

YaBB SE is the best BB System I know. Let's integrate it into PHPNUKE!!!!!!!
Matt Siegman
Super Duper Developer
YaBB God
*****
Posts: 927


Red Hot!

ICQ - 95930457 WWW
Re:Template -CHANGE IT PLZ - in future Version
« Reply #5 on: December 23, 2001, 12:18:23 AM »
Reply with quote

It is a good idea, but kinda hard to do
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Template -CHANGE IT PLZ - in future Version « 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.075 seconds with 20 queries.