Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

CHAT Module

  • baboucarr Jobe
  • baboucarr Jobe's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 8 months ago #138158 by baboucarr Jobe
CHAT Module was created by baboucarr Jobe
Now one problem. I wanted to add Radiojar's chat module to the site, and needed some help. How can I get about doing this? It would've been wonderful to add this to the template. Perhaps on an update of the template :) Here is what am referring to www.radiojar.com/g/api-widgets-chat/

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 8 months ago #138159 by Krikor Boghossian
Replied by Krikor Boghossian on topic CHAT Module
I do not think an update is needed. You can publish a custom code module (K2 Tools or custom HTML) in the RadioWave_Component position.

You can also let me know if you want to add it to the popup player as well.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • baboucarr Jobe
  • baboucarr Jobe's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 8 months ago - 10 years 8 months ago #138160 by baboucarr Jobe
Replied by baboucarr Jobe on topic CHAT Module
Yes I do want to add it to the popup player too please. But what are the steps I need to get both done? Am not a developer, but can follow directions well. Thanks sooo much.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 8 months ago - 10 years 8 months ago #138161 by Krikor Boghossian
Replied by Krikor Boghossian on topic CHAT Module
For the module just add a K2Tools module in the aforementioned position (RadioWave_Component).
The menu type can be an empty com_content menu if you do not want any content to show up.

The chat's code is provided and directions from Radiojar.
You can use their jsfiddle link as a guide.

For the popup use this file. Simply replace the same one in the root folder of your template.
The chat should be 630px in width and about 280 pixels in width.

Do not forget to publish the module in the "RadioWave_Popup_Chat" position.

As always I am attaching a zip file so extract before uploading to get the actual php file.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Attachments:

Please Log in or Create an account to join the conversation.

  • baboucarr Jobe
  • baboucarr Jobe's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 7 months ago - 10 years 7 months ago #138162 by baboucarr Jobe
Replied by baboucarr Jobe on topic CHAT Module
Thanks for the file you sent, I uploaded it and that did add a chat link on the popup window, but one problem; The template didn't come with the "RadioWave_Popup_Chat" position you instructed me to publish on. It is not listed on the modules position list.

Secondly, the jsfiddle instructions weren't clear enough. Please remember am not a developer. When I create a module what exactly do i do with it, there are two sets of codes provide by radiojar, which goes where?
Stepped Details, and not a summary of steps could perhaps work out for us both. Screenshots are the best:) cause someone else will soon need this kind of help, but can see screenshots and follow them. Am not sure if your time permits such? :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #138163 by Krikor Boghossian
Replied by Krikor Boghossian on topic CHAT Module
You can always type a module position in the list manually ;)
No need to put it in the xml file.

Now as for the instructions.
Publish a new Custom HTML or K2 Tools module (it's up to you to choose which one) and paste this snippet inside it.

Personally I prefer the K2 Tools module because it will never add any "trash code".
<script>//<![CDATA[ 
window.onload=function(){
 rjq('#rjp-chat').radiojar('chatProvider', {
                        streamname: "u0510s7hb",
						width: 400,
						height:200,
						frameborder:false, 
						scrolling:"auto",
						cssfile:""
                    });
}//]]>  

</script>
<div id="rjp-chat">
</div>

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • baboucarr Jobe
  • baboucarr Jobe's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 7 months ago #138164 by baboucarr Jobe
Replied by baboucarr Jobe on topic CHAT Module
YOU ARE THE MAN!!!! :) Thanks!!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 7 months ago #138165 by Krikor Boghossian
Replied by Krikor Boghossian on topic CHAT Module
You 're welcome. I 'm glad I could help

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Aaron Healey & Frank Clark
  • Aaron Healey & Frank Clark's Avatar
  • Offline
  • Premium Member
More
10 years 5 months ago #138166 by Aaron Healey & Frank Clark
Replied by Aaron Healey & Frank Clark on topic CHAT Module
couldn't you just add the code for the chat to the actual banner so it will show the chat rather then banner

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 5 months ago #138167 by Krikor Boghossian
Replied by Krikor Boghossian on topic CHAT Module
Yes you can do that as well.

Do not forget to change the dimensions of the chat widget to match these of the banner.
<script>//<![CDATA[ 
window.onload=function(){
 rjq('#rjp-chat').radiojar('chatProvider', {
                        streamname: "u0510s7hb",
						width: 300,
						height: 250,
						frameborder:false, 
						scrolling:"auto",
						cssfile:""
                    });
}//]]>  
 
</script>
<div id="rjp-chat">
</div>

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum