Bei mouseover hervoheben

Probleme bei der regulären Arbeiten mit phpBB, Fragen zu Vorgehensweisen oder Funktionsweise sowie sonstige Fragen zu phpBB im Allgemeinen.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
SuperGURU

Bei mouseover hervoheben

Beitrag von SuperGURU »

Ich weis net obs das schon gab aber bei http://www.welnet4u.de/wf/index.php?&weluser=superguru wird sobald man mit der Maus über ein Forum geht, das forum hervorgehoben, sieht eigentlich ganz gut aus.

Meine Frage wie macht man das wenn ich das auch bei mir haben will?

Sorry habs schon gefunden auf http://www.phpbbhacks.com/popular.php?version=2
:-?
Benutzeravatar
esperitox
Mitglied
Beiträge: 803
Registriert: 17.04.2002 21:40
Wohnort: Line 758
Kontaktdaten:

Beitrag von esperitox »

Dafür gibt es eine Mod:

Code: Alles auswählen

##############################################################
## Mod Title: HyperCell's for all pages
## Mod Version: 1.0.0
## Author: Corey Touchet (Lewt Haxxor on phpbb.com)
## Description: This is a mod to have hypercells work on all of your phpBB2 pages where it'll be usefull.
## CREDIT: Goes to the original author if I ever found out who he was and me for making sure this worked :)
##
## Installation Level: (easy)
## Installation Time: 10 Minutes
## Files To Edit: search_results_topics.tpl, index_body.tpl, viewforum_body.tpl, privmsgs_body.tpl
## Included Files: (n/a)
##############################################################

##############################################################
## For Security Purposes, This MOD Cannot Be Posted Or Added At Any Non-Official phpBB Site
##############################################################

##############################################################
## Author Note: Please backup any files before you change them!
##
##############################################################

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

/yourphpdir/templates/subSilver/search_results_topics.tpl

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


<td class="row2"><span class="topictitle">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><br /><span class="gensmall">{searchresults.GOTO_PAGE}</span></td>

#
#-----[ REPLACE WITH ]------------------------------------------
#
#
#NOTE:  sometimes it's easier to comment out the line with a <!--  line to replace --> so you can easily restore files
#       via a telnet session if having to fix a forum from a remote place and dont have the backup with you.


<td class="row2" onMouseOver=this.style.backgroundColor="{{T_TD_COLOR1}}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{searchresults.U_VIEW_TOPIC}'"><span class="topictitle">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><br /><span class="gensmall">{searchresults.GOTO_PAGE}</span></td>

#NOTE:  this.style.backgroundColor="{T_TD_COLOR1}"  can be changed to any color to suit your forum.
#       Just replace the {T_TD_COLOR1} with any color code you want.
#       Hard codes such as #FFFFFF can be used but it is best to use the template system codes for colors.


#
#-----[ CLOSE ]------------------------------------------
#

/yourphpdir/templates/subSilver/search_results_topics.tpl





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

/yourphpdir/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%" height="50" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor=""  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 />


#
#-----[ CLOSE ]------------------------------------------
#

/yourphpdir/templates/subSilver/index_body.tpl

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

/yourphpdir/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}" onMouseOut=this.style.backgroundColor="" 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 />


#
#-----[ CLOSE ]------------------------------------------
#

/yourphpdir/templates/subSilver/viewforum_body.tpl

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

/yourphpdir/templates/subSilver/privmsgs_body.tpl

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

<td width="55%" valign="middle" class="{listrow.ROW_CLASS}"><span class="topictitle">&nbsp;<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>


#
#-----[ REPLACE WITH ]------------------------------------------
#

<td width="55%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{listrow.U_READ}'"><span class="topictitle">&nbsp;<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>

#
#-----[ CLOSE ]------------------------------------------
#

/yourphpdir/templates/subSilver/privmsgs_body.tpl

#
#------[Upload and impress!]-----------------------------
#

esperitox
Benutzeravatar
Guido
Mitglied
Beiträge: 1307
Registriert: 06.10.2002 09:44
Wohnort: Rheinland
Kontaktdaten:

Beitrag von Guido »

@esperitox:

;-) den wollte ich auch posten, doch dann habe ich ich im letzten Moment den EDIT Teil gelesen........;-)
SuperGURU

Beitrag von SuperGURU »

:D Jaja genau es gibt ja noch leute die mitdenken :)

Ich gehöre nicht zu denen, hab es zu spät entdeckt hatte nach Highlight oder sowas gesucht aber auf keinen Fall nach Hypercells :D

Trotzdem danke funzt sogar!
Antworten

Zurück zu „phpBB 2.0: Administration, Benutzung und Betrieb“