russellr
Elite Level 1
[M:5000]
rCs?
Posts: 525
|
Post by russellr on Sept 30, 2010 18:28:35 GMT
This will display a bar at the very bottom of the page which only shows if you have a new message you can edit the CSS to suit the style of your forum.
THIS IS FOR VFORUMS!
Global Headers:
<style type="text/css"> #pm_bar_bot{ position:absolute; bottom:0px; background-color:#000000; /*Edit here*/ color:#ffffff;/*Edit here*/ position: fixed; bottom: 0px; right: 0px; left: 0px; margin: 0px; padding-top: 5px;/*Edit here*/ width: 100%; /*Edit here*/ height: 35px; /*Edit here*/ z-index: 9999; -moz-opacity:.50; filter:alpha(opacity=50); opacity:.50; } </style> <div id="pm_bar_bot"></div>
Global Footers:
<script type="text/javascript"> //PM Bar At Bottom //Coded By Russell //tv.vforums.co.uk if(vf_new_pms != 0){ pmbb = "Hello "+vf_displayname+" [<a href='/action/view_profile'>View Profile</a> | <a href='/action/modify_profile/user/"+vf_username+"'>Edit Profile</a>] [Messages <a href='/action/pm'>"+vf_new_pms+"</a> New "+vf_total_pms+" Old]"; get('pm_bar_bot','id').innerHTML += pmbb; }else{ get('pm_bar_bot','id').style.display='none'; } </script>
|
|
Justin
Elite Poster
Pure Awesomeness[M:0]
In Memory of those killed in the 9/11 attacks
Posts: 277
|
Post by Justin on Oct 12, 2010 22:34:43 GMT
haven't seen a new vForums code in a while . mainly because of the templating system . nice code though
|
|
russellr
Elite Level 1
[M:5000]
rCs?
Posts: 525
|
Post by russellr on Oct 13, 2010 14:19:03 GMT
Yes the templating system is great, still many areas to adjust and skin, got lots more where this came from
|
|