<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Jquery problems with a PrivateContent - Multilevel Content Plugin</title>
		<link>http://www.kriesi.at/support/topic/jquery-problems-with-a-privatecontent-multilevel-content-plugin</link>
		<description>Support Forum - Topic: Jquery problems with a PrivateContent - Multilevel Content Plugin</description>
		<language>en-US</language>
		<pubDate>Wed, 22 May 2013 05:57:11 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/jquery-problems-with-a-privatecontent-multilevel-content-plugin" rel="self" type="application/rss+xml" />

		<item>
			<title>Ismael on "Jquery problems with a PrivateContent - Multilevel Content Plugin"</title>
			<link>http://www.kriesi.at/support/topic/jquery-problems-with-a-privatecontent-multilevel-content-plugin#post-77487</link>
			<pubDate>Thu, 27 Sep 2012 01:12:36 +0000</pubDate>
			<dc:creator>Ismael</dc:creator>
			<guid isPermaLink="false">77487@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm not sure if this is going to work. You can open header.php and find this code&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* add javascript */
	wp_enqueue_script( &#38;#39;jquery&#38;#39; );
	wp_enqueue_script( &#38;#39;avia-default&#38;#39; );
	wp_enqueue_script( &#38;#39;avia-prettyPhoto&#38;#39; );
	wp_enqueue_script( &#38;#39;avia-html5-video&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Maybe you can add the hook for the plugin above or within this code. Something like this&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* add javascript */
       wp_enqueue_script( &#38;#39;NEW-PLUGIN&#38;#39; );
	wp_enqueue_script( &#38;#39;jquery&#38;#39; );
	wp_enqueue_script( &#38;#39;avia-default&#38;#39; );
	wp_enqueue_script( &#38;#39;avia-prettyPhoto&#38;#39; );
	wp_enqueue_script( &#38;#39;avia-html5-video&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then open functions.php and find this code&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!function_exists(&#38;#39;avia_frontend_js&#38;#39;))
{
	function avia_frontend_js()
	{
		wp_register_script( &#38;#39;avia-default&#38;#39;, AVIA_BASE_URL.&#38;#39;js/avia.js&#38;#39;, array(&#38;#39;jquery&#38;#39;,&#38;#39;avia-html5-video&#38;#39;), 1, false );
		wp_register_script( &#38;#39;avia-prettyPhoto&#38;#39;,  AVIA_BASE_URL.&#38;#39;js/prettyPhoto/js/jquery.prettyPhoto.js&#38;#39;, &#38;#39;jquery&#38;#39;, &#38;quot;3.0.1&#38;quot;, false);
		wp_register_script( &#38;#39;avia-html5-video&#38;#39;,  AVIA_BASE_URL.&#38;#39;js/projekktor/projekktor.min.js&#38;#39;, &#38;#39;jquery&#38;#39;, &#38;quot;1&#38;quot;, false);

	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Add wp_register_script for the plugin js files&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!function_exists(&#38;#39;avia_frontend_js&#38;#39;))
{
	function avia_frontend_js()
	{
                wp_register_script( &#38;#39;NEW-PLUGIN&#38;#39;,  AVIA_BASE_URL.&#38;#39;js/NEW-PLUGIN.js&#38;#39;, &#38;#39;jquery&#38;#39;, &#38;quot;3.0.1&#38;quot;, false);
		wp_register_script( &#38;#39;avia-default&#38;#39;, AVIA_BASE_URL.&#38;#39;js/avia.js&#38;#39;, array(&#38;#39;jquery&#38;#39;,&#38;#39;avia-html5-video&#38;#39;), 1, false );
		wp_register_script( &#38;#39;avia-prettyPhoto&#38;#39;,  AVIA_BASE_URL.&#38;#39;js/prettyPhoto/js/jquery.prettyPhoto.js&#38;#39;, &#38;#39;jquery&#38;#39;, &#38;quot;3.0.1&#38;quot;, false);
		wp_register_script( &#38;#39;avia-html5-video&#38;#39;,  AVIA_BASE_URL.&#38;#39;js/projekktor/projekktor.min.js&#38;#39;, &#38;#39;jquery&#38;#39;, &#38;quot;1&#38;quot;, false);

	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can change this 'AVIA_BASE_URL.'js/NEW-PLUGIN.js' to the url of the js file for the plugin.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Ismael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dmaldonado on "Jquery problems with a PrivateContent - Multilevel Content Plugin"</title>
			<link>http://www.kriesi.at/support/topic/jquery-problems-with-a-privatecontent-multilevel-content-plugin#post-77472</link>
			<pubDate>Wed, 26 Sep 2012 20:32:41 +0000</pubDate>
			<dc:creator>dmaldonado</dc:creator>
			<guid isPermaLink="false">77472@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi, I'm using a PrivateContent plugin, ( &#60;a href=&#34;http://codecanyon.net/item/privatecontent-multilevel-content-plugin/1467885&#34; rel=&#34;nofollow&#34;&#62;http://codecanyon.net/item/privatecontent-multilevel-content-plugin/1467885&#60;/a&#62; )&#60;br /&#62;
And I'm having some issues with it.  I have anew form provide for the plugin that doesnt work, doesn't update the form&#60;br /&#62;
I asked the developer por support anh his answer was:&#60;/p&#62;
&#60;p&#62;&#34;1- the registration page has jQuery enqueued after the PrivateContent javascript files. It must be used always as first.&#34;&#60;br /&#62;
&#34;Jquery must be loaded by your theme. My plugin uses the wp_head() hook to enqueue the scripts. You should search for the code that enqueue jQuery and set it to be enqueued as first. &#34;&#60;/p&#62;
&#60;p&#62;I don't know how to do the jquey thing that he told me to search.  It's possible if you can guide me with this?&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;DM
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
