Classifieds plugin

Le plugin classifieds permet aux membres de votre site de publier des petites annonces sur votre site. Ils peuvent ajouter des images si besoin, modifier leurs annonces et les supprimer à tout moment. Les annonces sont en ligne durant une période que vous pouvez paramétrer. Vous pouvez créer autant de rubriques et de sous rubriques que nécessaires.

Classifieds plugin allows your site members to publish ads on your site. They can add pictures if necessary, modify and delete their ads at any time. Ads are online during a period that you can set. You can create as many headings and sub headings as necessary.

See demo page

Pre-install

Require geeklog 1.6.0 or greater. I also recommend using the jquery plugin to support lightbox feature in the ads.

Back-up your sites database.

  • visit {site_url}/admin/database.php

Install

Autoinstall

1. As one of your site's Root users

  • visit {site_url}/admin/plugins.php
  • Upload the plugin archive (.zip) : Select it on your HD and press Upload.

2. Done. If the installation completed successfully you can skip to the next step. Otherwise, check the geeklog error.log for errors.

  • <geeklog_dir>/logs/error.log

Manual install

Geeklog can auto install plugins. See above.

If you need to manualy install the plugin.

  • Backup your Geeklog database because the classifieds plugin adds tables. You can do this with the built in database backup facility in the Admin menu.
  • Uncompress the classifieds plugin archive while in the path-to-geeklog/plugins directory. The archive will create a directory called classifieds.
  • Under your <public_html> directory, create a directory called classifieds.
  • Under <public_html>/admin/plugins/ directory, create a directory called classifieds.
  • Change to your path-to-geeklog/plugins/classifieds directory.
  • Copy the files in the admin directory to the admin/plugins/classifieds directory you created in step 4.
  • Copy the files in the public_html directory to the public_html/classifieds directory you created in step 3.
  • Go to the plugin administration page. The classifieds plugin should show up with a link to install it. Click this link. The install page will tell you if it was successful or not. If not, examine the Geeklog error.log in path-to-geeklog/logs/ to see what the problem was. Fix the problem and re-install.

Before using the plugin

You need to create the classifieds images folder under the public_html/images folder.

  • public_html/images/classifieds

Upgrade

To upgrade an existing Classifieds plugin installation, please upload all the files from the archive to their respective location, replacing the older versions of the same files.

Config

General Settings
Classifieds folder You can change the public name of your classifieds folder. Tell the system what is the new name.
Active daysDefault is 60 days
Site name for images folder Removed in 1.1.4. Leave blank.
Images settings
Max image width Default is 800 px. If image
Max image height Default is 800 px.
Max image size Default is 4194304 bytes
Thumb width Default is 80 px. This is the width of small images on the ads list.
Thumb height Default is 60 px.This is the height of small images on the ads list.
Max thumbnail size Default is 75 px. This is the size of the small picture on the ad detail page.
Max images per ad Default is 3 images per ad.
Display settings
Menulabel Default menu label is the plugin name. You can change this here.
Hide classifieds menu You can hide the menu label by setting this to yes.
Main header You can add text above the main ads list. Autotags are welcome.
Main footer You can add text below the main ads list. Autotags are welcome too.
Editor header You can add text above the ads form. Autotags are welcome.
Help page You can give information to users using a link or an autotag here.
Currency Default is $
Date format Default is %d %B %Y
Time format Default is %H:%M
Max per page This is the max ads per page. Default is 50.
Allow republishing ad (Pro version) Default is no.
Email settings (Pro version only)
Email user on ad creation Default is yes. Set to no, if you don't want to send email for this action.
Email user on ad modification Default is yes. Set to no, if you don't want to send email for this action.
Email user on ad delete Default is yes. Set to no, if you don't want to send email for this action.
Email user on ad expire Default is yes. Set to no, if you don't want to send email for this action.
Email admin on ad creation Default is yes. Set to no, if you don't want to send email for this action.
Email admin on ad modification Default is yes. Set to no, if you don't want to send email for this action.
Email admin on ad delete Default is yes. Set to no, if you don't want to send email for this action.
Email admin on ad expire Default is yes. Set to no, if you don't want to send email for this action.
Default Permissions
Login required to access classifieds Default is no. If you set this to yes, anonymous can see the ads list but must log in to see the ad detail.
Default permissions[0] Owner permission
Default permissions[1] Group permission (classifieds admin)
Default permissions[2] Logged-in permission
Default permissions[3] Anomymous permission

