Warning: The author of this contribution does not provide support for it anymore.

phpBB mChat

external_links_rokbox + mChat? - phpBB mChat

external_links_rokbox + mChat?

by CrazyDave » Sat Sep 11, 2010 3:01 am

external_links_rokbox

http://www.phpbb.com/customise/db/mod/external_links_open_in_rokbox/

was just wondering if there was a way to integrate the rokbox ^, or external link opener with mChat, because clicking on external links inside my shoutbox does not open the rokbox :(
User avatar
CrazyDave
Registered User
Posts: 72
Joined: Mon Jun 22, 2009 9:15 pm
Location: Las Vegas, NV. USA

Re: external_links_rokbox + mChat?

by RMcGirr83 » Sat Sep 11, 2010 10:33 am

Ensure the code within your overall_header.html file is like this

Code: Select all

<!-- Start RokBox -->
<script type="text/javascript" src="rokbox/mootools-release-1.11.js"></script>
<script type="text/javascript" src="rokbox/rokbox.js"></script>
<link href="rokbox/themes/dark/rokbox-style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="rokbox/themes/dark/rokbox-config.js"></script>
<!-- End Rokbox -->
<!-- IF S_MCHAT_ENABLE and (SCRIPT_NAME eq 'mchat' or SCRIPT_NAME eq 'index') -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_prosilver.css" type="text/css" />
<!-- ENDIF -->
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: external_links_rokbox + mChat?

by Trokal » Thu Dec 09, 2010 5:20 pm

helo

in the recent upgrade of your mchat v1.3.4 the code is now:

Code: Select all

<!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<link href="{T_THEME_PATH}/mchat_subsilver2.css" rel="stylesheet" type="text/css" />
<!-- ENDIF -->


how can we modify it to fit this?
Trokal
Registered User
Posts: 419
Joined: Fri Oct 23, 2009 5:13 pm

Re: external_links_rokbox + mChat?

by RMcGirr83 » Thu Dec 09, 2010 5:37 pm

Code: Select all

<!-- Start RokBox -->
<script type="text/javascript" src="rokbox/mootools-release-1.11.js"></script>
<script type="text/javascript" src="rokbox/rokbox.js"></script>
<link href="rokbox/themes/dark/rokbox-style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="rokbox/themes/dark/rokbox-config.js"></script>
<!-- End Rokbox -->
<!-- IF S_MCHAT_ENABLE and (SCRIPT_NAME eq 'mchat' or SCRIPT_NAME eq 'index') and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<link rel="stylesheet" href="{T_THEME_PATH}/mchat_prosilver.css" type="text/css" />
<!-- ENDIF -->
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: external_links_rokbox + mChat?

by Trokal » Thu Dec 09, 2010 10:56 pm

thanks it worked
Trokal
Registered User
Posts: 419
Joined: Fri Oct 23, 2009 5:13 pm

Re: external_links_rokbox + mChat?

by Trokal » Wed Dec 22, 2010 10:32 am

hello

the fix worked on a subsilver2 based style.
now i tried it on a prosilver based style, the chat is working fine but it seems like it haven't loaded any css file as it looks like its floating in the style with no border or background or any of that.
thank you
Trokal
Registered User
Posts: 419
Joined: Fri Oct 23, 2009 5:13 pm

Re: external_links_rokbox + mChat?

by RMcGirr83 » Wed Dec 22, 2010 10:34 am

It works on either style, double check your edits.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: external_links_rokbox + mChat?

by Trokal » Wed Dec 22, 2010 11:01 am

thanks for the reply, I checked my edits twice and they are ok.
I troubleshooted the problem, when i delete the rokbox script above the mchat ones it works fine.
but when i insert them and do the mchat edits you gave to us this happens.
Trokal
Registered User
Posts: 419
Joined: Fri Oct 23, 2009 5:13 pm

Re: external_links_rokbox + mChat?

by RMcGirr83 » Wed Dec 22, 2010 11:15 am

Link to your forum with the mod active for guests please.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: external_links_rokbox + mChat?

by Trokal » Wed Dec 22, 2010 11:24 am

ok how can i activate it for guests?
Trokal
Registered User
Posts: 419
Joined: Fri Oct 23, 2009 5:13 pm

Re: external_links_rokbox + mChat?

by RMcGirr83 » Wed Dec 22, 2010 11:31 am

By setting the permissions for guests within the ACP
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr