Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 09-28-2006, 08:54 PM
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Location: teh Ether
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DChapman
Jim,

Just a quick update. I'm sure we can get that working as desired. However, my schedule today is rather hectic. I'll try to get something to you by late this evening. My apologies for the delay.

In the meantime, give my second method a shot. I think you might be pleasantly surprised and the additional processing isn't that bad. I'd install it on my forum and i'm very anal about such things.
Jeez, all these replies are keepin' me busy. Thanks everyone.

David, thanks very much. I understand a busy schedule and very much appreciate you volunteering your time on this. No rush. I don't know what the hell I'm gonna do the next time I wanna join a discussion about Zoints (oh God, I said the whole thing). I might have to adjust my personal opinion about you (maybe - and don't expect much as far as Zoints is concerned ).

It's good to hear that the second method isn't too processor intensive, but I am still very hesitant to copy the document titles in total. Just too long:

Imagine a somewhat long thread/article title here, then - The Floor Pro Community

But maybe there is a way to add conditions to that too. I'll wait patiently. Thanks again.

Jim
Reply With Quote
  #12  
Old 09-29-2006, 09:20 PM
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Location: teh Ether
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope bumps are allowed. I'm still hoping to learn how to add conditionals that will display the page title of my vBadvanced pages. Everything else works good.

Thanks,

Jim
Reply With Quote
  #13  
Old 09-29-2006, 10:43 PM
Zoints Zoints is offline
 
Join Date: Feb 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't forget about you Jim. If nobody else gets it to you first, i'll try ASAP. Sorry for the delay.
Reply With Quote
  #14  
Old 09-30-2006, 12:08 AM
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Location: teh Ether
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's okay. I just didn't want to see the topic get buried on the second or third page. Thanks for your continued interest in this.

Jim
Reply With Quote
  #15  
Old 09-30-2006, 09:48 AM
Zoints Zoints is offline
 
Join Date: Feb 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the delay Jim.

You can include the page title of the vBAdvanced CMPS by changing:

HTML Code:
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase>
to
HTML Code:
<if condition="THIS_SCRIPT == 'adv_index' AND ($pagetitle = $GLOBALS['pages']['title']) !== ''">
	$pagetitle
<else />
	<phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase>
</if>
Since the $pagetitle variable isn't set at the time $header is evaluated, you'll have to use some trickery in order to access the module 'page' title info. (As you can see in the second part of the conditional)
Reply With Quote
  #16  
Old 09-30-2006, 03:56 PM
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Location: teh Ether
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DChapman
Sorry for the delay Jim.

Since the $pagetitle variable isn't set at the time $header is evaluated, you'll have to use some trickery in order to access the module 'page' title info. (As you can see in the second part of the conditional)
Oh, this was well worth the wait, David. Absolutely fantastic. I believe this, in conjunction with the efficient use of other header tags (H2, H3, etc.) will be very good for SEO -- just one element of SEO, but a valuable one.

I didn't understand the last sentence, but the way I have it implemented, it works exactly the way I wanted. Thank you so much for this. Maybe you will make this an integral part of the Zoints SEO package. I hope that others will also try to incorporate this into their websites. It's an excellent feature that can be added to just vBulletin, or to vBulletin and vBadvanced CMPS together.

Thank you again,

Jim
PS: anyone who wants to see how I implemented it, please go to www.TheFloorPro.com and surf around
Reply With Quote
  #17  
Old 09-30-2006, 10:16 PM
Zoints Zoints is offline
 
Join Date: Feb 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Grumpy ol' Jim
PS: anyone who wants to see how I implemented it, please go to www.TheFloorPro.com and surf around
Looks good Jim. You designed that well.
Reply With Quote
  #18  
Old 10-16-2006, 01:06 AM
Expose Expose is offline
 
Join Date: Sep 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi David and Jim,

Have to thank you both very much as I have incorporated this handy code into my own site. It works great and got it plugged in perfect!!

Here is the embarrasing part..... where and how do I adjust the size of the font??

Again thanks a lot for this one.

Cheers,

Tom
Reply With Quote
  #19  
Old 10-16-2006, 02:08 AM
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Location: teh Ether
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Tom,

That's good to hear and I'm glad you like it. Standard vBulletin doesn't come with header tags defined. You can do this yourself, of course, by adding it to the CSS of your styles. Go to Styles & Templates | Style Manager | All Style Options Scroll to near the bottom of the page and see the 2 boxes for extra CSS. Add your header styling to the second box at the bottom. This is what I have, but you and others may want to adjust for your own colors, sizes and other options:
Code:
h1 { font: bold italic 1.9em Tahoma, Arial, sans-serif; color: #F6F8F8;
   margin-right: 15px; margin-bottom: 5px; }
h2 { font: small-caps italic 700 1.8em Tahoma,sans-serif; color: #353E49;
   margin: 6px 0 0 20px; }
h3 { font: bold 12px Tahoma, Arial, sans-serif; color: #000000; margin: 0 0; }
h4 { font: bold 10px Tahoma, Arial, sans-serif; color: #000000; margin: 0 0; }
I am still in the process of applying header tags to various locations of my site, so my code will change when I get it all sorted out. Of course, if you only plan to use the H1 tag, you don't have to include code for any of the other header tags.

Good luck,

Jim
Reply With Quote
  #20  
Old 10-16-2006, 02:42 PM
Expose Expose is offline
 
Join Date: Sep 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Jim,

Worked it into my site so it looks great. You can check it here at http://www.seo-dev.com. I also plan to incorporate the h2, 3 and 4 as well.

This is killer code and thanks again for the help.

Cheers,

Tom
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 03:03 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.08622 seconds
  • Memory Usage 2,264KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete