1
gpl13
Gadu-Gadu PL Hack
  • 2004/6/18 0:50

  • gpl13

  • Just popping in

  • Posts: 33

  • Since: 2004/3/5 1


Hi,

I need to do my gg: link :) but i dont know how :) I know only, that this is resposible for this :P

userinfo.php

Quote:


if (is_object($xoopsUser)) {
$xoopsTpl->assign('user_icq', " <img src=\"http://www.gadu-gadu.pl/users/status.asp?id=".$thisUser->getVar(

'icq_user')."&styl=1\" alt=\"".sprintf(_SENDGG,$thisUser->getVar('icq_user'))."\" /><a RAZ DWA TRZY</a>");
} else {
$xoopsTpl->assign('user_icq', '');
}


I wish,that user_icq will be entered after: http://www.gadu-gadu.pl/users/status.asp?id=then after that &styl=1. this is for graphicas status of my messanger :) Next after that image i wish that the ICQ Number will be viewed linked to:

gg: and by icq number !! Some one can help me ??

2
gpl13
Re: Gadu-Gadu PL Hack
  • 2004/7/5 22:24

  • gpl13

  • Just popping in

  • Posts: 33

  • Since: 2004/3/5 1


Okay, Moderator can close this topic - no one can helps me :( buu ;P

3
MacDada
Re: Gadu-Gadu PL Hack
  • 2005/5/24 17:20

  • MacDada

  • Just popping in

  • Posts: 2

  • Since: 2005/5/24


I want to now it too...

Please! Help us!

4
KubaZ
Re: Gadu-Gadu PL Hack - solved
  • 2005/5/29 22:43

  • KubaZ

  • Just popping in

  • Posts: 37

  • Since: 2002/10/9


It is very simple. You have to edit your template (because XOOPS uses Smarty Engine), which is located in :

modules/system/templates/system_userinfo.html.

There you have something like this:

<tr valign="top">
          <
td class="head"><{$lang_icq}></td>
          <
td class="odd"><{$user_icq}></td>
        </
tr>


so, you localized where you have to change
So introduce changes :

<tr valign="top">
          <
td class="head"><{$lang_icq}></td>
          <
td class="odd">
<
img src="http://www.gadu-gadu.pl/users/status.asp?id=<{$user_icq}>&styl=1">
<
a href="gg:"><{$user_icq}></a></td>
        </
tr>


to give output <img of status><gg:your gg number>

it's all :P

Login

Who's Online

168 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 168


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits