Announcement

Collapse
No announcement yet.

How do I change Member details ?

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

  • How do I change Member details ?

    I have similar member details included on my forum when users post.
    i.e User Name, Location and date joined up.

    I'd like to modify it to include details held in the User profile, i.e Club Membership Number and Year of vehicle.

    Can someone please point me to which template I need to edit ? I've had a good look around this morning, but have not yet found the right one.

    Thanks

    Mark
    Webmaster - Mustang Owners Club of Great Britain

  • #2
    You need to edit your postbit template.

    Look for:
    PHP Code:
    <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

    Comment


    • #3
      Originally posted by vBR
      You need to edit your postbit template.

      Look for:
      PHP Code:
      <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
      Thanks for the reply, I've found the template and modified it, but cannot get the data to show.

      I have a field in the User profile called Membership , and I'm trying to display this value.

      I've added the line $post[Membership] but it does not display anything. Do I have to define this value somewhere else ?

      Thanks in advance for any advice you may be able to give.

      Regards

      Mark
      Webmaster - Mustang Owners Club of Great Britain

      Comment


      • #4
        Originally posted by UKCobra
        Thanks for the reply, I've found the template and modified it, but cannot get the data to show.

        I have a field in the User profile called Membership , and I'm trying to display this value.

        I've added the line $post[Membership] but it does not display anything. Do I have to define this value somewhere else ?

        Thanks in advance for any advice you may be able to give.

        Regards

        Mark
        Worked it out, I selected $post[field5] as this was added some time later after the inital 4 were used.

        Mark
        Webmaster - Mustang Owners Club of Great Britain

        Comment


        • #5
          Is there any way to have this information come up when another user clicks on the profile page?

          Comment

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