Modules  :: 
Cell mark effect in phpbb
 Top

  • How can I make the effect that you have here, when you pass the mouse over the cell where the name of the subject is, it marks and when you click, no matter where, within the cell you go to the message.

    This is a really cool effect, and if posible, I want to have it icon_lol

    Also, if you know that this "hack" or "mod" for phpbb, works for the phpbb module, because I see here that you have the full version of the forum installed.

    I hope I make myself clear :)
    English is not my mother tongue
  • This is a mod for phpBB. This mod will make all of you Topic cells hyperlinks

    Code

    ##############################################################
    ## Mod Title: HyperCell's for all pages
    ## Mod Version: 1.1.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)
    ##############################################################
    #  Version History
    #  1.1.0 Fixed the {{T_TD_COLOR1}} typo.  Should of been {T_TD_COLOR1}
    #
    #  1.0.0 Original Release
    #
    ##############################################################
    ## 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!]-----------------------------
    #


    Or, you can make them hyperlinks only on the Main Page and the Forum Page.

    Code

    ########################################################
    ##
    ## Title: hypercells v1.0.0
    ## 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
    ##
    ########################################################
    ## Security Disclaimer: This MOD Cannot Be Posted To Or Added At Any Non-Official phpBB Sites
    #########################################################
    ##
    ## Version History:
    ##
    ## 1.0.0 Final.. No History
    ##
    ## (the phpBB Group Reserves The Right To Remove/Edit Author Notes, Should It Be Warranted)
    ##
    #########################################################
    ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
    #########################################################

    #
    #-----[ 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 ]--------------------------------------------
  • I just copy the code, and I will try to change the files later.

    Thanks again
This list is based on the users active over the last 60 minutes.