vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - [DBTech] DragonByte Classifieds v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=307280)

DragonByte Tech 09-30-2014 11:47 AM

Quote:

Originally Posted by DragonByte Tech (Post 2516840)
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

kemraj 09-30-2014 03:28 PM

Thanks so much i bought a year pro.

kemraj 09-30-2014 03:56 PM

btw way how to mass delete Country Code Manager, and state codes ?

DragonByte Tech 09-30-2014 06:04 PM

Quote:

Originally Posted by kemraj (Post 2517094)
Thanks so much i bought a year pro.

Thanks for the support. :)

Quote:

Originally Posted by kemraj (Post 2517104)
btw way how to mass delete Country Code Manager, and state codes ?

There's not a current way to do that in the Mod atm (we'll be adding that in the next major update) but it is possible to do it via a SQL query from your vBulletin ACP.

Are you familiar with SQL commands?

Matt

kemraj 09-30-2014 07:11 PM

Yes i'm familiar with sql commands, what i did last time was delete the states and countries from it, dont know if thats the correct way.

DragonByte Tech 09-30-2014 08:41 PM

Quote:

Originally Posted by kemraj (Post 2517125)
Yes i'm familiar with sql commands, what i did last time was delete the states and countries from it, dont know if thats the correct way.

Yep, that's exactly what I was going to suggest. Will get something sorted in v2. :)

Matt

kemraj 09-30-2014 10:51 PM

Is their a way i can reduce the copyright text its way to long?

gettingbetter 10-01-2014 03:06 PM

Quote:

Originally Posted by DragonByte Tech (Post 2517053)
Fixed it in the current version. If you redownload the zip file and upload it's contents to the server you should have a fix.

Let me know how it goes, and thanks for spotting the error. :)

Matt

Hm, I just uploaded the new files and the error still occurs. More specifically, I:

1) Go to DBTech - Classifieds > Manage Listing Lengths
2) Choose "Remove" from the dropdown next to a listing length
3) Click "Yes" on the "are you sure" screen
4) Get the Invalid: 0 error

Not sure what's up!

Thanks for the support, though.

migratoria 10-01-2014 03:53 PM

Hi Matt

But RSS functions?

kemraj 10-03-2014 09:33 PM

1 Attachment(s)
Quote:

Originally Posted by DragonByte Tech (Post 2517130)
Yep, that's exactly what I was going to suggest. Will get something sorted in v2. :)

Matt

Hey man what to move the "Sellers Other Items" from the right to the left, its not suitable for themes with fixed width.


All times are GMT. The time now is 10:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01303 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete