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 |
#72
|
|||
|
|||
![]() Quote:
I hope that helps to answer the question if not give more detail and I'm sure we can help you figure it out. |
#73
|
||||
|
||||
![]() Quote:
![]() |
#74
|
|||
|
|||
![]() Quote:
Regards, innova |
#75
|
|||
|
|||
![]() Quote:
That will allow you to choose the user groups to give permissions to. Then allow make sure that the mark sold is selected under the user groups. ACP -> Usergroup Manager -> Edit user groups as required Hope that helps. Let me know if you need anything else. |
#76
|
|||
|
|||
![]()
I've got the prefixes all working great (using 5 of them) but I can't get "Mark as Sold" to show up in thread tools. I think perms all look ok, any suggestions?
|
#77
|
|||
|
|||
![]() Quote:
** In comparing the page sources, the difference is that the new styles are not showing the following; Code:
<li><a href="sold.php?do=marksold&t=84">Mark this thread as sold…</a></li> Thanks! |
#78
|
|||
|
|||
![]()
Fixed, SHOWTHREAD wasn't updated in each style.
|
#79
|
|||
|
|||
![]()
I was unable to install this mod. Can you help me at all?
The problem I am having is template modifications. I could not find it. I am running the newest version of vb |
#80
|
|||
|
|||
![]()
Which version are you running? If you are running 4.1.4 I'll have to do some research since I have not tried to install on 4.1.4 at this point.
|
#81
|
|||
|
|||
![]() Quote:
|
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|