Seite 1 von 1

[erledigt] Categories Hierarchy v 2.1.4 & Hypercell Mod

Verfasst: 12.11.2005 16:58
von Eoleon
Ich habe das Categories Hierarchy v 2.1.4 - Installed on phpBB 2.0.18 von clanmckeen und möchte den Hypercell Mod einbauen.

Leider kann ich dem Mod nicht einbauen.

Code: Alles auswählen

#-----[ FIND ]------------------------------------------ 
# 
<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /> 
# 
#-----[ REPLACE WITH ]------------------------------ 
# 
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='{T_TD_COLOR1}'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="{T_TR_COLOR1}" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"> <span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /> 
# 
bei mir steht

Code: Alles auswählen

<td class="row1" height="50" width="100%">
		<!-- BEGIN forum_icon -->
		<table cellpadding="0" cellspacing="0" width="100%" border="0"><tr>
		<td><a href="{indexrow.link.U_VIEWFORUM}" class="forumlink"><img src="{indexrow.link.FORUM_ICON}" border="0" alt="" title="" /></a></td><td><span class="gen">&nbsp;</span></td><td width="100%">
		<!-- END forum_icon -->
		<span class="forumlink"><a href="{indexrow.link.U_VIEWFORUM}" class="forumlink">{indexrow.link.FORUM_NAME}</a><br /></span>
		<span class="genmed">{indexrow.link.FORUM_DESC}<br /></span>
		<!-- BEGIN subforums -->
		<span class="gensmall">
			<b>{L_SUBFORUMS}:</b>&nbsp;<!-- BEGIN sub --><img src="{indexrow.link.row.subforums.sub.I_SUB}" border="0" align="middle" alt="{indexrow.link.row.subforums.sub.L_SUB_ALT}" title="{indexrow.link.row.subforums.sub.L_SUB_ALT}" hspace="2" /><a href="{indexrow.link.row.subforums.sub.U_SUB}" title="{indexrow.link.row.subforums.sub.L_SUB_DESC}" class="gensmall">{indexrow.link.row.subforums.sub.L_SUB}</a><!-- BEGIN sep -->, <!-- END sep --><!-- END sub -->
		<br /></span>
		<!-- END subforums -->
		<!-- BEGIN forum_icon -->
		</td>

Code: Alles auswählen

# 
templates/subSilver/viewforum_body.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br /> 
# 
#-----[ REPLACE WITH ]----------------------------- 
# 
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='{T_TD_COLOR1}'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="{T_TR_COLOR1}" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br /> 
# 
die viewforum_body.tpl wurde komplett ersetzt.
Ich finde diese Zeilen nicht. Welche .tpl muß ich aufrufen?

Verfasst: 13.11.2005 00:30
von bordum
Ich glaube dort gibts eine topics_list_box.tpl oder so ähnlich.

Verfasst: 13.11.2005 00:50
von Eoleon
stimmt ;)

dennoch stimmen die Codezeilen nicht mit der oberen Angabe überein, so dass ich Probleme mit der Umsetzung habe.

Verfasst: 13.11.2005 09:15
von rabbit
identische zeilen wirst du auch nicht finden. du musst nach teilen des gesuchten codes suchen und den neuen code manuell einbauen.

Verfasst: 15.11.2005 01:10
von Eoleon
schieb ... vll hat doch jemand eine lösung parat und kann mir helfen ;)

Verfasst: 17.11.2005 15:34
von ge-socks
Hi, hab ein großes Problem, ich habe MOD-categories_hierarchy-210 eingebaut und bekomme nun diese meldung wenn ich´eine nachricht öffnen möchte. hat jemand eine Idee??

Parse error: parse error, unexpected '}' in /usr/export/www/vhosts/funnetwork/hosting/lcforum/viewtopic.php on line 1549

Verfasst: 17.11.2005 16:07
von Eoleon
verlink doch bitte die viewtopic.php. :)

Verfasst: 18.11.2005 00:05
von rabbit
ge-socks hat geschrieben:Hi, hab ein großes Problem, ich habe MOD-categories_hierarchy-210 eingebaut und bekomme nun diese meldung wenn ich´eine nachricht öffnen möchte. hat jemand eine Idee??

Parse error: parse error, unexpected '}' in /usr/export/www/vhosts/funnetwork/hosting/lcforum/viewtopic.php on line 1549
topic-hijacking nennt man sowas => hier geht's weiter. ;)