Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
51
Gamma Osclass Theme / Re: Custom fields listed in two columns
« Last post by MB Themes on February 10, 2025, 09:19:16 AM »
Thanks for sharing ;)
52
Feature request / Re: Want all images name & image sitemap generation
« Last post by MB Themes on February 10, 2025, 06:48:52 AM »
Osclass does not support named images yet.
53
Feature request / Re: Simplify adding of cities, regions and counries
« Last post by MB Themes on February 10, 2025, 06:48:13 AM »
Osclass already support importing data via sql, structure is based on table structure
54
Feature request / Want all images name & image sitemap generation
« Last post by Ajit Sahane on February 10, 2025, 03:38:00 AM »
Osclass item we ad images, so around per ad item around 2-4 images we are adding.

And urls generated look like - https :// xyz. com/oc-content/uploads/0/148_thumbnail.webp  OR

https :// xyz. com/oc-content/uploads/1/569.webp
---------------------------------------------------------

So instead of this 569 numbering how we can set image name as per real image name. IF image name is [ bmw car for sale texas.jpg ]  then
URL should generate like - https :// xyz. com/oc-content/uploads/1/bmw-car-for-sale-texas.jpg or webp   etc

if img name is duplicate then auto change it like - https :// xyz. com/oc-content/uploads/1/bmw-car-for-sale-texas_1.jpg or webp


Also, want Image sitemap - with select option - Ad Img + Page Img + Website other Img etc

I hope this must required feature soon added in Osclass.

MB Team, Kindly Update on this.
55
Feature request / Simplify adding of cities, regions and countries
« Last post by Oleksandr Kravchuk on February 09, 2025, 11:24:55 PM »
Process of adding of cities, regions and countries needs to be simplified. Import SQL file with easy structure.
56
Gamma Osclass Theme / Custom fields listed in two columns
« Last post by bobyrou on February 09, 2025, 08:01:55 PM »
I was looking for custom fields to be listed in two columns on listing page, but I see neither osclass or gamma theme has this feature so I thought to share with you how to customise this.

You just need to copy and then paste below css code into Appearance > Customization:



CSS Code:
Code: [Select]
.custom-fields .list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two equal columns */
  gap: 4px; /* Space between cells */
  width: 100%;
}

.custom-fields .field {
  display: flex;
  background: #e3e3e3; /* Light grey background */
  color: #000; /* Black text */
  padding: 2px 8px; /* Cell padding */
  border: 0px solid #e3e3e3; /* Cell border */
}

.custom-fields .field .name {
  font-weight: bold;
  margin-right: 5px;
  flex: 1; /* Allows even spacing */
}

.custom-fields .field .value {
  flex: 1;
}
.custom-fields .field, .job-detail table tr, .real-detail table tr, .car-detail table tr, .real-detail .detail2, #atr-item li, #atr-item li.atr-type-checkbox, #atr-item li.atr-type-select {float:left;clear:both;width:100%;padding:6px 0px;background:#e3e3e3;margin:0;list-style-type: disc; display: list-item;}
57
Report bug / Re: Admin listings views not working
« Last post by katalin2k on February 09, 2025, 05:31:38 PM »
There could be some issue, try to debug osclass and see errors. Also database logs.

Check this section in oc-includes/osclass/controller/item.php

Code: [Select]
        if(!osc_is_admin_user_logged_in() && !($item['fk_i_user_id']!='' && $item['fk_i_user_id']==osc_logged_user_id())) {
          require_once(osc_lib_path() . 'osclass/user-agents.php');
          foreach($user_agents as $ua) {
            if(preg_match('|'.$ua.'|', Params::getServerParam('HTTP_USER_AGENT'))) {
              $mStats = new ItemStats();
              $mStats->increase('i_num_views', $item['pk_i_id']);
                break;

            }
          }
        }
Isn't this code for adding new views to listings? I said I see 0x views in admin backend under Listings section.
58
Plugins / Re: Ajax Search Suggestions how to set it up correctly
« Last post by T1ZE on February 08, 2025, 09:42:12 PM »
(id="something")

No, that's not the word, I checked that it works on older versions of the templates with the word "query", but neither this nor the new word that you wrote does not work in the new templates "Epsilon". Is there some other word, can you tell me which ID is used instead of "query"?
59
Feature request / Renaming thumbnails to listing title slug
« Last post by katalin2k on February 08, 2025, 08:14:58 PM »
I would suggest renaming images to product title slug instead of a random string of numbers, it will improve SEO a lot.
In the meanwhile can you tell me where to find the functions that are responsible for image name generation so I can try it myself? I can't seem to find anything related to image renaming...
60
Plugins / Re: Ajax Search Suggestions how to set it up correctly
« Last post by T1ZE on February 08, 2025, 05:03:34 PM »
If anything, this plugin
Pages: 1 ... 4 5 [6] 7 8 ... 10