Issues adding anything with jquery
I have two add ons that I have tried to install and can't get working.
First one is the wordpress plugin "User Messages" everything works except for an autocomplete function that uses jquery, it will not function so it renders the plugin useless as this is the only way to select a user to message.
The two scripts it uses are:
<script type='text/javascript' src='http://www.mydomain.com/personals/
wp-content/plugins/user-messages/
js/jquery.autocomplete.
js?ver=1.0.0'></script>
<script type='text/javascript' src='http://www.mydomain.com/personals/
wp-content/plugins/user-messages/
js/um-users.
js?ver=1.0.0'></script>
Next is cometchat (I have it installed on my vbulletin forum so want to allow my users to continue chatting while viewing the classifieds).
It asks you to install two simple pieces of code but when I do, it will not show up. I have installed it on my vbulletin board with no problems.
The code to add is this:
Step 2
Now log-in to your WordPress Administration (usually
http://www.domain.com/wp-admin)
Under the Appearance tab, select the Editor option.
Now select the template which has a star next to it i.e. the template in which you want to add CometChat.
Select Header (header.php) from the right navigation.
In the textbox, immediately after the opening head tag add the following:
<head>
The above code will be replaced with:
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.
js"></script>
<script>jqcc=jQuery.noConflict(true);</script>
Click on Update File button and select Footer (footer.php) from the right navigation.
Just before the closing body tag, paste the copied text:
</body>
For example, the above code will be replaced with something like: (only change will be src)
<!-- CometChat Footer Code Start -->
<link type="text/css" rel="stylesheet" media="all" href="cometchat/cometchatcss.php" charset="utf-8" />
<script type="text/javascript" src="cometchat/cometchatjs.php" charset="utf-8"></script>
<!-- CometChat Footer Code End -->
</body>
Why won't this work!?!?
Last edited by jomarkosabel; January 20th, 2011 at 12:10 AM.