How to remove "your message has been send"
4 posters
Page 1 of 1
How to remove "your message has been send"
Thanks, also a new question how do I remove this:
Enlarge this image
I don't want it, I want it to automatically leave a post. thanks.
Enlarge this image
I don't want it, I want it to automatically leave a post. thanks.
Re: How to remove "your message has been send"
Hello @Infamous✔,
See if this works :
Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In all the pages
Paste the code below and submit :
See if this works :
Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In all the pages
Paste the code below and submit :
- Code:
$("meta[http-equiv='refresh'][content]:first").each(function(){window.location.href=$(this).attr("content").replace(/^.*;url=/,"")});
Re: How to remove "your message has been send"
This seems to be an Issue with phpBB2.
If you change your forum version to phpBB3, I've been using this code on two forums and works without fail.
If you change your forum version to phpBB3, I've been using this code on two forums and works without fail.
- Code:
if (/&p_vote=/.test(window.location)) history.go(-1);
;$("meta[http-equiv='refresh'][content]:first").each(function(){window.location.href=$(this).attr("content").replace(/^.*;url=/,"")});
inallsorts- Forumember
- Posts : 246
Reputation : 8
Language : English
Re: How to remove "your message has been send"
Infamous✔ wrote:Wierd, it didn't work.
I'm trying to understand how this or other code posted here do not work for you!
See my code running in the browser console in a phpBB2 forum:
Observe what was marked!
And what would this issue?!inallsorts wrote:This seems to be an Issue with phpBB2.
There are no differences in this part of HTML, see image below phpBB2 version and compare with other versions:
Edit:
Make a new test with the code below with placement in all pages:
- Code:
var _bodyExist = setInterval(function() {
if (document.getElementsByTagName("body") !== null) {
clearInterval(_bodyExist);
var aMeta = document.getElementsByTagName('meta'),
index = 0,
len = aMeta.length;
for (; index < len; index++) {
if (aMeta[index].httpEquiv == "refresh") {
location.href = aMeta[index].content.replace(/^.*;url=/, "");
}
}
}
}, 25);
JS
Re: How to remove "your message has been send"
JScript wrote:And what would this issue?!inallsorts wrote:This seems to be an Issue with phpBB2.
There are no differences in this part of HTML, see image below phpBB2 version and compare with other versions:
JS
This Issue being the JavaScript code not taking effect (In this case), In the OP's forum version being phpBB2. Explain why the JS doesn't work?
It's a simple equation, change the forum version to phpBB3 and the problem's solved
inallsorts- Forumember
- Posts : 246
Reputation : 8
Language : English
Similar topics
» [ONLY TOPIC] Roundcube webmail does not work
» Remove, "The author of this message was banned from the forum - See the message"
» how can i send message to members?
» How to send a mass private message?
» Move chat send message to the bottom.
» Remove, "The author of this message was banned from the forum - See the message"
» how can i send message to members?
» How to send a mass private message?
» Move chat send message to the bottom.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum