[quote=Kdshamim][quote=Shamim]
This is v5 and final edition.
Demo: Features:
[color=red]Advantage
*Easy function
*No lagging.
*notification 1click[/color]
We need cip id.i believe that you already installed cip id.if not,
Now login to your wapka passport*Edit text*Forum/chatfind submit and put this in “submit” input area.
[text]submit” onClick=”zero();” style=”margin:2px[/text]
you are not understanding me?see this IMG…
Now create a simple forum note the id.post this in your bottom autocontent of forum.don’t forget to change the forum id
</p><br /> <div>:forum-112242235/smallform/0:</div><br /> <p>function zero(){ if("yous"!==":user-tname:"){document.getElementById("com").innerHTML = 'your comment has been posted. <img />';}}
In mif textarea (0^1)
if("::msg_id::"=="1"){var yous='::tuser::';var cipids='::prvar-74::'}
From textarea (0^3) of mif
</p><br /> <div><b id='com'>Make new comment.</b><br />::REPLY_AREA::</div><br /> <p>
**note is must if you remove it in future it will not work.so be careful.Now create a new page change title to site_notification.xhtml
#all img{float: left;display: inline-block;margin-right:4px;margin-top:-0.5px}</p><br /> <div class="mainbox" id="all"><br /> <div class="mainblok"><br /> <div id="sam" class="echo"><b>Notifications</b></div><br /> <p>:forumlist:f=c,s=:get-site(1):,l=20,t=--::</p><br /> <div class="rope"> if('%text%'.match(/(Like)/ig)) document.write('<img src="/img/300258/300258478_41523b8ae5.png" alt="Like" class="img_notif" />'); if('%text%'.match(/(commented|comment)/ig)) document.write('<img src="/img/300258/300258479_756b9bc35d.png" alt="Comment" class="img_notif" />'); if('%text%'.match(/(quote|quoted|taken|take)/ig)) document.write('<img src="/img/300258/300258482_ef66f3095b.png" alt="Quoted" class="img_notif" />'); </p><br /> <div>%lname% %text%<br /><small>%time%</small></div><br /> </div><br /> <p>:: :/forumlist:</p><br /> <div class="rope" align="center"><a href="">See more</a></div><br /> </div><br /> </div><br /> <p> all=document.getElementsByName('all')[0].innerHTML; all=all.replace(/\[\$(. ?)\$]/ig,''); all=all.replace(/Với/ig,'thích'); document.getElementsByName('all')[0].innerHTML=all;
And finally use this for the notification alert.
if(':info-comnew:%n%:/info:'>'0') document.write('<strong class="fcy">Alarts<b>(:info-comnew:%n%:/info:)</b></strong>'); else document.write('Notifications');</a>
in top autocontent of forum
tema=':getid-url:'.split('tema=')[1];if(':getid-url:'.match(/(get-tema|forum2_:getid-forum:|forum2_add)/ig)){} else {document.write('body{display:none}</p></div><br /> <p>');}
in bottom autocontent of forum
</p><br /> <div>:eprofile-0:<b></b>@@OK:/eprofile:</div><br /> <p>var mbcd=document.getElementsByName("mchs")[0].value; if(':getid-url:'.match(/(n=)/ig)){ document.write('</p><br /> <div></div><br /> <p>')} else{document.write('<img src="" />ok')}
Get notification when user comment v5 final
sincerely Scodecs.Com
Originally Posted KdShamim
[br][/quote]