vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Center or remove - Forum Title & Welcome Message (https://vborg.vbsupport.ru/showthread.php?t=257765)

OldSchoolDSL 01-27-2012 03:33 AM

Quote:

Originally Posted by Tr4visT (Post 2292913)
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.

Kevlar21 01-27-2012 10:16 AM

Somehow I can remove everything except the word "Forum"
any ideas?

Tr4visT 01-27-2012 12:04 PM

[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.

https://vborg.vbsupport.ru/

Kevlar21 01-27-2012 03:11 PM

So does anyone know how to remove this "Forum" text?

OldSchoolDSL 01-28-2012 03:25 AM

Quote:

Originally Posted by Tr4visT (Post 2293018)
Quote:

Originally Posted by OldSchoolDSL (Post 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.

http://rcwinnipeg.ca/image/Untitled1.jpg

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)

OldSchoolDSL 01-28-2012 03:31 AM

Quote:

Originally Posted by Kevlar21 (Post 2293075)
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.

Kevlar21 01-28-2012 03:38 AM

Thanks, OldSchoolDSL

OldSchoolDSL 01-28-2012 03:49 AM

Quote:

Originally Posted by Kevlar21 (Post 2293316)
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 :)

gamersplatoon 01-29-2012 02:56 AM

What's the difference between this and notice?

OldSchoolDSL 01-29-2012 07:37 PM

Quote:

Originally Posted by gamersplatoon (Post 2293676)
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

doctorsexy 02-03-2012 03:36 PM

Is it possible to remove the quick navigation links..thanks

OldSchoolDSL 02-03-2012 03:40 PM

Quote:

Originally Posted by doctorsexy (Post 2295734)
Is it possible to remove the quick navigation links..thanks

There is already a setting for this within vBulletin and so no modification is needed.

Admin CP -> vBulletin Options -> General Settings -> Use Quick Navigation Menu

doctorsexy 02-03-2012 05:57 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2295737)
There is already a setting for this within vBulletin and so no modification is needed.

Admin CP -> vBulletin Options -> General Settings -> Use Quick Navigation Menu

it dosnt do anything.. so if you had to take it out how would you do it....:D

OldSchoolDSL 02-03-2012 09:04 PM

Quote:

Originally Posted by doctorsexy (Post 2295779)
it dosnt do anything.. so if you had to take it out how would you do it....:D

I'd first make sure that any 3rd party modification wasn't dependent on the Quick Links Menu (which is what I am assuming your talking about).

To get rid of that menu once and for all though... (my code may have a few added tweaks since I do think I have 2 mods that add a link there)

Look for the following

PHP Code:

<li class="popupmenu">
                        <
a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>
                        <
ul class="popupbody popuphover">
                            {
vb:raw template_hook.navbar_quick_links_menu_pos1}
                            <
vb:if condition="$show['member']">
                                <
li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li>
                                <
li><a href="{vb:link subscription}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
                                <
li><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a></li>
                            </
vb:if>
                            {
vb:raw template_hook.navbar_quick_links_menu_pos2}
                            <
vb:if condition="$vboptions['forumleaders']">
                            <
li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
                                <
vb:if condition="$vb_suite_installed">
                                    {
vb:rawphrase view_site_leaders}
                                <
vb:else />
                                    {
vb:rawphrase view_forum_leaders}
                                </
vb:if>
                            </
a></li>
                            </
vb:if>
                            {
vb:raw template_hook.navbar_quick_links_menu_pos3}
                            <
vb:if condition="$show['wollink']">
                                <
li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
                            </
vb:if>
                            {
vb:raw template_hook.navbar_quick_links_menu_pos4}
                        </
ul>
                    </
li

Wrap it around with

PHP Code:

<vb:comment>  </vb:comment

So now when done it will look like

PHP Code:

<vb:comment> <li class="popupmenu">
                        <
a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>
                        <
ul class="popupbody popuphover">
                            {
vb:raw template_hook.navbar_quick_links_menu_pos1}
                            <
vb:if condition="$show['member']">
                                <
li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li>
                                <
li><a href="{vb:link subscription}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
                                <
li><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a></li>
                            </
vb:if>
                            {
vb:raw template_hook.navbar_quick_links_menu_pos2}
                            <
