vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to get "Forums" to show up in browser? (https://vborg.vbsupport.ru/showthread.php?t=294063)

ThatsDank 01-17-2013 09:38 PM

How to get "Forums" to show up in browser?
 
When I visit my vbulletin site for example "My Site", every page shows the title specifically like a Music page will show "My Site - Music" but when I access the Forums it just says "My Site" and it does not say Forums anywhere. Is there something I have done wrong because when I open up a Forum post, the browser just shows the title of the post and "My Site" completely goes away.

Amaury 01-18-2013 04:50 AM

Please provide a screenshot of what you mean.

ThatsDank 01-19-2013 12:05 AM

http://thatsdank.com/screenshot.png

Amaury 01-19-2013 01:45 AM

Admin CP -> Settings -> Options -> Site Name / URL / Contact Details -> Forum Name

ThatsDank 01-19-2013 02:41 AM

Yes but when I change it to "That's Dank Forum" it shows up for that on every other page too. Example like on the music page it says That's Dank Forum - Music. I just want it to say Forums when you are in the forums section. I guess that's hard to do.

Amaury 01-19-2013 02:55 AM

Quote:

Originally Posted by ThatsDank (Post 2397824)
Yes but when I change it to "That's Dank Forum" it shows up for that on every other page too. Example like on the music page it says That's Dank Forum - Music. I just want it to say Forums when you are in the forums section. I guess that's hard to do.

That's not possible.

WorldCraft 01-19-2013 07:36 AM

Quote:

Originally Posted by ThatsDank (Post 2397824)
Yes but when I change it to "That's Dank Forum" it shows up for that on every other page too. Example like on the music page it says That's Dank Forum - Music. I just want it to say Forums when you are in the forums section. I guess that's hard to do.

Hi, you can do it with template edits. For the forumhome, go to the Style Editor in the AdminCP and edit the FORUMHOME template and find
HTML Code:

<title>{vb:raw vboptions.bbtitle}</title>
Change it to something like this
HTML Code:

<title>{vb:raw vboptions.bbtitle} - Forum</title>

For when viewing a thread you would make a similar change to your SHOWTHREAD template:

Find:
HTML Code:

<title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title}<vb:if condition="$pagenumber > '1'"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title>
and change it to something like this:
HTML Code:

<title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title}<vb:if condition="$pagenumber > '1'"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if> - {vb:raw vboptions.bbtitle} Forums</title>

Depending on how meticulous you want to be, you will need to make changes on quite a few other templates. MEMBERINFO for profiles, FORUMDISPLAY for pages of individual forums, etc. To help narrow down your search, use the Search Templates feature in the AdminCP and use "<title>" as your search term. The name of the template(s) will help determine what part(s) of the forum it is targeting, but feel free to ask again if you aren't sure. Good luck.

ThatsDank 01-21-2013 11:01 PM

Thank you guys! Worldcraft that did exactly what I was looking for. Thanks man


All times are GMT. The time now is 04:10 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.01525 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
  • (4)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete