GOOD GOOD!
Hello! I recently on this technical support forum, since I worked for a long time with Russian technical support, but the time is changing, and I decided to go out into the light.
I want to offer you a good script that can change the page design, and, gosh, you can even add other scripts to run on the right page using this script!
This will help you to diversify the design of your forum, and even if you do not have access to the desired page, now you can do everything easily!
ACP(Admin Control Panel) > Modules > HTML & JAVASCRIPT > Javascript codes management > Javascript codes management
Title: Whatever you like
Placement: All pages.
1. Insert your code.
2. Put your link. You need to take not the whole link, but the end of the link of the page you want to change.
Full link: http://4enris.profiforum.ru/g7-group
Take the end: g7-group
Simple example of changing the general background of the page and header settings for changing the design for the page of group 7:
Script for all versions of the working:
CSS settings for different versions except phpbb2:
phpbb3
modernBB
punbb
invision
awesomebb
That's all!
If you have questions, please contact!
Works for all versions. Pick up just the settings correctly.
Hello! I recently on this technical support forum, since I worked for a long time with Russian technical support, but the time is changing, and I decided to go out into the light.
I want to offer you a good script that can change the page design, and, gosh, you can even add other scripts to run on the right page using this script!
This will help you to diversify the design of your forum, and even if you do not have access to the desired page, now you can do everything easily!
ACP(Admin Control Panel) > Modules > HTML & JAVASCRIPT > Javascript codes management > Javascript codes management
Title: Whatever you like
Placement: All pages.
- Code:
jQuery(document).ready(function($) {
if (window.location.href.indexOf("your_link") > -1) {
//you script
}
});
1. Insert your code.
2. Put your link. You need to take not the whole link, but the end of the link of the page you want to change.
Full link: http://4enris.profiforum.ru/g7-group
Take the end: g7-group
Simple example of changing the general background of the page and header settings for changing the design for the page of group 7:
Script for all versions of the working:
- Code:
jQuery(document).ready(function($) {
if(window.location.href.indexOf("g7-group")>-1){
jQuery("body").addClass("darkbody")}
});
CSS settings for different versions except phpbb2:
phpbb3
- Code:
.darkbody {
background-color: green;
}
.darkbody .headerbar {
background-color: #222;
width: 100%;
height: 400px;
}
modernBB
- Code:
.darkbody {
background-color: green;
}
.darkbody .headerbar {
background-color: #222;
width: 100%;
height: 400px;
}
punbb
- Code:
.darkbody {
background-color: green;
}
.darkbody #pun-intro {
background-color: #00ec3e;
width: 100%;
height: 400px;
}
invision
- Code:
.darkbody {
background-color: green;
}
.darkbody #logostrip {
background-color: #1372f3;
width: 100%;
height: 400px;
}
awesomebb
- Code:
.darkbody {
background-color: green;
}
.darkbody #header-banner {
background-color: #e5e6e6;
width: 100%;
height: 400px;
}
That's all!
If you have questions, please contact!
Works for all versions. Pick up just the settings correctly.
Last edited by Storyteller of Wonderland on Sun 09 Jun 2019, 17:54; edited 1 time in total (Reason for editing : addition script more accurate examples)