vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do you get the site name and whatever forum you are in to appear in browser bar? (https://vborg.vbsupport.ru/showthread.php?t=303128)

pityocamptes 10-08-2013 05:25 PM

How do you get the site name and whatever forum you are in to appear in browser bar?
 
Can't figure that one out... thx all I have currently is just the forum name, but would like to add the site name at the beginning...

ozzy47 10-08-2013 09:59 PM

What is it exactly you are seeing in the browser bar, when viewing a forum?

pityocamptes 10-09-2013 12:37 AM

Quote:

Originally Posted by ozzy47 (Post 2451025)
What is it exactly you are seeing in the browser bar, when viewing a forum?

Forum name only. I would like the [site name] - [forum name]

ozzy47 10-09-2013 12:48 AM

It should not be like that by default, have you added something to htaccess that may be causing it, or a mod?

pityocamptes 10-09-2013 01:05 AM

I'm using friendly urls. I can post the htaccess if that helps?

addhandler x-httpd-php-cgi .php4
addhandler x-httpd-php5-cgi .php5
addhandler x-httpd-php5-cgi .php

RewriteEngine on

# This file is only needed if you have set the Forum Component URL in your admincp and you are
# using the mod_rewrite option for friendly urls. If this is the case, copy this file
# to your forum component stub directory.

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your forum component directory.
# RewriteBase /forum-stub-directory/

# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
Options -MultiViews

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
RewriteRule ^entries/.* entry.php [QSA]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]

# Check MVC result
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ - [NC,L]
RewriteRule ^(.*)$ - [R=404,L]

RewriteCond %{SERVER_PORT} !443
RewriteRule (.*) https://XXXXXXXXXXXXXXXX.com [R=301,L]

pityocamptes 10-11-2013 07:37 PM

Bump

Lynne 10-11-2013 08:39 PM

This is on the forumdisplay page? Edit the FORUMDISPLAY template:

<title>{vb:raw foruminfo.title_clean}

add to it like this:

<title>{vb:raw $vboptions.bbtitle} - {vb:raw foruminfo.title_clean}

pityocamptes 10-11-2013 08:43 PM

Thx. Where is this in the back end (admincp)??

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

I would actually like it for EVERY page, including CMS, blog, etc...

Lynne 10-11-2013 08:58 PM

That is a template - Style Manager > edit templates

If you want it for every page, then you need to add that to every page template you want it added to.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

pityocamptes 10-11-2013 09:07 PM

Thx

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

Oh, is this good or bad for SEO...?


All times are GMT. The time now is 01: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.01043 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)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