Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Center or remove - Forum Title & Welcome Message Details »»
Center or remove - Forum Title & Welcome Message
Version: 1.2, by OldSchoolDSL OldSchoolDSL is offline
Developer Last Online: Jul 2017 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.1.0 Rating:
Released: 01-24-2011 Last Update: Never Installs: 82
Template Edits
Re-useable Code Translations  
No support by the author.

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:
Originally Posted by wolfey View Post
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

Screenshots

File Type: jpg Untitled.jpg (32.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
bp323

Comments
  #42  
Old 01-27-2012, 03:33 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tr4visT View Post
Copied and pasted it, cleared cache again and rebuilt it. Still no luck and unfortunately CompleteVB is not proving to have the best customer service. I have been trying to get my login info sent out for 3 days, their "forgot your username & password" does not work... Odd that the change to delete the house and forum worked but removing the Welcome box does not.
I'm sorry to hear this. Sadly, I do not think I can help you further since this does work on every other theme I have tried.

It is either something about the custom work done with that paid theme or another modification.
Reply With Quote
  #43  
Old 01-27-2012, 10:16 AM
Kevlar21 Kevlar21 is offline
 
Join Date: Jun 2010
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Somehow I can remove everything except the word "Forum"
any ideas?
Reply With Quote
  #44  
Old 01-27-2012, 12:04 PM
Tr4visT Tr4visT is offline
 
Join Date: Dec 2011
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=OldSchoolDSL;2292932]I'm sorry to hear this. Sadly, I do not think I can help you further since this does work on every other theme I have tried.

Got it, OldSchool its my fault I thought we were talking about this box...

I wasn't noticing the lower one had actually disappeared.

Reply With Quote
Благодарность от:
OldSchoolDSL
  #45  
Old 01-27-2012, 03:11 PM
Kevlar21 Kevlar21 is offline
 
Join Date: Jun 2010
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So does anyone know how to remove this "Forum" text?
Reply With Quote
  #46  
Old 01-28-2012, 03:25 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tr4visT View Post
Quote:
Originally Posted by OldSchoolDSL View Post
I'm sorry to hear this. Sadly, I do not think I can help you further since this does work on every other theme I have tried.
Got it, OldSchool its my fault I thought we were talking about this box...

I wasn't noticing the lower one had actually disappeared.

I lol`d

The highlighted part you're looking to remove seems to be an notice. This modification doesn't remove those. I was going crazy wondering why you were having such a hard time.

Good to know you have it all working for you now

FYI: To change, edit, add or remove an notice. Which you seem to be looking to do... vBulletin already has a built in setting for this.

AdminCP > Notice > Notice Manager OR Add New Notice (depending on what you want to do)
Reply With Quote
  #47  
Old 01-28-2012, 03:31 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kevlar21 View Post
So does anyone know how to remove this "Forum" text?
You can't without removing your breadcrumb which would affect the rest of your site.

However, if you really, really, want to try that ........

I don't advise this, but since you asked...

Ignore the steps in my 1.1 update and when you find this

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
Wrap the whole thing around with this

PHP Code:
<vb:comment> </vb:comment
When done it will look like this

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:raw navbits.breadcrumb
        {
vb:raw navbits.lastelement} </vb:comment
Remember, you do this on your own risk. I suggest you backup 1st.
Reply With Quote
  #48  
Old 01-28-2012, 03:38 AM
Kevlar21 Kevlar21 is offline
 
Join Date: Jun 2010
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, OldSchoolDSL
Reply With Quote
Благодарность от:
OldSchoolDSL
  #49  
Old 01-28-2012, 03:49 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kevlar21 View Post
Thanks, OldSchoolDSL
You're welcome. Please remember to mark installed.

FYI: Some people report removing your breadcrumbs can affect your SEO rating. Just so you know.

Either way, glad I could help
Reply With Quote
Благодарность от:
Kevlar21
  #50  
Old 01-29-2012, 02:56 AM
gamersplatoon gamersplatoon is offline
 
Join Date: Oct 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the difference between this and notice?
Reply With Quote
  #51  
Old 01-29-2012, 07:37 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gamersplatoon View Post
What's the difference between this and notice?
See screen shot

This modification allows you to either center or remove the standard Forum Title & Welcome Message. It also explains how you can fix the grammar of that notice, if required & desired. Currently, there is no vBulletin option to do this.


A notice can be managed through your Administrator Control Panel. This modification has nothing to do with them. But you can learn more about them by following this link to The vBulletin User Manual = https://www.vbulletin.com/docs/html/notices
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04932 seconds
  • Memory Usage 2,392KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (14)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete