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)

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


All times are GMT. The time now is 04:29 AM.

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.01275 seconds
  • Memory Usage 1,799KB
  • 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
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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