Where do I edit the variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ibeblunt
    Senior Member
    • Nov 2000
    • 249
    • 3.6.x

    Where do I edit the variable

    'lastposter' because I don't want it to say "12-04-2000 12:04 PM by username", I'd prefer it to say "12-04-2000 12:04 PM" If you're unsure of what I'm referring to it's in the forumbit template.



    [Edited by ibeblunt on 12-04-2000 at 11:10 PM]
  • Menno
    Senior Member
    • Apr 2000
    • 1224

    #2
    Just edit the variable out of the templates
    - Insert viable disclaimer here -

    ArtBeast!

    Comment

    • JimF
      Senior Member
      • May 2000
      • 1988

      #3
      There should be a time configuration section in your general options.

      -jim

      Comment

      • ibeblunt
        Senior Member
        • Nov 2000
        • 249
        • 3.6.x

        #4
        In my templates, I have the following:
        ...
        jumpforumbit [edit] [delete]
        loggedinuser [edit] [delete]
        loggedinusers [edit] [delete]
        logincode [edit] [delete]
        logoutcode [edit] [delete]
        ...

        There's no lastposter in the templates. Or atleast not in my set. Didn't see anything referring to lastposter in the General Options. Any other ideas?

        Comment

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

          #5
          Like you said before... It is in the ForumBit template...

          Look in that template and simply delete:
          Code:
          <br><smallfont>$lastposter</smallfont>
          Translations provided by Google.

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

          Comment

          • ibeblunt
            Senior Member
            • Nov 2000
            • 249
            • 3.6.x

            #6
            I get that part. If I delete that part, it wouldn't say anything. I just want it to say "12-04-2000 12:04 PM" Looking at a few other vB sites, it seems Bronx Bombers.com www.bronx-bombers.com/forums/index.php is the only site to figured it out.

            [Edited by ibeblunt on 12-05-2000 at 11:43 PM]

            Comment

            • Mike Sullivan
              Former vBulletin Developer
              • Apr 2000
              • 13327
              • 3.6.x

              #7
              Originally posted by JimF
              There should be a time configuration section in your general options.

              -jim
              Yes, all your time related issues are in the options section of the CP. Go there.

              Comment

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

                #8
                Here is the forumbit template:
                Code:
                <TR>
                <TD bgcolor="{firstaltcolor}" align=center valign=top><IMG SRC="images/$onoff.gif" BORDER=0></td>
                <TD bgcolor="{firstaltcolor}" valign=top><normalfont><B>
                <A HREF="forumdisplay.php?forumid=$forumid">$forumtitle</A></B></normalfont><BR>
                <smallfont>$forumdescription</smallfont></td>
                <td bgcolor="{secondaltcolor}" align=center valign=top NOWRAP>
                <normalfont>$numberposts</normalfont></td>
                <td bgcolor="{firstaltcolor}" align=center valign=top NOWRAP>
                <normalfont>$numberthreads</normalfont></td>
                <td bgcolor="{secondaltcolor}" NOWRAP valign=top align=center>
                <normalfont><a href="showthread.php?goto=lastpost&forumid=$forumid"><img src="images/lastpost.gif" border=0 alt="Go to last post"></a> $lastpostdate <normalfont COLOR="{timecolor}">$lastposttime</normalfont>
                <br><smallfont>$lastposter</smallfont></td>
                <td bgcolor="{firstaltcolor}" valign=top align=center>
                <normalfont>$moderators</normalfont></td>
                </tr>
                The part your interested in is this:
                Code:
                <normalfont><a href="showthread.php?goto=lastpost&forumid=$forumid"><img src="images/lastpost.gif" border=0 alt="Go to last post"></a> $lastpostdate <normalfont COLOR="{timecolor}">$lastposttime</normalfont>
                <br><smallfont>$lastposter</smallfont>
                As I said before if you change that code and remove lastposter, then the member name won't show up but you will still get the date and time as signified by $lastpostdate and $lastposttime. So simply speaking you just change that section of code to read:
                Code:
                <normalfont><a href="showthread.php?goto=lastpost&forumid=$forumid"><img src="images/lastpost.gif" border=0 alt="Go to last post"></a> $lastpostdate <normalfont COLOR="{timecolor}">$lastposttime</normalfont>
                Not that difficult. Now if the date and time formats are different from what you want then change them in the control panel.
                Translations provided by Google.

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

                Comment

                • Freddie Bingham
                  Former vBulletin Developer
                  • May 2000
                  • 14057
                  • 1.1.x

                  #9
                  wluke gave you the correct variable to delete in his first post. $lastposter is simply the name of the user, it doesn't include the time/date

                  Comment

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