Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Classifieds: Mark Thread as "Sold" Details »
Classifieds: Mark Thread as "Sold"
Mod Version: 1.2, by venom2124 (Member) venom2124 is offline
Developer Last Online: Jan 2015 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (21 votes - 4.71 average) Installs: 182
Released: 20 Mar 2011 Last Update: 03 Apr 2011 Downloads: 576
Not Supported Uses Plugins Template Edits Re-usable Code Translations  

If you use this modification, please >> Mark As Installed, and consider Nominate for MOTM and Support Developer <<


What is this!?

This modification will allow you & your members (based on usergroup permissions) to mark a thread as "Sold". It will add the prefix "SOLD" to the thread title, and if set in the admincp - it will also close the thread. If you run a classified forum for your members this will give you a way to let users add a Sold prefix when the item is gone. Admins and mods can using to make items sold as well.

This is a modification of code provided by Eric.

Current Version
1.2



Sounds cool. How do I install?


1. Extract the zip, you should have the following directories/files:


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

2. Upload: (in the below instructions 'yourforum' would be where you have vBulletin installed)
* /upload/sold.php to /yourforum/sold.php
* /upload/images/buttons/marksold.gif to /yourforum/images/buttons/marksold.gif (upload to each style folder, if you have more than one style)
* /upload/includes/xml/bitfield_soldthread.xml to /yourforum/includes/xml/bitfield_soldthread.xml

3. Import the product, product-soldthreads.xml by going to: AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product]

4. Make the following template edits to all of your installed styles:

SHOWTHREAD

Find:

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

Add after:

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

5. Set options in AdminCP > Settings > Options > Sold Threads

6. Edit Sold Threads Permissions > Can Mark Threads as Sold for each usergroup.

7. To setup the forums it can be used in, follow these instructions:
  • After installing, go to: Thread Prefixes >> Thread Prefix Manager
  • You'll see: Sold Thread on the left, [Add Prefix] [Edit] [Delete] on the righ
  • Choose Edit.Then you'll see: Use Prefix Set in These Forums, select the forums you want this used in. (Hold the CTRL button to select more than one)
That's it! Enjoy!

Upgrade:
  • Reupload files
  • Import product file and select overwrite

Changelog:

V1.0- Initial Release
V1.1- Updated bitfield_soldthread file
V1.2- Fixed permission issue


If you use this modification, please >> Mark As Installed, and consider Nominate for MOTM and Support Developer <<




NOTE: This mod is marked "unsupported", but I'll try my best (as time permits) to help those who have marked as installed.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	1.jpg
Views:	875
Size:	63.6 KB
ID:	127570   Click image for larger version

Name:	2.jpg
Views:	699
Size:	26.3 KB
ID:	127571   Click image for larger version

Name:	3.jpg
Views:	718
Size:	79.5 KB
ID:	127572   Click image for larger version

Name:	4.jpg
Views:	847
Size:	55.6 KB
ID:	127573  

Click image for larger version

Name:	5.jpg
Views:	1718
Size:	29.6 KB
ID:	127574   Click image for larger version

Name:	6.jpg
Views:	2034
Size:	27.5 KB
ID:	127575   Click image for larger version

Name:	7.jpg
Views:	724
Size:	57.9 KB
ID:	127610  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
End-User Options Mark Thread as "Sold" venom2124 Modification Graveyard 13 13 Feb 2011 23:54

Comments
  #2  
Old 20 Mar 2011, 20:32
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Real name: V
Awesome mod! I do have a request though. Could the member who started the thread have the option to mark it as sold as well?
Reply With Quote
  #3  
Old 20 Mar 2011, 21:17
venom2124's Avatar
venom2124 venom2124 is offline
 
Join Date: Feb 2009
The member who started the post does have the ability to mark the item as sold already. As long as the permissions are set correctly only a admin or mod and the user can make an item sold or unsold.

I just tested with a normal registered user profile and it allowed me to make a thread I created as sold or unsold, but didn't let me change the status of another members thread.

Hope this clears up the issue if not let me know.
Reply With Quote
  #4  
Old 20 Mar 2011, 22:55
QuickQuestion QuickQuestion is offline
 
Join Date: Mar 2011
This is good stuff.
Reply With Quote
  #5  
Old 21 Mar 2011, 20:28
venom2124's Avatar
venom2124 venom2124 is offline
 
Join Date: Feb 2009
Yeah being able to see if an item in our classifieds section is already sold before clicking on it makes it really nice for sure.
Reply With Quote
  #6  
Old 21 Mar 2011, 21:41
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Interesting ...

We already use WTS and WTB and WTT prefixes (Want to Sell, Want to Buy, Want to Trade) in our on-line sales forums.

