The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    What happened to message page "Your message has been posted..."?

    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved What happened to message page "Your message has been posted..."?

    Post by Van-Helsing April 6th 2015, 10:19 pm

    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.


    Last edited by Black-Shadow on April 9th 2015, 12:39 am; edited 1 time in total
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: What happened to message page "Your message has been posted..."?

    Post by Ange Tuteur April 6th 2015, 10:50 pm

    Hi,

    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.
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: What happened to message page "Your message has been posted..."?

    Post by Van-Helsing April 6th 2015, 10:57 pm

    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.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: What happened to message page "Your message has been posted..."?

    Post by Ange Tuteur April 7th 2015, 5:04 am

    I can't really say what the problem could be. blackeye

    I'd recommend disabling JS code management, because something there could be causing it. Normally the page redirects in 2-3 seconds.
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: What happened to message page "Your message has been posted..."?

    Post by Van-Helsing April 7th 2015, 11:02 am

    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:
    Code:

        $("meta[http-equiv='refresh'][content]:first").each(function(){window.location.href=$(this).attr("content").replace(/^.*;url=/,"")});
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: What happened to message page "Your message has been posted..."?

    Post by Ange Tuteur April 7th 2015, 10:26 pm

    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.
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: What happened to message page "Your message has been posted..."?

    Post by Van-Helsing April 8th 2015, 1:38 am

    Ange what is it better to leave this part in js or remove it?
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: What happened to message page "Your message has been posted..."?

    Post by Ange Tuteur April 8th 2015, 11:48 pm

    If you prefer skipping the message, leave it. If not, remove it. Wink
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: What happened to message page "Your message has been posted..."?

    Post by Van-Helsing April 9th 2015, 12:40 am

    Hi Ange,
    Thank you very much it's solved. Smile
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: What happened to message page "Your message has been posted..."?

    Post by SLGray April 9th 2015, 12:45 am

    Topic solved and archived



    What happened to message page "Your message has been posted..."? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is November 11th 2024, 8:29 pm