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 Script Warning for Locked Topics is not working for some reason

2 posters

Go down

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

Post by Michael_vx Sat 18 Jun - 20:39

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 : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

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

Post by Michael_vx Mon 20 Jun - 5:36

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
Michael_vx
Michael_vx
Forumember

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

Back to top Go down

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

Post by SLGray Mon 20 Jun - 11:03

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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum