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
  #12  
Old 02-25-2011, 06:42 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome,works great and looks way better..thanks for this OldSchoolDSL mate
Reply With Quote
  #13  
Old 02-25-2011, 08:11 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mate,just got rid of the house and forum bit too and that is sweet ...thank you !!!

votes = 5 stars !!!!!!
Reply With Quote
  #14  
Old 03-06-2011, 05:27 PM
davidg davidg is offline
 
Join Date: Apr 2010
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice mod now my board looks better
Reply With Quote
  #15  
Old 03-06-2011, 06:02 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by davidg View Post
very nice mod now my board looks better
I'm glad you like it and that its working for you.

* Please remember to click installed. I keep track and update modifications based on member feedback and on how many find it useful.
Reply With Quote
  #16  
Old 03-07-2011, 01:23 AM
alaska_av8r alaska_av8r is offline
 
Join Date: Dec 2009
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love the idea but when I did it to my forums it did some bad things that maybe you can help me with:

look here: http://www.boatinghowto.com/showthre...rbor-Boat-Show

My Join us on facebook, youtube and twitter were put in my advertising slot and it jammed them up against my breadcrumbs on the same line.

Can you help?

tim
Reply With Quote
  #17  
Old 03-07-2011, 02:02 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alaska_av8r View Post
I love the idea but when I did it to my forums it did some bad things that maybe you can help me with:

look here: http://www.boatinghowto.com/showthre...rbor-Boat-Show

My Join us on facebook, youtube and twitter were put in my advertising slot and it jammed them up against my breadcrumbs on the same line.

Can you help?

tim
Sorry, but that is another modification and outside the realm of support for this modification.

My best guess is you want to use the "center" option and not the remove option for your Forum Title & Welcome Message. You should (maybe) able to still remove the "House" icon and the word "Forum" though (maybe).
Reply With Quote
  #18  
Old 03-07-2011, 09:31 PM
alaska_av8r alaska_av8r is offline
 
Join Date: Dec 2009
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The links instead of an advertisement aren't a modification, or at least to me they aren't. Instead of html opening a graphic for an advertisement, the html just says join us at...blah blah...So I am assuming that if I did have an advertisement it would do the same thing.

It did not do this until I edited the code as you described, so that code edit is the causing factor.

But you can disregard the assistance, I will put the original code back in.

thanks anyway.
Reply With Quote
  #19  
Old 03-09-2011, 10:40 AM
beckham_250 beckham_250 is offline
 
Join Date: Dec 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks my friend
Reply With Quote
  #20  
Old 03-10-2011, 09:03 PM
JHayama JHayama is offline
 
Join Date: Feb 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Now if I can also get rid of that House and "Forum" I'd be happy too!
Is there also a way to get rid of that "Home" and arrow in the cms and "blog" and arrow in the blog?
Thanks
Reply With Quote
  #21  
Old 03-12-2011, 03:18 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JHayama View Post
Is there also a way to get rid of that "Home" and arrow in the cms and "blog" and arrow in the blog?
Thanks
Not without removing your quick navigation.
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 06:16 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.06083 seconds
  • Memory Usage 2,372KB
  • 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
  • (11)bbcode_php
  • (5)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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