The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

LG Chatbox - Question

View previous topic View next topic Go down

Solved LG Chatbox - Question

Post by AnaMi on February 11th 2012, 12:54 am

Hello Hi, everyone! Very Happy
I've just installed the LG Chatbox. I think the fact that you can set up the auto login function is great! Wink So thank you for the Chatbox! cheers

1) I put the first code as an announcement. I deactivated scrolling.
2) I modified the editable codes of the CSS code.
3) I inserted the info for the creation of the script. As soon as the code was generated, I created a JavaSCript in the forum and pasted the code.

Yet, this is what happens,



To make the long story short, I'm afraid there's just a blank popup where the only thing that appears is the option to deactivate the sound. Also, I'm not automatically logged in, even though I checked the option in order to generate the script (Step 3).
I wonder if I'm doing something wrong despite following the instructions step-by-step. I hope you can help me.

I would also like to know whether there's a way to change the dimensions of the popup ShoutBox (at least its height) Very Happy

Thank you very much for your attention and help!

PS: I was using the Chatbox version 2.0. I deactivated the widget I was using in order to instal the LG Chatbox. Wink

PS2: In one of the attempts I had it work partially, but emoticons had a normal popup window, there was no automatic login and sound, and private messages didn't work, either.


Last edited by AnaMi on February 12th 2012, 1:38 am; edited 1 time in total

AnaMi
Forumember

Female Posts : 40
Reputation : 2
Language : Spanish, English and Rubbish
Location : [404 - Not Found]

http://english4fun.freeforo.com

Back to top Go down

Solved Re: LG Chatbox - Question

Post by LGforum on February 11th 2012, 12:04 pm

Hi. It seems to be a problem with the iframe.
Either there's tiny mistake in the HTML that you've made causing it not to load or it's just taking a while. Check the HTML to make sure all is in order.
Also please use your browsers error console to see what errors you get.

I'm guessing your on phpbb2 ?

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: LG Chatbox - Question

Post by AnaMi on February 11th 2012, 4:55 pm

Thanks for your reply, LG!

I'm a happy PHPBB3 user. Mr. Green
I've already checked again and again the HTML code I placed in the announcement. I didn't modify the code given as I know it's an essential code for the chatbox to display correctly.
What I did modify was the CSS but, of course, I exclusively changed the colour codes for the general forum template.
Finally, I inserted the info for the script to be generated. I checked the auto login option. I pasted the code for the script in all pages.

However, the result is what you see in the pic. And the special features do not work. I've tested it in Explorer, Mozilla Firefox and Chrome, and the error console shows no problems.

I'll keep on testing it. I wonder, once I fix it, if it's possible to have a smaller popup for the chat. Just a catch question.

Thanks for everything! You rock!


Last edited by AnaMi on February 11th 2012, 5:45 pm; edited 1 time in total

AnaMi
Forumember

Female Posts : 40
Reputation : 2
Language : Spanish, English and Rubbish
Location : [404 - Not Found]

http://english4fun.freeforo.com

Back to top Go down

Solved Re: LG Chatbox - Question

Post by LGforum on February 11th 2012, 5:22 pm

Phpbb3, thank god. My fave. Razz
Okay then. Well, I'll look into it for you when I return later ( about 5 hours from now, sorry). I'll visit your forum and see if I can find the problem and contact you either there or here (or somewhere) about what I find.

There will also be the next version coming out in the next few days also.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: LG Chatbox - Question

Post by AnaMi on February 11th 2012, 5:44 pm

Perfect! Thanks for your support! cheers
Just in case you need an admin account for testing, let me know.
Thank you very much, LG!

@LGforum wrote:Phpbb3, thank god. My fave. Razz
rock I agree!! Mr. Green

AnaMi
Forumember

Female Posts : 40
Reputation : 2
Language : Spanish, English and Rubbish
Location : [404 - Not Found]

http://english4fun.freeforo.com

Back to top Go down

Solved Re: LG Chatbox - Question

Post by LGforum on February 11th 2012, 11:43 pm

Hi, your problem is that a few of your scripts are crashing.

