Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get Notification When User Comment On Post Using Prvar On Wapka
[Image: BP6D5jt.png]

Recently i shared notification comment system.As i said it was for trial period. this is version this tutorial we used forum3 insist of popup.

Version 1 featureSadv1 link)
*get notification
*unique system
*makes your system advance.
[bg=red]Disadvantage: [/bg]
*one and only problem is line break problem.

Version 2 feature:
*in this system we overcome line break problem..

This tutorial is very essential. to use this system we need cip id.

Lets install the forum3/cip id.

*User profile
*Comments in profile:
*Enabled (anonym can only read)
Paste this in 0.6 box "Own style of profile site *** :

<script> var cipid='::URL_COMMENTS::'.split('forum3_')[1].split('.')[0];</script>

Add this code in your bottom profile

<div style="display:none">:eprofile-0:<span></span>@@OK:/eprofile:<script language="javascript"> var mc=document.getElementsByName('mchs')[0].value; if(':user-tname:'==':getid-profile:'){if(':user-prvar-74:'!==cipid){document.write('<img src="setprofile_0.php?mchs='+mc+'&pr_var[74]='+cipid+'&submit=OK" style="display:none"/>');} else {}}; </script></div>

Finally add this in your home page and (set visibility for logged user)
[css]<script language="javascript"> var id=':user-prvar-74:'; if(id.length<5) document.write('<style>body{display:none}</style><meta http-equiv="refresh" content="0;profile_0.xhtml?u=:user-tname::admin-hash-amp:"/>'); </script>[/css]

*Note: var 74 is cip id...

Now your are ready for using notification

create a simple forum and remember the id.
Put this code in your top/header of forum autocontent.(This is for script var)

<div style="display: none">:forum-111275971/smallform/0:</div><script type="text/javascript">var idforum=':getid-forum:';</script><script type="text/javascript">var :admin-hash-amp:=':admin-hash-amp:';</script><div style="display:none">:eprofile-0:<input type="text" name="pr_var[2002]"/>@@OK:/eprofile:</div>

Change 111275971 to your simple forum id.

Now create a new page.remember the site id

Now go Message in forum
(in 1st textarea )Style of messages in the forum:*

<script type="text/javascript">
if("::msg_id::"=="1"){var yous='::tuser::';}</script>

(in 3rd textarea) Style of the forum site:**
Replace ::REPLY_AREA:: with this code

<div style="display:none">::REPLY_AREA:: ::LISTER_BOTTOM::</div><script type="text/javascript"> var tema=document.getElementsByName("tema")[0].value; var n=document.getElementsByName("nj")[0].value; var theme='::THEME_NAME::';</script><script type="text/javascript"> var tema=document.getElementsByName("tema")[0].value; var n=document.getElementsByName("nj")[0].value; var theme='::THEME_NAME::';</script>
<head><script type="text/javascript">document.title ="::THEME_NAME::";</script></head><script language="javascript"> var mc=document.getElementsByName("mchs")[0].value; document.write('<form method="post" action="setprofile_0.xhtml'+:admin-hash-amp:+'" ><input type="hidden" name="pr_var[9080]" value="'+idforum+'" /><input type="hidden" name="pr_var[9082]" value="'+document.title+'" /> <input type="hidden" name="pr_var[9084]" value="'+yous+'" /> <input type="hidden" name="pr_var[9085]" value="'+document.getElementsByName("d_token")[0].value+'" /> <textarea name="pr_var[9083]" rows="5"></textarea><input type="hidden" name="pr_var[9081]" value="'+tema+'" /><input type="hidden" name="ret_s" value="137" /><input type="hidden" name="mchs" value="'+document.getElementsByName("mchs")[0].value+'"  /> <input type="submit" name="submit" value="Comment" /></form>'); </script>

Change 137 to your new site id.
Add this code in new site.


<div class="e"><div class="fdhr" align="center">Are you sure you want to comment on this post?<form method="post" action="forum2_add_:user-prvar-9080:.xhtml:admin-hash-amp:"><input type="hidden" name="d_token" value=":user-prvar-9085:"/><input type="hidden" name="meno" value=":user-tname:" maxlength="20"/><input type="hidden" name="tema" value=":user-prvar-9081:"  /><textarea name="text" style="display:none">:user-prvar-9083:</textarea><input type="submit" name="submit" value="continue" /></form></div></div>


<script type="text/javascript">var cipid=':userstats:x=u::%prvar-74%:::user-prvar-9084::/userstats:';</script>
<script type="text/javascript">if(":user-prvar-9084:"!==":user-tname:"){document.write('<div style="display:none"><img src="forum3_add_'+cipid+'.xhtml:admin-hash-amp:?d_token=:user-prvar-9085::user-prvar-9085:&meno=:user-tname:&text=commented%20on%20this%20post[br][url=forum2_theme_:user-prvar-9080:.xhtml?tema=:user-prvar-9081:]:user-prvar-9082:[/url][:rand-beg:1-99:rand-end:]&submit=submit"/></div>');} </script>

And use this code to get notification
PHP Code:

All set...

Officially developed by Clickloadedbite team.
[-] The following 2 users Like clickloaded's post:
  • obaydullah.younus, smokewiz
why there is no quote system for code?????

Possibly Related Threads...
Thread Author Replies Views Last Post
  Top 10 Best Wapka Website In Nigeria – 2016 Osibotu Olatunde Oluwaseun 21 2,706 03-01-2018, 12:43 AM
Last Post: sokechukwu
  SHARED: All 2018 Exam Wapka Runsers flemxy 7 248 02-28-2018, 09:10 AM
Last Post: allstar
  ALERT:  Bloggers From All Host S, Wp,xtgem,blogspot, Wapka, Wapkiz A Must Read.! ogwo.emmanuel 18 249 02-02-2018, 11:57 AM
Last Post: Spruce
  SHARED: Wapka Multi-6 Auto Mp3 Tagger With Voicetag, Watermark And Album Art (for Php Too). Voski 6 1,210 01-27-2018, 11:31 AM
Last Post: mehmiwap
  ALERT:  Wapkans Let Talk On Auto Post For Wapka emmyloaded 14 575 01-26-2018, 09:00 AM
Last Post: Spruce
  ALERT:  Top 6 Reasons Why You Cant Stop Clicking A Wapka Site Spruce 10 247 01-09-2018, 07:29 AM
Last Post: Spruce
  ALERT:  Wapka Site For Sale #2000 Very Neat And Simple Design Nairalodge 1 413 12-26-2017, 01:14 PM
Last Post: Spruce
  Share: Notification When Someone Comment V6 Popup iamnetboy 3 822 12-20-2017, 11:28 AM
Last Post: obaydullah.younus
  HELP: Does Wapka Support This Domain?? Mp3reloaded 6 208 12-12-2017, 11:37 AM
Last Post: Badooskid
  SHARED: Advanced Wapka Copy Bbcode For Copying Codes/script By Mattizzy Mattizzy 19 1,601 12-11-2017, 12:36 PM
Last Post: Mattizzy

Users browsing this thread: 1 Guest(s)

About Nigeria's Creative Talents

Nigeria's Creative Talents is an online community where every creative Nigerians can share ideas with themselves.

For any more information, please use our contact form.

              User Links