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 |
#122
|
|||
|
|||
just installed on 4.1.12...working great! marked it too, good job
|
#123
|
||||
|
||||
So it allow only members to mark their own started topics as sold or anyone can mark other member topic as sold? sorry but I found the description kind of confusing :S
|
#124
|
||||
|
||||
I just installed it on 4.1.3 and I got it working the first time. I am a vb code newbie so could someone tell me how to change the color of the text Sold. Thanks in advance.
|
#125
|
|||
|
|||
Change the color by adding a "Rich Text Title" in the "Thread Prefixes" of the admin CP.
This is what I use; Code:
<font color="red"><b>[SOLD]</b></font> |
#126
|
||||
|
||||
Nevermind. Reinstalled the xml, works on 4.2.0
|
#127
|
|||
|
|||
Just what i have been looking for.
Marked as Installed. Kind of stuck though. 4.2.0 PL2 i can see everything and have set all permissions up but for the life of me i cannot get it to show in the drop down. groups are set, forums are set, code was found and then dropped in under the poll, but the poll is the last thing on my list in the thread tools. did the following. 1. Uploaded the sold.php to my public_html folder (root of my site) 2. Uploaded the image and xml to the instructions location 3. imported 4. found code in SHOWTHREAD as per the attached txt 5. set options/permissions/prefix went to one of my created for sale threads where i know the mod is set to work. shows as a prefix if i edit first post. but just wont show in thread tools. sorry for the book, but i guess i need to give you everything if im going to ask for support. and upon working i will return by showing developer support.:up: |
#128
|
|||
|
|||
Are you sure that you edited the "showthread" template in all your custom styles?
|
#129
|
|||
|
|||
Is it possible to put a button or something more visible so the users don't miss the "mark as read" link in the dropdown? Something that isn't in a dropdown.
|
#130
|
|||
|
|||
Quote:
thanks for responding.:up: |
#131
|
|||
|
|||
Have recoded all styles available, still nothing on the thread tasks menu????
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|