vBulletin Modifications

Use a heading across from logo to show page title with conditionals

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 09-27-2006, 12:04 AM   #1
eJM
Senior Citizen
eJM's Avatar
Join Date: Oct 2004
Real Name: Jim McClain
Location: teh Ether
eJM is on a distinguished road

Default Use a heading across from logo to show page title with conditionals
Version: 3.6.x
Hack Category: Mini Mods

Hi,

The style I use for my website and forum has the site title in bold letters, "The Floor Pro Community". See it on any page of www.thefloorpro.com in the upper right corner. The code in that part of the page is currently:
You must first be a registered member to view any code.
I want to do a couple of things differently than this. First, I want to make that an H1 heading. Second, I want to use conditionals to govern what gets displayed there -- the bbtitle, the page title, the forum category title, the thread title -- like that. I only want one title to show.

I don't know how conditionals work. I have tried a couple of things, mimicking what I have found in the <title> tags and trying to use <else /> to use the bbtitle if there is no other title available, but no joy. I either get a blank area or only the bbtitle.

I also am not sure what effect applying a header tag would have. I want to make the titles work and then use H1 for that area and some of the other header tags (h2, h3, etc.) in other areas of the page.

Any help would be appreciated.

Jim
__________________
Always a work in progress:
TheFloorPro.com - GrumpsPlace.com - 1FootInTheGrave.com - enterpriseJM.com - JMFloorCovering.com




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 09-29-2006, 06:01 PM   #2
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

I believe this was answered over at vborg.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-29-2006, 07:17 PM   #3
eJM
Senior Citizen
eJM's Avatar
Join Date: Oct 2004
Real Name: Jim McClain
Location: teh Ether
eJM is on a distinguished road

Default

Yes, there is a discussion at vBorg, but it is on-going. http://www.vbulletin.org/forum/showthread.php?t=127678

I will update this topic when I learn more. David Chapman, of Zoints, has been very helpful and others have added to the discussion as well. I'm still waiting to learn how to do the conditionals for my vBadvanced generated pages.

R'gards,

Jim




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-02-2006, 04:58 AM   #4
eJM
Senior Citizen
eJM's Avatar
Join Date: Oct 2004
Real Name: Jim McClain
Location: teh Ether
eJM is on a distinguished road

Default

David came through in a great way. I slightly customized his code for my own purposes and it shows the title of the page on all of my vBadvanced generated pages, as well as the forum and thread pages. It's a great way to add H1 tags to the website. Here is the code I used:
You must first be a registered member to view any code.
Thanks again to David Chapman, of Zoints, and all the other participants who were interested in this.

Best R'gards,

Jim




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Site For Sale] http://www.logo-monster.com Nick R Sell Your Site 5 09-27-2006 01:11 PM


All times are GMT -3. The time now is 02:24 AM.


SEO by vBSEO 3.2.0 RC8 ©2008, Crawlability, Inc. (Patent Pending)