vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Integrating ProChatroom help? (https://vborg.vbsupport.ru/showthread.php?t=231831)

DjEddie 01-01-2010 05:07 PM

Integrating ProChatroom help?
 
I've bought Prochatrooms, all installed correctly with no problems. The way they have it is so it comes as a PopUp window. What i'm wanting to do is have it embedded (thru iframe) in my vb site on the home page and not as a popup.

Problem is I don't know the code url I would use to do this, as this chatroom auto logs in the member from the vb user details etc.

This is what i've worked out to use altho its wrong..

Code:


<iframe style="border-style: none; padding: 0pt;" src="http://www.mysite.com/prochatrooms/index.php?uid=*****;uname=*****>;room=Lobby" width="930" frameborder="0" height="545"></iframe>

I'm needing to know what goes in place of the ***** (stars)

Or even if that coding is right.

This is the code they use to have it as a pop up:

Code:

<script language="JavaScript">
<!--
var userName = "$bbuserinfo[username]";
var userID = "$bbuserinfo[userid]";
var roomID = "Lobby";
// -->
window.onload=function() { launchChat(); };
</script>
<script language="JavaScript" type="text/javascript" src="http://www.mysite.com/prochatrooms/chat.js"></script>

With a link that goes in the nav bar to launch the coding above.

I've asked them at prochatrooms and they suggested to ask on here ... good service eh lol

So if anyone can help .. be much appreciated .. ill give any more info if asked for :)

Thanks :)

DjEddie 01-04-2010 03:56 PM

anyone got any ideas... big or small? just need some lol

Thanks

freexav 01-28-2010 09:06 PM

i would also like to buy prochatroom, and i want the room also to be available embedded as a widget.
good luck dude!

grey_goose 01-28-2010 09:36 PM

Did you get it to use your user list from vB??

DjEddie 01-28-2010 09:54 PM

yep .. there is an integration tutorial on their site .. someone fixed this for me .. but im waiting for them to update the coding for vb4 ..

vividbreeze 02-01-2010 02:01 AM

hey, how can I integrate this with vb 4.0 ? is it working on your forum eddie?

DjEddie 02-01-2010 03:11 PM

i haven't yet put this onto my vb 4 version .. still waiting on a code from them to be able to add it .. altho im thinkin of changin chat rooms and goin with 123 flashchat ...

prochatrooms .. some members find it hard to stay in the room where others dont have any problems .. gets annoyin with all the complaints about it


in the meantime they replied with this code to add it to vb 4


1) Go to your vBulletin admin area, select template > header

2) Find this,

PHP Code:

<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase control_panel}</a></li

Below Add this,

PHP Code:

<script language="JavaScript">
<!-- 
var 
userName "{vb:raw bbuserinfo.username}";
var 
userID "{vb:raw bbuserinfo.userid}";
var 
roomID "Lobby";
// -->
</script
<
script language="JavaScript" type="text/javascript" src="prochatrooms/chat.js"></script
<
li><a href="javascript:launchChat();">Chat Room</a></li


vividbreeze 02-01-2010 05:45 PM

Well dangit, that sucks cause that was my BIG problem with 123flashchat, a lot of people couldnt even enter into it but some could and some locked up and so on.

BizAdventure 02-24-2010 05:13 AM

It would be nice to have Who's In the Chat as a Widget...

Ramsesx 02-24-2010 08:25 PM

What about this one here?


All times are GMT. The time now is 04:34 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01532 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete