Quote:
Originally Posted by DragonByte Tech
In the Admin Settings section of Classifieds there is a settings group called DragonByte Tech: Classifieds - Advert Settings
In there you can disable various advert displays (or change their location) across the vB install.
Regarding the jQuery load, I might be able to find you some Template code you could use to not display that. I'll test some options and get back to you to let you know if we can do it without changing the main files.
Matt
|
I found a solution to this.
Assuming you want remove all the jQuery code Classifieds uses on the forum index page, you need to make a slight change to the template:
dbtech_classifieds_css
Find:
Code:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/dbtech/classifieds/clientscript/jquery/jquery.easing.1.3.js"></script>
Replace with:
Code:
<vb:if condition="THIS_SCRIPT != 'index'">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/dbtech/classifieds/clientscript/jquery/jquery.easing.1.3.js"></script>
</vb:if>
That should fix the issue. Just remember that in future updates you might need to check the changes made to that template (though they are likely to be very few if any) to keep the mod up to date.
Hope that helps.
Matt