FreiChat related discussions
Joomla 1.5 + CB issues

I replaced the older version of freichat for Joomla with the new freichatx.
I installed the files and the module for Joomla with CB.
I've tried with noconflict off and on, if it's set to on it doesn't load at all.

Sometimes the im will load, other times it won't, and it will only ever load on the profile page, nowhere else. Sometimes it will show users when it loads but usually it just says nobody online. Also I'm not a fan on the online/offline function of the new freichat and would rather it do a simple session check so it matches my online friends module I built, this isn't a huge issue as I can tweak that once the component is running stable.

The site is http://www.erecoverydev.com and you can log in with the username: Nicole C and password: password. If you need server login details or an admin account please let me know and I can send it to you.

I replaced the older version of freichat for Joomla with the new freichatx. I installed the files and the module for Joomla with CB. I've tried with noconflict off and on, if it's set to on it doesn't load at all. Sometimes the im will load, other times it won't, and it will only ever load on the profile page, nowhere else. Sometimes it will show users when it loads but usually it just says nobody online. Also I'm not a fan on the online/offline function of the new freichat and would rather it do a simple session check so it matches my online friends module I built, this isn't a huge issue as I can tweak that once the component is running stable. The site is http://www.erecoverydev.com and you can log in with the username: Nicole C and password: password. If you need server login details or an admin account please let me know and I can send it to you.

Have you set the module to show on all pages ?, because the FreiChat code
itself is not loading .

Have you set the module to show on all pages ?, because the FreiChat code itself is not loading .
Necessity is the mother of all inventions!

Yeah the module is set to load in all pages except the main landing page before you log in. The online friends module is set to the same module position as freichat so if the online friends show under the left menu than the friechat module should also be loading there.

I seem to be able to get freichat to load ok on the profile page but I have to set it to guests, I can't use buddies which is what I need as nobody will ever show up.

I've been digging through the code a bit, what file are the community builder fields being pulled at to get the avatar, username, connection, etc?

Yeah the module is set to load in all pages except the main landing page before you log in. The online friends module is set to the same module position as freichat so if the online friends show under the left menu than the friechat module should also be loading there. I seem to be able to get freichat to load ok on the profile page but I have to set it to guests, I can't use buddies which is what I need as nobody will ever show up. I've been digging through the code a bit, what file are the community builder fields being pulled at to get the avatar, username, connection, etc?

The main integration files that get the user information are
server/drivers/base.php & server/drivers/JCB.php for community builder

But i dont think the problem is with the FreiChat code , because when the code is
loaded it works perfectly fine .
But in other pages the freichat files are itself not include/loaded
i.e the module is not loaded . So there may be some problem in module
configuration.

The main integration files that get the user information are server/drivers/base.php & server/drivers/JCB.php for community builder But i dont think the problem is with the FreiChat code , because when the code is loaded it works perfectly fine . But in other pages the freichat files are itself not include/loaded i.e the module is not loaded . So there may be some problem in module configuration.
Necessity is the mother of all inventions!

Other modules assigned to the position load so if it's a module issue it's with freichat module it's self.

I would be more inclined to say it's an issue with jQuery/script confliction, or an issue with the CB api. This is a large site with a lot of custom scripts loading, including multiple versions of jQuery (1.4.3, 1.5.1, and 1.6) set up with different vars of noConflict, and on some pages there is some mootools being used, and even some prototype in a couple of places. This is probably why trying to load freichat in noconflict mode doesn't work, I probably need to set a different var for noconflict for it (the var I use for 1.4.3 since it looks like that's what you're using here).

I guess the question I should ask here is if there is a conflict with jQuery would it cause freichat not to load at all?

I've noticed an issue with loading my online friends module I built working properly on non-cb pages that I'm trying to resolve now. The main module php file loads the friends data fine on page load, but when the jquery script tries to refresh the div with the data from a helper file using the same code I use in the main php file I get a cbgetparam nonobject error and if I tweak the cb api a bit to get around it it doesn't pull the data at all. Perhaps it's a similar issue with freichat not being able to pull the cb data on non cb pages causing it not to load?

I also had a similar issue with the older version of freichat for Joomla and cb not being able to load on non profile pages. The module would load but it wouldn't populate with online friends and the im component wouldn't appear on the bottom left. I'm guessing if I stuck an alert in the new freichatx module it would load and the alert would pop, but none of the data would load.

Maybe these two clues might give you an idea?

Other modules assigned to the position load so if it's a module issue it's with freichat module it's self. I would be more inclined to say it's an issue with jQuery/script confliction, or an issue with the CB api. This is a large site with a lot of custom scripts loading, including multiple versions of jQuery (1.4.3, 1.5.1, and 1.6) set up with different vars of noConflict, and on some pages there is some mootools being used, and even some prototype in a couple of places. This is probably why trying to load freichat in noconflict mode doesn't work, I probably need to set a different var for noconflict for it (the var I use for 1.4.3 since it looks like that's what you're using here). I guess the question I should ask here is if there is a conflict with jQuery would it cause freichat not to load at all? I've noticed an issue with loading my online friends module I built working properly on non-cb pages that I'm trying to resolve now. The main module php file loads the friends data fine on page load, but when the jquery script tries to refresh the div with the data from a helper file using the same code I use in the main php file I get a cbgetparam nonobject error and if I tweak the cb api a bit to get around it it doesn't pull the data at all. Perhaps it's a similar issue with freichat not being able to pull the cb data on non cb pages causing it not to load? I also had a similar issue with the older version of freichat for Joomla and cb not being able to load on non profile pages. The module would load but it wouldn't populate with online friends and the im component wouldn't appear on the bottom left. I'm guessing if I stuck an alert in the new freichatx module it would load and the alert would pop, but none of the data would load. Maybe these two clues might give you an idea?
113
4
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