vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding H2 Tags To Board Names On Forumhome (https://vborg.vbsupport.ru/showthread.php?t=302799)

Narutoboy 09-29-2013 03:38 PM

Adding H2 Tags To Board Names On Forumhome
 
How do I add H2 tags around the board names on my forumhome? I've done it with JQuery using the .wrap tag, but it doesn't appear as if search engines are able to view it. Is there anyway I can manually input H2 tags around the board names?

Simon Lloyd 09-29-2013 05:01 PM

Look in the forumbit templates like forumhome_forumbit_level1_nopost and find
HTML Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
and change them for
HTML Code:

<h2><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></h2>

Narutoboy 09-29-2013 05:05 PM

Thanks, Simon, that did it!

Simon Lloyd 09-29-2013 07:53 PM

Glad you're sorted, just make sure you changed all the forumbit templates where that's found :)

Narutoboy 09-30-2013 02:16 AM

Quote:

Originally Posted by Simon Lloyd (Post 2448848)
Glad you're sorted, just make sure you changed all the forumbit templates where that's found :)

Thanks, I've now added it to all.

I hate to ask another question so soon, but are you aware of how I could add the h2 tags around each topic in the forumdisplay.php section? I literally tried putting an h2 on every a href link in the document and nothing took. :(

tbworld 09-30-2013 02:37 AM

Quote:

Originally Posted by Narutoboy (Post 2448894)
Thanks, I've now added it to all.
I literally tried putting an h2 on every a href link in the document and nothing took. :(

What line number(s) in 'forumdisplay.php' or are you talking about 'FORUMDISPLAY' the template?

Narutoboy 09-30-2013 03:09 AM

Quote:

Originally Posted by tbworld (Post 2448897)
What line number(s) in 'forumdisplay.php' or are you talking about 'FORUMDISPLAY' the template?

I'm talking about the template and I want h2's around every thread that's created.

Simon Lloyd 09-30-2013 04:46 AM

You can do that but do you want it in forumhome or forumdisplay?

tbworld 09-30-2013 06:43 AM

Display a section of the template where you added the <h2> elements, so we can see where you went wrong. Then we can point you in the right direction.

We were all beginners at some point :)

Simon Lloyd 09-30-2013 07:23 AM

What you want is the forumhome_forumbit_level2_post template, and this <td class="alt2">$forum[lastpostinfo]</td> however you will not be able to make this H2 or whatever without changing the css for it, anyway that's what you need to change for forumhome :)


All times are GMT. The time now is 05:23 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.02233 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_html_printable
  • (3)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
  • (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