myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Guest


How to add Portals to your forum on the left (phpbb2)
Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Portal components
View previous topic :: View next topic  
Author Message
Nick(NR)
Moderator
Moderator

Virtual Cash: 8440

Joined: 06 May 2006
Posts: 4092
Location: Medway, Kent
Add Karma

rated by 30 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jul 26, 2006 5:23 pm    Post subject: How to add Portals to your forum on the left (phpbb2) Reply with quote

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
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jul 26, 2006 5:29 pm    Post subject: Reply with quote

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
View user's profile Private message Send e-mail Visit poster's website
Ziddy1232
Expert
Expert

Virtual Cash: 560

Joined: 01 Feb 2006
Posts: 1549
Location: Bristol, England
Add Karma

rated by 5 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jul 26, 2006 5:35 pm    Post subject: Reply with quote

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
View user's profile Private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Symon
Moderator
Moderator

Virtual Cash: 28730

Joined: 04 Sep 2005
Posts: 11158
Location: Hampshire,England
Add Karma

rated by 85 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jul 26, 2006 11:28 pm    Post subject: Reply with quote

Thanks to nick this has now been added on howtodoit

http://howtodoit.myfreeforum.org/...component=content&topicid=590


Plus Basic Portal Components Compiled

http://howtodoit.myfreeforum.org/...component=content&topicid=589

And i hope when nick gets the time he will add it to howtodoit.myfastforum aswell Wink
_________________


http://www.saynoto0870.com/

http://www.myshopbag.co.uk

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
CodyT07
Guru
Guru

Virtual Cash: 2590

Joined: 22 Mar 2006
Posts: 3424
Location: Smyrna, Rutherford County, Tennessee
Add Karma

rated by 21 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jul 26, 2006 11:53 pm    Post subject: Reply with quote

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.

_________________

TemplateTester and Link Exchange
Back to top
View user's profile Private message Visit poster's website
Nick(NR)
Moderator
Moderator

Virtual Cash: 8440

Joined: 06 May 2006
Posts: 4092
Location: Medway, Kent
Add Karma

rated by 30 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Jul 27, 2006 11:11 am    Post subject: Reply with quote

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
View user's profile Private message Visit poster's website
Smair-44
Novice
Novice


Joined: 12 Aug 2006
Posts: 14

Add Karma

rated by 0 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Aug 12, 2006 7:09 pm    Post subject: Reply with quote

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
View user's profile Private message
CodyT07
Guru
Guru

Virtual Cash: 2590

Joined: 22 Mar 2006
Posts: 3424
Location: Smyrna, Rutherford County, Tennessee
Add Karma

rated by 21 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Aug 12, 2006 7:29 pm    Post subject: Reply with quote


go to the administration panel.
Try looking here.
http://howtodoit.myfreeforum.org/...hp?component=category&catid=2 if you need any more help.
_________________

TemplateTester and Link Exchange
Back to top
View user's profile Private message Visit poster's website
Smair-44
Novice
Novice


Joined: 12 Aug 2006
Posts: 14

Add Karma

rated by 0 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Aug 12, 2006 8:03 pm    Post subject: Reply with quote

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
View user's profile Private message
CodyT07
Guru
Guru

Virtual Cash: 2590

Joined: 22 Mar 2006
Posts: 3424
Location: Smyrna, Rutherford County, Tennessee
Add Karma

rated by 21 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Aug 12, 2006 8:07 pm    Post subject: Reply with quote

you know any HTML?
_________________

TemplateTester and Link Exchange
Back to top
View user's profile Private message Visit poster's website
Smair-44
Novice
Novice


Joined: 12 Aug 2006
Posts: 14

Add Karma

rated by 0 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Aug 12, 2006 8:09 pm    Post subject: Reply with quote

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
View user's profile Private message
CodyT07
Guru
Guru

Virtual Cash: 2590

Joined: 22 Mar 2006
Posts: 3424
Location: Smyrna, Rutherford County, Tennessee
Add Karma

rated by 21 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Aug 12, 2006 8:12 pm    Post subject: Reply with quote

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.
_________________

TemplateTester and Link Exchange
Back to top
View user's profile Private message Visit poster's website
Nick(NR)
Moderator
Moderator

Virtual Cash: 8440

Joined: 06 May 2006
Posts: 4092
Location: Medway, Kent
Add Karma

rated by 30 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Aug 12, 2006 8:31 pm    Post subject: Reply with quote

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
View user's profile Private message Visit poster's website
Smair-44
Novice
Novice


Joined: 12 Aug 2006
Posts: 14

Add Karma

rated by 0 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Aug 12, 2006 8:33 pm    Post subject: Reply with quote

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
View user's profile Private message
Andrew(AP)
Expert
Expert

Virtual Cash: 3210

Joined: 16 Jul 2006
Posts: 1224
Location: United States, Iowa
Add Karma

rated by 14 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Aug 12, 2006 8:34 pm    Post subject: Reply with quote

yes
uncleandy.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Portal components All times are GMT + 1 Hour
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5
 
 
Jump to:  
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

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum