The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Chatbox and HTML questions

5 posters

Go down

In progress Chatbox and HTML questions

Post by skyman101 4th June 2014, 23:45

I am using phpBB3.

How do you remove the 'archives' text on the chatbox? With this code I managed to remove the 'Chatbox' title link.

a.chat-title { font-size:0; }
display: none;

So what's the code to remove 'archives'?


Secondly, is it possible to only allow a user onto a HTML page if they have posted on a certain thread?


Finally, how do I change the colour of the header, the footer, the name column etc of the chat?

Thanks.
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by Jophy 5th June 2014, 17:17

Hello,

1. Try this, add it in your CSS(AP > Display > Colors > CSS Stylesheet):

Code:
li#chatbox_option_with_archives {
 display: none;
}

3. Read this tutorial regarding customizing the chatbox:
https://help.forumotion.com/t77136-customize-chatbox
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 6th June 2014, 02:39

Unfortunately that code didn't work, however I tried this code and it removed every button, including logout and refresh. I only want to remove 'archives' however.

.chatbox-options li ,
.chatbox-options li label {
display: none;
}



Also is it possible to display the 'chatbox' title text, but without the link? I want a custom title, but no link. Here is my code which currently hides the title.

a.chat-title { font-size:0; }
display: none;


On that tutorial link, which code changes the colour of the header tab and footer tab of the chatbox?
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 7th June 2014, 04:30

Any ideas?
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by Guest 7th June 2014, 11:30

Try this one:
Code:
li#chatbox_option_with_archives {
  display: none !important;
}
.chatbox-title a.chat-title {
  display: none !important;
}
.chatbox-title:after {
  content: 'Chatbox';
}
avatar
Guest
Guest


Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 7th June 2014, 16:06

Thanks, that worked. Smile

Would you know the code to change the colour of the header block where the title, logout, etc buttons are?

Also the footer colour where you change font, enter text etc.
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by Guest 7th June 2014, 17:30

skyman101 wrote:Thanks, that worked. Smile

Would you know the code to change the colour of the header block where the title, logout, etc buttons are?

Also the footer colour where you change font, enter text etc.

Hello,

Are you using category images or just category colors? That will determine what the image/color is for your chatbox title and buttons. =)

On phpBB3, you can change the text box where you type into the chatbox colors for both the box's background color and the default text color used when it is typed in with this code:

Code:
#message {
background-color: #000000 !important;
color: #ffffff;
}
avatar
Guest
Guest


Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 8th June 2014, 00:59

Thanks, that works, however I also want to change the colour of the bottom panel of the chat where the bold, italic etc options are and also the top panel colour where the title, refresh, logout etc is.
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by Fierce Star 8th June 2014, 01:09

Try putting this in your CSS (ACP -> Display -> Colors -> CSS Stylesheet):
Code:
#chatbox_header, #chatbox_footer {
 background-color:#000000 !important; /*Change the color code to whatever you want*/
 background-image:none !important;
}
avatar
Fierce Star
Forumember

Male Posts : 110
Reputation : 17
Language : English
Location : United States

http://inactivesite.onlyhelpwithothersnow.com

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 8th June 2014, 01:27

Nice, that worked.

1 more thing about the chat, when I resize the chat, scroll bars appear and I have to scroll up, down or across to view text. How do I remove the scroll bars so everything displays properly?
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 9th June 2014, 02:15

Any ideas?
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 9th June 2014, 02:17

I think nothing can be done about the vertical scroll bar, but can the horizontal one be removed?
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by Jophy 9th June 2014, 07:28

Hello,

Try this code and place it in your CSS:

Code:
div#chatbox {
 overflow-x: hidden !important;
}

However, if the text is too many, it will of course cut off the remaining texts, unless your chatbox has enough width.
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 9th June 2014, 17:14

Hi that worked, but is it not possible to make the cut off text appear underneath on a new line?
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by Jophy 9th June 2014, 17:21

Try this, add this to your CSS:

Code:
#message  {
   word-break: break-all;
}
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 9th June 2014, 20:16

Unfortunately that doesn't work.
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by Guest 9th June 2014, 20:45

Try:
Code:
.msg {
overflow-wrap: break-word !important;
}
avatar
Guest
Guest


Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 9th June 2014, 22:21

Thanks that worked!

One last thing, would it be possible to make a feature so people can only access an HTML page if they have posted on a thread?
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 11th June 2014, 03:20

Any ideas? Smile
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by Jophy 11th June 2014, 06:13

We don't have any feature for HTML permissions yet. Sorry.
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 11th June 2014, 18:32

Can I not use like a HTML code or something?

Like if someone hasn't 'posted on thread /example', then 'redirect' them to 'thread/example'.
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 11th June 2014, 18:49

Or a javascript?
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 13th June 2014, 01:09

Any ideas?

This code redirects someone to a thread, when they access a HTML page and they aren't logged in.

<script type="text/javascript">
if (!document.getElementById('logout')) window.location.pathname = "/t2-example-example";</script>

What would be the code to detect whether they have posted on a thread?
avatar
skyman101
New Member

Posts : 17
Reputation : 1
Language : English

http://89hello@live.co.uk

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by SLGray 13th June 2014, 03:03

I believe that is not possible.


Chatbox and HTML questions Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by baymicheal 24th June 2014, 13:37

Are you using classification pictures or just classification colours? That will figure out what the image/ colour is for your chat box headline and control buttons.


[ltr]For best professional website design service visit at: https://www.mapitinc.com/professional-website-design.php[/ltr]
[ltr]Call at toll free: 1-800-929-6163 and place your order now.[/ltr]
[ltr]Address: 207 Mineola Ave., Suite 515 Roslyn Heights, New York 11577[/ltr]
[ltr]Questions regarding sales: sales@mapitinc.com[/ltr]
[ltr]After sale support: support@mapitinc.com[/ltr]
avatar
baymicheal
New Member

Posts : 4
Reputation : 1
Language : English

http://baymicheal@yahoo.com

Back to top Go down

Back to top

- Similar topics

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