Announcement

Collapse
No announcement yet.

Where do I edit the variable

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

  • 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]

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

    ArtBeast!

    Comment


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

      -jim
      "The dot-com bust has cleared out the carpetbaggers and left the Internet to those who really care about it"
      - Jon Ippolito, new-media curator, Guggenheim Museum

      Comment


      • #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


        • #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 customization and demonstration site.
          vBulletin 5 Documentation - Updated every Friday. Report issues here.
          vBulletin 5 API - Full / Mobile
          I am not currently available for vB Messenger Chats.

          Comment


          • #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


            • #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


              • #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 customization and demonstration site.
                vBulletin 5 Documentation - Updated every Friday. Report issues here.
                vBulletin 5 API - Full / Mobile
                I am not currently available for vB Messenger Chats.

                Comment


                • #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...
                  X