Nick(NR) Moderator

 Virtual Cash: 7780
Joined: 06 May 2006 Posts: 4030 Location: Medway, Kent Add Karma
 rated by 30 members
Add Comment
Show Comments
 |
Posted: Wed Jul 26, 2006 5:23 pm Post subject: How to add Portals to your forum on the left (phpbb2) |
|
|
You will need to change the portals in the code below to what you want and they can be found here Portal Choices
You will need to change the portals in the code below to what you want .
To Make the portals appear on the left hand side of the index page 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="2">
<tr>
<td width="125" align="left" valign="top">
<!-- BEGIN switch_forum_view -->
<table><tr>
<td valign="top">
{MYFF.ANNOUNCE show_results="topics" link="FORUM"}{MYFF.STICKY show_results="topics" link="FORUM"}{MYFF.TOPPOSTERS}
</td></table>
<!-- END switch_forum_view -->
</td>
<td valign="top" align="center"> |
and the bit below needs to be ADDED into your overall_footer.tpl file AT THE TOP
| Code: | </td>
</tr>
</table> |
JUST TO MAKE THIS CLEAR
the 125 width of the portals table needs to stay as it is, 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 2 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 right cell with the portal in the left cell.
One last thing what I state above is generally correct and will work on most styles/templates. But no two templates have the exact same html structure and so there will be exceptions.
Use the editor user to test the changes before making them the default for your forum.
_________________ 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 7 times in total
I'm better than Jose! |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Wed Jul 26, 2006 5:29 pm Post subject: |
|
|
Thanks Nick, concice and to the point. I will add one warning. What Nick suggests is generally true and will work on most styles/templates. But no two templates have the exaxt same html structure and so there will be exceptions.
Use the editor user to test the changes before making them the default for a forum. _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
forum.myfreeforum.org |
|
| Back to top |
|
 |
Ziddy1232 Expert

 Virtual Cash: 540
Joined: 01 Feb 2006 Posts: 1547 Location: Bristol, England Add Karma
 rated by 5 members
Add Comment
Show Comments
 |
Posted: Wed Jul 26, 2006 5:35 pm Post subject: |
|
|
Also, make sure you add the code, do not replace the existing code.
Replacing the code will stuff up your forum. _________________
www.sronova.org
The Guardian |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 27640
Joined: 04 Sep 2005 Posts: 11050 Location: Hampshire,England Add Karma
 rated by 84 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
CodyT07 Guru

 Virtual Cash: 2530
Joined: 22 Mar 2006 Posts: 3418 Location: Smyrna, Rutherford County, Tennessee Add Karma
 rated by 21 members
Add Comment
Show Comments
 |
Posted: Wed Jul 26, 2006 11:53 pm Post subject: |
|
|
i think i went a lazy path heres mine
I basically figured out the Links menu and so far im ony sub portal with my main menu added too. Plus i have the code at bottom too btw.
:edit by Nick(NR):
Please don't start posting your code, it isn't necessary when what is needed is already posted. _________________
Number 92, Right Guard Offensive Line. Smyrna Bull Dog FOOTBALL
TemplateTester and Link Exchange |
|
| Back to top |
|
 |
Nick(NR) Moderator

 Virtual Cash: 7780
Joined: 06 May 2006 Posts: 4030 Location: Medway, Kent Add Karma
 rated by 30 members
Add Comment
Show Comments
 |
Posted: Thu Jul 27, 2006 11:11 am Post subject: |
|
|
Sub Portal thats a template Cody
Said elsewhere:
| admin wrote: | | Some people are saying sub portal. |
| Nick(NR) wrote: |
I think this needs to be cleared up a little.
I class the following as:
Portal - Full portal via the www. address
semi-portal - portals incorparated into the regular forum index
sub portal - an editable template
|
_________________ 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 |
|
 |
Smair-44 Novice

Joined: 12 Aug 2006 Posts: 14
Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Sat Aug 12, 2006 7:09 pm Post subject: |
|
|
wheres the header, im not gettin you _________________ And I, I Wont Lie, I Wont Sin, Maybe I Dont Wanna Go, Cant You Wait, Maybe I Dont Want To Go
|
|
| Back to top |
|
 |
CodyT07 Guru

 Virtual Cash: 2530
Joined: 22 Mar 2006 Posts: 3418 Location: Smyrna, Rutherford County, Tennessee Add Karma
 rated by 21 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Smair-44 Novice

