2015-03-26, 01:11 PM
1st question: I am trying to add some PHP inside my template. I found this (http://mybbhacks.zingaburga.com/showthread.php?tid=260) and looked for it in the plugins install area but couldn't find it. Is there an updated version under a different name, or do I even need a plugin anymore?
2nd question: Once I get PHP working inside templates I would like to include text into the "message" input area, depending on the actual Title of the forum. i.e. If the forum title is "Soccer" I would like to start the message with "Enter your favorite soccer player here:" and if the form title includes the word "Tennis" I would like to have the message automatically start with the text "Tennis"....etc.
So, can I access to the forum title from within the template where i will be putting this if/then/else statement.
Thanks,
Mike
2nd question: Once I get PHP working inside templates I would like to include text into the "message" input area, depending on the actual Title of the forum. i.e. If the forum title is "Soccer" I would like to start the message with "Enter your favorite soccer player here:" and if the form title includes the word "Tennis" I would like to have the message automatically start with the text "Tennis"....etc.
So, can I access to the forum title from within the template where i will be putting this if/then/else statement.
Thanks,
Mike