ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

member module

June 27, 2012 9:11am

Subscribe [2]
  • #1 / Jun 27, 2012 9:11am

    Johnny Bravo

    2 posts

    Hello Guys ,

    I am new to expression engine and am starting my career with expression engine and i need some help from you guys . I resolved many of my problems reading your answers . My issue is that i want to show the avatars and screen name and date of joining of the members on my page . Only those member which are assigned to a particular project , for that i run a sql query to get id’s of those members but i don’t know how to display them . Here is my code ::

    [color=blue][size=3]{html_header}
                  
          <?php 
                  $query_sea = $this->EE->db->query('SELECT member_id FROM `exp_eedonations_custom_fields` WHERE custom_field_value="15"');
                  foreach($query_sea->result_array() as $row)
      {
       echo $row['member_id']."
    \n";
          }
          ?>   
    
    
       {exp:member:custom_profile_data member_id="?"}
                          {if avatar}
                                  {avatar_url}
                          {/if}<br>
                          {screen_name}<br>
                          {join_date format="%Y %m %d"}<br>
                     {/exp:member:custom_profile_data}
    
    {html_footer}
    [/size][/color]
  • #2 / Jun 27, 2012 10:05am

    Johnny Bravo

    2 posts

    RESOLVED .. 😊

  • #3 / Jun 27, 2012 10:45am

    Shane Eckert

    7174 posts

    Hey Johnny,

    I am glad to hear it!

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases