The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||||||||||||||||
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 |
#62
|
|||
|
|||
![]()
Not sure what's wrong. Installed on vb 4.1.2 but when I test with a non-admin test account there are no prefixes selections available to mark a post SOLD. I've enabled every permission that I can think of but must be missing something somewhere
![]() Works perfectly when I'm logged in as admin. |
#63
|
|||
|
|||
![]() Quote:
Also when you tested it was the thread created by the user id you were testing with? If it wasn't then it won't work since the user that created is the only one that can add the prefix. It would work with the admin since they have blanket permissions. Does the prefix show up in the prefix's section in the admincp? If so have you changed the user permissions in the prefix section? |
#64
|
|||
|
|||
![]()
Ok, I deleted the thread and started another one, and this time the Prefix option is working and enables SOLD. Not sure what I did but it's working
![]() Really nice mod that fills a need for my forum. Thank you. Donation on the way. |
#65
|
|||
|
|||
![]()
Glad you got it to work and thank you very much for the donation. Glad I could fill that need for your forum as well.
|
#66
|
||||
|
||||
![]()
is there anyway to change the SOLD prefix color?
|
#67
|
|||
|
|||
![]()
Yes you can change the color. AdminCP --> Thread Prefix Manager --> Click on edit
Once you get to that point you will see some html code in the RICH Text section. You can change the code as you need. Hope that helps. |
#68
|
||||
|
||||
![]()
Congrats venom on a very nice hack.
The only catch here is that this hack is interfering with the 'autopm on moderation' hack. Before installing this hack, when manually closing any topic, the author would be notified by PM via the 'autopm' hack. After installation, though, this hack is preventing the notification from happening. Not sure you can or want to do anything about it, but I'd just thought I'd let you know. |
#69
|
|||
|
|||
![]() Quote:
|
#70
|
|||
|
|||
![]()
Great =) Thanks
|
#71
|
|||
|
|||
![]()
Hello all,
Is there a way to force a prefix in the forums used by soldthread ? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|