Notifications
Clear all

wpForo 1.x.x [Closed] wpforo_notice_show()

2 Posts
2 Users
0 Reactions
1,333 Views
Posts: 533
Topic starter
(@central4allgmail-com)
Prominent Member
Joined: 6 years ago

Any clues what this might be:

<script type="text/javascript">
jQuery(document).ready(function($){
var wpforo_wrap = $('#wpforo #wpforo-wrap');
$(wpforo_wrap).on('click', '.attach_cant_view', function(){
wpforo_notice_show(
'<p>&Delta;&epsilon;&nu; έ&chi;&epsilon;&iota;&sigmaf; &tau;&alpha; &alpha;&pi;&alpha;&rho;&alpha;ί&tau;&eta;&tau;&alpha; &delta;&iota;&kappa;&alpha;&iota;ώ&mu;&alpha;&tau;&alpha; !
&Gamma;ί&nu;&epsilon; &mu;έ&lambda;&omicron;&sigmaf;!'
);
});
})
</script>

 

What does the wpforo_notice_show() function supposed to do?

1 Reply
Alvina
Posts: 1862
Moderator
(@alvina)
Member
Joined: 5 years ago

Hi @central4allgmail-com,

The wpforo_notice_show() function shows the notification if, for some reason, the users are not allowed to attach files. For example, if the "Can Attach file" permission is disabled for the guest, registered users, etc.