FreiChat related discussions
A few stuff

Hi,

I'd like to know how to disable Invisible and Offline functionalities, and reset to online everyone that chose one of this two options.

Would it be possible to have the bar containing the friend list online to automatically chose the good size, like they do on facebook ?

Hi, I'd like to know how to disable Invisible and Offline functionalities, and reset to online everyone that chose one of this two options. Would it be possible to have the bar containing the friend list online to automatically chose the good size, like they do on facebook ?

on line 48 of ~/freichat/client/freichat.js replace "goInvisible" and "goOffline" with "goOnline"
Its the simplest way, what happens is , if the user clicks on "go offline" or "go invisible" the "go online" function will be called!

Would it be possible to have the bar containing the friend list online to automatically chose the good size, like they do on facebook ?

I don't use facebook and i haven't noticed the 'automatically choose the good size' thing either. You have to give a better explanation on how things work in facebook.

on line 48 of ~/freichat/client/freichat.js replace "goInvisible" and "goOffline" with "goOnline" Its the simplest way, what happens is , if the user clicks on "go offline" or "go invisible" the "go online" function will be called! <i>Would it be possible to have the bar containing the friend list online to automatically chose the good size, like they do on facebook ?</i> I don't use facebook and i haven't noticed the 'automatically choose the good size' thing either. You have to give a better explanation on how things work in facebook.
Necessity is the mother of all inventions!

Just a tip:

If you don't want freichat to go busy and offline if a user is inactive for a set time, you can disable this function this way:

In /freichat/client/freichat.js around line 14:
look for these 2 lines:

busy_timeOut:freidefines.busy_timeOut,  // In seconds
offline_timeOut:freidefines.offline_timeOut, //In seconds


Put 2 / before those lines so they look like this:
//busy_timeOut:freidefines.busy_timeOut,  // In seconds
//offline_timeOut:freidefines.offline_timeOut, //In seconds


Now you're users don;t go automaticly busy and offline.

Just a tip: If you don't want freichat to go busy and offline if a user is inactive for a set time, you can disable this function this way: In /freichat/client/freichat.js around line 14: look for these 2 lines: <code> busy_timeOut:freidefines.busy_timeOut, // In seconds offline_timeOut:freidefines.offline_timeOut, //In seconds</code> Put 2 / before those lines so they look like this: <code> //busy_timeOut:freidefines.busy_timeOut, // In seconds //offline_timeOut:freidefines.offline_timeOut, //In seconds</code> Now you're users don;t go automaticly busy and offline.
Bart Cockheyt
84
2
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft