Who is online?
In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests

None

[ View the whole list ]


Most users ever online was 246 on Tue 31 Jan - 2:47
Statistics
We have 150 registered users
The newest registered user is Luxic

Our users have posted a total of 2050 messages in 200 subjects
Latest topics
» A small share
by Flora Today at 21:03

» Edit the 404 page on Forumotion
by LGforum Today at 15:29

» How to Change The Homepage?
by LGforum Today at 15:28

» Counter for my notices box
by Niko Today at 15:03

» 21. Show Recent Topics Preview In Accordion
by ReBoRN Yesterday at 19:08

8. LG Chat (v3.0)

Page 1 of 4 1, 2, 3, 4  Next

View previous topic View next topic Go down

8. LG Chat (v3.0)

Post by LGforum on Wed 9 Nov - 4:11

SEE LG CHAT VERSION 4: http://www.avacweb.com/t91-14-lgchat-version-4

LGchat V3.0 - Better Than Ever Smile
SEE LG CHAT VERSION 4: http://www.avacweb.com/t91-14-lgchat-version-4
(LGchat v3.0 is only available to those who register in this forum. If you do not wish to register, then only v1.0 and v2.0 are available)

So if you have LGchat installed on your forum, then this version will provide you with one even better. If you haven't got LGchat installed on your forum, then i suggest you do using this tutorial. Smile

First of all, as much as it is a pain, you will need to uninstall your current version of LGchat.
Delete the CSS, the HTML and the Javascript.

Things this version includes:
- The button will glow orange if you have the chat closed and a new message is entered.
- When a new message is entered a sound will play, so you'll know when your on another tab.
- The option to turn off sound.
- and of course the online count. This tutorial installs the online count which looks like this: (0/0). If i have any requests for the other styles of membercount number i'll do it, but for now im foing this type because i know that is what most use.

Okay, so first of all, you'll need somewhere to put the HTML.
So you'll need to make a decision between stuff like Widgets, Homepage Message, Announcements etc...

Once chosen a place, here is the HTML you'll need to enter:
[noguest]
Code:

codes removed. Please see version 4.

[/noguest]

Then of course click Save.
Now head to your CSS. (display>colors>css)

And put this:
Code:

Code removed. Please see version 4.

Its all laid out nicely to go with the new syntax update Rolling Eyes

Thirdly, you'll need the Javascript.
So head to Modules>Javascript Management, and create a new Javascript File.

Put this in the new Javascript File:
[noguest]
Code:

Code removed. Please see version 4.

[/noguest]
Set it to all pages if you plan to have your chatbox in all pages. Or just the homepage if you have it on only the hompeage (makes sense really).

Near the start you will see bits in capitals. There you will have to fill in your colors. The first one, you need to fill in as the regular background color for chat button. You'll find this in the provided CSS under '.wmenu', and set it to whatever you want in both places.

The second bit in capitals is the color you want the button to change to when a new message has been entered into the chatbox. Personally i recommend just typing orange there.
For it to work, you must keep the quote marks there and the semi colon at the end of the line.


After having the CSS, HTML and Javascript all saved and installed correctly, i don't see any reason why you shouldn't have LGchat v3.0 Smile

Enjoy Wink


Last edited by LGforum on Tue 17 Jan - 19:05; edited 6 times in total

LGforum


Forum Version: Phpbb3
Posts: 729
Join date: 2011-10-05
Location: UK

View user profile http://www.avacweb.com

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by Suuki on Sat 12 Nov - 22:32

This is great! But something I always wanted was maybe different chat rooms people can create and join. That would be perfect for people with large forums!

Suuki

Posts: 34
Join date: 2011-11-07

View user profile

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by nutsonlizards on Wed 23 Nov - 11:06

This is so awesome Thx for sharing Very Happy

nutsonlizards


Forum Version: PunBB
Posts: 44
Join date: 2011-11-18

View user profile

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by Empire_1 on Wed 23 Nov - 18:34

