Advertisement:

Author Topic: OsclassWizards : Free Responsive Bootstrap Theme  (Read 191407 times)

gunit

  • Jr. Member
  • **
  • Posts: 61
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #990 on: January 31, 2018, 01:12:38 pm »
Hey I wondering if it is possible to make city disabled until a region is chosen first? I have looked up many threads on the issue and none seem to work. The problem with how it is now is that people can input a city themselves. I am looking for a way that the box is unselectable until a region is chosen. I have the same issue on the search bar and the sidebar filter.

 
« Last Edit: February 02, 2018, 05:01:52 pm by gunit »

gunit

  • Jr. Member
  • **
  • Posts: 61
Clickable Category and Location
« Reply #991 on: January 31, 2018, 05:09:27 pm »
How do I make the categories and location clickable in loop-list.php?

 
« Last Edit: February 02, 2018, 05:01:43 pm by gunit »

muratbora

  • Full Member
  • ***
  • Posts: 197
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #992 on: April 11, 2018, 09:54:21 am »
Into Admin area when I try to submit adsense codes, and click save , theme is turning given URL below, and it is not saving adsense code...

http://site.com/oc-admin/index.php?page=appearance&action=render&file=oc-content/themes/osclasswizards/admin/settings.php

muratbora

  • Full Member
  • ***
  • Posts: 197
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #993 on: April 11, 2018, 09:57:29 am »
When this error occuring, DEBUG is recording following error;
[10-Apr-2018 17:21:11 Europe/Madrid] PHP Notice:  Undefined index: s_title in /home/folder/public_html/www.mysite.com/oc-includes/osclass/helpers/hDefines.php on line 499

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 6240
  • Hardliner
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #994 on: April 11, 2018, 08:21:37 pm »
When this error occuring, DEBUG is recording following error;
[10-Apr-2018 17:21:11 Europe/Madrid] PHP Notice:  Undefined index: s_title in /home/folder/public_html/www.mysite.com/oc-includes/osclass/helpers/hDefines.php on line 499

This is not an ERROR that a probably harmless Notice. Nothing to do with your problem.

muratbora

  • Full Member
  • ***
  • Posts: 197
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #995 on: April 12, 2018, 02:42:21 pm »
It was not saving adsense code,

I changed host and solved, into new host it is saving and no debug log.

gunit

  • Jr. Member
  • **
  • Posts: 61
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #996 on: April 14, 2018, 02:56:11 pm »
When I change the theme folder name I get an error in the admin section:

Quote
Error loading theme custom file

I want to install another version of osclasswizards but it will overwrite if I don't change the name.
« Last Edit: April 14, 2018, 04:40:06 pm by gunit »

buninsan

  • Jr. Member
  • **
  • Posts: 98
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #997 on: April 18, 2018, 09:05:49 pm »
No, that wasn't a browser issue but an internal one. When you use function osc_get_cities() without specifying a region, every city in your database is retrieved (a really huge amount if you have a lot of countries).

In this case, I can see the Ajax request to retrieve cities taking the right amount of time, it's later, when the browser process the response, when this delay happens (otherwise you'd notice the same delay in any browser).

Regards
Sorry, I'm using Google translator.
Users complain that the browser hangs when editing an ad.
When adding an ad, the city selection works very quickly.
When editing an ad is very slow and the more cities, the slower.
ItemForm::city_select(osc_get_cities(osc_user_region_id()), osc_user());
this code does not help much.

When editing an ad in the drop-down menu there are all the cities from the database!

If you select a different region, or country, only then cities in the selected region are displayed, not all together.
Problem exists on any site made on osclass.

« Last Edit: April 18, 2018, 09:21:35 pm by buninsan »

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #998 on: April 19, 2018, 01:47:49 pm »
Hi,

Problem is that, unlike Bender, Osclass Wizards item-post.php doens't include specific code to manage Edit, so I've cloned the needed Edit code from Bender.

You need to carefully make two modifications to your osclasswizards/item-post.php, make a backup first just in case:

1.- Regions. Locate this block:

Code: [Select]
                <?php _e('Region'OSCLASSWIZARDS_THEME_FOLDER); ?>
              </label>
              <div class="controls">
                <?php 
     if(
osclasswizards_locations_input_as() =='select'){ 
                    if(
count(osc_get_countries()) > 1){
                        
ItemForm::region_select(osc_get_regions(osc_user_field('fk_c_country_code')),osc_user());
                    }else{

Replace with:

Code: [Select]
                <?php _e('Region'OSCLASSWIZARDS_THEME_FOLDER); ?>
              </label>
              <div class="controls">
                <?php 
    if(
osclasswizards_locations_input_as() =='select'){ 
                    if(
count(osc_get_countries()) > 1){
                        if(
$edit) {
                            
ItemForm::region_select(osc_get_regions(osc_item_country_code()), osc_item());
                        } else {
                            
ItemForm::region_select(osc_get_regions(osc_user_field('fk_c_country_code')), osc_user());
                        }
                    }else{

2.- Cities. Locate this block:

Code: [Select]
                <?php _e('City'OSCLASSWIZARDS_THEME_FOLDER); ?>
              </label>
              <div class="controls">
                <?php 
    if(
osclasswizards_locations_input_as() =='select'){ 
                    if(
Params::getParam('action') != 'item_edit') {
                        
ItemForm::city_select(nullosc_item());
                    } else {
                        
ItemForm::city_select(osc_get_cities(osc_user_region_id()), osc_user());
                    }
                }else{

Replace with:

Code: [Select]
                <?php _e('City'OSCLASSWIZARDS_THEME_FOLDER); ?>
              </label>
              <div class="controls">
                <?php 
    if(
osclasswizards_locations_input_as() =='select'){
                    if(
$edit) {
                        
ItemForm::city_select(nullosc_item());
                    } else { 
// add new item
                        
ItemForm::city_select(osc_get_cities(osc_user_region_id()), osc_user());
                    }
                }else{

Regards

buninsan

  • Jr. Member
  • **
  • Posts: 98
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #999 on: April 19, 2018, 03:36:24 pm »
Thanks now works fine!

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #1000 on: April 20, 2018, 01:22:25 pm »
You're welcome :) Regards

buninsan

  • Jr. Member
  • **
  • Posts: 98
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #1001 on: July 09, 2018, 04:30:41 pm »
Help please solve another problem.
On the main page, when selecting a city, all cities are unloaded from the database creating a load.
And it is necessary that the city could be chosen only after choosing a region!


and in categories the same problem

« Last Edit: July 09, 2018, 05:36:10 pm by buninsan »

Aficionado

  • issues
  • Hero Member
  • *
  • Posts: 6240
  • Hardliner
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #1002 on: July 09, 2018, 07:06:02 pm »
Help please solve another problem.


I doubt that, since this theme has not been updated for 2,5 years now, probably it is discontinued/abandoned.

Was good in 2015 when released, but now it is aged and a lot of bugs have not been fixed.


Hartenheer

  • Guest
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #1003 on: July 10, 2018, 12:52:37 pm »
Then I understand why there are many problems in https
Too bad, it is one of the most beautiful theme that I can find for free.

Osclass Wizards

  • Sr. Member
  • ****
  • Posts: 252
  • We love Osclass
Re: OsclassWizards : Free Responsive Bootstrap Theme
« Reply #1004 on: August 15, 2018, 08:18:12 am »

We are updating our theme! Stay tuned. And Thanks for all the love and support.