Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (blaaskaak, maria, Ruben Rocha), 27 Guests and 26 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 11/11/08
Posts: 1
Top Posters (30 Days)
Ruben Rocha 178
Gizmo 110
Rick 109
Thelockman 80
driv 44
AllenAyres 35
Ian 29
ntdoc 27
Sirdude 23
ScriptKeeper 21
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#216562 - 08/21/08 10:07 AM Page Titles
Helice Offline
newbie

Registered: 08/25/06
Posts: 34
Loc: New England, US
Where is the code that sets the title of each page?

I'd like to modify it slightly so that every page has a unique name. Possible?

Thanks.
_________________________
Helice
http://foolmoon.com


"Men never do evil so completely and cheerfully as when they do it from a religious conviction."
-Blaise Pascal


Top
#216659 - 08/29/08 02:03 PM Re: Page Titles [Re: Helice]
Helice Offline
newbie

Registered: 08/25/06
Posts: 34
Loc: New England, US
Does anyone know where the code is that sets the page title?
_________________________
Helice
http://foolmoon.com


"Men never do evil so completely and cheerfully as when they do it from a religious conviction."
-Blaise Pascal


Top
#216669 - 08/30/08 02:20 PM Re: Page Titles [Re: Helice]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
The page title is actually a bit complex, so you'll really need to know what you're doing, especially if you want to have something unique per page. Anyways, in the latest version it's in the libs/html.inc.php script. It's the inputTitle variable, you can search for that and see the code for it.

There is also a bit of code in the template itself, header.tpl.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#216672 - 08/30/08 04:05 PM Re: Page Titles [Re: Rick]
Helice Offline
newbie

Registered: 08/25/06
Posts: 34
Loc: New England, US
Thanks Rick, for the answer. I want to see if I can do something about making page titles unique. I have a few hundred thousand posts on my boards, none of which I am willing to delete, and Google complains that too many of my site's pages have "Duplicate Titles", and therefore my site's standing is being penalized.

I want to try to alter each page title slightly, even if it just relects "Page X of X", or time of day, or something to make each page title in a thread unique when a search engine views it so as not to have the appearance of duplicate content, which it certainly isn't.

If you ever plan to address this in a future release, I'll hold off fiddling with it myself, but otherwise I'll try to insert a little "unique-ifier" in there somewhere.
_________________________
Helice
http://foolmoon.com


"Men never do evil so completely and cheerfully as when they do it from a religious conviction."
-Blaise Pascal


Top


Shout Box

Today's Birthdays
brushie, cass, Monte G., twebman, White Gold Wielder
Recent Topics
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
12/01/08 12:28 PM
Font and column shifts occuring
by Bill B
11/30/08 06:21 PM
changing colors in quoted thread box
by sbserves
11/30/08 07:08 AM
[7.3.1] Image Not Found
by BellaOnline
11/29/08 09:48 PM
Private topic (PM) to a user that doesn't exist...
by bakerzdosen
11/29/08 10:56 AM
Forum Stats
4261 Members
33 Forums
30529 Topics
154944 Posts

Max Online: 978 @ 06/24/07 08:19 PM