Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://www.cusemen.com/in/portal.php
PHP Version: 3.0.7
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
I would like to add the Viewonline_body.html to the Portal page.
I have added the mchat to Portal, no problem, but I cant seem to figure out how to add the viewonline_body.html to the center block right above the chat box.
I know I need: <!-- INCLUDE viewonline_body.html --> to the portal_center.html, but I dont understand or know how to use the "if's". I follow instructions well, and that is why my board is where it is.
Please let me know if you can help.
Thank you very much!
Robby
Adding Viewonline to Portal Center Block
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in 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: Adding Viewonline to Portal Center Block
That won't work, since the viewonline.php creates a lot of variables for that page, which the portal is not able to do.
Re: Adding Viewonline to Portal Center Block
Understood, thanks.
What if I wanted to move the "Who is Online" block at the bottom to the top center of the page? Would that be possible?
What if I wanted to move the "Who is Online" block at the bottom to the top center of the page? Would that be possible?
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: Adding Viewonline to Portal Center Block
Move this in styles/*yourstyle*/template/portal/portal_center.html:
Code: Select all
<!-- IF S_DISPLAY_ONLINE_PORTAL_LIST and S_DISPLAY_ONLINE_LIST -->
<!-- INCLUDE portal/block/whois_online.html -->
<!-- ENDIF -->
Re: Adding Viewonline to Portal Center Block
I almost thought it didnt work, But i refreshed the Template and it is right where I want. Thank you for your help!