Announcement

Collapse
No announcement yet.

Showthread readded

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Showthread readded

    This is to readd two features to the showthread-template, which where taken out but are quite nice to have:


    • Breadcrumbs on the bottom of each thread
    • Newthread button in each thread
    It's really simple and the file contains everything you need to know

    If you use RC 3 or older, please use the second file, as one of the conditionals changed
    Attached Files
    Last edited by Mirical Bernd; Sat 14th Feb '04, 12:56pm. Reason: Added support for RC 3 and higher / corrected an error in the RC 3 document

  • #2
    Nice work, thank you for releasing!

    Comment


    • #3
      You say search for
      Code:
      <if condition="!$show['threadedmode']">
         <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" ></if></a></td>
        </if>
      But i couldn't find it anywhere.The nearest i found was this:

      Code:
      <if condition="$show['largereplybutton']">
        <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" ></if></a></td>
       </if>
      Techzonez - Tech News
      Techzonez Forums - Tech Community

      Comment


      • #4
        @Reverend: Right, sorry. Forgot, that this was changed in RC 3. So, if you have RC 3 or older installed, please use the second file

        Comment


        • #5
          Just installed on RC4. Breadcrumb part works fine but New Thread button doesn't show up??
          Techzonez - Tech News
          Techzonez Forums - Tech Community

          Comment


          • #6
            I had the same problem once - just try to change your style once and return to your normal style and it should work. Dunno why that is the case...

            Comment


            • #7
              Tried that already.Still no go.

              The top "Post Reply" button has gone but has not been replaced with the "New Thread" button.
              Attached Files
              Techzonez - Tech News
              Techzonez Forums - Tech Community

              Comment


              • #8
                You did something wrong here. Can you please send me your showthread-template in a file to [email protected]? I will take a look and send you the solution.

                IF you would have followed the steps in the file correctly, this wouldn't have happened.

                Comment


                • #9
                  You have mail.
                  Techzonez - Tech News
                  Techzonez Forums - Tech Community

                  Comment


                  • #10
                    This was more than strange... I checked your template. I checked it with my code-modification under it, and also copied the same code from my board (where it works), just to be sure. They are identical.

                    It had to have to do something with the conditional

                    Code:
                    <if condition="!$show['largereplybutton']">
                    because the code, which is not shown, is between this conditional. So I checked the original template in our testboard and there it is:

                    Code:
                    <if condition="$show['largereplybutton']">
                    In other words: the ! is missing. The same on our running board. And there we go. If you strip the ! it should work.

                    I corrected the downloadable file :-)

                    Comment


                    • #11
                      That fixed it.

                      BTW,i decided to place the breadcrumb code under $quickreply and not above it.
                      Looks less cluttered IMHO.Just my personal preference

                      Thanks Mirical.
                      Techzonez - Tech News
                      Techzonez Forums - Tech Community

                      Comment


                      • #12
                        It's always your decision where you place these things I for my part, don't like to have the sort-options on top of all pages, because it looks cluttered to me. But that's my personal opinion

                        Comment


                        • #13
                          Originally posted by Mirical Bernd
                          You did something wrong here. Can you please send me your showthread-template in a file to [email protected]? I will take a look and send you the solution.

                          IF you would have followed the steps in the file correctly, this wouldn't have happened.
                          Users can't really tell if someone is licensed or not, so they shouldn't share their files over email. attachments will do just fine

                          (just some information)

                          Comment


                          • #14
                            Originally posted by floris
                            Users can't really tell if someone is licensed or not, so they shouldn't share their files over email. attachments will do just fine
                            afaik anyone can only post here, if he / she is licensed. And it was no file, but a template. A small and nice difference. btw: I wouldn't post here, if I would not be licensed. The risk to be discovered as a non-licensed user is a bit high.

                            I really don't know, why you posted here, when you don't have something to contribute to this modification.
                            Last edited by Mirical Bernd; Sun 15th Feb '04, 1:47pm.

                            Comment


                            • #15
                              Yeah you are right Sorry for posting

                              Comment

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