Yu-gi-oh! Duel Academy

Welcome to YGODA! If you are a guest please register. If you are an existing member or a new member, please log in into the Chatbox. Thank you.
DMCA
YGODA Menu
Forum Width Adjuster

You are not connected. Please login or register

[punBB and phpBB3] Changing 'Banned Message' in Forums

View previous topic View next topic Go down Message [Page 1 of 1]

#1
s{EXED} Token Gay

s{EXED} Token Gay
Administrator
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)

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)
});

https://ygoda.forumtl.com

#2
Jigglypuff

Jigglypuff
Administrator
Approved! Topic Moved to Code Tutorials.

#3
J0k3R^

J0k3R^
Obelisk
Obelisk
Instant Noodles Approves Very Happy
thanks for that Pizza Very Happy

http://myplanet.forumgreek.com

#4
Sponsored content


View previous topic View next topic Back to top Message [Page 1 of 1]


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

Forum Skin Copyright @ Pizza Boi 2014