Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Hello, I was wondering how to make it so that "Administration duties - Forums powered by WWWThreads PHP" is not the title of my dboard pages. It seems that this title is what search engines like Google come up with. I am using paid version 5.1.6 php Thanks for any help![]/testimages/icons/smile.gif[/] Tom

Sponsored Links
Anonymous #211218 08/04/2001 2:12 PM
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
I haven't downloaded 5.4.3 yet, so this applies to 5.4.2 (but you should be able to figure it out, esp. since this script may not be affected by the upgrade). Here's the hack:

You must edit main.inc.php file at about line 138, where it says:

echo "<TITLE>$inputTitle - $lang[POWERED_BY] WWWThreads PHP</TITLE></HEAD><BODY>";

There are several ways to do this--here's the simplest and most direct:

Change the above to this:

echo "<TITLE>$inputTitle</TITLE></HEAD><BODY>";

...which will simply give you the title of the page, so that--for instance--on the Main Index page of the forum, the title would read "Viewing list of forums." This method won't necessitate editing any of the asssociated language files, which is what $lang[POWERED_BY] references.

Here's another variation:

echo "<TITLE>$inputTitle - Your Site Name</TITLE></HEAD><BODY>";

Make sense?


+++ Quis custodiet ipsos custodies? +++
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Thank you very much!! Tom

Anonymous #211220 08/04/2001 4:04 PM
Joined: Mar 2001
Posts: 1
Lurker
Lurker
Offline
Joined: Mar 2001
Posts: 1
Worked like a charm! Thanks again!Will it work to do this:echo "<TITLE>Your Site Name - $inputTitle</TITLE></HEAD><BODY>"; Reversing the site name with the $input title.Tom


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 254
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)