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

View previous topic View next topic Go down

Solved Chatbox On All Pages?

Post by Guest on 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?

Guest
Guest


Back to top Go down

Solved Re: Chatbox On All Pages?

Post by RoNo on 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



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]








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>




Links with images



#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: ACPDisplayHomepageGeneralitiesMessage content
and/or Create a Widget for your Portal. Test codes in This editor





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
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 on 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?

Ladyred0701
New Member

Posts : 23
Reputation : 0
Language : English

Back to top Go down

Solved Re: Chatbox On All Pages?

Post by RoNo on 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
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 on 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://i69.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

Ladyred0701
New Member

Posts : 23
Reputation : 0
Language : English

Back to top Go down

Solved Re: Chatbox On All Pages?

Post by Guest on 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]


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

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>

Guest
Guest


Back to top Go down

Solved Re: Chatbox On All Pages?

Post by Guest on 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

Guest
Guest


Back to top Go down

Solved Re: Chatbox On All Pages?

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

Solved > Locked

ankillien
Energetic

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

http://www.webartzforum.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