Announcement

Collapse
No announcement yet.

How do i add this option?

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

  • How do i add this option?

    Ok, you know how under your username it lists

    Matt Whelan
    Member

    Registered: Apr 2002
    Location:
    Posts: 70

    I want to add an option on my forums where when people register they can(or not just can, I may require it) put what year/model Acura Legend they own.

    I would want it to be like

    Ride: 1992 Acura Legend LS Sedan

    How do I add this? Thankyou.

  • #2
    Admin CP --> User Profile Fields --> Add

    Name the field (i.e. Ride) and set the options accordingly.

    Next, you need to find out the Field ID number for the field you just created. To find that out, go to Admin CP --> User Profile Fields --> Modify. Next to the field in which you need to know the ID, hold down your 'Shift' key and click 'edit'.

    In the new window that pop ups, the browser should be pointed to something like admin/profilefield.php?s=&action=edit&profilefieldid=5 You should see the Field ID Number.

    Next, go to your postbit template (Admin CP --> Templates --> Modify --> [Expand List] --> Postbit Templates [expand] --> postbit

    Wherever you want that field to appear, add $post[field#] (Replace # with your field ID Number)

    Comment


    • #3
      Originally posted by Cary


      Wherever you want that field to appear, add $post[field#] (Replace # with your field ID Number)
      Ok, I understood everything except this last step. I am at the postbit. This is everything it says.( I edit copied it)


      <table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->

      <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
      <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
      <tr>
      <td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
      <a name="post$post[postid]"></a>
      $post[firstnewinsert]
      <normalfont><b>$post[username]</b></normalfont><br>
      <smallfont>$post[usertitle]</smallfont><br>
      $post[avatar]<p>
      <smallfont>Registered: $post[joindate]<br>
      Location: $post[field2]<br>
      Posts: $post[posts]</smallfont></td>

      <td bgcolor="$post[backcolor]" width="100%" valign="top">
      <smallfont>$post[icon] <b>$post[title]</b></smallfont>
      <p><normalfont>$post[message]</normalfont></p>
      $post[attachment]
      <p>$post[signature]</p>
      <p>$post[editedby]</p>
      <p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
      </td>
      </tr>
      <tr>
      <td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon]
      $post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>

      <td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr valign="bottom">
      <td><smallfont>$onlinestatus
      $post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $post[buddy]
      <!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
      </smallfont></td>
      <td align="right" nowrap><smallfont>
      <a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a>
      <a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a>
      </smallfont></td>
      </tr>
      </table>
      </td>
      </tr>
      </table>
      </td></tr></table>

      <!-- spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>

      Comment


      • #4
        Actually, I figured it out but look here... http://www.acura-legend.com/vbulleti...threadid=16227

        I want "Car" to appear under "Posts", not next to it...???

        Comment


        • #5
          Add the following code in bold:

          Code:
          <a name="post$post[postid]"></a>
          	$post[firstnewinsert]
          	<normalfont><b>$post[username]</b></normalfont><br>
          	<smallfont>$post[usertitle]</smallfont><br>
          	$post[avatar]<p>
          	<smallfont>Registered: $post[joindate]<br>
          	Location: $post[field2]<br>
          	Posts: $post[posts]<br>
                          Car: $post[field#]</smallfont></td>
          Make sure you replace '#' with your Field ID

          Comment


          • #6
            Ok, I got it Thanks.

            Comment

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