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 On All Pages?

3 posters

Go down

Solved Chatbox On All Pages?

Post by Guest June 27th 2010, 8:16 pm

Hello, I would like to display the chatbox on all pages of the site. It only shows up the homepage and a category section page, but not on the forums. I am aware that by clicking the word "Chatbox" members may open the chatbox in a separate window. While that is cool, I find it inconvenient and so do my members. I want everything to display on 1 window, so people wont have to get annoyed clicking back and forth on windows. Can anyone help with this?
avatar
Guest
Guest


Back to top Go down

Solved Re: Chatbox On All Pages?

Post by RoNo June 28th 2010, 10:55 pm

You could add a popup chatbox link for members interested in chatting
Code:
<a onclick="window.open('http://electronicnetwork.all-up.com/chatbox/chatbox.forum','popup1','width=830,height=300,height=200,left=150,top=250'); return false" href="http://electronicnetwork.all-up.com/" style="text-decoration:none"><img src="http://i69.servimg.com/u/f69/13/49/98/52/x5e3ps10.png" border="0"><font face="comic sans ms"> Popup Chatbox</font></a>
Here's how it looks
Chatbox On All Pages? 2lj5bgo


A popup chatbox will save space/real estate on your site.
Members won't have to scroll down (under the chatbox)
on every page to see actual forum content as well.

Examples [click]
Chatbox On All Pages? Th_helpxatpop02

Chatbox On All Pages? Th_z2chatpopup3


Chatbox On All Pages? Break_gray1


Here are a few popup chat buttons you could try...

Text (only) link
Code:
<a href="http://electronicnetwork.all-up.com/chatbox/chatbox.forum" target="popup" onclick="window.open('http://electronicnetwork.all-up.com/chatbox/chatbox.forum', 'popup', 'width=850,height=320,height=200,left=150,top=250,scrollbars=yes'); return false">Popup Chatbox</a>

Chatbox On All Pages? Break_gray1


Links with images
Chatbox On All Pages? Popupchat_h1


#1 - with icon
Code:
<table><tr><td><img src="http://i69.servimg.com/u/f69/13/49/98/52/chat0110.gif" style="float: left;"></td> <td><a onclick="window.open('http://electronicnetwork.all-up.com/chatbox/chatbox.forum', 'popup', 'width=850,height=320,height=200,left=150,top=250'); return false" href="http://electronicnetwork.all-up.com/chatbox/chatbox.forum" target="popup">Popup Chatbox</a></td><tr></table>


#2 - text over gradient background
Code:
<table width="120px" background="http://i69.servimg.com/u/f69/13/49/98/52/login_10.jpg" style="border:#cccccc 1px solid; padding:5px"><tr><td><a onclick="window.open('http://electronicnetwork.all-up.com/chatbox/chatbox.forum', 'popup', 'width=850,height=320,height=200,left=150,top=250'); return false" href="http://electronicnetwork.all-up.com/chatbox/chatbox.forum" target="popup" style="text-decoration:none">
<center><font face="arial" color="black" size="3">Popup Chat</font></center></a></td><tr></table>


#3 - image (only) link
Code:
<a href="http://electronicnetwork.all-up.com/chatbox/chatbox.forum" target="popup" onclick="window.open('http://electronicnetwork.all-up.com/chatbox/chatbox.forum', 'popup', 'width=850,height=320,height=200,left=150,top=250,scrollbars=yes'); return false"><img src="http://i69.servimg.com/u/f69/13/49/98/52/chat10.gif" border="0" height="35" width="150"></a>


#4 - image change on mouseover
Code:
<a href="http://electronicnetwork.all-up.com/chatbox/chatbox.forum" target="popup" onclick="window.open('http://electronicnetwork.all-up.com/chatbox/chatbox.forum', 'popup', 'width=850,height=320,height=200,left=150,top=250,scrollbars=yes'); return false"><img src="http://i69.servimg.com/u/f69/13/49/98/52/popupc10.png" border="0" onmouseover="this.src='http://i69.servimg.com/u/f69/13/49/98/52/popupc11.png';" onmouseout="this.src='http://i69.servimg.com/u/f69/13/49/98/52/popupc10.png';"></a>
add to: ACP»Display»Homepage»Generalities»Message content
and/or Create a Widget for your Portal. Test codes in This editor


Chatbox On All Pages? Break_gray1


Alternatively... You can have the chatbox automatically popup.
Try this code in homepage message content Example
Code:
<head><script type="text/javascript">
<!--
function popup(chatbox, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(chatbox) == 'string')
  href=chatbox;
else
  href=chatbox.href;
window.open(href, windowname, 'width=830,height=300,height=200,left=150,top=250,scrollbars=no');
return false;
}
//-->
</script><head>
<body onLoad="popup('http://electronicnetwork.all-up.com/chatbox/chatbox.forum')">
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Solved Re: Chatbox On All Pages?

Post by Ladyred0701 June 29th 2010, 2:36 am

I have chatbox set as a popup but how can I make the popup button appear at the bottom of my forum?
avatar
Ladyred0701
New Member

Posts : 23
Reputation : 0
Language : English

Back to top Go down

Solved Re: Chatbox On All Pages?

Post by RoNo June 29th 2010, 5:33 am

Do you want a fixed image for a popup chat? Try this
Code:
<a style="position:fixed; right:56px; bottom:0px" href="http://zone2.forumotion.net/chatbox/chatbox.forum" target="_blank" onclick="window.open('http://zone2.forumotion.net/chatbox/chatbox.forum', 'popup1', 'width=850,height=320,height=200,left=150,top=250,scrollbars=yes'); return false"><img src="http://i69.servimg.com/u/f69/13/49/98/52/chatpe10.png" border="0"></a>
Edit/Add your Forum Url to the popup code,
Increase right:?px number to move away from right side
Increase bottom:?px number to move up-away from bottom



Last edited by RoNo on July 1st 2010, 11:11 am; edited 1 time in total
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Solved Re: Chatbox On All Pages?

Post by Ladyred0701 June 29th 2010, 5:37 am

Actually, Im not using a popup. Here is what I am using


<a href="http://repchat.omgforum.net/chatbox/chatbox.forum" target="popup" onclick="window.open('http://repchat.omgforum.net/chatbox/chatbox.forum', 'popup', 'width=850,height=320,height=200,left=150,top=250,scrollbars=yes'); return false"><img src="http://4.bp.blogspot.com/_yU-60JPZYhk/SKnAIZsPoGI/AAAAAAAAAj8/UlFFsGJZcPw/s400/animated-woman-holding-coffee-cup-for-blog.jpg" border="0" height="35" width="80"><img src="https://i.servimg.com/u/f69/13/49/98/52/chat10.gif" border="0" height="35" width="150"></a>


Also, the bottom of my chatbox is cut off (where you type your message)
Everything along that line is cut off.
My site is
http://repchat.omgforum.net/forum.htm
How can I fix this?
Thanks in advance
avatar
Ladyred0701
New Member

Posts : 23
Reputation : 0
Language : English

Back to top Go down

Solved Re: Chatbox On All Pages?

Post by Guest July 1st 2010, 5:19 am

This is similar to what the chatbox already has by just clicking the word "chatbox" it opens in a seperate window. I just want to have the chatbox embeded on the site as it is just to remain that way on all pages.

Plus using a chatbox off another site like xat is not going to have my users colors and names and as they have it on the site.. making this extremely inconvenient and making me have to answer a 100 questions about why this and why that.. Also it will allow guest not even on my site to get into the chat or see what we're talking about. ={


If you had bothered to try the popup code, you'd see it is
not like the default chatbox link. It is a javascript popup
of your forum chatbox & it will look like this example pic


[click]
Chatbox On All Pages? Th_z2chatpopup3


Please try the codes & suggestions in the tut's we take the
time to compose & post so it's not a waste of (our) time.
I have a Members Chat On All Pages tutorial @ Zone II
Chatbox On All Pages? Guitaro1s4

Code:
<a onclick="window.open('http://electronicnetwork.all-up.com/chatbox/chatbox.forum','popup1','width=830,height=300,height=200,left=150,top=250'); return false" href="http://electronicnetwork.all-up.com/" style="text-decoration:none"><img src="http://i69.servimg.com/u/f69/13/49/98/52/x5e3ps10.png" border="0"><font face="comic sans ms"> Popup Chatbox</font></a>
avatar
Guest
Guest


Back to top Go down

Solved Re: Chatbox On All Pages?

Post by Guest July 1st 2010, 7:37 am

I FIGURED IT OUT!! Well it took me a while but i figured out how to embed the original chatbox on the site on all pages! Here is how i did it...

First go to Admin Control Panel > modules > chatbox: configurations > Activate the chatbox: Yes > Chatbox Display: Do Not Display |

Now click General > Messages and Emails: Announcements > Activate announcements: Yes > Announcement display: All Pages > Scrolling: Deactivate > Save

Now scroll down and click the green plus sign under the action.
Name: whatever you want (example: chatbox).
Content:
Code:
<iframe title="Shoutbox" src="http://electronicnetwork.all-up.com/chatbox/chatbox.forum" width="1050" height="350" frameborder="0" scrolling="auto"></iframe>

In others case, change the src="Your URL". The example above is my forum site. Click save and that's it! The chatbox now appears in all pages embedded on the site Very Happy
avatar
Guest
Guest


Back to top Go down

Solved Re: Chatbox On All Pages?

Post by ankillien July 1st 2010, 8:05 am

Solved > Locked
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Back to top

- Similar topics

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