|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
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
|
|
|
|
Joined: Apr 2001
Posts: 50
Journeyman
|
Journeyman
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
Joined: Aug 2000
Posts: 3,590 |
Thank you very much!! Tom
|
|
|
|
Joined: Mar 2001
Posts: 1
Lurker
|
Lurker
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
|
|
|
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.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|