Log in to check your private messages 
Username: Password:   
  howtodoit.myfastforum.org
  Walkthough guides for myfreeforum phpbb 2 forums
Index  FAQ  Search  Memberlist  Usergroups  Profile

Text
Text
Friends
MYFF Support Forum
HOWTODOIT (PHPbb3)
portalogy
CGArts
ANNOUNCEMENTS
Complete List of templates Available
Please Read First Before Editing your template
Permissions
Admin Index
Sticky Articles
Latest Posts
Friends

Start | Stop
Welcome Message
Jump to:  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Portal Hacks
Author Message
Please Register and Login to this forum to stop seeing this advertising.







Add Comment
Show Comments
Posted:

Symon
Guide Legend
Guide Legend



Joined: 11 Jun 2006
Posts: 911


Location: Berkshire,England
FLAGS
Add Comment
Show Comments
PostPosted: Thu Mar 15, 2007 2:57 am  Reply with quote

Ok to have a welcome message as a portal feature add this code to your forum This should go in front of your existing portal codes.

If you do not know how to make your forum have portals then please read the Portal guides to see HOWTODOIT

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>


This will add a welcome portal plus will show the users avatar if you do not want their avatar shown just remove
Code:
<br/>{AVATAR}


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>


Dont forget to change the img url to match your forum image link so change the myff_forum3 to suit your forum

Code:
<img src="templates/myff_forum3/images/button_newmessages_red.gif"/></a>


View user's profile Send private message Visit poster's website FACEBOOKSTEAM
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.myfastforum.org Forum Index » Portal Hacks


 
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

HOWTODOIT was designed and built by Symon Field
Creator Of ☆ ☆ FunnyWorld
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