I Need Help Pls

ukgamer

Well-known member
Trusted Uploader
Mar 7, 2019
2,061
1,143
113
EmbedWorld Movie API
embedworld.xyz
The plugin was designed to work in both automatic and manual modes. In automatic mode, the link to report will be added to post’s meta box. In manual mode, you can place the link, button or image anywhere you want in templates

Use manual mode for dooplay theme
 

cornivusTR

Active member
Mar 10, 2019
170
76
28
Turkey
animemodu.org
Manuel mode not working bro how to make?

This code not working:
<a href="#" post-id="<?php echo $post->ID; ?>" class="report-post-link">Report Inappropriate Post</a>
 

videva

Member
Aug 25, 2020
75
53
18
yes modal not showing how to fix problem can u help me?
form report
111.png

succes report
2222.png

just add this js to footer.php
JavaScript:
<script>
;(function($){
$('.report-post-link,.report-post-button,.report-post-custom-link,.report-post-custom-button').click(function(e)
{
    let parent = $('.remodal-wrapper.remodal-is-closed');
    parent.children(":first").removeClass("remodal");

});
})(jQuery);
</script>
 
  • Like
Reactions: zasso

cornivusTR

Active member
Mar 10, 2019
170
76
28
Turkey
animemodu.org
form report
111.png

succes report
2222.png

just add this js to footer.php
JavaScript:
<script>
;(function($){
$('.report-post-link,.report-post-button,.report-post-custom-link,.report-post-custom-button').click(function(e)
{
    let parent = $('.remodal-wrapper.remodal-is-closed');
    parent.children(":first").removeClass("remodal");

});
})(jQuery);
</script>
not working bro.
 

xpresotw

Well-known member
Trusted Uploader
May 13, 2019
289
420
63
Indonesia
after making any changes, make sure to clear your cache, or open in incognito to test it
 

videva

Member
Aug 25, 2020
75
53
18
not working bro.
click the link report then it will showing the modal.
HTML:
<a href="#" post-id="<?php echo get_the_ID(); ?>" class="report-post-link">Report Inappropriate Post</a>

and try clear your cache, for me its not working too the modal didn't showing up but after i add js to remove class remodal its working fine like in the screenshoot
3333333.png



here the new js add background color and padding
JavaScript:
<script>
;(function($){
$('.report-post-link,.report-post-button,.report-post-custom-link,.report-post-custom-button').click(function(e)
{
    let parent = $('.remodal-wrapper.remodal-is-closed');
    parent.children(":first").removeClass("remodal");
    parent.children(":first").css("background","#fff");
    parent.children(":first").css("padding","5px");

});
})(jQuery);   
</script>

//or you can try this
<script>

$('.report-post-link,.report-post-button,.report-post-custom-link,.report-post-custom-button').click(function(e)
{
    let parent = $('.remodal-wrapper.remodal-is-closed');
    parent.children(":first").removeClass("remodal");
    parent.children(":first").css("background","#fff");
    parent.children(":first").css("padding","5px");

});
  
</script>
 
Last edited:

cornivusTR

Active member
Mar 10, 2019
170
76
28
Turkey
animemodu.org
click the link report then it will showing the modal.
HTML:
<a href="#" post-id="<?php echo get_the_ID(); ?>" class="report-post-link">Report Inappropriate Post</a>

and try clear your cache, for me its not working too the modal didn't showing up but after i add js to remove class remodal its working fine like in the screenshoot
3333333.png



here the new js add background color and padding
JavaScript:
<script>
;(function($){
$('.report-post-link,.report-post-button,.report-post-custom-link,.report-post-custom-button').click(function(e)
{
    let parent = $('.remodal-wrapper.remodal-is-closed');
    parent.children(":first").removeClass("remodal");
    parent.children(":first").css("background","#fff");
    parent.children(":first").css("padding","5px");

});
})(jQuery);  
</script>

//or you can try this
<script>

$('.report-post-link,.report-post-button,.report-post-custom-link,.report-post-custom-button').click(function(e)
{
    let parent = $('.remodal-wrapper.remodal-is-closed');
    parent.children(":first").removeClass("remodal");
    parent.children(":first").css("background","#fff");
    parent.children(":first").css("padding","5px");

});
 
</script>
not working bro.
 

Forum statistics

Threads
69,307
Messages
908,836
Members
237,905
Latest member
deguy

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu