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.

Chatbox and HTML questions

View previous topic View next topic Go down

In progress Chatbox and HTML questions

Post by skyman101 on June 4th 2014, 11:45 pm

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.

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 on June 5th 2014, 5:17 pm

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:
http://help.forumotion.com/t77136-customize-chatbox

Jophy
ForumGuru

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

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 on June 6th 2014, 2:39 am

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?

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 on June 7th 2014, 4:30 am

Any ideas?

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 @Mark on June 7th 2014, 11:30 am

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';
}

@Mark
Forumember

Male Posts : 187
Reputation : 37
Language : HTML | CSS | Javascript | C | Java
Location : Republic of the Philippines

http://help.forumotion.com/

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 on June 7th 2014, 4:06 pm

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.

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 on June 7th 2014, 5:30 pm

@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;
}

Guest
Guest


Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 on June 8th 2014, 12:59 am

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.

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 on June 8th 2014, 1:09 am

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;
}

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 on June 8th 2014, 1:27 am

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?

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 on June 9th 2014, 2:15 am

Any ideas?

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 on June 9th 2014, 2:17 am

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

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 on June 9th 2014, 7:28 am

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
ForumGuru

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

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 on June 9th 2014, 5:14 pm

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

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 on June 9th 2014, 5:21 pm

Try this, add this to your CSS:

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

Jophy
ForumGuru

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

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 on June 9th 2014, 8:16 pm

Unfortunately that doesn't work.

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 @Mark on June 9th 2014, 8:45 pm

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

@Mark
Forumember

Male Posts : 187
Reputation : 37
Language : HTML | CSS | Javascript | C | Java
Location : Republic of the Philippines

http://help.forumotion.com/

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 on June 9th 2014, 10:21 pm

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?

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 on June 11th 2014, 3:20 am

Any ideas? Smile

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 on June 11th 2014, 6:13 am

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

Jophy
ForumGuru

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

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by skyman101 on June 11th 2014, 6:32 pm

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'.

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 on June 11th 2014, 6:49 pm

Or a javascript?

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 on June 13th 2014, 1:09 am

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?

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 on June 13th 2014, 3:03 am

I believe that is not possible.


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


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Chatbox and HTML questions

Post by baymicheal on June 24th 2014, 1:37 pm

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]

baymicheal
New Member

Posts : 4
Reputation : 1
Language : English

http://baymicheal@yahoo.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