10th
AUG

WordPress Classifieds Plugin

Posted by M. 4Gani under Tools, WordPressi:

Description

With this plugin, you will be able to add a Classifieds Advertising for Personals, Auto or Business in to your wordpress blog.


Installing the plugin:

Please test the plugin with your theme on a develop machine or a local machine, if the test is successful install it on the production machine.
Click here to download the:
1) last release (classifieds Page in one column) or you may check out a working copy over HTTP.
svn checkout http://svn.wp-plugins.org/wp-classified/trunk/

2) Extract the zip files
3) Upload folder to your site (./wp-content/plugins/wp-classified)
Public Directory
You also have to create an a public directory under wp-content (the public folder must have write permission)
and create the following directories and chmod them to 777 (writable by the webserver.)
wp-content/public/wp-classified/
wp-content/plugins/wp-classified/cache

4) Login to the administration and go to “admin panel/plugins” and activate the plugin
5) Go to the “Manage” tab of your WP. You have now there a new tab called “WP-Classified Admin”.

6) Go into the Manage — wpClassified —
7) Click on “Add Category”
8) Categories are the MAIN sections of your classifieds. For example, Autos For Sale

9) Now that you have a category, click on “Add List” under the Add/Edit Categories menu.
10) Create a list and then choose its parent category.

Lists are your subsections on your classifieds. For example, “Trucks” would be a list whose parent category would be “Autos For Sale.”
Unless you create lists under your categories, you won’t see a thing on your classified page.


Configure the plugin

Make sure the folder images have the correct writing permissions.

You will need to make the following folders writeable (chmod 777) :

– wp-content/plugins/wp-classified/cache

NEW in THE VERSION 1.4
Add a public directory and upload the images public resources (the public folder must have write permission)

– wp-content/public/wp-classified/

If you upgrade from 1.3 to 1.4 please move all public images  form the folder wp-content/plugins/wp-classified/images into the wp-content/public/wp-classified/

Uninstalling the plugin

For uninstalling deactivate the plugin in the WordPress admin menu and delete the wp-classified directory from the /wp-content/plugins/ directory and the page and tables, which are installed by the plugins with drop table in phpMyAdmin.

IMPORTANT:

I create and tested on WordPress version 2.3.2 on default and unchanged Permalink structure.
The plugin works successfully with the latest version of wordpress 2.7.

Demo:

wpClassified version 1.3

 

Upgrade Instructions

  1. Deactivate the plugin from your WordPress admin panel.
  2. Backup Database tables *_wpClassified_* and files.
  3. Upload the files to your /wp-content/plugins/ folder and overwrite the existing file.
  4. Activate the plugin from your WordPress admin panel.
  5. Please Note: in ‘Classified Options‘ page in admin interface, check that all the required fields are filled in and save!

Questions and Examples of Use

Frequently Asked Questions

Q: Why the main site gives me the 404 or Not Found error message

This is a .htaccess 404 error message and you should update your .htaccess file in the wordpress root directory.

Q: Who can I collapse the categories as default instead of expanded as default.

Open the file ./includes/main_tpl.php in your favorite text editor.
Edit line: ca. 34
update the ’showAll();’ to ‘hideAll();’
That’s all ;)

Q: I would like to put the last ads in my sidebar. is it possible?

Inside the wordpress admin ‘Design’ menu, ‘Widgets’ submenu, add the wpCalssifieds widget to your blog where you want, then save the changes.

To support Permalink structure:

Normally you should not edit the htaccess, the Permalink link will be detect by plugin automatically.
The htaccess is a way to add the category name to the url or display the post title in the blog url.

This is an example for .htaccess file to redirect to wpClassified for the people who use ‘ /%category%/%postname%/’ as permalink structure
Please open the .htaccess file in the wordpress root folder in your favorite editor and look for line

RewriteRule . /index.php [L]

and replace it with:

#RewriteRule . /index.php [L]
RewriteRule !^(classified)/ /index.php [L]
RewriteRule ^classified/([^/\(\)]*)/?  /index.php?pagename=classified [QSA,L,R,NS]

May be by using  the ‘/%postname%’ or ‘/%category%/%postname%/’ as permalink structure the plugin must work correctly and you do not need change anything.

Q: Warning: imageftbbox() [function.imageftbbox]: Could not read font?

Enable the GD and FreeType Support in php configuration or unselect the ‘Show the confirmation code’ check box  in admin interface

Some words about permission:
if the people post as anonymous, they are identify by their IP address.
Is the IP address a dynamical address, then they get lost after a while and their edit permission.

Changelog

Changes 1.4 – January 17/01/2009
– January 18/01/2009 fix for Internet Explorer and xampp

– fixed for plugin auto-upgrade
Note: This bugfix release hove to install Manually.
– fixed for the plugin auto-upgrade. (must test with the next coming version)
– moved directories public resources to wp-content

Changes 1.3.1-b – February 09/02/2009
– modify to approve posts before they are published
– fixed the problem with re-size of thumbs images

