Fork me on GitHub

Search

Donat-O-Meter

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

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 adslight Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield billige Bootstrap By Captcha cell chronolabs Clicks content CĂN demo docek download Dresses evden eve facebook Fat Food for free Gateway Google Guide herre Home Honeypot Human HỘ IP iPhone jQuery Law Legal List log Loss mobile module modules Monster new newbb news NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher Rapid RESIDENCE responsive review Rights rmcommon security Sentry Signatures Signed site Smartphone Smoking Solution Spam Studio tags tdmcreate template The Theme themes web weight Wishcraft xoops Xortify XPayment

New Users

Registering user

# 137911

mydarkglobe

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  |  Register To Post

(1) 2 »


#1 Posted on: 2011/5/28 7:07 XIM - XOOPS Instant Messenger
This is a continuation from this 28 pages topic

http://www.xoops.org/modules/newbb/vi ... at&order=ASC&type=&mode=0

first of all this is a great module..thank you to the developers

Ok im using xim 1.02..

can i suggest the online user block to show user avatar just like facebook






Top

demian
Joined:
2008/4/29 0:06
Group:
Registered Users
Posts: 225
(Show More) (Show Less)


#2 Posted on: 2011/5/28 7:20 Re: XIM - XOOPS Instant Messenger
problem im having after i installed xim...

the css design for my theme for hyperlink is replaced to the default blue color....

uninstall xim...my site design back to normal

please help

Top

demian
Joined:
2008/4/29 0:06
Group:
Registered Users
Posts: 225
(Show More) (Show Less)


#3 Posted on: 2011/5/28 9:31 Re: XIM - XOOPS Instant Messenger
Cound you send me a link please ?..

I have a feeling it could be from the css/footer.css.php and the line

#footpanel ul li a {
     
padding5px;
     
floatleft;
     
text-indent: -9999px;
     
height16pxwidth16px;
     
text-decorationnone;
     
color#333;
     
positionrelative;
     }


try to comment-out the like color: #333;

like this

// color: #333;

and see if this should help

Top


Programming is like sex:
One mistake and you have to support it for the rest of your life.
culex
Joined:
2004/9/23 5:26
From Skagen, Denmark
Group:
Registered Users
Repository Group
Posts: 645
(Show More) (Show Less)


#4 Posted on: 2011/5/28 9:51 Re: XIM - XOOPS Instant Messenger
i didnt activate the footer

after some hours..i have figure this out

this line from xim.css causing the problem
.chatboxmessagefrom font-weightbold; }
.
chatboxmessage aa:hover color#00f }