Will this mod simply replace those existing prefixes with SOLD if the seller (or buyer) thread starter marks his thread as SOLD, or does it place the word SOLD in front of the existing prefixes?

Regards,
Doug
Reply With Quote
  #7  
Old 21 Mar 2011, 22:03
venom2124's Avatar
venom2124 venom2124 is offline
 
Join Date: Feb 2009
Yes once the item is sold and the member or mod marks it as sold it will replace the previous prefix with the sold prefix.

I would say take a look at my sight but right now I have the classifieds section invisible to non members.
Reply With Quote
  #8  
Old 21 Mar 2011, 22:18
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by venom2124 View Post
Yes once the item is sold and the member or mod marks it as sold it will replace the previous prefix with the sold prefix.

I would say take a look at my sight but right now I have the classifieds section invisible to non members.
Thanks... appreciate the quick response ...

Excellent idea ...

We operate two separate forums for our members that could use this, so I think I'll try some testing ....

Regards,
Doug
Reply With Quote
  #9  
Old 21 Mar 2011, 22:29
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Installed on vbulletin 4.04 ..

I think you have a problem with the bitfield used for UserGroups? (see pic)

As an example, the way you mod appears to our Registered Group under UserGroup settings is only YES/NO... there's no description or title?

Regards,
Doug

Edit: also missing from Prefix area ..
Attached Images
File Type: jpg Screen shot 2011-03-21 at 5.26.59 PM.jpg (56.3 KB, 91 views)
File Type: jpg Screen shot 2011-03-21 at 5.30.54 PM.jpg (51.0 KB, 85 views)
Reply With Quote
  #10  
Old 21 Mar 2011, 22:49
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Also, just tested using my own Administrator login and attempted to mark an ad as SOLD belonging to another member ....

The Mark as SOLD option appears in the drop down box, but when I click on it, I received a "No Permissions error ...."

Yes, I have the Usergroup box for Admins checked to YES ...

I thought Admins could do this, or have I missed something in the instructions?

Regards,
Doug
Attached Images
File Type: png Screen shot 2011-03-21 at 5.44.26 PM.png (30.9 KB, 37 views)
Reply With Quote
  #11  
Old 22 Mar 2011, 00:27
venom2124's Avatar
venom2124 venom2124 is offline
 
Join Date: Feb 2009
Originally Posted by BadgerDog View Post
Also, just tested using my own Administrator login and attempted to mark an ad as SOLD belonging to another member ....

The Mark as SOLD option appears in the drop down box, but when I click on it, I received a "No Permissions error ...."

Yes, I have the Usergroup box for Admins checked to YES ...

I thought Admins could do this, or have I missed something in the instructions?

Regards,
Doug
I'm currently using 4.1.2, but if you want to pm me the site and a temp admin password I can take a look and see if I can find the problem. Kind of new to development so would have to play around with the set up to see what's going on.

Last edited by venom2124; 22 Mar 2011 at 02:02.
Reply With Quote
  #12  
Old 22 Mar 2011, 02:40
venom2124's Avatar
venom2124 venom2124 is offline
 
Join Date: Feb 2009
Okay found a possible problem in the coding. Try the new zip file reload files and install product again overwriting the old product file.
Reply With Quote
  #13  
Old 22 Mar 2011, 04:15
venom2124's Avatar
venom2124 venom2124 is offline
 
Join Date: Feb 2009
Okay problem is solved. Had some coding issue that have been resolved. Loaded on another site I admin on and working perfectly now.

If you have already loaded the files just reload the updated sold.php to your forum folder and it will work like a charm.
Reply With Quote
  #14  
Old 22 Mar 2011, 04:28
MikeTrin MikeTrin is offline
 
Join Date: Jun 2006
i tried version 1.1 with vbulletin 4.0.4, couldn't get the permissions set correctly. I enabled the thread prefix for all groups, turn it on in the classified forums, enabled it for all user groups but would get a message that I don't have permission to mark a thread sold. even when i tried as site admin.

if you can think of anything that may help please let me know, i may mess with it later.
Reply With Quote
  #15  
Old 22 Mar 2011, 04:32
venom2124's Avatar
venom2124 venom2124 is offline
 
Join Date: Feb 2009
i tried version 1.1 with vbulletin 4.0.4, couldn't get the permissions set correctly. I enabled the thread prefix for all groups, turn it on in the classified forums, enabled it for all user groups but would get a message that I don't have permission to mark a thread sold. even when i tried as site admin.

if you can think of anything that may help please let me know, i may mess with it later.
Upload the sold.php from version 1.2 and you'll be good to go.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 11:19.

Layout Options | Width: Wide Color: