Hey Tubedogg!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JJR512
    Senior Member
    • Dec 2000
    • 507

    Hey Tubedogg!

    I was looking at the message board in your signature: http://board.tubescan.com/

    And I noticed how you have a small "New Thread" button for each forum in the "threads" column. I made my own button, but how did you do the rest of it?

    Thanks!
    -Justin "JJR512" Rebbert
    JJR512.com: Chat about anything!
  • tubedogg
    Senior Member
    • Feb 2001
    • 13602

    #2
    LOL actually it's only there because my co-admin objected to putting it in the column with the forum name, but if you look at http://www.sitepointforums.com you can see something very similar. (He's got a couple other things there too - latest topics, and something else.)

    Really very simple. Just edit the forumhome_forumbit_level2_post template. Find
    Code:
    	<td bgcolor="{ firstaltcolor }"><normalfont>$forum[threadcount]</normalfont></td>
    and replace it with
    Code:
    	<td bgcolor="{ firstaltcolor }"><normalfont>$forum[threadcount]</normalfont><br><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{ imagesfolder }/newthreadsmall.gif" border=0></a></td>
    and edit the .gif name to reflect your image. (Remove the spaces around the replacement variables.)

    Comment

    • JJR512
      Senior Member
      • Dec 2000
      • 507

      #3
      OK, works great, thanks!

      You can see my implementation here: http://www.jjr512.com/forums/index.php?s=

      You should add this to your signature!
      -Justin "JJR512" Rebbert
      JJR512.com: Chat about anything!

      Comment

      • RJ
        Member
        • Oct 2000
        • 70

        #4
        I'm not the type to hack my board, but I will in this case, because this is a totally COOL hack!

        Nice job!

        Comment

        • tubedogg
          Senior Member
          • Feb 2001
          • 13602

          #5
          <gets up on soapbox>
          Editing templates is not hacking. You are not hacking your board unless you edit the PHP files themselves.
          </soapbox>

          Sorry I had to say that.

          Comment

          • JJR512
            Senior Member
            • Dec 2000
            • 507

            #6
            Well, maybe right below your "my vB2 hacks" section, you could make a "my vB3 template mods" section. And the first one in there is this one, since I recommended it!
            -Justin "JJR512" Rebbert
            JJR512.com: Chat about anything!

            Comment

            • RJ
              Member
              • Oct 2000
              • 70

              #7


              Okay, okay, I reiterate - it's a totally cool template modification.

              Better?

              Comment

              • tubedogg
                Senior Member
                • Feb 2001
                • 13602

                #8
                LOL you guys

                At least you didn't scream and bite my head off. Wayne has gotten that response at least once when he's said that.

                Comment

                • RJ
                  Member
                  • Oct 2000
                  • 70

                  #9
                  Why would I scream? You didn't beat me with a stick, or anything!

                  I've already had my daily dose of caffeine (and then some), so I'm in a relatively peaceful mood.

                  ...Life is good...

                  Comment

                  • JJR512
                    Senior Member
                    • Dec 2000
                    • 507

                    #10
                    Yeah, I know, I gave him one once. I basically told him if he didn't like it, he could shove my reply in the template mods forum. Thing is, I didn't know there actually was such a forum, and the comment was supposed to be flippant. But since there was, he did it, and I think the tone behind it was completely missed!
                    -Justin "JJR512" Rebbert
                    JJR512.com: Chat about anything!

                    Comment

                    • Hooper
                      Senior Member
                      • Apr 2001
                      • 1677
                      • 3.5.x

                      #11
                      http://www.sitepointforums.com

                      Tube,

                      I would like to have mine set up like the link you posted.
                      A community for web designers and developers to discuss everything from HTML, CSS, JavaScript, PHP, to Photoshop, SEO and more.


                      Where I could have the "read new posts", "create new thread topic" and "subscribe to the forum" in the same exact location as they have it. I'll make some images for this I would suppose.

                      Could you explain how they did this to me? Maybe even post the code for the 3 and explain how to get it in that location?

                      I would appreciate it. That is a real nice idea and makes it even more functionally friendly.


                      Thank You,
                      Hooper
                      Last edited by Hooper; Mon 28 May '01, 7:08pm.

                      Comment

                      • Wayne Luke
                        vBulletin Technical Support Lead
                        • Aug 2000
                        • 74122

                        #12
                        Here is my forumhome_forumbit_level1_post template with the icons. To do the "Read New" you will have to find the code for my search2.php file which is posted in these forums as well.

                        Code:
                        <tr>
                          <td bgcolor="{firstaltcolor}" valign="top"><IMG SRC="{imagesfolder}/$forum[onoff].gif" BORDER=0 align="left" valign="top" width="20" height="20"></td>
                          <td bgcolor="{firstaltcolor}">
                            <table width="100%">
                              <tr> 
                                <td valign="top"><b><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont>$forum[title]</normalfont></a></b></td>
                                <td width="35%" align="right" valign="top"><a href="search2.php?action=getlatest&forumid=$forum[forumid]"> <img src="{imagesfolder}/findnew.gif"  border="0" width="11" height="11" hspace="2" alt="Read New Posts since Last Visit"></a><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{imagesfolder}/newthread.gif" border="0" width="11" height="11" hspace=2" alt="Create a new Thread topic in this forum"></a><a href="member2.php?s=$session[sessionhash]&action=addsubscription&forumid=$forum[forumid]"><img src="{imagesfolder}/subscribe.gif" border="0" width="13" height="11" hspace="2" alt="Subscribe to the Forum to Build a Custom SitePoint"></a></td>
                              </tr>
                              <tr>
                                <td colspan="2"><smallfont>$forum[description]</smallfont></td>
                              </tr>
                            </table>
                          </td>  
                          <td bgcolor="{secondaltcolor}" align=center valign=top NOWRAP><normalfont>$forum[replycount]</normalfont></td>
                          <td bgcolor="{firstaltcolor}" align=center valign=top NOWRAP><normalfont>$forum[threadcount]</normalfont></td>
                          <td bgcolor="{secondaltcolor}" NOWRAP valign=top align=center><normalfont>$forum[lastpostinfo]</normalfont></td>
                        </tr>

                        p.s.... I am moving this to the template forum.
                        Translations provided by Google.

                        Wayne Luke
                        The Rabid Badger - a vBulletin Cloud demonstration site.
                        vBulletin 5 API

                        Comment

                        • Hooper
                          Senior Member
                          • Apr 2001
                          • 1677
                          • 3.5.x

                          #13
                          To WLuke

                          That was very kind.

                          Thank You,
                          Hooper
                          Last edited by Hooper; Mon 28 May '01, 7:09pm.

                          Comment

                          • JJR512
                            Senior Member
                            • Dec 2000
                            • 507

                            #14
                            I would like to add that if you want to make the same change that I asked about originally, and which tubedogg showed how to do in his first reply, to the subforums that show up at the top of the parent forum, then you need to make the exact same changes that tubedogg described as doing to the forumhome_forumbit_level2_post template, only this time do it to the forumdisplay_forumbit_level1_post template.
                            -Justin "JJR512" Rebbert
                            JJR512.com: Chat about anything!

                            Comment

                            • JJR512
                              Senior Member
                              • Dec 2000
                              • 507

                              #15
                              Also to forumdisplay_forumbit_level2_post template. (So that it shows up on subforums under the parent forum when viewing the category.)
                              -Justin "JJR512" Rebbert
                              JJR512.com: Chat about anything!

                              Comment

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