This feature is absolutely amazing Smile

Is there a way to make the Chatbox "Without Archives" on default???

Empire_1

Posts: 10
Join date: 2011-11-22

View user profile

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by LGforum on Wed 23 Nov - 22:55

Find this in the HTML part:
Code:

src="/chatbox/index.forum?archives=1


and get rid of the '?archives=1' bit.

And thank you Wink

LGforum


Forum Version: Phpbb3
Posts: 729
Join date: 2011-10-05
Location: UK

View user profile http://www.avacweb.com

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by Empire_1 on Fri 25 Nov - 0:06

Great! Thanks so much Very Happy

Empire_1

Posts: 10
Join date: 2011-11-22

View user profile

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by LGforum on Fri 25 Nov - 0:10

Your welcome. Remember to look through the code. It is a great example of accessing data and elements within an Iframe. Wink

LGforum


Forum Version: Phpbb3
Posts: 729
Join date: 2011-10-05
Location: UK

View user profile http://www.avacweb.com

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by tattoo on Sat 26 Nov - 11:20

is there any way to remove the timeout? so members stay online?

tattoo

Posts: 1
Join date: 2011-11-26

View user profile

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by LGforum on Sat 26 Nov - 11:45

Nope afraid not.

LGforum


Forum Version: Phpbb3
Posts: 729
Join date: 2011-10-05
Location: UK

View user profile http://www.avacweb.com

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by Suuki on Sat 3 Dec - 9:34

I always said I would add this, but I thought it would take forever to install! I guess that's just me being scared of big ammounts of words..
however I LOVE it, installation was very easy. Very Happy

one question, how can we have a border like the LG chat you have on here?

EDIT: also, Im not sure where I should put my first code, I had it working but only on Homepage. I would like it on every page but Homepage message is only for homepage and my announcements are for guests. Was there somewhere else I could put it because I don't have Forum Widgets.

Suuki

Posts: 34
Join date: 2011-11-07

View user profile

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by LGforum on Sat 3 Dec - 12:58

You could create yourself a left sidebar, create a widget only for members (so guests don't see the chat) and then put this in your CSS to hide the sidebar :

Code:

#left { width: 0px!important;}

LGforum


Forum Version: Phpbb3
Posts: 729
Join date: 2011-10-05
Location: UK

View user profile http://www.avacweb.com

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by Suuki on Sat 3 Dec - 21:06

oh alright, now it works. Smile and about the border around the chat?


Last edited by Suuki on Sat 3 Dec - 22:36; edited 1 time in total

Suuki

Posts: 34
Join date: 2011-11-07

View user profile

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by Flora on Sat 3 Dec - 22:33

Suuki wrote:oh alright, not it works. Smile and about the border around the chat?


What doesn't work? What about the border around the chat? Are you wanting to change the border color or something?
Not sure how to help, but if you give a bit more detail, maybe I could have helped you more. Smile

Flora


Status Status: If you like gardening, please join my site. Ty. :)
Forum Version: Phpbb3
Posts: 151
Join date: 2011-11-18
Location: USA

View user profile http://www.chlorisgarden.com

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by Suuki on Sat 3 Dec - 22:36

It works, I just made a typo sorry. Smile I installed the script exactly. It works perfect. I'm referring to the chat on here with the blue border and how we can add one.

Suuki

Posts: 34
Join date: 2011-11-07

View user profile

Back to top Go down

Re: 8. LG Chat (v3.0)

Post by Flora on Sat 3 Dec - 22:50

Oh good, glad to hear that. I think if you look within the css you should find the border color in there and change it to whatever you want. Smile

Flora


Status Status: If you like gardening, please join my site. Ty. :)
Forum Version: Phpbb3
Posts: 151
Join date: 2011-11-18
Location: USA

View user profile http://www.chlorisgarden.com

Back to top Go down

Page 1 of 4 1, 2, 3, 4  Next

View previous topic View next topic Back to top


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