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 |
#92
|
|||
|
|||
What do i do wrong. WHen i put it as sold the icon sold will not showd up or can i use a better icon and bigger so the outer realy see that its sold...
|
#93
|
|||
|
|||
Quote:
If you let me know what the site is I can try and take a look? But need more details on problem. |
#94
|
||||
|
||||
Hello thanks great mod. And it seems to be working ok for 4.14, but I was wondering is there anyway I can change the color for the prefix , I have a dark site so the text is also in a dark color, can we do something that can stick out like the color red or bright blue, I am not using the original template , thanks
|
#95
|
||||
|
||||
Quote:
|
#96
|
|||
|
|||
Should be able to change the color by using HTML coding in the rich text section under edit in prefix's.
|
#97
|
|||
|
|||
Quote:
Code:
<b><span style='color:#FF0000;'>[SOLD]</span></b> |
#98
|
||||
|
||||
Ok i feel so incompetent, I have been searching and searching for it I just can?t fine it in the searching. I really hate to ask but could you guys provide the steps for the search. Sometimes bang I fine it and other times I can?t fine anything lol
|
#99
|
|||
|
|||
Quote:
AdminCP --> Thread Prefixes --> Thread Prefix Manager --> Then you'll see {EDIT} {DELETE] {EDIT PERMISSIONS] Across from SOLD, Click Edit Next look for Title(Rich Text) In that box input <font color=Red><b>Sold</b></font> or you can change the font color to what ever you want and click save. Now the prefix will show what ever color you made it. I hope that helps. |
#100
|
||||
|
||||
fantasic thanks :up:
|
#101
|
|||
|
|||
No problem glad I could be of assistance.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|