The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mark as Sold Details »» | |||||||||||||||||||||||||||||||||||||||||||||
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. . Current Version 1.1.0 Sounds cool. How do I install? 1. Extract the zip, you should have the following directories/files: Code:
/ |_ sold.php /images/ /buttons/ |_ marksold.gif /includes/ /xml/ |_ bitfield_soldthread.xml
4. Make the following template edits to all of your installed styles: SHOWTHREAD Find: HTML Code:
<if condition="$show['addpoll']"> <div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div> </if> </div> <!-- / thread tools --> Replace with: HTML Code:
<if condition="$show['addpoll']"> <div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div> </if> <if condition="$show['soldthread']"> <div><img class="inlineimg" src="$stylevar[imgdir_button]/marksold.gif" alt="$vbphrase[soldthread_marksold]" vspace="1" /> <a href="sold.php?$session[sessionurl]do=marksold&t=$threadinfo[threadid]">$vbphrase[soldthread_marksold]</a></div> <else /> <if condition="$show['soldthread_unsold']"> <div><img class="inlineimg" src="$stylevar[imgdir_button]/marksold.gif" alt="$vbphrase[soldthread_markunsold]" vspace="1" /> <a href="sold.php?$session[sessionurl]do=markunsold&t=$threadinfo[threadid]">$vbphrase[soldthread_markunsold]</a></div> </if> </if> </div> <!-- / thread tools --> HTML Code:
<if condition="$show['addpoll']"> <tr> <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td> </tr> </if> <if condition="$show['adminoptions']"> Replace with: HTML Code:
<if condition="$show['addpoll']"> <tr> <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td> </tr> </if> <if condition="$show['soldthread']"> <tr> <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/marksold.gif" alt="$vbphrase[soldthread_marksold]" /> <a href="sold.php?$session[sessionurl]do=marksold&t=$threadinfo[threadid]">$vbphrase[soldthread_marksold]</a></td> </tr> <else /> <if condition="$show['soldthread_unsold']"> <tr> <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/marksold.gif" alt="$vbphrase[soldthread_markunsold]" /> <a href="sold.php?$session[sessionurl]do=markunsold&t=$threadinfo[threadid]">$vbphrase[soldthread_markunsold]</a></td> </tr> </if> </if> <if condition="$show['adminoptions']"> 6. Edit Sold Threads Permissions > Can Mark Threads as Sold for each usergroup. 7. Go the the Thread Prefix Manager and Edit the Sold Threads Prefix Set to select the forums this can be used in. 8. To set up the forums this will work in follow these instructions:
Donations are greatly appreciated. Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
Hornstar |
Comments |
#2
|
|||
|
|||
As requested coded my vB4 mod to work with vB3.8. So enjoy and if you like it please nominate.
|
#3
|
||||
|
||||
nice mod, would like to develop it to a larger scale to make certain forums suitable for trade
|
#4
|
||||
|
||||
Nice, but you forget to make a little change at line 8:
Quote:
I changed the solved thread mod to a "sold" setting some time ago, works fine. |
#5
|
||||
|
||||
I have just installed this and I have a couple issue. One is that the mark thread as sold is showing up twice (images attached) and second is the thread prefix should only show up after the thread is posted not during the posting of a new thread image attached also
|
#6
|
||||
|
||||
OK I was able to get 1/2 my issue resolved which was the mark thread as sold is showing up twice this was because the style I am using has the images folder located somewhere else so I fixed that but I need to be able to not show the thread prefix option when starting a new thread? Should should not show because the user would not be marking the sales thread SOLD if he is just now posting it, just confusing my members
|
#7
|
|||
|
|||
Quote:
I can look in to it, but I just don't think there is a way around it. |
#8
|
||||
|
||||
Quote:
Example is I post something in the want to buy forum, something like this ... Looking for this product xxxx.. How would SOLD fit in that thread? |
#9
|
|||
|
|||
Quote:
|
#10
|
|||
|
|||
Good mod
This mod can work in vb.3.8.4 ??? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|