Your 'select content' script is crashing and making others crash. This is because forumotion automatically compiles the scripts into one file, so if one crashes, they all do.
I recommend you remove that script.

Here is an alternative (better) select content tutorial: http://www.avacweb.com/t113-select-code

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: LG Chatbox - Question

Post by AnaMi on February 12th 2012, 12:09 am

Wow, I see, LG.
Thank you, let me have a go and report what happened. I'll change the select script straight away!

________________

I changed the code (the tutorial was interesting and clear!) but it kept on failing. I decided to delete the whole script. There are no results yet. Razz

I'm checking script by script again to see what is going wrong. Smile

AnaMi
Forumember

Female Posts : 40
Reputation : 2
Language : Spanish, English and Rubbish
Location : [404 - Not Found]

http://english4fun.freeforo.com

Back to top Go down

Solved Re: LG Chatbox - Question

Post by LGforum on February 12th 2012, 12:28 am

Okay, I took another look, and this line:
Code:

jQuery(document).ready(function(){jQuery('img').each(function(){if(jQuery(this).attr('src')=='LINKTOIMAGE')jQuery(this).attr('alt','ALTTEXT')})})
Is your problem.
It does nothing so it can go Razz

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: LG Chatbox - Question

Post by AnaMi on February 12th 2012, 12:46 am

Ahhh, I see! It has to do with a script for using ALT captions for images posted with BBCode or in custom fields!! And you're right, it does nothing. Sad
I should have deleted it ages ago!

_________________________________

Ready. Erased. Very Happy But the issue with the chat still continues.
I thought if could have been the Visitors Message script which could be crashing, but I studied the script line by line and it was OK, according to your instructions in the corresponding tutorial. So now I'm really puzzled. mwii

But I won't give up. I'll keep on checking!

_______________________________

PD: Voilá! It finally works! I deleted one script:
Code:
$(function() {
          $('.uid').html(uid);
          $('.proLink').html('<a href="/u'+uid+'">Profile</a>');
        });
This was a script which, if I'm not wrong, is necessary for the Visitor Messages function. It generated the link for the User ID and profile. Yet, as I said in a previous thread, this function of the top corner message never worked in my forum.
Now that I deleted this script, I'm automatically logged in, I can see the Welcome message to the LG Chat and all the features are there.



It requires a QuickTime plugin, doesn't it?

Thank you very much, LG! cheers Thank you!! Hello

One more question and I won't bother anymore. Razz Is it possible to change the chat's height?

Thanks for your assistance!! flower

AnaMi
Forumember

Female Posts : 40
Reputation : 2
Language : Spanish, English and Rubbish
Location : [404 - Not Found]

http://english4fun.freeforo.com

Back to top Go down

Solved Re: LG Chatbox - Question

Post by LGforum on February 12th 2012, 1:29 am

Ahh I never saw that script in your JS, glad you found the troublemaker Razz
The 'sound' feature requires QuickTime yes. I plan on changing the sound feature very soon to much better way, I've left it how it is for so long because its annoying a friend I want to annoy Razz. (he'll see this too lol)

To change the height, you'll need to go to the HTML. (the bit which you put in the announcement.

You'll see there, something roughly like this:
Code:

style="height: 450px;"

Change the figure to something more to your liking Smile


OH as a quick FYI, the LG Chat stores the User ID and so it can be accessed and used for such things like the script you deleted is supposed to do.
If you'd like to let me know what it is your wanting, (link to profile, link to wall messages) I can show you what to do.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: LG Chatbox - Question

Post by AnaMi on February 12th 2012, 1:36 am

Wow, fantastic!!! Thank you very much!
If I could thank you twice, I would! Also, thanks for making the use of QuickTime clear to me. (Lucky friend the one you've got! LOL)
I'll change the height of the chat to a bit smaller one.

Ohh, so it stores the User ID! I guess I will be interested in using that SPAN info for the visitor messages again!

Thank you very much! You definitely rock!!!! flower Infinite thanks!

AnaMi
Forumember

Female Posts : 40
Reputation : 2
Language : Spanish, English and Rubbish
Location : [404 - Not Found]

http://english4fun.freeforo.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum