Home » Wapka Codes 2022 » Credit user 10point when added comment to post
mario 2 years ago |
Yeah,these is how it works
create page called "getpoint.html"
--user editor
---configuration
<'userid>:VAR(USER_ID);<'/userid><'set_point>:POST(pt);<'/set_point>
---code
<'input type="hidden" name="pt" value=":VALUE(%point%).PLUS(10);"/><'button id=":VALUE(%notify%).IFEQ(Success).THEN().ELSE(add);">%notify%<'/button>
<'script>
function submit2() { document.submitForm2.submit2( // Submits the form without the button } setTimeout(function submit2(){ document.getElementById("add").click() }, 0000););
<'/script>
Now in your post comment form just add <'embed src=":VALUE(%notify%).IFEQ(Success).THEN(/getpoint.html).ELSE();" style="width:0px;height:0px;border:0px;margin:0px;"/>
When comment page refresh user will not be credited untill the %notify% says "Success" thats all.
create page called "getpoint.html"
--user editor
---configuration
<'userid>:VAR(USER_ID);<'/userid><'set_point>:POST(pt);<'/set_point>
---code
<'input type="hidden" name="pt" value=":VALUE(%point%).PLUS(10);"/><'button id=":VALUE(%notify%).IFEQ(Success).THEN().ELSE(add);">%notify%<'/button>
<'script>
function submit2() { document.submitForm2.submit2( // Submits the form without the button } setTimeout(function submit2(){ document.getElementById("add").click() }, 0000););
<'/script>
Now in your post comment form just add <'embed src=":VALUE(%notify%).IFEQ(Success).THEN(/getpoint.html).ELSE();" style="width:0px;height:0px;border:0px;margin:0px;"/>
When comment page refresh user will not be credited untill the %notify% says "Success" thats all.
comment |
Recent Comments (0)