Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 01-15-2011, 10:03 AM
MrMichigan MrMichigan is offline
 
Join Date: May 2008
Location: Michigan
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Is this possible?

Hi all,

I would like to know if it is possible to remove the word "Forum" JUST on the forum.php page? The word forum is located in this image below. I want the house image gone too. If so, what html code do I delete to remove it. I thought it would be in the forumhome template section some where.



NOTE: I still want that "forum" word and house image to show up on the other pages with the link words next to it when you you click a category in the forum itself. I have vbadvanced and this "Forum" word is messing up my home page.

Also if you guys do not mind, where is the link color and hover link color for the word "Home" you see in that image? That word "Home" used to be "Forum" word on the default vb 4 skin.

Thank you,
Tony

--------------- Added [DATE]1295095846[/DATE] at [TIME]1295095846[/TIME] ---------------

Me again. I have a couple of other things that got taken out when I added this new skin that I need help to put back on.

When you look at that image above, you will see that blue cell with the wording link of "Today's Posts" and it has other links beside it that you do not see in this image.

This skin took out the login information that showed up on the header. When you login other links would show up saying "Log Out" and "User CP". I know what template to go to place these links in that blue cell. But I do not know the code to use to have this show up in that blue cell.

Can any of you be so kind to take the time to copy and paste the html code that I need to put in the navbar template to have it show up the "User CP" and the "log out" link on this blue cell when a user logins? Register link would be nice to add to this too.

Thank you,
Reply With Quote
  #2  
Old 01-15-2011, 04:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can always find the default template code by clicking on the link that says "Show Default" in the modified template.

To remove the house/forum on just the index.php page, put a condition around the breadcrumbs (navbar template by default) to not show on that page:
HTML Code:
<vb:if condition="THIS_SCRIPT != 'index'">breadcrumb code</vb:if>
Reply With Quote
  #3  
Old 01-15-2011, 07:09 PM
MrMichigan MrMichigan is offline
 
Join Date: May 2008
Location: Michigan
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne

Thank you for this information. That is a good idea to look at the default setup. I will check that out.

I tried to put your code in first to see if that would work. But I am not sure how to put it in. Here is part of the html code I feel the house/forum link is located at in the navbar template. Now how would I place your code in there?

PHP Code:
<div class="cwrap">

<
div id="breadcrumb" class="breadcrumb">
    <
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>
    <
hr />
</
div

Thank you,
Reply With Quote
  #4  
Old 01-15-2011, 07:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would put it around the whole breadcrumb div. So, around all that code but the top div.
Reply With Quote
  #5  
Old 01-15-2011, 10:03 PM
MrMichigan MrMichigan is offline
 
Join Date: May 2008
Location: Michigan
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne, thank you so much!! It work!

I hate to ask for more, but now I really need the same fix for each of my VBadvanced pages for I will not get a double page title that you see in the image below.



This page is located at http://www.gbgcommunity.com/gbg.php?page=PhotosVideos

Would I replace the "index" in your code with "gbg" to make this work some where?

Thank you,
Tony
Reply With Quote
  #6  
Old 01-15-2011, 10:31 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll need to ask for help with that from the vbadvanced guys cuz I have no idea what the condition would be for that.
Reply With Quote
  #7  
Old 01-16-2011, 10:52 AM
MrMichigan MrMichigan is offline
 
Join Date: May 2008
Location: Michigan
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne, I am here to let you know that a person on Vbadvanced website fix the other problem. Here is the code if someone else might bring this up to you. I had to use your code too; due to when I took your code out and just used his it brought back the word "Forum" on the index page. So here is the complete code to take care of it all.

HTML Code:
<vb:if condition="THIS_SCRIPT != 'index'"><div id="breadcrumb" class="breadcrumb"> 
<vb:if condition="THIS_SCRIPT != 'adv_index'">  

    <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><vb:else /><table height=10 border=0></table></vb:if> 
    <hr /> 
</div></vb:if> 
Again thank you for your support. It means a LOT!!

Thank you,
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:54 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.03759 seconds
  • Memory Usage 2,221KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete