Announcement

Collapse
No announcement yet.

[HowTo] Design and Tweak your Frontpage

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #76
    Re: (3) Adding onMouseOver-highlighting effect to the boards

    Hi,

    The mouse over works on the pages showing the threads but not on the main page, i have double checked that i pasted and removed the correct code for the home page template: forumhome_forumbit_level2_post

    Here is what the code looks like:

    <tr align="center">
    <td bgcolor="#DFDFDF" valign="top"><img src="images/$forum[onoff].gif" border="0" alt=""></td>
    td bgcolor="#F1F1F1" align="left"
    onMouseOver="this.style.backgroundColor='#DFDFDF';
    this.style.cursor='hand';"
    onMouseOut="this.style.backgroundColor='#F1F1F1';"
    onClick="window.location.href='forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]'"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
    <br><smallfont>$forum[description]</smallfont></td>
    <td bgcolor="#DFDFDF"><normalfont>$forum[replycount]</normalfont></td>
    <td bgcolor="#F1F1F1"><normalfont>$forum[threadcount]</normalfont></td>
    <td bgcolor="#DFDFDF"><smallfont>$forum[lastpostinfo]</smallfont></td>
    <td bgcolor="#F1F1F1"><smallfont>$forum[moderators]</smallfont></td>
    </tr>

    Thanks, any help would be greatly appreciated.

    Originally posted by xiphoid
    (3) Adding onMouseOver-highlighting effect to the boards

    (description)
    This template modification will set an inversed color effect to the boards. So when you hover with your mouse over a board, it will highlight and clickable to that specific board. (And when you move your mouse out of the board, it will return to original color). Very nice!

    (installation)
    This is only going to take one template modification and should be pretty easy.
    • Step 1
    • Login to the Admin Control Panel (ACP).
      Templates > Modify > Expand
      Forum Home Page Templates > Expand
      forumhome_forumbit_level2_post > edit
    • find the following code:
      Code:
      <td bgcolor="{firstaltcolor}" align="left">
      and replace that with:
      Code:
      <td bgcolor="{firstaltcolor}" align="left"
      onMouseOver="this.style.backgroundColor='{secondaltcolor}'; 
      this.style.cursor='hand';" 
      onMouseOut="this.style.backgroundColor='{firstaltcolor}';" 
      onClick="window.location.href='forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]'">
    • Now "Save" the forumhome_forumbit_level2_post template.

    Done!

    (For more of these onMouseOver highlighting effects, please read the original thread: here)

    Comment


    • #77
      Everytime i do this hack,
      My columns end up not aligning between in the new different forum sections. Is there a reason for this? am i doing something wrong? If so, any guess as to what the problem is?

      Comment


      • #78
        Something has gone wrong when I attempted to install it.
        Take a look at http://www.punkbulletin.com/
        I did everything the how-to showed, and I double checked it as well.

        Any idea?

        Comment


        • #79
          Nevermind, I made a stupid mistake

          Comment


          • #80
            it is working on 2.2.7

            Comment


            • #81
              Ofcourse.

              Comment


              • #82
                I did this hack a few times...still get mis-alligned columns...any idea?

                Comment


                • #83
                  hi xiphoid!

                  thanks!

                  really usefull 4 me ;-]

                  lg, havefun
                  br, havefun *

                  Comment


                  • #84
                    For those who wanted the pm table to be the same size as the rest of them do this

                    go to your

                    forumhome_pmloggedin template and look for this code

                    <td bgcolor="{firstaltcolor}" colspan="5">

                    Add width="100%"

                    So that it looks like


                    <td bgcolor="{firstaltcolor}" colspan="5" width="100%">

                    From this



                    To this

                    Comment


                    • #85
                      Re: this only makes one forum light up

                      Originally posted by stocker
                      Take a look at www.superstockforum.com
                      Only the top forum onmouseover works?

                      Thxs

                      Dale
                      Dale,

                      Look at your other forumhome templates... first try adding the code to the template - forumhome_forumbit_level2_post and see if that helps.

                      You may want to turn on the vB option (if it is still available in v2.8) to display the template names in the HTML output, that feature may help you figure out what other templates you need to work on.

                      Hope this helps.

                      Cheers!
                      Larry "NgtCrwlr" Mingus
                      MakeItSimple.com | MIS-Forums.com - Building a Digital Photography Community

                      Comment


                      • #86
                        I managed to get it to work for the most part, however, at the end of the main page there are some color oddities as well as a problem with my shout box. Anyone know how to fix it?

                        Site is:

                        http://www.grendelslair.com/forums

                        Comment


                        • #87
                          RE: Breaking up the categories from eachother

                          Hey.

                          We installed this modicfication a while back and love it. Now I'd like to add to it.

                          I was wondering if we can add an extra block in between 2 forums? In one of the white spaces.

                          In other words:

                          http://www.thrillnetwork.com/boards

                          Like the large sponsorship block at the top the one that has our SpeedZone ad in it I'd like to add another block like that in between "Trip Reports and Travel Tips" and "games"

                          Here is our current layout:

                          Comment


                          • #88
                            We we are looking to do:

                            Comment


                            • #89
                              That requires code hacking.

                              Comment


                              • #90
                                So there is no way to do this?

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X