Osclass Support Forums

General osclass questions => Feature request => Topic started by: Luka on November 27, 2021, 11:00:34 AM

Title: Create a section on the site for an irrelevant ad.
Post by: Luka on November 27, 2021, 11:00:34 AM
if possible to save expired or not relevant advertisements on website  (it don show in home page and serch. create a separate page for this). ad which are seo optimized , because seo robot see these links.
Title: Re: Create a section on the site for an irrelevant ad.
Post by: MB Themes on November 27, 2021, 06:29:51 PM
You mean something like /search/expired/     ?
Title: Re: Create a section on the site for an irrelevant ad.
Post by: Luka on November 28, 2021, 05:42:02 PM
Yes, expired ads to be shown on another page of the site. what search robots could index

this can be done?
Title: Re: Create a section on the site for an irrelevant ad.
Post by: MB Themes on November 28, 2021, 08:55:35 PM
@Luka
Not easily. From logical point of view it does not make too much sense :)
Title: Re: Create a section on the site for an irrelevant ad.
Post by: Luka on November 28, 2021, 10:34:31 PM
I agree with you if this is a bulletin board site.
If this is an online store or a website of a real estate agency, then need.
On one of the site templates - delta I saw you have - reserved and sold, you can do it with this filter.
Make it possible to add such labels and sort them into specific blocks.  This will increase the demand for your engine and templates.
I am selecting an engine for the website of a real estate agency, and this function is important.

I hope you can easily solve the task.
Thank you for your time.
Title: Re: Create a section on the site for an irrelevant ad.
Post by: MB Themes on November 29, 2021, 10:33:29 AM
Using sold status and not using removal can help you on this.
Title: Re: Create a section on the site for an irrelevant ad.
Post by: osclassic on December 08, 2021, 01:56:58 AM
Quote
Using sold status and not using removal can help you on this.

How to do the non removal of listing when the user deletes it ie. mark the listing as sold and not delete it from the database because currently in the default theme there is a javascript popup with a delete button and when the user clicks one that the ad gets deleted and data removed from the database but instead I want the ad to be marked as sold and keep the data but only admin can delete the data permanently later or something like that.
Title: Re: Create a section on the site for an irrelevant ad.
Post by: MB Themes on December 08, 2021, 08:22:55 AM
@osclassic
It would require bit of modifications.

1) you need to store also date when listing was marked as sold
2) hide/remove functions to delete listing for user - provide only way to mark as sold
3) create function that will be added to daily cron and will remove listings marked as sold i.e. month ago
4) in backoffice, update status of listing based on sold mark, so admin see that listing is marked as sold
Title: Re: Create a section on the site for an irrelevant ad.
Post by: osclassic on January 04, 2022, 07:26:38 AM
Hi,

Can you make a sold/archived listings plugin with reasonable pricing for this along these lines (1,2,3,4) as above and some more features so the seller (or admin) can either select the item as sold or closed and the listing is archived instead of completely deleting (but the admin should have an option to delete the listing or if the user wants the listing completely removed). Admin should also be able to archive any listing.

However, the archived listings should not count towards total listings of the seller so it does not affect if the seller group posting limits per group or posting limits per payment package, etc., and only active/existing listings should count towards posting.  May be admin can set how many listings a user can archive, if possible.

Admin should also have control over how many listings can be archived in the database and for how long but be able to delete (override) a few listings at anytime if the database is getting large.

The users can view the item and info, comments, etc, (may be the admin can decide to hide if possible) but the buyers cannot contact the seller on sold listings.

Also, about 3-5 (admin controls) sold/archived listings are shown at the end of search results on each page/category/city/search term etc., (someone previously requested this feature and I like it too).

If you decide to make it then may be I can think of some more ideas but the plugin should work with old and other osclass versions also.
Title: Re: Create a section on the site for an irrelevant ad.
Post by: MB Themes on January 04, 2022, 08:33:13 AM
@osclassic
Thanks for feedback ;)