What happened to message page "Your message has been posted..."?
3 posters
Page 1 of 1
What happened to message page "Your message has been posted..."?
Hello,
Today I watched something strange while posting the message page "Your message has been posted..." is not displaying more. Is it a server problem? As I tested it the problem appearing in PunBB forum version.
Today I watched something strange while posting the message page "Your message has been posted..." is not displaying more. Is it a server problem? As I tested it the problem appearing in PunBB forum version.
Last edited by Black-Shadow on April 9th 2015, 12:39 am; edited 1 time in total
Re: What happened to message page "Your message has been posted..."?
Hi,
Have you added the following code to JS codes management ?
If so, that's why you're not seeing it.
Have you added the following code to JS codes management ?
- Code:
$('meta[http-equiv=\'refresh\'][content]:first').each(function () {
window.location.href = $(this).attr('content').replace(/^.*;url=/, '')
});
If so, that's why you're not seeing it.
Re: What happened to message page "Your message has been posted..."?
Hello Ange,
The js is not working, The problem is the message page not working correctly or working very fast. It displays a gray page for 1-2 seconds and then displays the post completely.
The js is not working, The problem is the message page not working correctly or working very fast. It displays a gray page for 1-2 seconds and then displays the post completely.
Re: What happened to message page "Your message has been posted..."?
I can't really say what the problem could be.
I'd recommend disabling JS code management, because something there could be causing it. Normally the page redirects in 2-3 seconds.
I'd recommend disabling JS code management, because something there could be causing it. Normally the page redirects in 2-3 seconds.
Re: What happened to message page "Your message has been posted..."?
Hello Ange,
Yes the problem seems solved when I am disabling the javascripts but I didn't add any new javascript yesterday which the problem appeared.
While looking the ipb profile javascript at the end of code I found a relative code with the problem, when I removed this part it is working normally but I don't know if this code will make other problem in the ipb profile javascript.
Here is the code:
Javascript:
Yes the problem seems solved when I am disabling the javascripts but I didn't add any new javascript yesterday which the problem appeared.
While looking the ipb profile javascript at the end of code I found a relative code with the problem, when I removed this part it is working normally but I don't know if this code will make other problem in the ipb profile javascript.
Here is the code:
Javascript:
- Code:
$("meta[http-equiv='refresh'][content]:first").each(function(){window.location.href=$(this).attr("content").replace(/^.*;url=/,"")});
Re: What happened to message page "Your message has been posted..."?
That automatically skips the message after posting. It loops all <meta> data. If it finds one with refresh it'll take the content URL and instantly redirect you to it.
Re: What happened to message page "Your message has been posted..."?
Ange what is it better to leave this part in js or remove it?
Re: What happened to message page "Your message has been posted..."?
If you prefer skipping the message, leave it. If not, remove it.
Re: What happened to message page "Your message has been posted..."?
Hi Ange,
Thank you very much it's solved.
Thank you very much it's solved.
Re: What happened to message page "Your message has been posted..."?
Topic solved and archived
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.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum