Code Monkey home page Code Monkey logo

osclass-plugins's People

Contributors

conejoninja avatar juanramon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osclass-plugins's Issues

Help section

  • Explain that some changes (i.e., small theme changes) wouldn't be reflected immediately because some pages could be cached. If they want to see the changes in this moment, they should remove the cache.
  • We use cron to clean the cache. Clarify this point because most users don't know about cron.

Add log in

There's no option to log in in mobile theme

Main category is displaying first subcategory

This code has been posted by a forum user, we should try because it seems to solve the problem:

<?php if(osc_count_categories () > 0) { ?>
    <?php while ( osc_has_categories() ) { ?>
        <div data-role="collapsible" data-collapsed="true">
            <h3><?php echo osc_category_name() ; ?></h3>
            <ul data-role="listview" data-inset="true" data-theme="d">
                <?php if ( osc_count_subcategories() > 0 ) { ?>
                    <?php while ( osc_has_subcategories() ) { ?>
                        <li><a href="<?php echo str_replace(osc_base_url(), '', osc_search_category_url() ) ; ?>"><?php echo osc_category_name() ; ?></a></li>
                    <?php } ?>
                <?php } ?>
            </ul>
        </div>
    <?php }?>
<?php }?>

Search results + homepage

  • XML feed are included
  • It should be a parameter to set the expiration of the cache
  • Cache the pages for all the parameters: categories, subcategories, country, region, etc.

Bonus

  • Cache is created on-demand: first time the request page is loaded
  • It only applies for not logged users

Admin changes the theme

When the theme is changed, we should remove all the cache files. i.e.: you change from modern theme to bcute

I have a little update for the paypal plugin

Hi

In the paypal plugin there be the hook for when an item is deleted that way you do not end up with ghost ads.

I added something like so

function paypal_item_delete($itemId) {
$conn = getConnection();
$conn->osc_dbExec("DELETE FROM %st_paypal_premium WHERE fk_i_item_id = '%d'", DB_TABLE_PREFIX, $itemId);
$conn->osc_dbExec("DELETE FROM %st_paypal_publish WHERE fk_i_item_id = '%d'", DB_TABLE_PREFIX, $itemId);
}

osc_add_hook('delete_item', 'paypal_item_delete');

Jay

Remove uniform.js from the plugins

It should be implemented in the themes, not in the attributes plugins.

Do not close this issue until it's removed from all the plugins.

Item-detail gives wrong values + newDAO

now :

Dating attributes
NI looking for NI for FORMAL.

Should be:
Not informed looking for Not informed for Formal relation


Implement newDAO into dating plugin

Item detail cache

  • It should be a parameter to set the expiration of the cache
  • Cache should be removed in the next cases:
    • If the item has expired
    • If the item has new comments (active, not only submitted to review)
    • If the item has been modified

Bonus

  • Cache is created on-demand: first time the request page is loaded
  • It only applies for not logged users

Solr

This plugin should be like the module for solr in Drupal:

It should include:

  • Definition of fields and types
  • Configurator for the Index creator
  • Configurator for the Searcher
  • Configurator for the Highlighter

Some fields have a default option

There are some fields that cannot be empty because by default they have an option:

  • Doors
  • Seats
  • Number of airbags
  • Gears

It should be a default option:

  • Select num. of doors
  • Select num. of seats
  • Select num. of airbags
  • Select num. of gears

Use nice urls

Use nice urls in sitemap

We can suggest here the structure:

  • /browse/c,category/
  • /browse/c,category,subcategory/
  • /browse/c,category,subcategory/co,country/
  • /browse/c,category,subcategory/co,country/re,region/
  • /browse/c,category,subcategory/co,country/re,region/ci,city/
  • /browse/re,region/ci,city/

Some typo mistakes

  • You are watcihng %d items
  • In order to work this pluggin need OSClass v2.2 and up
  • without this version the pluggin will crash · the is missing
  • You have %s version · order mistake, correct: You have version %s
  • Of course you can. Watchlist display only a link_. Y_ou can use css to make a button or anything else.
  • Did watchlist plugin work with all version_s_ of OSClass

Remove urls without ads

We shouldn't add urls without ads in the sitemap url. For example:

  • If Houses category doesn't have ads, it shouldn't be in the sitemap
  • If Barcelona city doesn't have ads, it shouldn't be in the sitemap

It would be nice prepare the code to be able to not include the urls with n number of ads in the results, where n is an integer

Sitemap structure

Now the structure is:

  • Categories
  • Countries
  • Regions
  • Cities

The structure should be similar to the one that has indeed.

  • Categories
  • Categories » Subcategories
  • Categories » Subcategories » Country (Optional, only for multi-country sites)
  • Categories » Subcategories » Country » Region
  • Categories » Subcategories » Country » Region » City
  • Regions: Inside the region, show the top cities (30)

Remember: Only add to the sitemap pages with results

Static pages

  • It should be a parameter to set the expiration of the cache
  • Cache should be removed when the page has been modified

Bonus

  • Cache is created on-demand: first time the request page is loaded
  • It only applies for not logged users

Button to clean cache

It should be an option to clean the cache from the oc-admin. Maybe we should be able to select:

  • Which section we want to remove: categories, static pages, search results, items...

Car Attributes

In the admin panel managing makes, models, and vehicle types does not allow you to delete even if you create a new field in one the tables and try to delete it right away.

Jay

Remove cron support

Now sitemap plugin uses cron_hourly hook. However, we should remove this because sitemap generation uses a lot of recourses. Well, it depends on the size of the site, but it will do a lot of queries. So, I think that it's better to do weekly or create a system cron job manually.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.