• Rejestracja
vBHELP.pl - polskie wsparcie vBulletin
  1. #1
    Twee jest nieaktywny Stały bywalec
    Dołączył
    Jun 2008
    Posty
    132

    Question Gadu-Gadu raz jeszcze

    Witam, po postanowiłem zamienić pole aim na gg, lecz w edycji szablonu, gdy zamienię w im_aim kod na taki:
    <a href="#" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;"><img src="http://status.gadu-gadu.pl/users/status.asp?id=$userinfo[aim_link]" title="$userinfo[aim_link]" width="16" border="0" height="16" /></a>
    to nie wyświetla się status w widoku postu. Doszłem do wniosku, że w ogóle $userinfo[aim_link] nie działa w tym im_aim w templatce.


    im_send_aim zamieniłem na:
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    <td class="tcat">
    <span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="self.close()">$vbphrase[close_this_window]</a></span>
    $vbphrase[aim]
    </td>
    </tr>
    <tr>
    <td class="panelsurround" align="center">
    <div class="panel">
    <div align="$stylevar[left]">
    <div class="fieldset">
    <img src="http://status.gadu-gadu.pl/users/status.asp?id=$userinfo[aim_link]" title="$userinfo[aim_link]" width="16" border="0" height="16" /></a>
    <phrase 1="member.php?$session[sessionurl]u=$userinfo[userid]" 2="$userinfo[username]">$vbphrase[send_message_via_aim_to_x_link]</phrase> (<strong dir="ltr">$userinfo[aim]</strong>)
    </div>

    <div class="fieldset"><a href="aim:addbuddy?screenname=$userinfo[aim_link]"><phrase 1="$userinfo[aim]">$vbphrase[add_x_to_your_contact_list]</phrase></a></div>

    <div class="fieldset"><a href="gg:$userinfo[aim_link]&amp;message=$vbphrase[aim_hi_are_you_there]"><phrase 1="$userinfo[aim]">$vbphrase[send_x_a_message]</phrase></a></div>

    <div class="fieldset">
    $vbphrase[these_functions_require_aim]
    </div>

    </div>
    </div>
    </td>
    </tr>
    </table>
    to w tym okienku wyskakującym ikonka statusu wyświetla się poprawnie. Jak więc wyświetlić status bezpośrednio w widoku postu?



  2. #2
    Awatar WoG
    WoG
    WoG jest nieaktywny vB Specialist
    Dołączył
    Feb 2008
    Posty
    2 812
    Przydatne posty
    298
    Wpisów
    1

    Domyślnie

    Spróbuj zamienić:

    Kod:
    <img src="http://status.gadu-gadu.pl/users/status.asp?id=$userinfo[aim_link]" title="$userinfo[aim_link]" width="16" border="0" height="16" />
    na
    Kod:
    <img src="http://status.gadu-gadu.pl/users/status.asp?id=$userinfo[aim]" title="$userinfo[aim]" width="16" border="0" height="16" />
    // nie testowałem
    Z poważaniem,
    WoG

    Ty też możesz pomóc spolszczać vBulletin 5: GitHub.com
    "Rozczarowanie spowodowane niską jakością pamięta się długo po przeminięciu radości spowodowanej niską ceną"


  3. #3
    Awatar Max
    Max
    Max jest nieaktywny There's something in the Air ...
    Dołączył
    Jan 2008
    Posty
    4 775
    Przydatne posty
    252
    Wpisów
    13

    Domyślnie

    Jeśli znajdę trochę więcej czasu postaram się wydać modyfikację podmieniającą komunikatory na polskie.


  4. #4
    Twee jest nieaktywny Stały bywalec
    Dołączył
    Jun 2008
    Posty
    132

    Domyślnie

    ok, już działą, dziękówa WoG


Podobne wątki

  1. WoG - AIM to Gadu Gadu
    By WoG in forum Modyfikacje
    Odpowiedzi: 17
    Ostatni post / autor: 11.12.2013, 23:27
  2. WoG - AIM to Gadu Gadu
    By WoG in forum Modyfikacje
    Odpowiedzi: 32
    Ostatni post / autor: 19.10.2010, 19:18
  3. Gadu Gadu w profliu i widoku tematu
    By kooza in forum Pytania i problemy
    Odpowiedzi: 2
    Ostatni post / autor: 11.09.2010, 08:08
  4. Update całej kolumny w mysql (numery gadu-gadu)
    By jaryx in forum PHP / MySQL / AJAX
    Odpowiedzi: 0
    Ostatni post / autor: 31.03.2009, 20:07
  5. Odpowiedzi: 1
    Ostatni post / autor: 05.01.2009, 22:51
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