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.

Need Popup Chatango Script built please

3 posters

Go down

Need Popup Chatango Script built please Empty Need Popup Chatango Script built please

Post by Honor July 8th 2010, 7:38 pm

Want my chatango chatbox to become a pop when a member logs in. I found this script around these forums:

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')">

This is the code to my chatbox:

Code:
<!-- BEGIN switch_user_logged_in -->
<center><br><b><u>Enjoy the Chat!</u></b><br>Ask a Question ~ Drop a Tag ~ Get to Know Your Fellow Gamers<br><object width="800" height="600" id="obj_1277926756990"><param name="movie" value="http://bpchatter.chatango.com/group"/><param name="wmode" value="transparent"/><param name="AllowScriptAccess" VALUE="always"/><param name="AllowNetworking" VALUE="all"/><param name="AllowFullScreen" VALUE="true"/><param name="flashvars" value="cid=1277926756990&c=FFFFFF&d=6699FF&e=000000&g=FFFFFF&h=000000&j=FFFFFF&k=CCCCCC&l=000000&m=0066FF&n=FFFFFF&p=12&q=999999&s=1&v=0&w=0"/><embed id="emb_1277926756990" src="http://bpchatter.chatango.com/group" width="800" height="600" wmode="transparent" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true" flashvars="cid=1277926756990&c=FFFFFF&d=6699FF&e=000000&g=FFFFFF&h=000000&j=FFFFFF&k=CCCCCC&l=000000&m=0066FF&n=FFFFFF&p=12&q=999999&s=1&v=0&w=0"></embed></object><br>Observe Forum Rules ~ No Spamming ~ Leave RL at the Banner<br></center><br>
<!-- END switch_user_logged_in -->

Can someone build a script for me that I can use? No popup on guests, but pop on load of homepage when a member logs in. I'm comfortable with placing this chatbox code on an HTML page if that helps (but I don't want the chatbox to load in a full size window - just a smaller one that just fits the chatbox itself).
avatar
Honor
Forumember

Female Posts : 172
Reputation : 17
Language : English
Location : Bouncing off the Walls

http://blueplanet.road2us.com

Back to top Go down

Need Popup Chatango Script built please Empty Re: Need Popup Chatango Script built please

Post by Gramagamus Online July 9th 2010, 2:52 am

I could make a script that links you to the chatbox, and it pops out. How does that sound?
Gramagamus Online
Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Need Popup Chatango Script built please Empty Re: Need Popup Chatango Script built please

Post by Honor July 9th 2010, 3:51 am

That would be great Smile I've been playing with it and almost had it. But it turns out that if you put it on the homepage anwhere it reloads if you click on a forum then return to the home page.

Here's a few options - I'd be happy with either one.

1) Load when a member logs in (was actually really easy to manipulate to make it do that)
- IF this option, then need to know where to put it so it won't keep reloading every time that place is loaded (IE - on home page, every time the page is reloaded so is the popup window)
- OR something in the code that allows it to pop up once then be separate from the forum (IE - once it pops up, doesn't matter if you revisit that same page or not, it doesn't reload)

2) A link I can place in my navbar that will allow the chat to be popped up when it's clicked
- If that's not possible, happy with a link in the navbar where the HTML page comes up first then the chat pops up automatically.

For my members, the more automatic, the better.

I've also switched chatboxs. Using Zat chat now. Not sure which of these codes is the correct one.

Code one:
Code:
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNzg2NDAxODk*ODMmcHQ9MTI3ODY*MDIwMTMzMCZwPTUzMTUxJmQ9Jmc9MSZvPTljYmUxNTEwZjlmMTRjYzdiZDJl/MGU4ZjE4ZmVkZTQ5.gif" /><embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" width="600" height="500" name="chat" FlashVars="id=102659250" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /><br>


Code 2:

Code:
<embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" width="600" height="500" name="chat" FlashVars="id=102659250" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /><br>


THANK YOU SOO SOO MUCH IF YOU CAN DO THIS!!!! Very Happy
avatar
Honor
Forumember

Female Posts : 172
Reputation : 17
Language : English
Location : Bouncing off the Walls

http://blueplanet.road2us.com

Back to top Go down

Need Popup Chatango Script built please Empty Re: Need Popup Chatango Script built please

Post by Honor July 9th 2010, 3:57 am

HALT! I actually just did the coding part by myself!

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=500,height=200,left=150,top=250,scrollbars=no');
return false;
}
//-->
</script><head>
<body onLoad="popup('http://www.xatech.com/web_gear/chat/chat.swf?id=102659250')">

My question now is - is there a way to make this to pop up in the homepage when a member logs in WITHOUT reloading every time the homepage is visited?
avatar
Honor
Forumember

Female Posts : 172
Reputation : 17
Language : English
Location : Bouncing off the Walls

http://blueplanet.road2us.com

Back to top Go down

Need Popup Chatango Script built please Empty Re: Need Popup Chatango Script built please

Post by Gramagamus Online July 9th 2010, 5:19 am

You'll have to add a link somewhere that leads to the HTML page of the code you just did.
Gramagamus Online
Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Need Popup Chatango Script built please Empty Re: Need Popup Chatango Script built please

Post by Honor July 10th 2010, 4:40 am

*bump
avatar
Honor
Forumember

Female Posts : 172
Reputation : 17
Language : English
Location : Bouncing off the Walls

http://blueplanet.road2us.com

Back to top Go down

Need Popup Chatango Script built please Empty Re: Need Popup Chatango Script built please

Post by hpyan July 11th 2010, 11:50 am

Link Removed
avatar
hpyan
New Member

Posts : 17
Reputation : 0
Language : &#20013;&#25991;

Back to top Go down

Need Popup Chatango Script built please Empty Re: Need Popup Chatango Script built please

Post by Honor July 13th 2010, 3:01 am

Just close this as no one's willing to help. figured most of it out myself anyway, and not getting the last answer i need. oh well.
avatar
Honor
Forumember

Female Posts : 172
Reputation : 17
Language : English
Location : Bouncing off the Walls

http://blueplanet.road2us.com

Back to top Go down

Back to top


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