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

Go down

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

Post by Michael_vx on 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
avatar
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 on 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
avatar
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 on June 20th 2016, 7:03 pm

Thanks for posting the solution.

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


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43479
Reputation : 3086
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


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