FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » how to execute php code into fud templates?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: how to execute php code into fud templates? [message #32776 is a reply to message #32763] Thu, 20 July 2006 14:06 Go to previous message
matthieu_phpmv is currently offline  matthieu_phpmv   France
Messages: 44
Registered: November 2004
Karma:
Member
Hello Ilia,
Thanks for the quick answer, as usual, this is great Smile

I've installed the following code which works Smile


{IF: ereg("/f/13/0/",$_SERVER['PHP_SELF']) ||  ereg("/f/14/0/",$_SERVER['PHP_SELF'])||    ereg("/f/15/0/",$_SERVER['PHP_SELF']) ||    ereg("/f/11/0/",$_SERVER['PHP_SELF'])||    ereg("/f/6/0/",$_SERVER['PHP_SELF'])||    ereg("/f/7/0/",$_SERVER['PHP_SELF'])||    ereg("/f/8/0/",$_SERVER['PHP_SELF'])||    ereg("/f/10/0/",$_SERVER['PHP_SELF'])||    ereg("/f/9/0/",$_SERVER['PHP_SELF'])||    ereg("/l/0/",$_SERVER['PHP_SELF'])||    ereg("/forums/index.php$",$_SERVER['PHP_SELF'])} 
text here
{ENDIF}

This is useful for printing a text only on a few page on a forum.

Matt

[Updated on: Thu, 20 July 2006 14:29]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Integrate With A Mailing List
Next Topic: Email Mailing list integration
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 10:36:59 GMT 2024

Total time taken to generate the page: 0.06070 seconds