Changes 1.3.1-a – January 25/01/2009
– update to cover changes between WP-Version  2.6 and 2.7
– fixed the widget control

Changes 1.3.0-a – October 13/10/2008
– Modify to expanded and collapses the Categories
– Modify to show the last post in footer

Changes in 1.3 – September 10/2008
– Update to display-style classified ads in one column
– Added the ad images viewer
– Allowed more images per ad
– All the pages using templates
– Added style sheet for page layout

TO-DO-List

– comments on individual listings/ads?
– implement the paid service and pay pal options?
– preventing the Bad languages

Email:

    • wpclassified@forgani.com

 

    (Please include wpclassified in the subject of your email.)

157 Responses to “WordPress Classifieds Plugin”

Pages: « 1612 11 10 9 8 [7] 6 5 4 3 21 » Show All

  1. Nicolas E., 20. January 2010, 22:12

    Hello Mohamed!
    Thanks for your efforts!
    One question, I’d like to set a user as an “admin” or “moderator” , however, I’m not able to change the preference it always comes back as “user”. I’m using WP 2.8.4
    Please help us,

    Thanks Nicolas E.


    –>Good point. Well, i don’t know for sure.I think that this maybe is a bug or the plugin is not compatible. This weekend I will run some test cases to find the causes of the problem.

  2. Hummel, 20. January 2010, 20:54

    The function.call-user-func-array Problem
    I´m using WordPress 2.9.1.


    —>
    Ok.
    PLEASE remove the line 112 starting with [add_management_page($this->menu_name, …]
    from the file ./plugins/wp-classified/wpClassified.php

    I hope it’s fixed now.
    It was a bug! I updated the code on SVN. Thanks.

  3. Hummel, 20. January 2010, 16:35

    Hi great tool,

    but I got the following error “Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘wpclassified_admin_page’ was given in /kunden/265321_50354/webseiten/bwkendenich/wp-includes/plugin.php on line 339″
    Is there any workaround?


    –> Which wp version are you using?

    many thanks in advance

  4. Steve, 18. January 2010, 3:07

    I’m having the same problem I’ve seen others are having — when a new ad is submitted it gives an error “Email is Required”. I’ve tried all the options that others have reported trying but nothing seems to help.


    version 1.4
    January 18/01/2009 fixed for Internet Explorer and xampp

  5. admin, 17. January 2010, 20:43

    Hi
    I just upload the version 1.4 that fix the problem with the wordpress plugin auto-upgrade.
    Note: This bugfix release hove to install Manually.

    – fixed for the plugin auto-upgrade. (must test with the next coming version)
    – moved directories public resources to wp-content


    January 18/01/2009 fix for Internet Explorer and xampp

  6. Francesca, 17. January 2010, 18:10

    I’m trying to install your plugin but everytime Wp gives me back an error message like this: Parse error: syntax error, unexpected T_STRING in /web/htdocs/www.puntoacapo.info/home/wordpress/wp-content/plugins/wp-classified/language/lang_it.php on line 181
    What can I do?
    I’m using Wp 2.9.1. Thank you in advance.
    Cesca


    remove the line

  7. cybergirl, 14. January 2010, 19:51

    tinyMCE I’ve downloded from actual WP version and uploded on server. Now I cann see it on ads posts. Thx. BUT loading is getting catastrophal. According to Webmaster-tools from FF I’m getting many, many errors like:

    anonymous function does not always return a value, test for equality (==) mistyped as assignemt (=)?, function b does not always return a value, always for wp_includes/js/tinymce/themes/advanced/editor_templat.js

    And also errors like:

    assignment to undeclared variable a2a_linkname, linkurl, show title, color_main, color_border, color_link_text, color_link_text_hover.

    Option tinyMCE so does not work, i.e. slows down loading of the site, so I better use other option, BUT here I must adapt width of textarea because it is in the left sidebar (template has two sidebar columns)


    –>
    in the file: functions.php
    line 657 update the cols=’60’ and reduce the number of columns
    i am using wp2.9.1. It’s the same code used here in running and the page load time is short.

  8. cybergirl, 14. January 2010, 19:24

    Delete ad by user -> Whiche files I have to replace, I did many code-adaption and don’t want to “destroy” it.

  9. cybergirl, 14. January 2010, 19:09

    Thx for quick reply.

    1) Where can I get download for tinyMCE. I’m using also TinyMCE advanced backend for my posts. It works great. Yes I think ther are some files missing as you told.
    2) regarding Style Sheet: I can not find any specific style for the textarea (wpClassified_data[post], i.e. width for text area on wpClassified.css. Is there another name for that ?
    All ads where posted with 1,5 rows between lines. Can I reduce this? if yes which codename in .css is that ?

  10. cybergirl, 14. January 2010, 13:21

    new bug is found:

    User cannot delete ad. It seems that button has an invalid code. Please check
    –>
    thanks, It’s already fixed in yesterday’s upload

Pages: « 1612 11 10 9 8 [7] 6 5 4 3 21 » Show All

Post your comment

*

code