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 
  • Welcome
  • Guest

How to add Portals to your forum on the left (phpbb2)
Page 1, 2, 3, 4, 5, 6  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
FLAG

Virtual Cash: 21680

Joined: 06 May 2006
Posts: 5307


Location: Medway, Kent
Add Karma

rated by 43 members
Add Comment
Show Comments

I'm better than Jose!
online/offline
PostPosted: Wed Jul 26, 2006 4: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 refrain from posting and take a time out to calm down.


Last edited by Nick(NR) on Thu Apr 03, 2008 4:15 pm; edited 7 times in total
Back to top
View user's profile Send private message Visit poster's website
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92010

Joined: 22 May 2005
Posts: 32113



Add Karma

rated by 282 members
Add Comment
Show Comments


online/offline
PostPosted: Wed Jul 26, 2006 4: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
Back to top
View user's profile Send private message Visit poster's website
Ziddy
Expert
Expert
FLAG

Virtual Cash: 1870

Joined: 01 Feb 2006
Posts: 1658


Location: England
Add Karma

rated by 7 members
Add Comment
Show Comments


online/offline
PostPosted: Wed Jul 26, 2006 4: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.
_________________
Back to top
View user's profile Send private message Send e-mail
symon
Moderator
Moderator
FLAG

Virtual Cash: 37350

Joined: 04 Sep 2005
Posts: 11952


Location: Surrey,England
Add Karma

rated by 92 members
Add Comment
Show Comments

http://howtodoit.myfreeforum.org/index.php
online/offline
PostPosted: Wed Jul 26, 2006 10: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
_________________
Back to top
View user's profile Send private message Visit poster's website
CodyT07
Guru
Guru
FLAG

Virtual Cash: 4710

Joined: 22 Mar 2006
Posts: 3621


Location: Tennessee
Add Karma

rated by 23 members
Add Comment
Show Comments


online/offline
PostPosted: Wed Jul 26, 2006 10: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.

_________________
"Great minds talk about ideas, mediocre minds talk about current events, small minds talk about other peoples"
Back to top
View user's profile Send private message Visit poster's website
Nick(NR)
Moderator
Moderator
FLAG

Virtual Cash: 21680

Joined: 06 May 2006
Posts: 5307


Location: Medway, Kent
Add Karma

rated by 43 members
Add Comment
Show Comments

I'm better than Jose!
online/offline
PostPosted: Thu Jul 27, 2006 10: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 refrain from posting and take a time out to calm down.
Back to top
View user's profile Send 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 6: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 Send private message
CodyT07
Guru
Guru
FLAG

Virtual Cash: 4710

Joined: 22 Mar 2006
Posts: 3621


Location: Tennessee
Add Karma

rated by 23 members
Add Comment
Show Comments


online/offline
PostPosted: Sat Aug 12, 2006 6: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.
_________________
"Great minds talk about ideas, mediocre minds talk about current events, small minds talk about other peoples"
Back to top
View user's profile Send 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: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 Send private message
CodyT07
Guru
Guru
FLAG

Virtual Cash: 4710

Joined: 22 Mar 2006
Posts: 3621


Location: Tennessee
Add Karma

rated by 23 members
Add Comment
Show Comments


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

you know any HTML?
_________________
"Great minds talk about ideas, mediocre minds talk about current events, small minds talk about other peoples"
Back to top
View user's profile Send 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

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 Send private message
CodyT07
Guru
Guru
FLAG

Virtual Cash: 4710

Joined: 22 Mar 2006
Posts: 3621


Location: Tennessee
Add Karma

rated by 23 members
Add Comment
Show Comments


online/offline
PostPosted: Sat Aug 12, 2006 7: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.
_________________
"Great minds talk about ideas, mediocre minds talk about current events, small minds talk about other peoples"
Back to top
View user's profile Send private message Visit poster's website
Nick(NR)
Moderator
Moderator
FLAG

Virtual Cash: 21680

Joined: 06 May 2006
Posts: 5307


Location: Medway, Kent
Add Karma

rated by 43 members
Add Comment
Show Comments

I'm better than Jose!
online/offline
PostPosted: Sat Aug 12, 2006 7: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 refrain from posting and take a time out to calm down.
Back to top
View user's profile Send 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: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 Send private message
Andrew(AP)
Expert
Expert

Virtual Cash: 3230

Joined: 16 Jul 2006
Posts: 1230


Location: United States, Iowa
Add Karma

rated by 14 members
Add Comment
Show Comments

uncleandy.myfreeforum.org
online/offline
PostPosted: Sat Aug 12, 2006 7:34 pm    Post subject: Reply with quote

yes

Back to top
View user's profile Send 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
Page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6
 
 
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