Custom Profiel fields with picture

Thảo luận trong 'Style & Template Questions' bắt đầu bởi EfendiBey, 26/11/12.

1votes
5/5, 1 vote

  1. EfendiBey

    EfendiBey New Member

    Bài viết:
    25
    Likes :
    2
    I tried but I couldnt work.
     
  2. Fox Of Dark

    Fox Of Dark Oáp.... Mấy ngày nay thức trễ

    Bài viết:
    1,102
    Likes :
    316
    Thừa : chữ
    Thiếu: Hình
     
  3. nhok612

    nhok612 Member

    Bài viết:
    439
    Likes :
    17
    waiting xaliver answer only
     
  4. EfendiBey

    EfendiBey New Member

    Bài viết:
    25
    Likes :
    2
    aa
    I applied that and There is some problems.

    1. I see which pictures ı add in codes. But at above picture this user have only one custom profile filed. but seem two picture.
    2. Pictures not correct why I set a custom profile field as named Social but pictures are another group's icons.
     
  5. EfendiBey

    EfendiBey New Member

    Bài viết:
    25
    Likes :
    2
    Mã:
    <dl class="pairsInline">
                            <dd><img src="/styles/ddz/ddz_extra/gorev/istihbarat.PNG" alt="{$user.customFields.strateji}" /></dd>
                        </dl>
    <dl class="pairsInline">
                            <dd><img src="/styles/ddz/ddz_extra/gorev/strateji.PNG" alt="{$user.customFields.stihbarat}" /></dd>
                        </dl>
    I used above codes..
     
  6. nhok612

    nhok612 Member

    Bài viết:
    439
    Likes :
    17
    close your eyes and said 3 times xaliver he will answer
     
  7. Fox Of Dark

    Fox Of Dark Oáp.... Mấy ngày nay thức trễ

    Bài viết:
    1,102
    Likes :
    316
    So, you want a icon of the group?
    User the Social group addon :|
     
  8. EfendiBey

    EfendiBey New Member

    Bài viết:
    25
    Likes :
    2
    I didnt mention social groups addon. it is a only working group. They have another permissions in forum. And ı seperate my workişng groups with custom profile field and icons.

    I set custom profile fields but ı couldnt set icons.
     
  9. Xavier

    Xavier Well-Known Member

    Bài viết:
    1,414
    Likes :
    522
    You need use css for fix width and height :)
    sample:
    width:20px; height:20px;
     
  10. nhok612

    nhok612 Member

    Bài viết:
    439
    Likes :
    17
    Resize the image or icon?
     
  11. Xavier

    Xavier Well-Known Member

    Bài viết:
    1,414
    Likes :
    522
    image
     
  12. EfendiBey

    EfendiBey New Member

    Bài viết:
    25
    Likes :
    2
    Xavier,

    İcon size is ok there isnt problem. Problem is that.

    For examle I have 3 members.


    EfendiBey
    Xavier
    Other User

    I set custom profile field to only EfendiBey (custom profile field id is stihbarat)

    When ı add your codes to message user info. İcons added all members postbit. But normally ı want for only Efendibey why only he has got custom profile field.
     
  13. nhok612

    nhok612 Member

    Bài viết:
    439
    Likes :
    17
    Xavier,

    Biểu tượng kích thước là ok không có vấn đề. Vấn đề là.

    Đối với examle tôi có 3 thành viên.


    EfendiBey
    Xavier
    người dùng khác

    Tôi thiết lập lĩnh vực hồ sơ tùy chỉnh để chỉ EfendiBey (tùy chỉnh id hồ sơ lĩnh vực là stihbarat)

    Khi tôi thêm mã số của bạn thông tin người dùng tin nhắn. Biểu tượng được thêm tất cả các thành viên postbit. Nhưng bình thường tôi muốn chỉ Efendibey tại sao chỉ có ông đã nhận lĩnh vực cấu hình tùy chỉnh.
    tran by go0gle
     
  14. Fox Of Dark

    Fox Of Dark Oáp.... Mấy ngày nay thức trễ

    Bài viết:
    1,102
    Likes :
    316
    Because you add the code in template, so all of the postbit on forum will have this ;)
     
  15. EfendiBey

    EfendiBey New Member

    Bài viết:
    25
    Likes :
    2
    Where ı will add and which codes Fox Of Dark :)
     
  16. Fox Of Dark

    Fox Of Dark Oáp.... Mấy ngày nay thức trễ

    Bài viết:
    1,102
    Likes :
    316
    just a moment :)
     
  17. Xavier

    Xavier Well-Known Member

    Bài viết:
    1,414
    Likes :
    522
    sorry..you need use
    Mã:
    <xen:if is="{$visitor.user_id} ==ID member">
    CODE For image User
    </xen:if>
     
  18. Fox Of Dark

    Fox Of Dark Oáp.... Mấy ngày nay thức trễ

    Bài viết:
    1,102
    Likes :
    316
    why you always faster than me :((
     
  19. Fox Of Dark

    Fox Of Dark Oáp.... Mấy ngày nay thức trễ

    Bài viết:
    1,102
    Likes :
    316
    wait:|
    If he want set the group, he use what? :))
    Mã:
    <xen:if is="{$group_id} ==ID group">
    CODE For image User
    </xen:if>
    Có sai thì báo nha Xavier
     
  20. Xavier

    Xavier Well-Known Member

    Bài viết:
    1,414
    Likes :
    522
    if you want to use for group
    Mã:
    <xen:if is="{$visitor.user_group_id} ==IP GROUP">
    CODE HERE
    </xen:if>
    Not $group_id
     
    Fox Of Dark thích bài này.
comments powered by Disqus

Chia sẻ trang này

Đang tải...