JoshPet FusionBB Developer Total Posts: 6722
 Birthday: 02-08 Location: Charlotte, NC Average Post Ranks%:
|
01-12-12 12:56 AM - Post#85901
In response to carbmonkey
Sadly, due to the nature of FusionBB it's not possible to execute PHP from within a post or insert. You can execute PHP from within particle boxes which can appear on your portal or in your sidebar, so placing something like
Code:
include_once('/home/whatever/public_html/rate-photos/ratings.php');
in the code section of a particle box would allow it to execute.
You might be able to get this to work by modifing scripts, would just depend on exactly how you needed it to appear. For example, appearing on all forum posts, would be pretty easy, because you could execute the code in the script and assign the output to a variable used in the template, however it gets kinda hard if it only needed to appear in a certain post or article.
The only other way I can think to get around it, would be to include the content via an iFrame, then you're essentially displaying another page (where you can execute your script).

Feel Better, Feel Younger, Sleep Better - Trans-D Tropin
Visit www.BuyTransD.com - use coupon code 1004 to save $20 |
|