Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Classifieds Details »»
Classifieds
Version: 1.2.0, by MaryTheG(r)eek MaryTheG(r)eek is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.1 Rating:
Released: 02-14-2009 Last Update: 04-23-2009 Installs: 183
DB Changes Uses Plugins Template Edits
Additional Files Translations Is in Beta Stage  
No support by the author.

Removed by the Author because:
  • For 7 mods, there are 1905 downloads but only 577 clicked installed.
  • For these 577 installs I got 4 donations for Brand Free. Make a simple search on the net using the product name and you'll find that 50% have illegally removed my copyright.
  • I found 3 vb.org style sites, offering for download my mods but after PAID SUBSCRIPTION, or DONATION
After all, I'll stop be the idiot on this market.

Maria


Classifieds
(Former vbFClassifieds)
This is the Full Commercial version








1.- Features
  • Unlimited Categories
  • Unlimited Subcategories
  • Paid or Free Ads
  • Flexible custom fields, organized in fieldsets. Cutom fields are reusable and of course you can assign each field group to one, many or all categories
  • Ability to use different price per category/subcategory
  • Sellers can accept PayPal IPN payments
  • Sellers can setup different PayPal account for each Ad
  • Sellers can sell in different currency per Ad
  • Buyers can post review and rating for Sellers
  • Top Sellers block
  • Sponsored and Premium Ads
  • Bookmarks
  • Tell a Friend
  • Report Ads
  • RSS per category/subcategory
  • You can use different template than the site's template
  • You can use different template even per category
  • Editor Choice Ads
  • vbSeo friendly
  • No time limit on use
  • This is the Full Commercial version
2.- Installation
  1. Upload all files and directories including at "vbulletin" directory to the directory where vBulletin is installed.
  2. CMOD the following directories to 777
    1. /photos (inside classifieds directory)
    2. /tmp (inside classifieds/photos directory)
    3. /thumbs (inside classifieds/photos directory)
  3. For security reasons backup your database AND turn your board off
  4. Check at your AdminCP->vBulletin Options->Plugin/Hook System that Plugin system is enabled.
  5. From your AdminCP->Plugin System->Manage Products choose Add/Import Product and import the product: product_classifieds.xml
  6. If you want to add a link to your nav bar then you must edit the NAVBAR template:
    Search For:
    Code:
    <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
    Add Below:
    Code:
    <td class="vbmenu_control"><a href="classifieds.php$session[sessionurl_q]">Classifieds</a></td>
    ....or use any other word you want
  7. By default none usergroup has permissions to use vbfclassifieds, so you need to give permissions to any group. Goto AdminCP->Usergroups->Usergroup Manager and edit any usergroup you like to give permissions.
  8. If you've installed vbSEO, Login into vbSEO Control Panel, click "Custom Rewrite Rules", insert rewrite rules (attached in vbseo-rules.txt to not lose formatting) and save settings.
4.- Copyright


  1. You can modify the code as you like to meet your special needs
  2. You can distribute this code, but NOT FOR PROFIT
  3. My copyright link must remain always visible.
  4. I'm not accepting donations
  5. There is no commercial version. This is the one.
5.- Copyright Removal

For those who want to remove my link back which appears at the page's footer, they must contact me. Please note that the the license goes by person and not by domain, so you can use it in as many domains are operating by the same person.


Greetings



Maria

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #182  
Old 03-04-2009, 09:11 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sNator View Post
classifieds.php doesn't intregrate with vbadvanced.

I use vbA to display a sidebar on the right side but this doesn't work with the classifieds.php script.

A hook missing perhaps?
Sorry, I don't use vBa, and I never wrote that this mod is for vBa, even if I post in another page a block for use with vBa.

Mary
Reply With Quote
  #183  
Old 03-04-2009, 10:07 AM
sNator sNator is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MicroHellas View Post
Sorry, I don't use vBa, and I never wrote that this mod is for vBa, even if I post in another page a block for use with vBa.

Mary
Ok, I just thought integration with vbA was basic functionality and for me it's must have.
Let's see if there is anyone else that have got it to work.
Reply With Quote
  #184  
Old 03-04-2009, 12:08 PM
Sportsriders Sportsriders is offline
 