vb:if condition="$vboptions['forumleaders']">
                            <
li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
                                <
vb:if condition="$vb_suite_installed">
                                    {
vb:rawphrase view_site_leaders}
                                <
vb:else />
                                    {
vb:rawphrase view_forum_leaders}
                                </
vb:if>
                            </
a></li>
                            </
vb:if>
                            {
vb:raw template_hook.navbar_quick_links_menu_pos3}
                            <
vb:if condition="$show['wollink']">
                                <
li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
                            </
vb:if>
                            {
vb:raw template_hook.navbar_quick_links_menu_pos4}
                        </
ul>
                    </
li> </vb:comment


dog-tag 05-05-2012 10:48 AM

Well written, and a nice clean hack. Thank you for taking the time to write this, you saved me alot of messy work.

OldSchoolDSL 05-25-2012 04:18 PM

Confirmed to still be working 4.2 :)

lazydesis 07-26-2012 06:38 AM

the home icon is removed...but the word forum is still present :)..How to remove it :p

hazem_aliraqi 07-26-2012 12:21 PM

I have another way and easy to center and modify the color and font size
By using this code


PHP Code:

#pagetitle h1 {
color#004896;
text-aligncenter;
fontnormal normal bold 17px arial,TahomaCalibriVerdanaGenevasans-serif;
}

#pagetitle .description {
colorinherit;
font-size16px;
text-aligncenter;
color#004896;



Daejeon 01-11-2013 04:07 AM

When I commented out the house and forum in the navbit it affected the alignment of my ad under the navbar. The ad was brought onto the same line as the navbits and the lastnavbit was no longer shown.

How can I resolve this issue?

sc1337 02-07-2013 05:04 PM

Hi everything works except when you go to albums the thumbnails are overlapping the tool bar. do you know how to fix that? thanks its version 4.2

Drucifer 02-11-2013 07:47 PM

I'm looking for ways to add a TimeAndDate.com countdown calendar to the header that is top of all my Mets Paradise forums.

The HTML code for the countdown calendar I customized is . . . .
PHP Code:

<iframe src="http://free.timeanddate.com/countdown/i3hziqy1/n179/cf100/cm0/cu3/ct4/cs1/ca0/cr0/ss0/cacfff/cpc000/pc039/tcfff/fs100/szw240/szh120/tatCiti%20Field%20Opening%20Game/tacf71/tptTime%20since%20Event%20started%20in/tpc000/matstarts%20in/macf71/mpc000/iso2013-04-01T13:10:00/bas7/bat4/bacf71" frameborder="0" width="254" height="134"></iframe

I would like the calendar box to appear in the upper left corner of the header. At the same height as the Welcome line.

craigvm 06-08-2013 03:42 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2165830)
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:

Delete everything there except for

PHP Code:

{vb:raw navbits.breadcrumb

So the surrounding code will look like this when done....

PHP Code:

<div id="breadcrumb" class="breadcrumb">
    

        {
vb:raw navbits.breadcrumb}
    <
hr />
</
div

This will remove the "Home" icon and the word "Forum" on your Forum Homepage, but still keep your quick navigation links within your forums.

FUN FACT: Removing this seems to speed up the page load. I would suspect its because it queries less in the CSS for browsers to decode.

just done this and it only got rid of the house image the word forum is still there

gariksher 06-18-2013 09:25 AM

Thanks, Installed!

illusioN-tEk 11-29-2014 08:32 PM

working for 4.2.2 :up:

kf4eok 12-05-2014 04:04 AM

Thanks for the great work to get this done. It sure makes the forum look much cleaner.
I am using VB 4.2.3 beta and this works great even with my custom style.
Thanks

OldSchoolDSL 07-17-2017 02:28 PM

No longer supported as I no longer use vBulletin having moved to both WoltLab Burning Board and Invision Power Board.

I give 100% permission to reuse, modify, improve, enhance, and redistribute this code as freeware to anyone, everyone, and everywhere.

Good luck :)

iamme_meisi 12-17-2017 06:04 AM

While this can be deemed as 'old' I'd like to thank you for the effort. I appreciate the time taken, and being able to remove the home button as well was just an added bonus.


All times are GMT. The time now is 01:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01559 seconds
  • Memory Usage 1,891KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (11)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete