The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

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

View previous topic View next topic 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
http://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
Forumember

Male Posts : 655
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

Michael_vx
Forumember

Male Posts : 655
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.


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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