The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
When you set your forum to close and set a message, it shows:
vBulletin Message YOUR FORUM CLOSED MESSAGE GOES HERE How do we edit that template? I want that page to remove some of the codes that the forum use? For instance, we use a donation system and even that page shows the donation link. We also want the navbar taken off. Also.. I want that one file to use a certain style, not dependant on what style the rest of the site is using.. Any help? |
#2
|
||||
|
||||
![]()
To find the template used - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.
To edit that message, vboptions > Turn your board on/off > Reason For Turning Forum Off |
#3
|
|||
|
|||
![]()
The template is called STANDARD_ERROR
What I can't understand is that it is the message for when you are not logged in / have permission to post. When I removed $navbar and $footer from the template, it updated the Forum Closed message. However, I can't see any placeholders where I can edit the message box itself - NOT the content of the message. I want to have a totally custom Forum Closed page which I would do with HTML, but its just finding where / how to edit the template. |
#4
|
||||
|
||||
![]()
I don't understand what you mean "edit the message box itself". If you want something different for when the board is closed, you may edit global.php to use another template (check the function standard_error in functions.php around line 2610 and you'll see how to pass another template to use).
|
#5
|
|||
|
|||
![]()
I can't seem to find functions.php lol.
My global.php only has 1100 lines ![]() |
#6
|
|||
|
|||
![]() |
#7
|
|||
|
|||
![]()
Thanks for that.
Although that doesn't seem to be helping me. |
#8
|
||||
|
||||
![]()
Maybe if you describe more what you are looking to do, it would be easier to help.
The functions.php page is in your /includes directory. It is the file I was saying to check around line 2610. global.php is in your forums directory and that is where the standard_error function gets called from and where you can modify that call to use a different template. See the function in functions.php to see how to call the other template. |
#9
|
|||
|
|||
![]()
The custom Board_Closed template will allow you to do whatever you wish.
You can customize it to suit your needs. The navbar will not be shown. The exclusion of $footer will stop anyone changing style. You could even create a new custom template and include that if you wish. EDIT** See attached. Our board closed message. This is all that shows. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|