Quote:
Originally Posted by DjEddie
Hi, really want to use this mod .. but I think it will conflict with the Header Rework V4 which is here: https://vborg.vbsupport.ru/showthread.php?t=257261
Would someone be able to help with what code should be replaced in the header for me to get this to work please ..
Thank you 
|
Quote:
Originally Posted by wipedout
This for me aswell, have this but i dont get anything running cus of this rewrite. (my guess)
|
I'll assume you've installed the Header Rework mod. Back-up first but this should work
In your header template search for:
Code:
<vb:if condition="$notifications_total">
{vb:raw notifications_menubits}
</vb:if>
<li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li>
Replace it with the header template edit for this mod;
Code:
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->
<vb:if condition="$notifications_total">
<script type="text/javascript">
$.jGrowl('{vb:raw notifications_menubits} <br />You must view your notification(s) before this box will disappear.' , { sticky: true, header : 'New Notification(s)' } );
</script>
</vb:if>
<li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li>
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->
Install the rest of this mod.