Archive for portalogy.myfastforum.org For all your portal needs
 



       portalogy.myfastforum.org Forum Index -> Forum Portal Walkthrough
admin(Nick_NR)

How to add Portals to your forum on the left

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

right i have done exactly this what you have said and in my overall_footer i have:

Spoiler:

</td>
</tr>
</table>
<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
<!--
We request you retain the full copyright notice below including the link to
www.phpbb.com.
This not only gives respect to the large amount of time given freely by the
developers
but also helps build interest, traffic and use of phpBB 2.0. If you cannot
(for good
reason) retain the full copyright we request you at least leave in place
the
Powered by phpBB {PHPBB_VERSION} line, with phpBB linked to www.phpbb.com.
If you refuse
to include even this then support on our forums may be affected.

The phpBB Group : 2002
// -->
Powered by <a href=" http://www.phpbb.com/" target="_phpbb"
class="copyright">phpBB</a> {PHPBB_VERSION} © 2001, 2002 phpBB Group<br
/>{TRANSLATION_INFO}</span></div>
</td>
</tr>
</table>

</body>
</html>


<center>

<!-- Start Xbox360 Forum Banner-->
<a target="_blank" href=" http://www.xbox360.biz.md"><img src="
http://116te.xoompages.com/360/final.gif " border="0" alt="XboX360 Forum"
/></a>
<!--Stop Xbox360 Forum Banner-->

<!--START SWAPITSHOP FORUM-->
<a target="_blank"
href="http://www.topsiteguide.com/toplist.asp?site=SwapitShop "><img
src="http://116te.xoompages.com/360/swapitshopforum.gif " border="0"
alt="SwapitShop Forum" /></a>
<!--STOP SWAPITSHOP FORUM-->

<!--START SOUTH PARK FORUM BANNER-->
<a target="_blank"
href="http://www.topsiteguide.com/toplist.asp?site=TheSouthParkForum ">
<img
src="http://www.topsiteguide.com/reg.asp?site=TheSouthParkForum&account=53370&ban=D "
border=0 alt="TheSouthParkForum southparkforum.myfreeforum.org" width=81
height=33></a><br>
<b><a target="_blank"
href="http://www.topsiteguide.com/toplist.asp?site=TheSouthParkForum"></a></b>
<!--STOP SOUTH PARK FORUM BANNER-->

<!--START CHATTERBOX FORUM BANNER-->
<a target="_blank"
href="http://www.topsiteguide.com/toplist.asp?site=ChatterBox ">
<img
src="http://www.topsiteguide.com/reg.asp?site=ChatterBox&account=53367&ban=D"
border=0 alt="ChatterBox southparkforum.myfreeforum.org" width=88
height=31></a><b><a target="_blank"
href=" http://www.topsiteguide.com/topli...Box"></a></b>
<!--STOP CHATTERBOX FORUM BANNER-->

<!--START LEEDS TOP 100 FORUM BANNER-->
<a target="_blank"
href="http://www.topsiteguide.com/toplist.asp?site=LeedsTop100">
<img
src=" http://www.topsiteguide.com/reg.a...amp;account=53363&ban=A"
border=0 alt="LeedsTop100 southparkforum.myfreeforum.org" width=88
height=31></a><b><a target="_blank"
href="http://www.topsiteguide.com/toplist.asp?site=LeedsTop100"></a></b>
<!--STOP LEEDS TOP 100 FORUM BANNER-->

<!--START MOODYFORUMS FORUM BANNER-->
<a href="http://moodyforums.myfreeforum.org"><img
src=http://img470.imageshack.us/img470/250/moodylinkdy2.png></a>
<!--STOP MOODYFORUMS FORUM BANNER-->

<!--START THE STORAGE SYSTEM FORUM BANNER-->
<a href="http://thestoragesystem.myfreeforum.org"><img
src="http://img99.imageshack.us/img99/2812/buttonzz3.gif "><a/>
<!--STOP THE STORAGE SYSTEM FORUM BANNER-->

<!--START SEARCH ENGINE BANNER-->
<a href="http://affordablet1.com"><IMG SRC="http://affordablet1.com/T1_88.gif" BORDER=0 ALIGN=bottom></a>
<!--STOP SEARCH ENGINE BANNER-->

<!--START ALL80S FORUM BANNER-->
<a href="http://all80suk.myfastforum.org/index.php"><img border="0" src="http://www.all80s.co.uk/cooltext31901687.gif" alt="all 80s Forum"></a>
<!--START ALL80S FORUM BANNER-->

<!--START ALL80S FORUM BANNER-->
<a href="http://yorkshirefolk.myfineforum.org "><img src="http://i67.photobucket.com/albums/h307/rach1980/yf1.gif "></a>
<!--START ALL80S FORUM BANNER-->

<!--START ALL80S FORUM BANNER-->
<a href="http://bookwormuk.myfastforum.org "><img src="http://i67.photobucket.com/albums/h307/rach1980/bwbutton1.gif "></a>
<!--START ALL80S FORUM BANNER-->

</center>

<br />
<br /></span></div>
</td>
</tr>
</table>

</body>
</html>



and in my overall_header i have:

Spoiler:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/myff_southparkforum2/{T_HEAD_STYLESHEET}" type="text/css" />
<style type="text/css">
<!--
TH { background-image: url(templates/myff_southparkforum2/images/{T_TH_CLASS2}) }
TD.cat { background-image: url(templates/myff_southparkforum2/images/{T_TH_CLASS1}) }
TD.rowpic { background-image: url(templates/myff_southparkforum2/images/{T_TH_CLASS3}); background-repeat: repeat-y }
TD.catHead,TD.catSides,TD.catLeft,TD.catRight,TD.catBottom { background-image: url(templates/myff_southparkforum2/images/{T_TH_CLASS1}) }
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0"><center><font color=red><h3>Welcome To The South Park Forum {USERNAME}. Hope You Enjoy Your Stay</h3></color></center>
<tr>
<td width="200"><a href={U_INDEX}><img src="templates/myff_southparkforum2/images/NEWA.png" width="315" border="0" alt={L_INDEX} vspace="1" /></a></td>
<td align="center" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
<!-- BEGIN switch_user_logged_out -->
&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
<!-- END switch_user_logged_out -->

</td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
</tr>
</table></td>
</tr>
</table>



<br />
<p>

<center> <a href="www.fakeforum.com"><img src="http://img248.imageshack.us/img248/1974/southpark1vw9.jpg" border="0" alt="Image Hosted by ImageShack.us" /></a>

<table width="100%" border="0">
<tr>
<td>{MYFF.FADER}</td>
</tr>
</table>
<center><form action="search.php?mode=results" method="POST">
<input type="text" style="width: 300px" class="post" name="search_keywords" size="30" /><input type="hidden" name="search_terms" value="all" ><input type="hidden" name="search_forum" value="-1"><input type ="hidden" name="search_time" value="9999"><input type="hidden" name="search_fields" value="all" /> <input type="hidden" name="search_cat" value="-1"><input type="hidden" name="sort_by" value="0"/><input type="hidden" name="sort_dir" value="DESC" /><input type="hidden" name="show_results" value="topics" /><input type="hidden" name="return_chars" value="-1"/><input class="liteoption" type="submit" value="Search" /></form></br></center>

</br>
<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">



but the portals don't work and i have cleared my cache

please help me
admin(Nick_NR)

Have you got template override on? I'm seeing images linking to template slot 1, yet you posted code to template slot 2, how can I see any problems if I can't see the template your editing.

For You use this, don't forget to place the affiliates table code that I altered for you, that is on your current template.

Overall_footer.tpl

Spoiler:


</td>
</tr>
</table>
<br>
<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
<!--
We request you retain the full copyright notice below including the link to
www.phpbb.com.
This not only gives respect to the large amount of time given freely by the
developers
but also helps build interest, traffic and use of phpBB 2.0. If you cannot
(for good
reason) retain the full copyright we request you at least leave in place
the
Powered by phpBB {PHPBB_VERSION} line, with phpBB linked to www.phpbb.com.
If you refuse
to include even this then support on our forums may be affected.

