The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Arrowchat
Anyone knows how to insert arrowchat php code ?
for example it says that i have to insert <link type="text/css" rel="stylesheet" id="arrowchat_css" media="all" href="/forum/arrowchat/external.php?type=css" charset="utf-8" /> <script type="text/javascript" src="/forum/arrowchat/includes/js/jquery.js"></script> <script type="text/javascript" src="/forum/arrowchat/includes/js/jquery-ui.js"></script> into header and this <script type="text/javascript" src="/forum/arrowchat/external.php?type=djs" charset="utf-8"></script> <script type="text/javascript" src="/forum/arrowchat/external.php?type=js" charset="utf-8"></script> into footer but when i do that i get: An appropriate representation of the requested resource /forum/admincp/template.php could not be found on this server. Additionally, a 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request. |
#2
|
|||
|
|||
the first one goes in head_include, which is blank by default...
second one is footer template before </body> tag |
#3
|
|||
|
|||
Yeah
Quote:
I get An appropriate representation of the requested resource /forum/admincp/template.php could not be found on this server. Additionally, a 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request. right after I do that... |
#4
|
|||
|
|||
Quote:
|
Благодарность от: | ||
MarkFL |
#5
|
||||
|
||||
You don't have to include the jquery.js and jquery-ui.js as vB5 already includes them by default. I'm not sure what's the jQuery and jQuery UI versions Arrowchat is using but vB5 is using jQuery 2.1.4 and jQuery UI 1.11.4
--------------- Added [DATE]1468959712[/DATE] at [TIME]1468959712[/TIME] --------------- To add the scripts to the footer, you have to create a template hook in footer_before_body_end hook location. |
Благодарность от: | ||
MarkFL |
#6
|
|||
|
|||
i dont believe a hook creation is needed....i installed it pretty simply without errors so this is a server config issue
|
#7
|
||||
|
||||
I have not used arrowchat before but yeah that sounds a server error.
If you didn't add template hooks, how did you include the chat scripts to the page? Did you edit existing footer template? |
#8
|
|||
|
|||
yes they require this script addition to 2 templates as mentioned by the OP and my initial post #2...
they have only recently mentioned the proper instructions tho...to which the head_include for the first script is unique....for standard installations they will recommend putting after the <head> tag, but for vb5 this is in the preheader template and will break style if placed there... i am confused by the error OP is reporting tho....for one thing arrowchat goes into its own directory which would be forum/arrowchat/admincp so this is talking about vb admincp? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|