Home » Wapka Codes 2021 » how to banned user from posting again in newsfeed.
mario 3 years ago |
Very easy, create page called banned list... Add User Editor code:
configuration:
userid > :POST(id);
set_role > :POST(access);
Then code box: Enter Userid:<*input type="text" name="id"/><br>Select access: <*select name="access"><*option value="Banned">Banned These Userid<*/option><*option value="Member">Unbanned These Userid<*/option><*/select>
<*button>Saved Condition<*/button>
%notify%
Remember only admin it should be visible too.
Now lets start main condition or funtion code in newsfeed creator code! edit the Code Rule :VAR(USER_ROLE).IFEQ(Banned).THEN(#DISABLE#);
Now lets informed the user that he or she is banned from posting again for violenting the rule you quoted lol... :D okay.
Add new fresh Tag code with these text inside it. <*div -your angry div->Dear :VAR(USER_NAME);,you are banned to post news in these site anymore.. next time try to obey rule of any site. we will unbanned you after few weeks... chat friends online untill we unbanned you. Thanks<*/div> These code is created. Now edit these code Rule: :VAR(USER_ROLE).IFEQ(Banned).THEN(#ENABLE#).ELSE(#DISABLE#);
be carefull cuz these coding need metal reasons. not functional reasons lol
configuration:
userid > :POST(id);
set_role > :POST(access);
Then code box: Enter Userid:<*input type="text" name="id"/><br>Select access: <*select name="access"><*option value="Banned">Banned These Userid<*/option><*option value="Member">Unbanned These Userid<*/option><*/select>
<*button>Saved Condition<*/button>
%notify%
Remember only admin it should be visible too.
Now lets start main condition or funtion code in newsfeed creator code! edit the Code Rule :VAR(USER_ROLE).IFEQ(Banned).THEN(#DISABLE#);
Now lets informed the user that he or she is banned from posting again for violenting the rule you quoted lol... :D okay.
Add new fresh Tag code with these text inside it. <*div -your angry div->Dear :VAR(USER_NAME);,you are banned to post news in these site anymore.. next time try to obey rule of any site. we will unbanned you after few weeks... chat friends online untill we unbanned you. Thanks<*/div> These code is created. Now edit these code Rule: :VAR(USER_ROLE).IFEQ(Banned).THEN(#ENABLE#).ELSE(#DISABLE#);
be carefull cuz these coding need metal reasons. not functional reasons lol
comment |