The phpBB Group : 2002
// -->
Powered by <a href=" http://www.phpbb.com/" target="_phpbb"
class="copyright">phpBB</a> {PHPBB_VERSION} © 2001, 2002 phpBB Group<br
/>{TRANSLATION_INFO}</span></div>
</body>
</html>
<br>

Place the affiliate table code I gave you HERE



Overall_header.tpl

Spoiler:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/myff_southparkforum2/{T_HEAD_STYLESHEET}" type="text/css" />
<style type="text/css">
<!--
TH { background-image: url(templates/myff_southparkforum2/images/{T_TH_CLASS2}) }
TD.cat { background-image: url(templates/myff_southparkforum2/images/{T_TH_CLASS1}) }
TD.rowpic { background-image: url(templates/myff_southparkforum2/images/{T_TH_CLASS3}); background-repeat: repeat-y }
TD.catHead,TD.catSides,TD.catLeft,TD.catRight,TD.catBottom { background-image: url(templates/myff_southparkforum2/images/{T_TH_CLASS1}) }
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0"><center><font color=red><h3>Welcome To The South Park Forum {USERNAME}. Hope You Enjoy Your Stay</h3></color></center>
<tr>
<td width="200"><a href={U_INDEX}><img src="templates/myff_southparkforum2/images/NEWA.png" width="315" border="0" alt={L_INDEX} vspace="1" /></a></td>
<td align="center" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
<!-- BEGIN switch_user_logged_out -->
&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
<!-- END switch_user_logged_out -->

</td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/myff_southparkforum2/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
</tr>
</table></td>
</tr>
</table>
<br />
<br />
<center> <a href="www.fakeforum.com"><img src="http://img248.imageshack.us/img248/1974/southpark1vw9.jpg" border="0" alt="Image Hosted by ImageShack.us" /></a>
<br />
<table width="100%" border="0">
<tr>
<td>{MYFF.FADER}</td>
</tr>
</table>
<br />
<center><form action="search.php?mode=results" method="POST">
<input type="text" style="width: 300px" class="post" name="search_keywords" size="30" /><input type="hidden" name="search_terms" value="all" ><input type="hidden" name="search_forum" value="-1"><input type ="hidden" name="search_time" value="9999"><input type="hidden" name="search_fields" value="all" /> <input type="hidden" name="search_cat" value="-1"><input type="hidden" name="sort_by" value="0"/><input type="hidden" name="sort_dir" value="DESC" /><input type="hidden" name="show_results" value="topics" /><input type="hidden" name="return_chars" value="-1"/><input class="liteoption" type="submit" value="Search" /></form></br></center>
</br>
<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">

Danaldinho

right i copied template1 to template2, so i could do some tests and i did this on template2 and it didn't work on that

when this works on template2, then i will put it on template1

thanks
Danaldinho

can anyone help me
admin(Nick_NR)

Danaldinho wrote:
can anyone help me


You never answered my question?

admin(Nick_NR) wrote:
Have you got template override on? I'm seeing images linking to template slot 1, yet you posted code to template slot 2, how can I see any problems if I can't see the template your editing.


I need to see the template your editing to see where you've gone wrong, making it easier for me to find the problem in the code.
Danaldinho

southparkmyfreeforum_1
connorconway

o_O i'm sory as this isn't really related to the discussion but how comes no one can see inside the spoilers?
admin(Nick_NR)

text appears white for me when I open it up.
connorconway

oh i see, the show/hide button is black. Same colour of the background so i couldn't see it, lol Very Happy cool!
admin(Nick_NR)

will have to find out the class and change it so it appears correct.

       portalogy.myfastforum.org Forum Index -> Forum Portal Walkthrough
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum
If you feel that PORTALOGY has been helpful and would like to say thank you then please click the donation button below.