Posted Sat Apr 26, 2014 7:32 pm
Ever wondered how you can change the regular "You have been banned from this forum message"? Well, after myriads of experiments, I have developed a code (Checked by Ange Tuteur) that changes that very content.
[You must be registered and logged in to see this image.]
^ The above is an example.
It's rather simple, really. All you have to do is do the following:
Add this in: Administration Panel < Modules < Javascript Management < Make sure it is on < Create a new Javascript code < Title: Ban message < Tick: In all pages < Paste this before saving:
(This is for phpBB3 only)
(This is for punBB only)
[You must be registered and logged in to see this image.]
^ The above is an example.
It's rather simple, really. All you have to do is do the following:
Add this in: Administration Panel < Modules < Javascript Management < Make sure it is on < Create a new Javascript code < Title: Ban message < Tick: In all pages < Paste this before saving:
(This is for phpBB3 only)
- Code:
$(function() {
var banMSG = 'Game over';
$('.panel p:contains(You have been banned from this forum)').text(banMSG)
});
(This is for punBB only)
- Code:
$(function() {
var banMSG = 'Custom Ban Message';
$('.pun .main .main-content p.message(You have been banned from this forum)').text(banMSG)
});