Usage

First you need to create a root category and one or more category within this root category. Users can not publish ads under a root category. Go to the classifieds admin area and hit the “Create a category” link.

To publish your first ad go to the public classifieds area and hit the link “Place an ad”. Enter all requested information. Select pictures if needed and submit your ad. If no field is missing, the ad is online.

With version 1.3+ you can give classifieds.publish rights to a group. To do sio edit the desire group and check classifieds.publish feature. If no group is set, then all users from the Logged-In Users group can publish ads.

Proversion

Buy Classifieds Pro Version

With version 1.1, classifieds pro version will be available.

Why a Pro version? To enable and encourage the future development of the plugin, a small financial contribution is requested.

Avec la version 1.1, une version Pro du plugin Classifieds sera disponible.

Pourquoi une version Pro ? Pour permettre et encourager le développement futur du plugin, une légère contribution financière est demandée.

New features in Classifieds Pro version

  • Email user and admin on classified ad creation (Editable in config)
  • Email user and admin on classified ad modification (Editable in config)
  • Email user and admin on classified ad delete (Editable in config)
  • Email user and admin on classified ad expire (Editable in config)
  • The admin can copy a classified ad to re-publish.

How to install Classifieds Pro Version

  1. To install classifieds pro version, just upload the proversion.php file in the {your_geeklog_path}/plugins/classifieds/plugins folder.
  2. Done.
  3. Enjoy.

History

Next Version

  • [todo] convert to COM_createHTMLDocument for Geeklog 2
  • [todo] Check date and time before removing ads and send notification. Now ads are remove but can not be republish with pro version
  • [todo] Move proversion files to data folder to avoid delete during auto update

Version 1.3.1 | July 15th, 2014

  • [fix] remove mysql_fetch_row in functions.php
  • [fix] Search function using start date and end date delimiters

Version 1.3.0 | June 16th, 2014

  • [fix] Old ads could be displayed with direct url. Now only admins can display an old ad.
  • [new] support comments
  • [update] thimthumb 2.8.13
  • [new] Facebook, Twitter and Google+ buttons
  • [new] classifieds.publish feature

Version 1.2 | Jan. 18th, 2012

  • [fix] CLASSIFIEDS_centerblock_lastAds limit
  • [fix] category status
  • [fix] timthumb script version 2
  • [fix] Display main header and main footer settings
  • [fix] Page navigation count
  • [fix] search results
  • [new] Classifieds Users group
  • [pro] Users can republish old ads

Version 1.1.2 | Dec. 13th 2010

  • [fix] Bug in search function

Version 1.1.1 | Dec. 2nd 2010

  • [fix] category order during subcategory creation (user/admin)
  • [fix] Do not display the category you are editing as a possible parent category (admin)
  • [fix] Display category parent name in the category list (admin)
  • [fix] issue decimal price input on ad form. User need to use the point for decimal number.

Version 1.1 | Nov. 29th 2010

First public release

  • [new] Table cl_users created
  • [new] Count the modifications number of each ad (for futur dev.)
  • [pro] Add Email setting
  • [pro] Add ad notification status

Version 1.0 | Sept. 22th 2010

Private release

Todo

  • Search block
  • Sort by business ads and by individuals ads, sort by date or sort by price
  • Users can save ads. An email is sent to user when ad expire. (Pro version)
  • Monetize ads (change fee, re-publication fee, featured fee, extend the period of publication…) (Pro version)
  • Pro users can re-publish ads (Pro version)
Connecté en tant que : Guest (Guest)
plugins/classifieds.txt · Dernière modification: 2014/07/15 16:48 par ::Ben
 

Download geeklog

Last available version 2.1

Change language

Categories

Events

samedi 23-août -
dimanche 24-août

User Functions





Don't have an account yet? Sign up as a New User!

Lost your password?

Visual Theme Switcher

Test out available themes by selecting from one of the 4 available themes or give the Visual Switcher a try:

Annonces

En ligne

Guest Users: 24