Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-01-2010, 05:07 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 01-04-2010, 03:56 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks
Reply With Quote
  #3  
Old 01-28-2010, 09:06 PM
freexav freexav is offline
 
Join Date: Jan 2010
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i would also like to buy prochatroom, and i want the room also to be available embedded as a widget.
good luck dude!
Reply With Quote
  #4  
Old 01-28-2010, 09:36 PM
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you get it to use your user list from vB??
Reply With Quote
  #5  
Old 01-28-2010, 09:54 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ..
Reply With Quote
  #6  
Old 02-01-2010, 02:01 AM
vividbreeze vividbreeze is offline
 
Join Date: Sep 2007
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey, how can I integrate this with vb 4.0 ? is it working on your forum eddie?
Reply With Quote
  #7  
Old 02-01-2010, 03:11 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 02-01-2010, 05:45 PM
vividbreeze vividbreeze is offline
 
Join Date: Sep 2007
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 02-24-2010, 05:13 AM
BizAdventure BizAdventure is offline
 
Join Date: Apr 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be nice to have Who's In the Chat as a Widget...
Reply With Quote
  #10  
Old 02-24-2010, 08:25 PM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about this one here?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:03 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.05491 seconds
  • Memory Usage 2,249KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete