|
|
BEWARE OF SCAMMERS ASKING FOR ADMIN ACCESS. WE NEVER ASK FOR ACCESS.
| View previous topic :: View next topic |
| Author |
Message |
Nick(NR) Moderator

 Virtual Cash: 7800
Joined: 06 May 2006 Posts: 4032 Location: Medway, Kent Add Karma
 rated by 30 members
Add Comment
Show Comments
 |
Posted: Fri Oct 13, 2006 1:34 pm Post subject: How to make your forum Dual Portal (phpbb2) |
|
|
You will need to change the portals in the code below to what you want.
You'll need to ADD this piece of code into your overall_header.tpl file AT THE BOTTOM
| Code: | <table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<!-- BEGIN switch_forum_view -->
<td width="15%" align="center" valign="top">{MYFF.CURRENTTIME}<br />{MYFF.LOGIN}<br />{MYFF.TOPPOSTERS}</td>
<!-- END switch_forum_view -->
<td valign="top" align="center"> |
and the bit below needs to be ADDED into your overall_footer.tpl file AT THE TOP
| Code: | </td>
<!-- BEGIN switch_forum_view -->
<td width="15%" align="center" valign="top">{MYFF.CURRENTTIME}<br />{MYFF.LOGIN}<br />{MYFF.TOPPOSTERS}</td>
<!-- END switch_forum_view -->
</tr>
</table> |
JUST TO MAKE THIS CLEAR
the width of the portal cells have been set to 15% so they expand and contract with varying screen resolutions to reduce the portals from squashing up the index page of your forum, you can however change them in a trial and error manner, so they are slightly wider.
As you can see I've placed the portal code into a 1 row 3 column table, also you'll notice the table is left open in the headers code and the table closes in the footers code, the reason for this is that the index body automatically gets placed in the middle cell with the portals either side.
Screenshot of it in action on my forum:
Click to see full size image
_________________ CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.
Last edited by Nick(NR) on Thu Apr 03, 2008 5:15 pm; edited 1 time in total
I'm better than Jose! |
|
| Back to top |
|
 |
Nick(NR) Moderator

 Virtual Cash: 7800
Joined: 06 May 2006 Posts: 4032 Location: Medway, Kent Add Karma
 rated by 30 members
Add Comment
Show Comments
 |
Posted: Sat Nov 03, 2007 4:35 pm Post subject: |
|
|
This guide for dual portal has been revised, as it was a long time coming tbh, spotted a table error no one has pointed out for over a year? and the code played silly buggers with the width of portals on both sides ,hopefully that is now resolved. _________________ CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.
I'm better than Jose! |
|
| Back to top |
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|