Your Portal Version: 2.0.0b1
Your phpBB Type: phpBB 3.0.10
MODs installed: Yes
Your knowledge: Soso
Boardlink: http://www.aimclan.net
PHP Version: 5.2.17
MySQL Version: 5.0.95-community
What have you done before the problem was there?
Googled for answers but found none
What have you already tryed to solve the problem?
I have tried using the Custom Block normally, also by editing it's template and the data value in mysql. The board seemed to ignore the SQL value, and shows blank outputs if I just included the PHP code.
Description and Message
I have a php script that outputs some match information and I wish to include it on the main page of the site for select member groups only. I have used iFrames but the dynamic nature of the output makes it look very ugly. I wish to use a simple php "include" function and embed the data. Is this doable?
Custom Block php code?
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: Custom Block php code?
You can't add PHP code in a custom block. You would have to create one yourself:
knowledge/kb_show.php?id=54
knowledge/kb_show.php?id=54
Re: Custom Block php code?
Thanks for your reply! Great job on Board3!
-
- Sponsor
- Posts: 83
- Joined: 26. October 2009 21:40
- phpBB.de User: IXL
- phpBB.com User: IXLUKCOM
- Location: UK
- Contact:
Re: Custom Block php code?
Could you not add the code into a php file, then create an iframe set of code with a link to that php file into a custom block.
Its what I use for 2 blocks on ours.
Its what I use for 2 blocks on ours.