Hypercell Mod Erweiterung
Verfasst: 10.05.2005 17:27
Hätte mal ne Frage:
hab mir grad in mein phpbb den Hypercell Mod eingebaut, läuft auch ganz gut soweit.
nur hätte ich ne frage: ich würde den mod gern erweitern, und zwar wenn man im index auf die cell "letzter beitrag" klickt, hätt ich gern dass man auch glech zum letzten beitrag kommt.
und wenn man im viewforum auf die rechte spalte "letzter beitrag" klickt, soll man zum profil desjenigen kommen, der den letzen beitrag gemacht hat.
wenn man zwei zellen weiter links auf die Author zelle klickt, soll man zum profil des authors kommen.
wie kann man das alle realisieren?
vielen dank für dich hilfe schon mal!
hier der mod
hab mir grad in mein phpbb den Hypercell Mod eingebaut, läuft auch ganz gut soweit.
nur hätte ich ne frage: ich würde den mod gern erweitern, und zwar wenn man im index auf die cell "letzter beitrag" klickt, hätt ich gern dass man auch glech zum letzten beitrag kommt.
und wenn man im viewforum auf die rechte spalte "letzter beitrag" klickt, soll man zum profil desjenigen kommen, der den letzen beitrag gemacht hat.
wenn man zwei zellen weiter links auf die Author zelle klickt, soll man zum profil des authors kommen.
wie kann man das alle realisieren?
vielen dank für dich hilfe schon mal!
hier der mod
Code: Alles auswählen
########################################################
##
## Title: Hypercells
## Version: 1.0.0 - final release
## Author: Brewjah
## Description: allows users to click anywhere in the cell to access the forum or a topic
## and displays a hand cursor on mouse over even to SHOW that its clickable..
##
## Installation Level: Easy
## Installation Time: 2-5 Minutes
## Files To Edit: 2
## - index_body.tpl
## - viewforum_body.tpl
##
## Included Files: none, cause we're cool like that
##
#########################################################
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ 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 />
#
#-----[ SAVE CLOSE UPLOAD ]---------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ OPEN ]------------------------------------------
#
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 />
#
#-----[ SAVE CLOSE UPLOAD ]--------------------------
#
viewforum_body.tpl
#
#-----[ EOM ]--------------------------------------------