venom2124
04-03-2011, 10:00 PM
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 "Auction Closed". It will add the prefix "Auction Closed" to the thread title, and if set in the admincp - it will also close the thread.
This is a modification of code provided by Eric (https://vborg.vbsupport.ru/member.php?u=142777).
Current Version
1.0
Sounds cool. How do I install?
1. Extract the zip, you should have the following directories/files:
/
|_ install.html
|_ product-auctionthread.xml
/upload/
|_ auction.php
/upload/images/
/buttons/
|_ markauction.gif
/upload/includes/
/xml/
|_ bitfield_auctionthread.xml
2. Upload: (in the below instructions 'yourforum' would be where you have vBulletin installed)
* /upload/auction.php to /yourforum/auction.php
* /upload/images/buttons/markauction.gif to /yourforum/images/buttons/markauction.gif (upload to each style folder, if you have more than one style)
* /upload/includes/xml/bitfield_auctionthread.xml to /yourforum/includes/xml/bitfield_auctionthread.xml
3. Import the product, product-auctionthreads.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:
<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>
Add after:
<vb:if condition="$show['auctionthread']">
<li><a href="auction.php?{vb:raw session.sessionurl}do=markauction&t={vb:raw threadid}">{vb:rawphrase auctionthread_markauction}…</a></li>
<vb:else />
<vb:if condition="$show['auctionthread_unauction']">
<li><a href="auction.php?{vb:raw session.sessionurl}do=markunauction&t={vb:raw threadid}">{vb:rawphrase auctionthread_markunauction}…</a></li>
</vb:if>
</vb:if>
5. Set options in AdminCP > Settings > Options > Auction Closed Threads
6. Edit Auction Closed Threads Permissions > Can Mark Threads as Auction Closed for each usergroup.
7. To setup the forums it can be used in, follow these instructions:
After installing, go to: Thread Prefixes >> Thread Prefix Manager
You'll see: Auction Closed Thread on the left, [Add Prefix] [Edit] [Delete] on the righ
Choose Edit.Then you'll see: Use Prefix Set in These Forums, select the forums you want this used in. (Hold the CTRL button to select more than one)That's it! Enjoy!:D
Changelog:
V1.0- Initial Release
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.
What is this!?
This modification will allow you & your members (based on usergroup permissions) to mark a thread as "Auction Closed". It will add the prefix "Auction Closed" to the thread title, and if set in the admincp - it will also close the thread.
This is a modification of code provided by Eric (https://vborg.vbsupport.ru/member.php?u=142777).
Current Version
1.0
Sounds cool. How do I install?
1. Extract the zip, you should have the following directories/files:
/
|_ install.html
|_ product-auctionthread.xml
/upload/
|_ auction.php
/upload/images/
/buttons/
|_ markauction.gif
/upload/includes/
/xml/
|_ bitfield_auctionthread.xml
2. Upload: (in the below instructions 'yourforum' would be where you have vBulletin installed)
* /upload/auction.php to /yourforum/auction.php
* /upload/images/buttons/markauction.gif to /yourforum/images/buttons/markauction.gif (upload to each style folder, if you have more than one style)
* /upload/includes/xml/bitfield_auctionthread.xml to /yourforum/includes/xml/bitfield_auctionthread.xml
3. Import the product, product-auctionthreads.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:
<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>
Add after:
<vb:if condition="$show['auctionthread']">
<li><a href="auction.php?{vb:raw session.sessionurl}do=markauction&t={vb:raw threadid}">{vb:rawphrase auctionthread_markauction}…</a></li>
<vb:else />
<vb:if condition="$show['auctionthread_unauction']">
<li><a href="auction.php?{vb:raw session.sessionurl}do=markunauction&t={vb:raw threadid}">{vb:rawphrase auctionthread_markunauction}…</a></li>
</vb:if>
</vb:if>
5. Set options in AdminCP > Settings > Options > Auction Closed Threads
6. Edit Auction Closed Threads Permissions > Can Mark Threads as Auction Closed for each usergroup.
7. To setup the forums it can be used in, follow these instructions:
After installing, go to: Thread Prefixes >> Thread Prefix Manager
You'll see: Auction Closed Thread on the left, [Add Prefix] [Edit] [Delete] on the righ
Choose Edit.Then you'll see: Use Prefix Set in These Forums, select the forums you want this used in. (Hold the CTRL button to select more than one)That's it! Enjoy!:D
Changelog:
V1.0- Initial Release
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.