This guy asked the same like I searching..
this is the mod
https://vborg.vbsupport.ru/showthread.php?t=214703
Quote:
Originally Posted by Mostjolly
Will somebody show me how to use the <else/>..
Currently, whenever there is a notification message the box/message pops up which is perfect, however I want the box/message "Remains Visible" EVEN if there isn't any new notification.
Below, I believe the <else/> code are the only code to satisfy my request, it's just I don't have a clue how the <else/> works...
Please have a look below, I place the <else/> after the have notification.. this way if there's NO new message shouldn't it display the corresponding code I provide?
Code:
You currently have
<!-- notifications box -->
<if condition="$show['member'] AND $notifications_total">
<!-- notifications menu -->
<div class="vbmenu_popup" id="notifbox_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" colspan="2">$vbphrase[your_notifications]</td></tr>
$notifications_menubits
</table>
</div>
<!-- / notifications box -->
</if>
<!-- notification box -->
<if condition="$show['notifications']">
<if condition="$show['member']">
<if condition="$show['notifications']">
<span id="notifbox"><blink><font color="orange"><strong>$notifications_total</strong></font><a href="usercp.php$session[sessionurl_q]"></a> </blink></span> Notification Messages.
<else/>
<strong><blink><a href="usercp.php$session[sessionurl_q]"><font color="orange">$notifications_total</font></a></blink></strong> Notification Messages.
<if condition="$show['popups']">
<script type="text/javascript"> vBmenu.register("notifbox"); </script>
</if>
</if>
</if>
</if>
<!-- / notification box -->
|
someone can help us???
excuse me for my englis :S