Questions tagged [osclass]

Osclass is PHP based open source project that allows you to create and manage a classifieds site almost without any technical knowledge.

Features:

  • General ads or specialized through modules Easy classifieds
  • installation compatible with private/dedicated or shared hosting Lots
  • of customization options (languages, themes, plugins) Search engine
  • friendly: sitemap.xml generation, robots.txt, nice urls Integrated
  • search engine with full text support Unlimited number of categories
  • and sub-categories TYPO3, Drupal, Symfony, free site creator
152 questions
4
votes
1 answer

How to detect whether a user is on homepage using javascript/jquery in Osclass classifieds script

How to detect whether a user is on homepage using javascript/jquery in Osclass classifieds script. I know similar function is available in osclass php Helpers i.e. osc_is_home_page() but I need something like that in javascript/jquery.
Syed
  • 891
  • 2
  • 8
  • 29
3
votes
1 answer

How to create a multi step user registration at Osclass

I try to create a multi step registration form! I have 1 form name = user-register.php and i created a 2nd form= user-register-2.php How to make the button navigate from the 1st to the 2nd step? and from step 2 only have the profile created? Here…
Rhoda
  • 99
  • 9
3
votes
1 answer

How to link city areas in osclass?

I have function in osclass.. function item_city_area($cityarea_txt, $cityarea_select_txt) { $aCityArea = osc_get_cityarea() ; $item = (osc_item() != null) ? osc_item() : array() ; switch( count($aCityArea) ) { …
edd
  • 1,356
  • 7
  • 12
2
votes
0 answers

Display specific ads on first page Osclass

I'm fairly new to PHP (or programming for that matter) and I've been stuck on an issue for some time now (my logic fails at the moment, please don't judge, I'm learning) I want to display only specific items on Premium ads. For example there should…
2
votes
1 answer

The page isn't redirecting properly in OS Class

I'm using OSCLASS 3.0.1. all pages working proper but item description page showing error 'The page isn't redirecting properly' This is item detail page url : http://www.domain.com/index.php?page=item&id=4 I have same setup in localhost, its…
2
votes
1 answer

osclass Cities dropdown based on Region Select

Im using osclass for a local classifieds website and im facing the following problem. I need to import 12 regions and 7000 cities/villages. In the main.php im using a horizontal search bar with fields search text, categories (dropdown), Regions…
GeorgeV
  • 53
  • 1
  • 7
2
votes
2 answers

add place search option in search bar in OSClass

I'm new for OSClass. This code from oc-content\themes\modern\inc.search.php,
2
votes
2 answers

jQuery is not defined and Object [object Object] has no method 'fancybox' in OSClass

I'm using OSClass. when goto http://localhost/osclass/index.php?page=item&id=2 page, that gives following ERROR. Uncaught ReferenceError: jQuery is not defined (anonymous function) Uncaught TypeError: Object [object Object] has no method…
KarSho
  • 5,699
  • 13
  • 45
  • 78
2
votes
1 answer

Trying to add additional contact fields to OSCLASS contact publisher section

I've been trying to add additional label fields to the Contact Publisher section of OSCLASS Classifieds. I've tried everything and when I add the line of code in the item.php script I get an "Undefined error" The custom fields that are part of the…
Michael
  • 21
  • 2
2
votes
2 answers

how to write OSClass custom query to fetch result from DB

I m new to OSClass(OpenSource Classifieds). i know its similar to wordpress., but i'm not sure how to write my own query like how i do in wordpress. The right side bar will have cities/regions as links to display advertisements from that…
vijay
  • 65
  • 3
  • 12
1
vote
3 answers

Friendly URLs cannot load ABS_PATH in OSClass

I have a friendly URL module redirecting my index page to a search page. If I write index.php with my link then it redirects me to index page. If I try to access registration page it gives me error ABS_PATH is not loaded. Direct access is not…
Adil Abbasi
  • 47
  • 3
  • 7
1
vote
0 answers

changing url in osclass

I want to change the url on osclass and replace the , with - now url is like : 127.0.0.1/en/search/region,9354963/category,books-magazines and I want to convert url to 127.0.0.1/en/search/region-9354963/category-books-magazines I did try to change…
Bynd
  • 675
  • 1
  • 15
  • 40
1
vote
0 answers

hide index.php from ajax load search in osclass

link look like http://localhost/index.php?page=search&sOrder=dt_pub_date&iOrderType=desc&sPattern=car // AJAX SEARCH $('body#body-search').on('change click', '.link-check-box a, .filter-remove a, form.search-side-form input:not(.term),…
Sfix Cuter
  • 11
  • 1
1
vote
0 answers

Getting Error-500 Error-524 -after loging to Osclass oc-admin panel

So many times I am getting 500 and 524 errors. sometimes I get these messages also while working on osclass admin panel. Warning: mysqli::query(): MySQL server has gone away in…
1
vote
4 answers

In osclass, how display cities only with ads?

How can I display regions and their cities only with ads? And why I can't see numbers of ads? I would like use jQuery but I don't know how. getByCountry('AT'); if(count($aRegions)…
Tomasz
  • 27
  • 8
1
2 3
10 11