Ok i have tested...
Many thanks for the update.
I have a little different changes and a few questions
My different changes:
/includes/class_userprofile.php
-- Find --
Code:
$this->prepared['hasimdetails'] = ($this->prepared['icq'] OR $this->prepared['aim'] OR $this->prepared['msn'] OR $this->prepared['yahoo'] OR $this->prepared['skype']) ? true : false;
-- Replace With --
Code:
$this->prepared['hasimdetails'] = ($this->prepared['icq'] OR $this->prepared['aim'] OR $this->prepared['msn'] OR $this->prepared['yahoo'] OR $this->prepared['skype'] OR $this->prepared['xfire']) ? true : false;
I have added: OR $this->prepared['xfire']
This and my solution is the same
TEMPLATE EDIT: modifyprofile
-- Find --
Code:
<td>$vbphrase[skype_name]<br />
<img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" />
<input type="text" class="bginput" name="skype" value="$bbuserinfo[skype]" size="25" maxlength="50" dir="ltr" /></td>
-- add below --
Code:
<td>Xfire-Name<br />
<img src="$stylevar[imgdir_misc]/im_xfire.gif" alt="" />
<input type="text" class="bginput" name="xfire" value="$bbuserinfo[xfire]" size="25" maxlength="50" dir="ltr" /></td>
Thats better for me...
No After the Skype block is
<td> </td> this make a empty cell..and if that isn't removed you will get a a 3cell table..this kill you 2 cell layout..but so it will works
TEMPLATE EDIT: postbit legacy - postbit
-- Find -- (should be in both postbit and postbit_legacy, whichever you use)
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] </div>
-- Replace --
I have replaced not added after
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] $post[xfireicon] </div>
No you have to replace that your our trying to get it two times?
TEMPLATE EDIT: headinclude
-- Find --
Code:
<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->
-- Add Below --
Code:
function xfirewindow(userid, width, height)
{
return openWindow(
'sendmessage.php?' + SESSIONURL + 'do=xfire&u=' + userid,
width, height
);
}
i dont know wat this makes but i have changed...
This Java isn't necessary any more..the Plugin uses now the imwindow and not xfirewindow
My Questions:
1. Profil overview or whos online >> displayed:
Current Activity: Unknown Location /sendmessage.php?do=im&type=xfire&u=1 ?
we can i change it?
******************************************
*////////////////////////////////////////*
*////////////sendmassage.php/////////////*
*////////////////////////////////////////*
******************************************
-- Find --
case 'aim':
-- Add Below --
case 'xfire':
------------------------------
That was posted in the install.txt
2. How i can integrate send message in profile popup menu like icq? (is under profil overview)
Edit the product_xfire.xml edit there phrases <
(we can talk german better ^^)
New Xfire Icon
Attachment 84417 Download here