Help
Discuss or request ArrowChat modifications
User avatar
CBooth
Customer
 
Posts: 27
Joined: 15 Jan 2010, 05:24

 

by CBooth 27 Nov 2010, 17:25

Create a new plugin

Product: vBulletin
Hook: global_state_check

Plugin Code: (I added the IE6 and lower check since I had problems in the past)


global $template_hook;
$template_hook['headinclude_css'].='
<!--[if gte IE 7]>
<link type="text/css" rel="stylesheet" id="arrowchat_css" media="all" href="/arrowchat/external.php?type=css" charset="utf-8" />
<![endif]-->
';

$template_hook['headinclude_javascript'] .= '
<!--[if gte IE 7]>
<script type="text/javascript" src="/arrowchat/includes/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/arrowchat/includes/js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="/arrowchat/external.php?type=djs" charset="utf-8"></script>
<script type="text/javascript" src="/arrowchat/external.php?type=js" charset="utf-8"></script>
<![endif]-->
';
User avatar
DMoney
Customer
 
Posts: 12
Joined: 25 Feb 2011, 04:49

 

by DMoney 26 Feb 2011, 06:54

Doesn't work on vb4.1 series.
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 07 Nov 2012, 12:40

This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.