Kalina
12-12-2006, 10:00 PM
I put this little modification in for my members and they really liked it, so I thought I would share.
What this does is place a graphic of your choosing in your members private messages and it says "Happy Holidays, Username!"
It will appear in messages they receive, see screenshot below. Of course you can change the greeting and image to anything.
Depending on which postbit you use, here's instructions for both.
In your postbit template, find this code:
<div style="margin-top: 10px" align="$stylevar[right]">
Beneath it, paste the following:
<if condition="$_REQUEST['do'] == 'showpm'"><div style="float:left;line-height:32px;height;32px;vertical-align:middle;"><img src="./images/smilies/santa-1-icon.gif" alt="Happy Holidays, Forum Members!" align="left" style="margin:0 7px 0 0;"/><b><font color="red">Happy Holidays,</font></b> <b><font color="green">$bbuserinfo[username]!</font></b></div></if>
SAVE!
In your postbit_legacy template, find this code:
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 1px solid #f8f5e9">
</if>
Beneath it, paste the following code:
<if condition="$_REQUEST['do'] == 'showpm'"><div style="float:left;line-height:32px;height;32px;vertical-align:middle;"><img src="./images/smilies/santa-1-icon.gif" alt="Happy Holidays, Forum Members!" align="left" style="margin:0 7px 0 0;"/><b><font color="red">Happy Holidays,</font></b> <b><font color="green">$bbuserinfo[username]!</font></b></div></if>
SAVE!
Be sure to upload your graphic to the smilies folder, I got my Santa smiley from this site (http://www.iconarchive.com/category/christmas/christmas-smilies-icons-by-live-pencil.html).
You can of course change the greeting and colors in the code above to anything you like.
This is my first time sharing so if I've not covered anything, please let me know.
What this does is place a graphic of your choosing in your members private messages and it says "Happy Holidays, Username!"
It will appear in messages they receive, see screenshot below. Of course you can change the greeting and image to anything.
Depending on which postbit you use, here's instructions for both.
In your postbit template, find this code:
<div style="margin-top: 10px" align="$stylevar[right]">
Beneath it, paste the following:
<if condition="$_REQUEST['do'] == 'showpm'"><div style="float:left;line-height:32px;height;32px;vertical-align:middle;"><img src="./images/smilies/santa-1-icon.gif" alt="Happy Holidays, Forum Members!" align="left" style="margin:0 7px 0 0;"/><b><font color="red">Happy Holidays,</font></b> <b><font color="green">$bbuserinfo[username]!</font></b></div></if>
SAVE!
In your postbit_legacy template, find this code:
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 1px solid #f8f5e9">
</if>
Beneath it, paste the following code:
<if condition="$_REQUEST['do'] == 'showpm'"><div style="float:left;line-height:32px;height;32px;vertical-align:middle;"><img src="./images/smilies/santa-1-icon.gif" alt="Happy Holidays, Forum Members!" align="left" style="margin:0 7px 0 0;"/><b><font color="red">Happy Holidays,</font></b> <b><font color="green">$bbuserinfo[username]!</font></b></div></if>
SAVE!
Be sure to upload your graphic to the smilies folder, I got my Santa smiley from this site (http://www.iconarchive.com/category/christmas/christmas-smilies-icons-by-live-pencil.html).
You can of course change the greeting and colors in the code above to anything you like.
This is my first time sharing so if I've not covered anything, please let me know.