Seite 1 von 1

Viewtopic und Viewforum aus dem Titel weggeben

Verfasst: 04.09.2004 16:38
von austrian-i
ich habe diesen hack da unten gemacht, und auch den titel der website im apc ganz weggegeben, damit google wirklich NUR noch mehr den titel der themen sieht, aber am anfang des titels sind immr zwei doppelpunkte, die krieg ich nicht weg.

schaut so aus, zb

:: xxx


Code: Alles auswählen

#################################################################
## Mod Title: View Topic & View Forum Removal
## Mod Version: 1.0.0
## Author: Matt Ratcliff <mattratcliff@psanime.com>
## Description: This removes the View Forum - and View Topic -
##		from the page title so it only displays either
##		the forum name or topic title.
##
## Installation Level: easy
## Installation Time: ~5 Minutes
## Files To Edit: 2
##		     viewforum.php
##               viewtopic.php
##
#################################################################
## Authors Notes:
##
##	For any concerns please contact me at http://www.psanime.com
##
## 	Thanks goes to Ptirhiik at http://rpgnet.clanmckeen.com/demo/
##
##	For encouragment
#################################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
##
##  Revision History:
##
##  V1.0.0
##  -Released
##
#################################################################

# 
#-----[ OPEN ]--------------------------------------------- 
# 

viewforum.php 

# 
#-----[ FIND ]---------------------------------------------- 
# 

$page_title = $lang['View_forum'] . ' - ' . $forum_row['forum_name']; 

# 
#-----[ IN-LINE, REMOVE ]-------------------------------- 
# 

$lang['View_forum'] . ' - ' . 

# 
#-----[ OPEN ]---------------------------------------------- 
# 

viewtopic.php 

# 
#-----[ FIND ]---------------------------------------------- 
# 

$page_title = $lang['View_topic'] .' - ' . $topic_title; 

# 
#-----[ IN-LINE, REMOVE ]-------------------------------- 
# 

$lang['View_topic'] .' - ' . 

# 
#EOM 
#

Verfasst: 04.09.2004 17:07
von roum
Die Doppelpunkte findest du in der overall_header.tpl.

Code: Alles auswählen

<title>{SITENAME} :: {PAGE_TITLE}</title>

Verfasst: 04.09.2004 17:25
von austrian-i
WOW! super, danke, echt cool :D