PDA

View Full Version : Include PHP in


Becca
03-16-2009, 07:52 PM
Is it possible to include PHP script in a forum description in any way? (forum description being the piece of text which is displayed underneath each forum title)

Ideally, i just want to be able to include this:

<?php include("script.php"); ?>

MTGDarkness
03-16-2009, 07:56 PM
You're looking for a plugin. Not sure about the hook, but to execute PHP code, you need a plugin.

Lynne
03-16-2009, 07:57 PM
You cannot add it directly to the forum description, no. You would have to add a plugin that adds the code based on the forum id.

Becca
03-16-2009, 08:09 PM
Ok, thanks!

I'll have a look!

Edit: I'm finding it hard to know exactly what terms i should be searching for. Any help is greatly appreciated!

Lynne
03-16-2009, 09:17 PM
I don't know that it's already been written and posted somewhere. I was simply saying you would have to write a plugin since you can't add it directly to the forum description.