Back to vBulletin 4.x Template Modifications

Center or remove - Forum Title & Welcome Message
Mod Version: 1.2, by OldSchoolDSL

vB Version: 4.1.0 Rating: (16 votes - 4.75 average) Installs: 82
Released: 25 Jan 2011 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

This small modification will allow you to either center or removed vBulletin's small default forum title & welcome message.

Credit goes to myself & CoreyLTH

You should always BACKUP your database before making changes.

To Center:


In ForumHome look for

PHP Code:
<div id="pagetitle"
<
h1>{vb:raw vboptions.bbtitle}</h1>
<
p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</
div
Replace with:

PHP Code:
<center> <div id="pagetitle"
        <
h1>{vb:raw vboptions.bbtitle}</h1
        <
p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p
    </
div> </center
To Remove:


In FORUMHOME

Look for:

PHP Code:
<div id="pagetitle"
<
h1>{vb:raw vboptions.bbtitle}</h1>
<
p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</
div
And wrap it around wih

PHP Code:
<vb:comment>  </vb:comment
So when done it will look like

PHP Code:
<vb:comment> <div id="pagetitle"
<
h1>{vb:raw vboptions.bbtitle}</h1>
<
p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</
div>  </vb:comment

v1.1 = UPDATE 02-23-2011

Quote by wolfey
Now if I can also get rid of that House and "Forum" I'd be happy too!

IMPORTANT: Always backup your database before making any edits.

In navbar look for:

PHP Code:
<ul class="floatcontainer">
        <
li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>

        {
vb:raw navbits.breadcrumb}
        {
vb:raw navbits.lastelement}
    </
ul
READ CLOSELY:

Wrap everything around it with

PHP Code:
<vb:comment> </vb:comment
except for

PHP Code:
{vb:raw navbits.breadcrumb
So the surrounding code will look like this when done....

PHP Code:
<vb:comment> <ul class="floatcontainer">
        <
li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li> </vb:comment>

        {
vb:raw navbits.breadcrumb}
        <
vb:comment> {vb:raw navbits.lastelement}
    </
ul> </vb:comment
This will remove the "Home" icon and the word "Forum" on your Forum Homepage, but still keep your quick navigation links within your forums.

Optional - Grammar correction

This really will depend on your own liking and the name of your site. Bit if you want to change the welcome message from,

"Welcome to the X"

And change it to

"Welcome to X"

Go to:

AdminCP > Languages & Phrases > Search in Phrases

Search for

PHP Code:
welcome_to_the_x 
Using the Phrase Text and Phrase Variable Name search, option.

There should only find 1 per language installed

Change it to

PHP Code:
PHP Code:
Welcome to {1

If you're tired of vBulletin you should upgrade to Woltlab Burning Board http://www.woltlab.com

Download

No files for download.

Screenshots

Click image for larger version
Name:	Untitled.jpg
Views:	2652
Size:	32.1 KB
ID:	126057  

Similar Mods

Remove Title & Message Icon From Replies vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024