problem with code Remove messages of a member
4 posters
Page 1 of 1
problem with code Remove messages of a member
problem with code Remove messages of a member
link
https://help.forumotion.com/t134526-remove-messages-of-a-member
the code say at my forum
my form phpbb2 Arabic
link
https://help.forumotion.com/t134526-remove-messages-of-a-member
the code say at my forum
and do nothing these words is not English so i dont understand what does it meanAucun message à supprimer
my form phpbb2 Arabic
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with code Remove messages of a member
The message means that there are no posts by the username you added.
Also did you change the number to your forum version?
Also did you change the number to your forum version?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: problem with code Remove messages of a member
ok is this means the PMs or the reply`s the username have like 319 posts but PMs i dont know the username is banded alreadySLGray wrote:The message means that there are no posts by the username you added to the code.
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with code Remove messages of a member
You have to add the username for the code to work.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with code Remove messages of a member
Yes the text is not in English it is in french The code should be fixed so you can Edit the text to your own language i will point this out to our Team
Thank you for pointing it out I will try and get Buttercup to fix this problem
Thank you for pointing it out I will try and get Buttercup to fix this problem
Re: problem with code Remove messages of a member
thanks in 1st for replyAPE wrote:Yes the text is not in English it is in french The code should be fixed so you can Edit the text to your own language i will point this out to our Team
Thank you for pointing it out I will try and get Buttercup to fix this problem
but im still talking about that the code wont remove and say that error even when i put the username and i hope if the language fixed the code get fixed and work
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with code Remove messages of a member
Hi Michael_vx,
Could you provide the username of the member whose messages you want to delete ? It would help in figuring out the problem.
Thanks.
Could you provide the username of the member whose messages you want to delete ? It would help in figuring out the problem.
Thanks.
Re: problem with code Remove messages of a member
hi ange i miss your textAnge Tuteur wrote:Hi Michael_vx,
Could you provide the username of the member whose messages you want to delete ? It would help in figuring out the problem.
Thanks.
the username used in the test
the link of my furomusername wrote:الفرعون العاشق
http;//micsoft.logu2.com
sorry for my delay
network still drop the most time
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with code Remove messages of a member
Try replacing your HTML page by :
- Code:
<script>var version_forum=0</script>
<script>function killall(c,a,b){c=c.replace(/(^\s*|\s*$)/g,"").replace(/\s+/g,'%20');var e=["#page-body span.postdetails b a","#main-content .search .postbody h2.h3 a","#main-content .posthead h2 a","#main-content .postbody-head h3 a"][version_forum];a=a||0;b=b||9E15;$.get("/spa/"+c,function(d){var i=1;d=$(e,d).filter(function(){return/^\/t[1-9][0-9]*(p[1-9][0-9]*)?-[^#]*#[1-9][0-9]*$/.test($(this).attr("href"))}).each(function(){var a=+$(this).attr("href").substr($(this).attr("href").indexOf("#")+1);if(a>b){return b=0,!1}i++;b=a;var x=b;setTimeout(function(){$.post("/post","p="+x+"&mode=delete&confirm=1")},400*i)}).length;a+=d;b?0==d?0==a?alert("No messages to delete"):alert(a+" message"+(1<a?"s":"")+" of "+c+" deleted"):setTimeout(function(){killall(c,a,b)},500+d*500):alert("You do not have permission to use this tool")})};</script>
<input /><input type="button" onclick="killall(this.previousSibling.value)" value="Delete all messages" />
Re: problem with code Remove messages of a member
nope this user still have his 319 post and its keep say no messages to deleteAnge Tuteur wrote:Try replacing your HTML page by :
- Code:
<script>var version_forum=0</script>
<script>function killall(c,a,b){c=c.replace(/(^\s*|\s*$)/g,"").replace(/\s+/g,'%20');var e=["#page-body span.postdetails b a","#main-content .search .postbody h2.h3 a","#main-content .posthead h2 a","#main-content .postbody-head h3 a"][version_forum];a=a||0;b=b||9E15;$.get("/spa/"+c,function(d){var i=1;d=$(e,d).filter(function(){return/^\/t[1-9][0-9]*(p[1-9][0-9]*)?-[^#]*#[1-9][0-9]*$/.test($(this).attr("href"))}).each(function(){var a=+$(this).attr("href").substr($(this).attr("href").indexOf("#")+1);if(a>b){return b=0,!1}i++;b=a;var x=b;setTimeout(function(){$.post("/post","p="+x+"&mode=delete&confirm=1")},400*i)}).length;a+=d;b?0==d?0==a?alert("No messages to delete"):alert(a+" message"+(1<a?"s":"")+" of "+c+" deleted"):setTimeout(function(){killall(c,a,b)},500+d*500):alert("You do not have permission to use this tool")})};</script>
<input /><input type="button" onclick="killall(this.previousSibling.value)" value="Delete all messages" />
im gonna try it on my English test forum and i will try find English username on my main form to test again
Edit
as the test on the English test forum with English Username
same thing come to me as the Arabic
is this for topics only or any post by the username im really confused
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with code Remove messages of a member
It could be that it has a problem with the username, I'm not exactly sure.
Try this :
Try this :
- Code:
<script> var version_forum=0 </script>
<script>function killall(c,a,b){c=c.replace(/(^\s*|\s*$)/g,"");var e=["#page-body span.postdetails b a","#main-content .search .postbody h2.h3 a","#main-content .posthead h2 a","#main-content .postbody-head h3 a"][version_forum];a=a||0;b=b||9E15;$.get("/spa/"+encodeURIComponent(c),function(d){var i=1;d=$(e,d).filter(function(){return/^\/t[1-9][0-9]*(p[1-9][0-9]*)?-[^#]*#[1-9][0-9]*$/.test($(this).attr("href"))}).each(function(){var a=+$(this).attr("href").substr($(this).attr("href").indexOf("#")+1);if(a>b){return b=0,!1}i++;b=a;var x=b;setTimeout(function(){$.post("/post","p="+x+"&mode=delete&confirm=1")},400*i)}).length;a+=d;b?0==d?0==a?alert("No messages to delete"):alert(a+" message"+(1<a?"s":"")+" of "+c+" deleted"):setTimeout(function(){killall(c,a,b)},500+d*500):alert("You do not have permission to use this tool")})};</script>
<input /><input type="button" onclick="killall(this.previousSibling.value)" value="Delete all messages" />
Re: problem with code Remove messages of a member
i give up may be the problem is with me
i dont know why its keep say no message to delete
i tried both arabic english usernames even the test english forum
and no power to turn on PC power outage like 12 hour every day
i dont know why its keep say no message to delete
i tried both arabic english usernames even the test english forum
and no power to turn on PC power outage like 12 hour every day
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with code Remove messages of a member
I will just add something the user name you put in the box must be spelt the same as on the profile So if it is Dave you have to make sure the name is Dave Not >> dave or it will not work at all it will say the name is not found
Re: problem with code Remove messages of a member
it say no message to delete not the name not foundAPE wrote:I will just add something the user name you put in the box must be spelt the same as on the profile So if it is Dave you have to make sure the name is Dave Not >> dave or it will not work at all it will say the name is not found
get it ? and the name is same
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with code Remove messages of a member
There is no need to be rude i was only tying to help with your problem..Michael_vx wrote:
it say no message to delete not the name not found
get it ?and the name is same
Re: problem with code Remove messages of a member
APE wrote:There is no need to be rude i was only tying to help with your problem..Michael_vx wrote:
it say no message to delete not the name not found
get it ?and the name is same
oh oh
was I rude ?
sorry
thought you read the whole problem
i aplogize again
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with code Remove messages of a member
hi i think there is no way to fix that
clean up the topic to grabag
thank you
clean up the topic to grabag
thank you
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with code Remove messages of a member
On request of the member I will lock and garbage this thread
sorry we could not fix this for you.APE.
Similar topics
» With this code you can change and delete only certain messages from chat?
» Problem with member of the month javascript code
» (former) (new problem) Avatar missing in member list (code issue)
» Reading Member Messages
» How to use code remove this ?
» Problem with member of the month javascript code
» (former) (new problem) Avatar missing in member list (code issue)
» Reading Member Messages
» How to use code remove this ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum