Is better to say what is NOT this mod . For those who have used MarysClassifieds, I can say that they are 2 products which you can't compate. 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 SL 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.
Version 1.5 additions:
Facebook Like Advanced (Shows users who liked it)
RSS Feeds of last 10 Classifieds
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.
Added description in extra fields appearing as help text in add/edit form.
In case that a category has no subcategories, beside the "No more categories" added an icon/link to previous category level.
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 privilenges 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
Download and unzip the file Classifieds_XXXX.zip
Upload the content of upload folder to the directory where your vB installation is. As a check: classifieds.php must be on the same directoru as global.php, forum.php etc. SL Classifieds are not working out of vB installation directory.
CMOD 777 the directories:
christeris/classifieds/photos
christeris/classifieds/photos/thumbs
christeris/classifieds/photos/tmp
Goto Admincp and import product-classifieds.xml. Double check before if you have another product with the same name.
Set the various settings in Classifieds->General settings
Set usergroup permissions
Check and modify if you want PM templates.
Set categories
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
Shows latest 5 Classifieds. If you want to change the number to another value change at 1st line: $maxitems = 5;
Installation as CMS Widget
Goto Admincp-> vBulletin CMS-> Widgets
Click "Create New Widget" at the list bottom
Set Widget Type: PHP Direct Execution
Give a Title which appears at the widget. eg Last Classifieds, or.. Last 5 Classifieds etc
Click SAVE
Find in the list the new widget and click configure at the right side
Replace the example code, with the code from Widget_Latest_Classifieds.txt
Click Save
Goto Layout and add it in any section you want
Click Save (Layout)
Installation as Forum sidebar Block
Goto Admincp-> Forums & Moderators -> Forum Block Manager
Click Add Block
In the next screen "Select block type: Custom HTML/PHP"
Click Continue
Title: Latest Classifieds
Content Type: PHP
Content: Copy & Paste the code from Widget_Latest_Classifieds.txt
Click Save. The block will be now visible to your forum sidebar
6.- Copyright Link
Since the time that DBTech released their Copyright Manager, I've removed my own copyrights. I found their action insulting me to maximum. Their wording "Site is powered by vBulletin AddOns and Modules by Dragonbyte Tech" (and not "Some parts of this site"), means that everything there is their own work, ignoring on the worst way the fact that there are 100's of other coders and designers who are supporting this community for years. So, I'm letting the glory to them. No copyrights from my side.
Enjoy it
Christos Teriakis
aka ChrisTERiS
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Errors for wrong directories fixed in ver. 1.1.0. As for the terms. You need to edit with a text editor the file christeris/includes/terms.php
You can add any html text there. When finish upload this file to:
your_vb_installation/christeris/includes/
However, still cant upload more then 1 photo, and the 1 photo it allowed me to upload didnt display, just a red x.
Also, the ad keeps defaulting to expire in 0 days every time I try to edit the ad. Additionally, that section doesnt have a max duration set - it says:
Quote:
Set the number of days that your ad will be available. After this period the ad will be close. (Max: days)
Invalid SQL:
SELECT * FROM LVC_classifieds_items WHERE ends<timelimit AND status=4;
MySQL Error : Unknown column 'timelimit' in 'where clause'
Error Number : 1054
Request Date : Monday, May 6th 2013 @ 05:33:03 AM
Error Date : Monday, May 6th 2013 @ 05:33:03 AM
Script : http://www.lincolnvscadillac.com/forum/cron.php?rand=1367832779
Invalid SQL:
SELECT * FROM LVC_classifieds_items WHERE ends<timelimit AND status=4;
MySQL Error : Unknown column 'timelimit' in 'where clause'
Error Number : 1054
Request Date : Monday, May 6th 2013 @ 05:33:03 AM
Error Date : Monday, May 6th 2013 @ 05:33:03 AM
Script : http://www.lincolnvscadillac.com/forum/cron.php?rand=1367832779
I received the same error 3 times in my inbox (11:30AM - 12:00PM - 12:30PM)
I'll check it as I got the same error twice today. It from the cronjob. The one error post by @joeychgo is easy.... Forgot the variable sign ($) ... must be ends<$timelimit.
But the error that I'm getting is different. Maybe it comes from another cronfile that is not in use anymore.
To speedy the solution upload the attached file to: vb_install/includes/cron/
However, still cant upload more then 1 photo, and the 1 photo it allowed me to upload didnt display, just a red x.
Have you cmod 777 the directories as I'm saying to my main post?
Quote:
Originally Posted by joeychgo
Also, the ad keeps defaulting to expire in 0 days every time I try to edit the ad. Additionally, that section doesnt have a max duration set - it says:
Have you set the duration in usergroups permission?
Warning: sscanf() has been disabled for security reasons in [path]/christeris/classifieds/includes/class.upload.php on line 3065
I think that this is something that you need to ask to your hosting provider. Most probably is a function which resizes and then crops the uploade photo.