i changed it to this
.chatboxmessagefrom font-weightbold; }
.
chatboxmessagefrom a {color:#33211F} 
.chatboxmessagefrom a:hover color#33211F }

.chatboxmessage a {color:#33211F} 
.chatboxmessage a:hover color#33211F }


Top

demian
Joined:
2008/4/29 0:06
Group:
Registered Users
Posts: 225
(Show More) (Show Less)


#5 Posted on: 2011/5/28 9:59 Re: XIM - XOOPS Instant Messenger
Quote:

stance wrote:
1-This story below happened twice with two seperate members and me, one of them was online and the other was busy:

I'd written to a member and (s)he replied. We had a short conversation. Then i closed the dialogue box. A few minutes later, while browsing the website, the dialogue box appeared again, with just the first message, like it was never replied.

To make it clearer, here is an example with just an imaginary conversation:

First person: Hello, the time is 17:30 here, what's the time there? (1st message)
Second person: Hello it is 19.30 here? (2)
First person: Ok thank you (3)
Second person: Your welcome

--Second person closes the dialogue box
--A few minutes later, the dialogue box appears on the second person's screen, like it was never replied:

First person: Hello, the time is 17:30 here, what's the time there?


im having this problem too...


another problem is......in ie7/8 browser

in the chat box..the avatar and the chat text is not in one line together..text comes first and the avatar is blow the text

in ie6 it is worse...

sad most of my user still use this browser


anyway keep up the good work mr culex and andrax





ie sucks !!!

Top

demian
Joined:
2008/4/29 0:06
Group:
Registered Users
Posts: 225
(Show More) (Show Less)


#6 Posted on: 2011/5/28 11:40 Re: XIM - XOOPS Instant Messenger
culex can you give me some point how to add user vatar in the block ?

so far heres what i did i add this in blocks
b_instantmessenger.php

$user_avatar $xoopsUser->getVar('user_avatar');

if (is_object($xoopsModule)) {
        
$online_handler->write($uid$uname,$user_avatartime(), $xoopsModule->getVar('mid'), $_SERVER['REMOTE_ADDR']);
    } else {
        
$online_handler->write($uid$uname$user_avatartime(), 0$_SERVER['REMOTE_ADDR']);


$avatar XOOPS_URL."/uploads/".$user_avatar."";

$block['amigos'][] = array('id'=> $onlines[$i]['online_uid'], 'nome' => $onlines[$i]['online_uname'], 'avatar' => $avatar'status' => $image);


and in templates b_instantmessenger.html i use this
<img src='<{$user.avatar}>' height='48' width='48' title='<{$user.nome}>'>


success but its show my own avatar and not the user avatar


Top

demian
Joined:
2008/4/29 0:06
Group:
Registered Users
Posts: 225
(Show More) (Show Less)


#7 Posted on: 2011/5/29 0:13 Re: XIM - XOOPS Instant Messenger
Hey demian,

To get user avatar in the block, try this...

In the file b_instantmessenger.php, replace the lines below(84,85,86):
if ($status == '0') {$image XOOPS_URL."/modules/xim/images/Absent-blue16.png";}
    if (
$status == '1') {$image XOOPS_URL."/modules/xim/images/busy-blue16.png";}
    if (
$status == '2') {$image XOOPS_URL."/modules/xim/images/messenger-blue16.png";}

by this code:
$user = new XoopsUser($onlines[$i]['online_uid']);
                 
$avatar =$user->user_avatar();
                 if (
$avatar!='blank.gif') {
                    
$image XOOPS_URL."/uploads/".$avatar;
                 } else {
                    
$image XOOPS_URL."/modules/xim/images/default_avatar.png";
                 }


In the directory templates / blocks, modify the files onlinenow.html (line 6) and b_instantmessenger.html (line 13) and add the class "image" on the avatar image, as below:
<img class="image" src="<{$user.status}>" style="margin-bottom:-3px" title="<{$user.nome}>" /> <{$user.nome}>


I hope that helps you ...

Top


Luiz Carlos (Andrax)
"whoever wants to become great among you must be your servant" – Jesus
http://guxbrasil.org
http://about.me/LuizCerqueira
andrax
Joined:
2010/9/10 2:52
From Salvador - Bahia - Brasil
Group:
Registered Users
Posts: 60
(Show More) (Show Less)


#8 Posted on: 2011/5/29 1:06 Re: XIM - XOOPS Instant Messenger
thank you andrax....you rock it works

my site users is so happy with this module..im using this in an intranet website....

thank you

xim is indeed one of the best module xoops ever !!!!!!

btw any new development on this module ?....

just some
some harcoded language i notice
"options" for the chat settings
"saved" when savings

hope this can be put in language folder...im using multilanguage

anyway keep up the good wrk guyss....

Top

demian
Joined:
2008/4/29 0:06
Group:
Registered Users
Posts: 225
(Show More) (Show Less)


#9 Posted on: 2011/5/29 11:10 Re: XIM - XOOPS Instant Messenger
how do i change the default sound ?

i want to change it to blob...

Top

mjoel
Joined:
2006/12/9 8:28
Group:
Registered Users
Posts: 220
(Show More) (Show Less)


#10 Posted on: 2011/5/29 22:32 Re: XIM - XOOPS Instant Messenger
there is issue with google chrome

the setting options is not hidden after saving !!

Top

demian
Joined:
2008/4/29 0:06
Group:
Registered Users
Posts: 225
(Show More) (Show Less)




(1) 2 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]