Text
Welcome Message

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Portal Hacks
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertsing.





Add Karma

Posted:     Post subject:

Back to top
symon
Site Admin
Site Admin

Location: 

Joined: 13 Mar 2006
Posts: 866


Location: Hampshire Add Karma

PostPosted: Thu Mar 15, 2007 1:57 am    Post subject: Welcome Message Reply with quote

This guide is for the Welcome Portal.

Examples are shown at the end of this guide.

Please remember to use the Editor account before making any template changes

Second you must have all ready a template you can edit.

If you have not done this please read HOWTODOIT

Ok all that done you now goto Your  admin panel ---  3. Styles --- Portal Settings

You will now see a screen that looks like this



If you do not already see a portal named login then (if you do then IGNORE The Steps 1-5)

1.Click on the Blank box  icon that looks like this

Now you see a screen like this





2.Add  WELCOME to the name  (Must in in upper case)

3.And then what you want in the Title.

4. Click Create New Portal

5. Goto admin panel --- 3. Styles --- Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit

Look at the bottom in the area marked[/b]  Choose Portal template File to Edit and find and open cms.welcome.tpl.

And place this code in there. (please note that this will be the basic welcome portal, see end of guide for options.)

Code:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
        <tr>
        <th colspan="2"  class="thTop" nowrap="nowrap"><span class="forumlink">Welcome</span></th>
        </tr>
 <tr>
        <td class="row2">
<center>
<span class="forumlink">{USERNAME}</span><br/>{AVATAR}
</center>
</td>
  </tr>
 </table>


Click submit/save


So where to put it.

You need to add
Code:
{MYFF.WELCOME}
, to  where you wish it to go.It makes sense to find the other portals and add it with them.

Forum

Dual portal
Add to overall_header.tpl to show on the left.
Add to overall_footer.tpl to show on the right.


Single portal

Left side add to overall_header.tpl
right side add to overall_footer.tpl


Webpage

You would add this to your index.html or frontpage / homepage if it is called a different name.

----------------------------------------------------------------------------------------

Options

1. to remove the avatar just remove

Code:
<br/>{AVATAR}


From the code above.

2.By adding the next code will put private message warning light on there aswell


Code:

<br/>
<script language="Javascript" type="text/javascript">
<!--
   if ( {PRIVATE_MESSAGE_NEW_COUNT} >0)
   {
document.write('<p><a href="privmsg.php?folder=inbox"><img src="templates/myff_forum3/images/button_newmessages_red.gif"/></a></p>');
   }
//-->
</script>



So it could look like this




Code:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
        <tr>
        <th colspan="2"  class="thTop" nowrap="nowrap"><span class="forumlink">Welcome</span></th>
        </tr>
 <tr>
        <td class="row2">
<center>
<span class="forumlink">{USERNAME}</span><br/>{AVATAR}<br/>
<script language="Javascript" type="text/javascript">
<!--
   if ( {PRIVATE_MESSAGE_NEW_COUNT} >0)
   {
document.write('<p><a href="privmsg.php?folder=inbox"><img src="templates/myff_forum3/images/button_newmessages_red.gif"/></a></p>');
   }
//-->
</script>
</td>
  </tr>
</center>
</table>




And thats HOWTODOIT


Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Portal Hacks All times are GMT
Page 1 of 1

 
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
HOWTODOIT was designed and built by Symon Field
Creator Of ☆ FarnboroughInvinciblesAgonyAuntFairiesAsylum Alliance FunnyWorldHOWTODOIT PHPbb3
HOWTODOIT© Symon Field 2006,2007,2008

Powered by phpBB Group © 2001,2005.
 

Create your own free forum | Buy a domain to use with your forum