Fr, 24/03/29, 00:25
   
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: Fliros  
uDev Club Forum » uCoz System management and tuning » Additional Features » New style for PM notification
New style for PM notification
FlirosDate: We, 10/08/18, 13:54 | Message # 1
Lieutenant
Group: Administrators
Messages: 31
Awards: 2
Reputation: 3
Status: :-(
One more useful thing, new style for PM notification. Paste code into Page editor >> Site page after $CONTENT$ tag

Example of use

Attachments: 8903536.gif (27.4 Kb)


 
GigabyteDate: We, 10/08/18, 14:00 | Message # 2
Sergeant
Group: Administrators
Messages: 19
Awards: 2
Reputation: 3
Status: :-(
Nice cool
 
FlirosDate: We, 10/08/18, 14:02 | Message # 3
Lieutenant
Group: Administrators
Messages: 31
Awards: 2
Reputation: 3
Status: :-(
Gigabyte, do you use it on your site?

 
GigabyteDate: We, 10/08/18, 14:31 | Message # 4
Sergeant
Group: Administrators
Messages: 19
Awards: 2
Reputation: 3
Status: :-(
Yep, its flawless smile
 
junglist905Date: Th, 15/04/23, 02:36 | Message # 5
Private
Group: Users
Messages: 2
Awards: 0
Reputation: 0
Status: :-(
I put this after $ CONTENT $ BUT ID DID NOT WORK THIS IS MY SIR

<sITE http://www.mocounderground.ucos.com type="text/javascript">
function tMess(n){var a=[' new message',' new message',' new message'];return a[n%10==1&&n%100!=11?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2]}; function getPM(){$.get("/index/14",function(a)
{var s=$("b.unread",a).size();if (s)
{var n=tMess(s),all=[],leg=(s==1)?'Message':'Message';$("b.unread",a).each(function()
{var title = $(this).html(), href = $(this).parent().attr("href");
all.push('» <a href="'+href+'" target="_blank">'+title+'</a>');});
new _uWnd('ls','Nwe PM',250,120,{icon:'http://javascript.ucoz.net/images/message.png',align:'left'},'<center>You get '+s+n+'!</center><br><fieldset><legend>'+leg+'</legend>'+all.join("<br>")+'</fieldset>');}});
setTimeout(getPM,10000)};getPM();
</script>
 
uDev Club Forum » uCoz System management and tuning » Additional Features » New style for PM notification
  • Page 1 of 1
  • 1
Search:

Forum Statistics
Latest updated threads Most popular threads Top users New users
Hello (0)
Fliros (31 Posts)
Gigabyte (19 Posts)
Scubs (5 Posts)
Wild_Eragon (2 Posts)
junglist905 (2 Posts)
mad_A (2 Posts)
stephanie (1 Posts)
Dark__Gamer (1 Posts)
T-sin (0 Posts)
akonens (0 Posts)
pomilenokhome (20/02/13)
presstar (18/12/14)
istván (17/04/16)
jaaydk (16/12/06)
DjWiicked (16/12/02)
junglist905 (15/04/23)
AdminDan (14/12/16)
Pro (14/12/16)
Paradiso (14/08/31)
adminstr (14/06/18)