The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Classifieds: Mark Thread as "Sold" Details »» | |||||||||||||||||||||||||||||||||||||||||
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: Code:
/ |_ install.html |_ product-soldthread.xml /upload/ |_ sold.php /upload/images/ /buttons/ |_ marksold.gif /upload/includes/ /xml/ |_ bitfield_soldthread.xml * /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: HTML Code:
<vb:if condition="$show['addpoll']"> <li><a href="poll.php?{vb:raw session.sessionurl}do=newpoll&t={vb:raw threadid}">{vb:rawphrase add_a_poll_to_this_thread}…</a></li> </vb:if> HTML Code:
<vb:if condition="$show['soldthread']"> <li><a href="sold.php?{vb:raw session.sessionurl}do=marksold&t={vb:raw threadid}">{vb:rawphrase soldthread_marksold}…</a></li> <vb:else /> <vb:if condition="$show['soldthread_unsold']"> <li><a href="sold.php?{vb:raw session.sessionurl}do=markunsold&t={vb:raw threadid}">{vb:rawphrase soldthread_markunsold}…</a></li> </vb:if> </vb:if> 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:
Upgrade:
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
Screenshots
Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
wrang |
Comments |
#22
|
|||
|
|||
Glad you figured it out. Enjoy!!
|
#23
|
|||
|
|||
Same question here, can't figure it out....please help.
Other than that, awesome mod, 5 star and marked installed. |
#24
|
|||
|
|||
Go to the Thread Prefix Manager in the AdminCp
Then where you see the SOLD thread prefix click Edit This will take you to the screen you need to edit the rich text to make it appear how you would like on the forum. Here is a picture of the screen and the code changes I made for my site. |
#25
|
|||
|
|||
Thanks venom!
|
#26
|
|||
|
|||
|
#27
|
|||
|
|||
Just curious, are you planning on doing any other versions of this mod? As in WTS [want to sell], WTB [want to buy], LTT [looking to trade]?
Or if you know of other mods for these specific things and could point me in the right direction, it would be much appreciated!! Thanks again for this great little mod, marked as installed and it's on my live site |
#28
|
|||
|
|||
Quote:
Now if people need something different for after the fact changes I can probably see about working with them to make it happen. |
#29
|
|||
|
|||
Ahh I see how it goes now. I got it all figured now.....again, lol.
|
#30
|
|||
|
|||
tested this and found the uninstall blew up, the xml must have a problem in that area.
also I couldn't get the post to close automatically. I dont want to give the whole board control to close threads , just the classifieds category |
#31
|
|||
|
|||
As far as the uninstall, can't help ya there as I have not uninstalled the product yet, :\
For the thread to close automatically after you want to set a thread as sold, then it must be done by "Thread Tools -> Mark this thread as sold..." option NOT by editing the post and changing the prefix to SOLD, at least as far as I'm aware. You can choose what sections of your board will have the SOLD [close] option. Thread Prefixes -> Thread Prefix Manager -> up where it says "sold thread" all the way to the right, after [Add Prefix] click on "edit" and choose the categories you want to use this mod. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|