Joined: 12 Aug 2006 Posts: 14
Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Sat Aug 12, 2006 8:03 pm Post subject: |
|
|
look at this
The Main Menu
The bit below in bold will need to go into your owners panel
[MAINMENU]
title=Forum Info
item1=Myfreeforum
link1=http://www.myfreeforum.org
item2=Myfastforum
link2=http://www.myfastforum.org
Title - lets you change the default name to what you want
item - is the name for each link
link - well that is an obvious one
Placed in a forum template, you might have:
Code:
{MYFF.MAINMENU}
Yes MAINMENU and LINKSMENU work the same, but they do work seperately
{MYFF.MAINMENU} <<<<< Where in forum template do you put this, _________________ And I, I Wont Lie, I Wont Sin, Maybe I Dont Wanna Go, Cant You Wait, Maybe I Dont Want To Go
|
|
| Back to top |
|
 |
CodyT07 Guru

 Virtual Cash: 2530
Joined: 22 Mar 2006 Posts: 3418 Location: Smyrna, Rutherford County, Tennessee Add Karma
 rated by 21 members
Add Comment
Show Comments
 |
Posted: Sat Aug 12, 2006 8:07 pm Post subject: |
|
|
you know any HTML? _________________
Number 92, Right Guard Offensive Line. Smyrna Bull Dog FOOTBALL
TemplateTester and Link Exchange |
|
| Back to top |
|
 |
Smair-44 Novice

Joined: 12 Aug 2006 Posts: 14
Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Sat Aug 12, 2006 8:09 pm Post subject: |
|
|
i know how to edit height and width in html, _________________ And I, I Wont Lie, I Wont Sin, Maybe I Dont Wanna Go, Cant You Wait, Maybe I Dont Want To Go
|
|
| Back to top |
|
 |
CodyT07 Guru

 Virtual Cash: 2530
Joined: 22 Mar 2006 Posts: 3418 Location: Smyrna, Rutherford County, Tennessee Add Karma
 rated by 21 members
Add Comment
Show Comments
 |
Posted: Sat Aug 12, 2006 8:12 pm Post subject: |
|
|
learn some more before editing the template. Least be able to know what every HTML code in the template means. Seems hard but im sure with in a few days you can do this easy. try my fav site http://davesite.com or google for other HTML learning sites. _________________
Number 92, Right Guard Offensive Line. Smyrna Bull Dog FOOTBALL
TemplateTester and Link Exchange |
|
| Back to top |
|
 |
Nick(NR) Moderator

 Virtual Cash: 7780
Joined: 06 May 2006 Posts: 4030 Location: Medway, Kent Add Karma
 rated by 30 members
Add Comment
Show Comments
 |
Posted: Sat Aug 12, 2006 8:31 pm Post subject: |
|
|
| Smair-44 wrote: | look at this
The Main Menu
The bit below in bold will need to go into your owners panel
[MAINMENU]
title=Forum Info
item1=Myfreeforum
link1=http://www.myfreeforum.org
item2=Myfastforum
link2=http://www.myfastforum.org
Title - lets you change the default name to what you want
item - is the name for each link
link - well that is an obvious one
Placed in a forum template, you might have:
Code:
{MYFF.MAINMENU}
Yes MAINMENU and LINKSMENU work the same, but they do work seperately
{MYFF.MAINMENU} <<<<< Where in forum template do you put this, |
Read the very first post in this thread, it tells you very clearly where to put {MYFF.MAINMENU} _________________ 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 |
|
 |
Smair-44 Novice

Joined: 12 Aug 2006 Posts: 14
Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Sat Aug 12, 2006 8:33 pm Post subject: |
|
|
oh i put it in header and footer _________________ And I, I Wont Lie, I Wont Sin, Maybe I Dont Wanna Go, Cant You Wait, Maybe I Dont Want To Go
|
|
| Back to top |
|
 |
Andrew(AP) Expert

 Virtual Cash: 3210
Joined: 16 Jul 2006 Posts: 1224 Location: United States, Iowa Add Karma
 rated by 14 members
Add Comment
Show Comments
 |
Posted: Sat Aug 12, 2006 8:34 pm Post subject: |
|
|
yes 
uncleandy.myfreeforum.org |
|
| Back to top |
|
 |