Join Date: Sep 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MicroHellas View Post
Open product-classifieds.xml At line 288 change:
From:
Code:
  <code version="1.1.0">
   <installcode /></installcode>
   <uninstallcode /></uninstallcode>
  </code>
To:
Code:
  <code version="1.1.0">
   <installcode />
   <uninstallcode />
  </code>
Zip file alse updated, so you can re download it

Mary

Thank you!! That fixed it.

Sportsriders
Reply With Quote
  #185  
Old 03-04-2009, 12:19 PM
Sportsriders Sportsriders is offline
 
Join Date: Sep 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ocean-Wonders View Post
Here's a working version if anyone want's a look.

I've not long had it installed myself so im still tweaking it.

Classifieds
Looks nice. Thanks for posting the code.

Sportsriders
Reply With Quote
  #186  
Old 03-04-2009, 07:16 PM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is the number of pictures limitation apply across ALL of a persons classified ads instead of on a "per-ad" basis???

For example... if the limitation is 3, and he puts 3 images in one ad, he'll not be able to put any images to any of his other ads??

Please tell me that it is a "per ad" setting... please.
Reply With Quote
  #187  
Old 03-05-2009, 03:55 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pattycake View Post
Is the number of pictures limitation apply across ALL of a persons classified ads instead of on a "per-ad" basis???

For example... if the limitation is 3, and he puts 3 images in one ad, he'll not be able to put any images to any of his other ads??

Please tell me that it is a "per ad" setting... please.
It's per ad

Mary
Reply With Quote
  #188  
Old 03-05-2009, 06:30 AM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MicroHellas View Post
It's per ad

Mary
nope... it's per overall. I just verified it ...

I set the images=2 for my usergroup
I had two existing ads, both have one image each in them.
I tried to add a 2nd image to one of the ads and it said " You don't have permissions to add more photos. Please upgrade, or remove old ones"

I changed the usergroup and set images=3, it and allowed me to add the 2nd image to the ad giving me a total of three ads.

I tried to create a new ad, tried to upload an image for the new ad and it again said: " You don't have permissions to add more photos. Please upgrade, or remove old ones"

So maybe your latest version might have the setting on a "per ad" basis but the version I have, (just before your newest one today), is on a "per user" basis.

Just to be double sure, I checked your code:
Code:
	$maxphotos = $permissions['maxphotosads'];
	$cnt = $db->query_first("
		SELECT COUNT(".TABLE_PREFIX."classifieds_photos.id) AS cnt
		FROM ".TABLE_PREFIX."classifieds_photos
		JOIN ".TABLE_PREFIX."classifieds_ads
			ON ".TABLE_PREFIX."classifieds_ads.id=".TABLE_PREFIX."classifieds_photos.adid
		WHERE userid=$userid");   <--- THIS IS THE CULPRIT
this returns 3 - the number of ads currentlly used by the user for ALL ads by that userid.

and your next line:
Code:
if($cnt["cnt"] < $maxphotos && $maxphotos > 0)
		$upload = 1;

     $filename = "";
     $notuploaded = 0;
kills the upload and returns the error message.

TO FIX:... in Classifieds.php, around line 425

CHANGE:
Code:
WHERE userid=$userid");
TO:
Code:
WHERE classifieds_photos.id = ".$adid);

,
Reply With Quote
  #189  
Old 03-05-2009, 07:12 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pattycake View Post
nope... it's per overall. I just verified it ...
I'll check the files. This approach (overall photos) was on the early edition, later I changed it to be per ad. Maybe I've upload wrong function.php

Mary
Reply With Quote
  #190  
Old 03-05-2009, 07:55 AM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no problem... I fixed it on the version that I downloaded from here - it shows version 1.0.0

another quick question - do you check on max image size and if so, is there a setting where I can change this?
Reply With Quote
  #191  
Old 03-05-2009, 08:02 AM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also... you still have the bug that I previously mentioned.

In classifieds.php, at or around line 517.
You have: "print_no_permissions();" (notice the "s" at the end)
Should be: "print_no_permission();"
Reply With Quote
Reply


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 02:09 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.06700 seconds
  • Memory Usage 2,330KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_code
  • (7)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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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