Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
[OzzModz] Classifieds Details »»
[OzzModz] Classifieds
Version: 2.4.1, by ozzy47 ozzy47 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Major Additions - Version: 4.2.x Rating:
Released: 11-15-2013 Last Update: 09-21-2014 Installs: 71
Uses Plugins Auto-Templates
Code Changes Additional Files Translations  
No support by the author.

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 button to the right ---->

Please remember to click the, 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!
-------------------------------------------------------------------------------------------

v1.5.0
  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.
v2.2.0
  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.
v2.3.0

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

v2.4.0
  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.
v2.4.1
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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
8 благодарности(ей) от:
fai99al99, farzam.parto, fred86, RichieBoy67, Robru, sadiq6210, TheLastSuperman, tokads3

Comments
  #312  
Old 11-11-2014, 09:44 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, then I am not sure, as I am not good at rewrite stuff.
Reply With Quote
  #313  
Old 11-16-2014, 03:05 AM
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gotta say that this is a great MOD!

It is so great to be able to move our classifieds section to a section on it's own, and having ads in a nicely formatted way.

Here are some ideas as you develop the product as they come from some "complaints" from having switched from what we used to do in the forums to this separated mod.

1) "New Posts" showing new listings. Something my users are giving me as feedback is that it would be nice if when they clicked "new posts" it also listed the latest classifieds.

2) Visibility of the Classifieds section in TapaTalk and Forum Runner. I have a lot of mobile users who like these apps for their mobile phones over using the mobile browser. However classifieds does not show up for them. I think this is just a limitation of TT and FR, because from what I understand they also don't support Blogs or Articles.... which is a shame.

3) The VB Default Mobile Style also does not show the classified section. It's too bad because this could have solved #2. I have been looking at some other Mobile Styles, and from what I can tell they won't support it either.

So... in a nutshell... adding Classifieds to "new posts, and a way for mobile people to access it would be super!

D.
Reply With Quote
  #314  
Old 11-16-2014, 07:19 PM
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Ozzy,

greatly needed mod, but a few suggestions :

1. allow ads types to be enabled/disabled (for eg, i only want ad type 4 (free)), do not want others to show.
2. allow integer type in extra fields, or allow regex check.
3. some errors with php 5.5 ? can you plz check.

thx.

ndahiya
Reply With Quote
  #315  
Old 11-18-2014, 09:56 PM
cdoyle cdoyle is offline
 
Join Date: Oct 2004
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Hmmm, then I am not sure, as I am not good at rewrite stuff.
Does anyone else have any suggestions? I'm not sure where to turn for help.

here is my rewite file, anything I could change here?
RewriteEngine On
RewriteRule ^classifieds/([^/]*)/ ./ozzmodz_classifieds.php?do=main&catid=$1 [L,NC]
RewriteRule ^sale/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^wanted/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^trade/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^offer/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^seller/([^/]*)/ ./ozzmodz_classifieds.php?do=seller&sellerid=$1 [L,NC]

#####Start VB Pro Garage Settings##########

RewriteRule ^garage.html$ garage.php [NC,L]
RewriteRule ^garage-category-([0-9]+)-([0-9]+).html$ garage.php?sub_id=$1&page=$2 [QSA,NC,L]
RewriteRule ^garage-category-([0-9]+).html$ garage.php?sub_id=$1 [QSA,NC,L]
RewriteRule ^garage-browse-([0-9]+).html$ garage.php?do=browse&page=$1 [QSA,NC,L]
RewriteRule ^garage-browse.html$ garage.php?do=browse [QSA,NC,L]
RewriteRule ^garage-search.html$ garage.php?do=search [QSA,NC,L]
RewriteRule ^garage-vehicle-map.html$ garage.php?do=veh_map [NC,L]
RewriteRule ^garage-search_results-([0-9]+).html$ garage.php?do=search_results&page=$1 [QSA,NC,L]
RewriteRule ^garage-search_results.html$ garage.php?do=search_results [QSA,NC,L]
RewriteRule ^garage-timeslips-([0-9]+).html$ garage.php?do=timeslip&page=$1 [QSA,NC,L]
RewriteRule ^garage-timeslips.html$ garage.php?do=timeslip [QSA,NC,L]
RewriteRule ^garage-vehicle-([0-9]+)-AllImages-([a-zA-Z0-9_-]+).html$ garage_vehicle.php?do=view_vehicle&subdo=images&or der=all&id=$1 [NC,L]
RewriteRule ^garage-vehicle-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage_vehicle.php?do=view_vehicle&id=$1 [NC,L]
RewriteRule ^garage-image-comments-([0-9]+)-([0-9]+).html$ garage_comments.php?do=view_img_comments&id=$1&pag e=$2 [NC,L]
RewriteRule ^garage-image-comments-([0-9]+).html$ garage_comments.php?do=view_img_comments&id=$1 [NC,L]
RewriteRule ^garage-user-view-([0-9]+).html$ garage.php?do=user_garage_view&id=$1 [NC,L]
RewriteRule ^garage-attach-([0-9]+).html$ garage_attachment.php?id=$1 [NC,L]
RewriteRule ^garage-attach-([0-9]+)-full.html$ garage_attachment.php?id=$1&attach_type=full [NC,L]
RewriteRule ^garage-view-timeslip-([0-9]+).html$ garage_timeslips.php?do=view_timeslip&id=$1 [NC,L]
RewriteRule ^garage-all-comments-([0-9]+).html$ garage_comments.php?do=viewall&page=$1 [NC,L]
RewriteRule ^garage-all-comments.html$ garage_comments.php?do=viewall [NC,L]
RewriteRule ^garage-browse-make-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage.php?do=browse_front_model&front_make_id=$1 [NC,L]
RewriteRule ^garage-browse-model-([0-9]+)-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage.php?do=browse_model&front_model_id=$2&page= $1 [NC,L]
RewriteRule ^garage-browse-model-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage.php?do=browse_model&front_model_id=$1 [NC,L]

#####End VB Pro Garage Settings##########

#####VBSEO#######
RewriteEngine On

# If you are having problem with "None Could Be Negotiated" errors in Apache, uncomment this to turn off MultiViews
# Options -MultiViews

RewriteCond %{REQUEST_URI} !(admincp/|dbseocp/|modcp/|cron|mobiquo|forumrunner|api\.php|reviewpost/|classifieds/|photopost/)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ dbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|dbseocp|modcp|clientscript|cpstyles|image s|reviewpost|classifieds|photopost)/
RewriteRule ^(.+)$ dbseo.php [L,QSA]


####End VBSEO####
Reply With Quote
  #316  
Old 11-20-2014, 01:47 PM
cdoyle cdoyle is offline
 
Join Date: Oct 2004
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There has to be someone who knows how to fix this?

I don't want to have to uninstall this, but right now nobody can view any of the ads. I really liked this mod. Anyone see anything wrong with my file?
Reply With Quote
  #317  
Old 11-20-2014, 02:16 PM
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would anyone know how I can put a box above my forum list on the homepage with the latest classifieds?

I have it in place on the sidebar... but I can't seem to figure out how to put it above the forum list.

If anyone could give me some guidance I would greatly appreciate it.

Thanks,

D.
Reply With Quote
  #318  
Old 12-06-2014, 11:30 PM
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to include the posts in the classifieds to show up when someone searches at the forum?

What about including new classifieds to be included with the "New Posts" search?

D.
Reply With Quote
  #319  
Old 12-11-2014, 12:55 AM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.
Recently, I installed this mod.
All ok but, when I go to admincp-classifieds-general settings, in the field:
Breadcumb name
I change this name, but in the navbar not change this name.

Regards.
Reply With Quote
  #320  
Old 12-12-2014, 12:06 AM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.
I view how change the title ein navbar, in phrases, I search de word, and I can change.
Reply With Quote
  #321  
Old 12-14-2014, 10:49 AM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.
I have installed this mod, in this moment, I translation this mod to spanish, please, I need a explanation of "For Trade", only with this words, I can made error in translation, if you can detail the meaning or intent of "For Trade", I could make a better translation.

Thanks
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07915 seconds
  • Memory Usage 2,333KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete