vBulletin Mods

The Official vBulletin Modifications Site

[OzzModz] Classifieds
by ozzy47
16 Nov 2013 21:16

9 Attachment(s)
Another mod brought to you by,

[OzzModz] Classifieds, has won MOTM for December 2013 Mod of the Month!

First off this mod, [Chris] Classifieds, has been taken over by me. It did belong to Christos Teriakis. He has since given me full rights to the mod, so I am releasing it here. Only thing I have changed as of yet is the title, added the link and changed some template names, so it is basically the same mod. To upgrade from that mod is the same as any other time, unzip the files, load them to your server, overwriting the old files, then import the new xml. Please remember, this mod is as new to me as anyone installing it, so we are both on a learning curve. :)

1.- What's this mod?

Is better to say what it is NOT. For those who have used MarysClassifieds, I can say that they are 2 products which you can't compare. MarysClassifieds had dozens of features, but when I installed in my site I realized that I need only 10% of those features. Maybe less. This is slimlined Classifieds. A minimalist version of MarysClassifieds, but I bet that 70% of the webmasters will find this one more pretty, more usefull.
  • It supports 4 types of Classifieds:
    • For Sale
    • Wanted
    • For Trade
    • Free Offers
  • Supports unlimited categories
  • Supports Extra fields (but not searchable)
  • Has PM templates for:
    • PM user when admin approves his Classifieds
    • PM user when admin rejects Classified
    • PM seller when a user Makes an Offer
    • PM seller when a user clicks Buy it
    • PM seller when a use uses the contact form
  • Supports 5 statuses:
    • Open
    • Hidden
    • Reserved
    • Expired
    • Sold
    • Please note that unlike my old mod, here nothing is automatic. The seller has to take care to switch between statuses.
  • There are listings for:
    • Category classifieds
    • Timeframe (What's New) Classifieds
    • Seller Classifieds
    • Search Results
  • In view Ad page the visitor can see also:
    • Other classifieds from the same seller
    • Similar classifieds from the same category
  • In all pages there are available the follow blocks having the appearance of widgets:
    • Category Menu
    • Search Form
    • Statistics
    • Latest classifieds
    • Popular classifieds
    • Soon to expire classifieds.
2.- How you can make (a bit) money with it.

Using vBulletin's Subscriptions Manager you can set subscription which will upgrade the subscribers to a higher usergroup with more privileges in SL Classifieds. eg:
  • To restrict post in specific categories. The system works such a way that for each category you can set who can post:
    • All usergroups
    • None usergroup
    • Specific usergroup(s)
  • To allow more days for postings. eg usergroup A can set a maximum of 15 days before the Ad will remove from the system, while usergroup B can set the Ad's duration for 45 days etc.
  • Concurrent Ads. eg Register users can have only 1 active ad, while your VIP usergroup can has 5 ..or 10 ... or whatever you want.
  • More photos per Ad.
3.- Installation
  1. Download and unzip the file Classifieds_XXXX.zip
  2. Upload the content of upload folder to the directory where your vB installation is. As a check: classifieds.php must be on the same directory as global.php, forum.php etc. Classifieds won't outside of vB installation directory.
  3. CMOD 777 the directories:
    1. christeris/classifieds/photos
    2. christeris/classifieds/photos/thumbs
    3. christeris/classifieds/photos/tmp
  4. Goto Admincp and import product-classifieds.xml. Double check before if you have another product with the same name.
  5. Set the various settings in Classifieds->General settings
  6. Set usergroup permissions
  7. Check and modify if you want PM templates.
  8. Set categories
  9. Set Extra fields (in case that you want them).
4.- SEO URLs
  • If you're using vbSeo open the file Classifieds_vBSEO_Custom_Rewrite_Rules.txt and add them to your vbSeo installation.
  • If you're using .htaccasse file copy the contents of htaccess.txt and add it to your current .htaccess files. If you don't have such file and your server is compatible with such files, upload htaccess.txt to your vB directory and rename it to: .htaccess
5. CMS Widget / Forum Sidebar Block for Latest Classifieds
  1. Shows latest 5 Classifieds
    1. If you want to change the number to another value change at 1st line: $maxitems = 5;
  2. Installation as CMS Widget
    1. Goto Admincp-> vBulletin CMS-> Widgets
    2. Click "Create New Widget" at the list bottom
    3. Set Widget Type: PHP Direct Execution
    4. Give a Title which appears at the widget. eg Last Classifieds, or.. Last 5 Classifieds etc
    5. Click SAVE
    6. Find in the list the new widget and click configure at the right side
    7. Replace the example code, with the code from Widget_Latest_Classifieds.txt
    8. Click Save
    9. Goto Layout and add it in any section you want
    10. Click Save (Layout)
  3. Installation as Forum sidebar Block
    1. Goto Admincp-> Forums & Moderators -> Forum Block Manager
    2. Click Add Block
    3. In the next screen "Select block type: Custom HTML/PHP"
    4. Click Continue
    5. Title: Latest Classifieds
    6. Content Type: PHP
    7. Content: Copy & Paste the code from Widget_Latest_Classifieds.txt
    8. Click Save. The block will be now visible to your forum sidebar

If you like this mod please hit the https://www.vbulletin.org/forum/external/2015/08/1.png button to the right ---->

Please remember to click the, https://www.vbulletin.org/forum/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!

  1. Facebook Like Advanced (Shows users who liked it)
  2. RSS Feeds of last 10 Classifieds
  3. Seller has the ability to not mark a classifieds as reserved when a user clickc BuyNow, in case that he has stock of the same items and he wants to keep classifieds active.
  4. Added description in extra fields appearing as help text in add/edit form.
  5. In case that a category has no subcategories, beside the "No more categories" added an icon/link to previous category level.
  1. Bug Fixes
    1. Missing Terms
    2. DB Error in My Offers
    3. Price decimal seperator in edit mode
  2. Improvements
    1. Show Make offer when the price left 0 in forum sideblock
  3. New features
    1. Show local time if the server is in different time zone.
    2. Classifieds Tab in User profile
    3. Classifieds link in User Popup
    4. Different font color for different classified types
    5. Send PM to Sellet when Admin deletes a classified from view page
    6. Set Userid to appear as sender in automated PMs
    7. Hide empty fields in view page
    8. Change the way that PMs are sending to activate popup modifications. Done but nor checked as I don't have such configuration in my site. But it must works as I'm using the native vB functions to send PMs.
    9. Set Extra fields as Required. Work with Text and Textarea fields only.

Initial release under OzzModz.
Changed the files as to not interfere with the new mod from Panjo that is in vBulletin by default now.

  1. Bug Fixes
    1. Fixed the dates, so they can be auto translated, by your locale settings.
    2. Changed some phrases.
    3. Added some missing phrases.
  2. Improvements
    1. Removed some now defunct settings.
  3. New features
    1. A new block on the left side of the main pages, that contains the navigation links to various parts of classifieds. So now a user can see them better, rather than having to look in the sub-navigation menu.
Patched some vulnerability's that was found in the mod. No sites were affected by this, it was just found by a user and now is patched.

ozzy47 17 Nov 2013 09:35

10 Attachment(s)
More screenshots.

ozzy47 17 Nov 2013 09:36

Reserved 2.

ozzy47 17 Nov 2013 09:44

Seriously???? One install and a rating of 1???? Who is the child, be a man, grow a set, add come out in the open!! Who marked this as a 1??

crazyboy1661 17 Nov 2013 09:54

WoW ozzy47, you are rocking. Sure, I will try this mod. Another Beautiful MOD from your pocket.

You said...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I am using vbseo sitemap Mod. So do you want me too to change the .htaccess? Pls reply me.

ozzy47 17 Nov 2013 10:15


Originally Posted by crazyboy1661 (Post 2461376)
WoW ozzy47, you are rocking. Sure, I will try this mod. Another Beautiful MOD from your pocket.

You said...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I am using vbseo sitemap Mod. So do you want me too to change the .htaccess? Pls reply me.

Were you using Christos' mod before?

crazyboy1661 17 Nov 2013 10:35


Originally Posted by ozzy47 (Post 2461379)
Were you using Christeros' mod before?

I am not using any Mod on the name of christeros.

MrD 17 Nov 2013 10:35

nice to see, that Chrisīs Modīs have a new Coder ;)
But one Question, is there an Option, to Inform the Users, that there Ad ending in x days and they can reopen the Ad ?

ozzy47 17 Nov 2013 10:41

Not that I know of, but maybe in a future version. :)

MrD 17 Nov 2013 10:56

nice to hear that :D
Tagged and installed for testing

crazyboy1661 17 Nov 2013 11:42

ozzy47, I have installed this mod as you said. But It is not working for me. I am not getting the Tab on navbar. Also there is no error message. I need your help.

ozzy47 17 Nov 2013 11:43

Did you set up usergroup permissions?

crazyboy1661 17 Nov 2013 11:52

Yes I did it but no use.

ozzy47 17 Nov 2013 12:07

I don't believe for the sitemap you need to do the htaccess edits.

crazyboy1661 17 Nov 2013 12:54

ozzy47, now the mod is working fine after setting up the group permissions. Big thanks for your guidance.

All times are GMT. The time now is 09:25.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.