Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 


       myfreeforum.org Forum Index -> Portal components
camello

quick question/request

Hi,

caramelpalace.myfreeforum.org


I've been trying to add portals to my forum for a while now. I've been following the directions that has been posted on here and on 'howtodoit' and could not for the life of me get the portals to work. For a second there I started thinking i was stupid for not being able to do such a simple thing ... then i decided to change it up and see if it really was me that was messing something up.

I was using the 'Solaris' theme but then decided to switch themes to see if it was me or the theme. Well, long story short... I changed themes and figured out that it was the theme.

My question to you guys here at MFF support is ... Do you think there is a way of adding a portal to the 'Solaris' theme without it messing up?

and my request is ... If you think it is possible ... can someone create a quick walkthrough of what needs to be changed.

thanks in advance

Wink




oh ...

Here is the Overall_Header.tpl for 'Solaris'
Spoiler:

Code:
<!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_caramelpalace2/{T_HEAD_STYLESHEET}" type="text/css">

<!--

  NOTICE

  Solaris template, originally custom designed for alternativeSuns forums (http://forum.alternativesuns.com).
  Template created by Jakob Persson (http://www.jakob-persson.com), see my website for more free templates
  and samples of my work.
 
  This template is in no way associated or affiliated with the film by the same name released in 2002, directed
  by Steven Soderbergh and distributed by 20th Century Fox.
  No trademark infringement intended. Choice of name solely meant as a tribute to the science-fiction novel
  by the same name by author Stanislaw Lem (http://www.cyberiad.info).
 
  This template is publicly available for use with the phpBB forum software (http://www.phpbb.com).
 
  This template is copyright (c) Jakob Persson 2003.
 
  Template ID: EkjAk9vYSF2dpi3LiBJR2Vq8jW9NX9pSYAxMfPGy 
 
  Removal or alteration of this notice is strongly prohibited.

-->

<!-- 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>
<table width="750" border="0" cellpadding="0" cellspacing="0" align="center">
  <tr>
    <td valign="top" class="maintable">
   
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="50%" valign="top"><a href="{U_INDEX}" class="nav"><img src="templates/myff_caramelpalace2/images/forumlogo.jpg" width="253" height="98" border="0" /></a></td>
            <td width="50%" valign="top">
         
         <table border="0" align="right" cellpadding="0" cellspacing="1">
                <tr>
                  <td></td>
                  <td></td>
                  <td><img src="templates/myff_caramelpalace2/images/spacer.gif" width="10" height="9" /></td>
                </tr>
                <tr>
                  <td><a href="{U_FAQ}" name="topnavurl0"><img src="templates/myff_caramelpalace2/images/lang_english/topimg_faq-e.jpg" alt="{L_FAQ}" name="topnavimg0" border="0" /></a></td>                 
              <td><a href="{U_LOGIN_LOGOUT}" name="topnavurl1"><img src="templates/myff_caramelpalace2/images/lang_english/topimg_login-logout-e" alt="{L_LOGIN_LOGOUT}" name="topnavimg1" border="0" /></a></td>             
                  <td><img src="templates/myff_caramelpalace2/images/spacer.gif" width="10" height="10" /></td>
                </tr>
                <tr>
                  <td><a href="{U_SEARCH}" name="topnavurl2"><img src="templates/myff_caramelpalace2/images/lang_english/topimg_search-e.jpg" width="80" height="15" alt="{L_SEARCH}" name="topnavimg2" border="0" /></a></td>
                  <td><a href="{U_PROFILE}" name="topnavurl3"><img src="templates/myff_caramelpalace2/images/lang_english/topimg_profile-d.jpg" width="80" height="15" alt="{L_PROFILE}" name="topnavimg3" border="0" /></a></td>
                  <td><img src="templates/myff_caramelpalace2/images/spacer.gif" width="10" height="10" /></td>
                </tr>
                <tr>
                  <td><a href="{U_MEMBERLIST}" name="topnavurl4"><img src="templates/myff_caramelpalace2/images/lang_english/topimg_members-d.jpg" width="80" height="15" alt="{L_MEMBERLIST}" name="topnavimg4" border="0" /></a></td> <!--  onLoad="this.src=topnavimg_4;" -->
                  <td><a href="{U_GROUP_CP}" name="topnavurl5"><img src="templates/myff_caramelpalace2/images/lang_english/topimg_groups-e.jpg" width="80" height="15" alt="{L_USERGROUPS}" name="topnavimg5" border="0" /></a></td>
                  <td><img src="templates/myff_caramelpalace2/images/spacer.gif" width="10" height="10" /></td>
                </tr>
                <tr>
                  <td colspan="2"><a href="{U_PRIVATEMSGS}" name="topnavurl6"><img src="templates/myff_caramelpalace2/images/lang_english/topimg_pms-d.jpg" width="161" height="15" alt="{PRIVATE_MESSAGE_INFO}" name="topnavimg6" border="0" /></a></td>
                  <td><img src="templates/myff_caramelpalace2/images/spacer.gif" width="10" height="15" /></td>
                </tr>
                <tr>
                  <td colspan="2"><a href="{U_REGISTER}" name="topnavurl7"><img src="templates/myff_caramelpalace2/images/topimg_register.jpg" width="161" height="15" name="topnavimg7" alt="{L_REGISTER}" border="0" /></a></td>
                  <td><img src="templates/myff_caramelpalace2/images/spacer.gif" width="10" height="8" /></td>
                </tr>
              </table>
          
<script language="Javascript" type="text/javascript">
<!--
//declaring variables and arrays
var privmsg_image_path = "{PRIVMSG_IMG}", current_lang = "";

//extract the current language string
current_lang = privmsg_image_path.match(/lang_[a-z]*/);

if (current_lang != ""){

<!-- BEGIN switch_user_logged_out -->

   //assign image paths
   document.images["topnavimg0"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_faq-e.jpg";         //faq
   document.images["topnavimg1"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_login-e.jpg";   //login/logout
   document.images["topnavimg2"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_search-e.jpg";      //search
   document.images["topnavimg3"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_profile-d.jpg";      //profile
   document.images["topnavimg4"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_members-e.jpg";      //memberlist
   document.images["topnavimg5"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_groups-e.jpg";      //usergroups
   document.images["topnavimg6"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_pms-d.jpg";         //private messages/new private messages
   document.images["topnavimg7"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_register-e.jpg";      //register
   
<!-- END switch_user_logged_out -->

<!-- BEGIN switch_user_logged_in -->

   //parse strings
   loginlogout = "{U_LOGIN_LOGOUT}";
   stringIndex = loginlogout.indexOf("amp");
   loginlogout2 = loginlogout.slice(0,stringIndex);
   loginlogout2 += loginlogout.slice(stringIndex+4);

   //assign image paths
   document.images["topnavimg0"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_faq-e.jpg";         //faq
   document.images["topnavimg1"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_logout-e.jpg";   //login/logout
   document.images["topnavimg2"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_search-e.jpg";      //search
   document.images["topnavimg3"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_profile-e.jpg";      //profile
   document.images["topnavimg4"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_members-e.jpg";      //memberlist
   document.images["topnavimg5"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_groups-e.jpg";      //usergroups
   document.images["topnavimg6"].src = "{PRIVMSG_IMG}";                                                   //private messages/new private messages
   document.images["topnavimg7"].src = "templates/myff_caramelpalace2/images/" + current_lang + "/topimg_register-d.jpg";      //register
   
<!-- END switch_user_logged_in -->   

}

//-->
</script> 
       
         </td>
          </tr>
          <tr valign="top">
            <td colspan="2"><img src="templates/myff_caramelpalace2/images/bg_top_border.jpg" width="750" height="51" /></td>
          </tr>
          <tr>             
            <td colspan="2">
         
              <table width="720" border="0" cellpadding="0" cellspacing="0" align="center">
               <tr>                 
                        <td class="mainforumcell">
                  
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                       <tr>
                         <td width="1%"><img src="templates/myff_caramelpalace2/images/spacer.gif" width="10" /></td>
                         <td width="98%">

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





Here is the Overall_Footer.tpl for 'Solaris'
Spoiler:

Code:
</td>
</tr>
</table>

</td>
                         <td width="1%"><img src="images/spacer.gif" width="10" /></td>
                       </tr>
                  </table>                  
                         
                      </td>
               </tr>
            </table>       
          
           </td>
          </tr>
          <tr>
            <td colspan="2"><img src="templates/myff_caramelpalace2/images/bg_bottom_border.jpg" width="750" height="32" /></td>
          </tr>
        </table>
   

     </td>
  </tr>
</table>

<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br /><br />

<!--
   Removal of the template credit notice and image below cancels your right to use this template.
-->

<a href="http://www.jakob-persson.com" class="copyright">
<img src="templates/myff_caramelpalace2/images/minilogo.gif" border="0"/><br />

Solaris phpBB theme/template by Jakob Persson<br />
Copyright &copy; Jakob Persson 2003</a><br /><br /><br />

<!--

  NOTICE

  Solaris template, originally custom designed for alternativeSuns forums (http://forum.alternativesuns.com).
  Template created by Jakob Persson (http://www.jakob-persson.com), see my website for more free templates
  and samples of my work.
 
  This template is in no way associated or affiliated with the film by the same name released in 2002, directed
  by Steven Soderbergh and distributed by 20th Century Fox.
  No trademark infringement intended. Choice of name solely meant as a tribute to the science-fiction novel
  by the same name by author Stanislaw Lem (http://www.cyberiad.info).
 
  This template is publicly available for use with the phpBB forum software (http://www.phpbb.com).
 
  This template is copyright (c) Jakob Persson 2003.
 
  Template ID: EkjAk9vYSF2dpi3LiBJR2Vq8jW9NX9pSYAxMfPGy 
 
  Removal or alteration of this notice is strongly prohibited.

-->

<!--
   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} &copy; 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span></div>


<br />
<br />


</body>
</html>

Symon

You say messes it up how do you mean ?

I have added portals to the same template and apart from expanding the width all is fine.

http://testhtml.myfastforum.org
admin (no pm's please)

portals will work with any template. But what portals do is generate html that may not work well with a template. Hence you can choose to edit each portals template to make it compatible with a forum template.
camello

ok ... give me a second ...

i will switch back to solaris and create a screenshot of what i am talking about
Symon

camello wrote:
ok ... give me a second ...

i will switch back to solaris and create a screenshot of what i am talking about


Just switch back so we can view the live template
camello

ok ... just switched back over to solaris and tried the same exact steps that i posted above and look at the screenshot


admin (no pm's please)

A lot of stuff will not work well if you do not have at least one forum readable by guests.

Try creating a rules forum or something. You can even leave the forum locked, but there must be something readable.
camello

admin (no pm's please) wrote:
A lot of stuff will not work well if you do not have at least one forum readable by guests.

Try creating a rules forum or something. You can even leave the forum locked, but there must be something readable.


Admin you are the best

thank you!!!

That was the problem ... There needs to be atleast 1 viewable forum for it to work

(maybe you should include that in the 'howtodoit' guides)

Thanks Again ... everything is fixed now ... as you can see

       myfreeforum.org Forum Index -> Portal components
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum