• Rejestracja
vBHELP.pl - polskie wsparcie vBulletin
  1. #1
    Smok_ jest nieaktywny Użytkownik
    Dołączył
    Mar 2009
    Posty
    31

    Domyślnie Problem z modyfikacją STEAM Profile/Status Display

    Witam.
    Mam problem z tą modyfikacją: STEAM Profile/Status Display - vBulletin.org Forum

    Zamiast pożądanego efektu, czyli 'pasku' steam profile w poście, wyświetla mi się napis 'Not Found'. Nie jestem jednak pewien czy zrobiłem wszystko zgodnie z instrukcją.:

    Step 1
    Create a custom user profile field. Name it Steam ID.

    Single-Line Text Box Editable, Searchable, Members List
    W tym punkcie tworzę nowe pole STEAM_ID. Editable, Searchable, Members List - wszystko w porządku.

    Step 2
    Plug your field id in to the following code

    <if condition="$post['fieldx']"><iframe src="http://steamprofile.com/profile/default/sphtml.php?id=$post[fieldx]" align="right" width="254" height="48" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe></if>

    Make sure to change x to your id.
    Pole STEAM_ID, które wcześniej utworzyłem ma wartość field '5'. Wszystkie 'x' zamieniam na '5'. Kod w moim przypadku wygląda następująco:

    Kod:
    <if condition="$post['field5']"><iframe src="http://steamprofile.com/profile/default/sphtml.php?id=$post[field5]" align="right" width="254" height="48" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe></if>
    Step 3
    Place the code in step 2 that has been changed to reflect your profile field after

    $template_hook[postbit_messagearea_start]
    <if condition="$show['messageicon'] OR $post['title']">
    <!-- icon and title -->
    <div class="smallfont">

    in your postbit or postbit_legacy (depending on what you use) template
    Edytuje mój szablon (postbit i postbit_legacy), wklejając za powyższym kodem, ten:
    Kod:
    <if condition="$post['field5']"><iframe src="http://steamprofile.com/profile/default/sphtml.php?id=$post[field5]" align="right" width="254" height="48" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe></if>
    W panelu użytkownika podaje steam_id (który na pewno jest dobry). W poście widzę jednak ten tekst Not Found, zamiast paska steam. Co robię nie tak? Wersja forum na pewno jest dobra (3.8.4).



  2. #2
    Awatar MaXFireN
    MaXFireN jest nieaktywny Stały bywalec
    Dołączył
    Dec 2009
    Posty
    167

    Domyślnie

    Zamiast tego :
    Kod:
    <if condition="$post['field5']"><iframe src="http://steamprofile.com/profile/default/sphtml.php?id=$post[field5]" align="right" width="254" height="48" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe></if>
    Dodaj to :
    Kod:
    <if condition="$post['fieldx']"><iframe src="http://steamprofile.com/steam/profile/steamprofile/$post[fieldx].png" align="right" width="254" height="48" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe></if>


Podobne wątki

  1. Czy macie problem w wersji 4.0.4 z wejściem na profile
    By baciarek in forum Pytania i problemy
    Odpowiedzi: 9
    Ostatni post / autor: 25.06.2010, 10:44
  2. Status Steam Id
    By MaXFireN in forum Pytania i problemy
    Odpowiedzi: 7
    Ostatni post / autor: 08.05.2010, 03:59
  3. Status STEAM ?
    By Wayne in forum Pytania i problemy
    Odpowiedzi: 12
    Ostatni post / autor: 01.02.2010, 20:18
  4. Problem z Ban Info on User Profile
    By Lukrec in forum Pytania i problemy
    Odpowiedzi: 3
    Ostatni post / autor: 26.09.2009, 09:14
  5. vbseo 3.2.0 a profile userów - problem
    By bartol in forum vBSEO
    Odpowiedzi: 6
    Ostatni post / autor: 22.07.2008, 18:21
Chmurka.pl

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67