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
2 posters

    the Script Warning for Locked Topics is not working for some reason

    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved the Script Warning for Locked Topics is not working for some reason

    Post by Michael_vx June 19th 2016, 4:39 am

    the Script Warning for Locked Topics is not working for some reason
    https://help.forumotion.com/t137157-warning-for-locked-topics
    i did a test and i find out its no longer appear could someone tell me what happen
    Shocked
    thanks
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: the Script Warning for Locked Topics is not working for some reason

    Post by Michael_vx June 20th 2016, 1:36 pm

    hi i was able to solve this problem some how
    this work is not belong to me but did a help
    this the way solved my one

    Code:
    $(document).ready(function(){
        $('#page-body').has('#i_reply[alt="هذا الموضوع مغلق. لا تستطيع الرد
    أو تعديل الموضوع!"]').find('td.nav').closest('table').before('
        <center>
    <div
        class="topic-warning-block" align="center">نعتزر/ الموضوع&nbsp;هذا&nbsp;
        مغلق</div>
        </center>
        ');
        });

    my be for English it should be the same old Script or try this one

    Code:
    $(document).ready(function(){
     Â   $('#page-body').has('#i_reply[alt="locked"]').find('td.nav').closest('table').before('
     Â   <center>
    <div
     Â   class="topic-warning-block" align="center">We\'re sorry but this topic is locked.</div>
     Â   </center>
     Â   ');
     Â   });

    i hope that help others as well

    for stuff please save this topic as solved thank you
    SLGray
    SLGray
    Administrator
    Administrator


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

    Solved Re: the Script Warning for Locked Topics is not working for some reason

    Post by SLGray June 20th 2016, 7:03 pm

    Thanks for posting the solution.

    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules



    the Script Warning for Locked Topics is not working for some reason  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, 7:40 pm