Back to vBulletin 4.x Add-ons

Mark Thread as "Auction Closed"
Mod Version: 1.00, by venom2124

vB Version: 4.1.2 Rating: (3 votes - 5.00 average) Installs: 12
Released: 04 Apr 2011 Last Update: Never Downloads: 48
Not Supported Uses Plugins Template Edits Re-usable Code  

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.

Current Version
1.0


Sounds cool. How do I install?


1. Extract the zip, you should have the following directories/files:

Code:
     
      /
      |_ 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:
HTML Code:
                          <vb:if condition="$show['addpoll']">
                        <li><a href="poll.php?{vb:raw session.sessionurl}do=newpoll&amp;t={vb:raw threadid}">{vb:rawphrase add_a_poll_to_this_thread}&hellip;</a></li>
                    </vb:if>
Add after:
HTML Code:
                          <vb:if condition="$show['auctionthread']">
                              <li><a href="auction.php?{vb:raw session.sessionurl}do=markauction&amp;t={vb:raw threadid}">{vb:rawphrase auctionthread_markauction}&hellip;</a></li>
                          <vb:else />
                              <vb:if condition="$show['auctionthread_unauction']">
                              <li><a href="auction.php?{vb:raw session.sessionurl}do=markunauction&amp;t={vb:raw threadid}">{vb:rawphrase auctionthread_markunauction}&hellip;</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!


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.

Download

File Type: %1$s Auction V1.0.zip (7.7 KB, 60 downloads)

Screenshots

Click image for larger version
Name:	1.jpg
Views:	97
Size:	65.6 KB
ID:	127906   Click image for larger version
Name:	2.jpg
Views:	111
Size:	68.0 KB
ID:	127907   Click image for larger version
Name:	3.jpg
Views:	119
Size:	58.1 KB
ID:	127908   Click image for larger version
Name:	4.jpg
Views:	116
Size:	53.2 KB
ID:	127909  

Click image for larger version
Name:	5.jpg
Views:	146
Size:	53.5 KB
ID:	127910   Click image for larger version
Name:	6.jpg
Views:	102
Size:	71.6 KB
ID:	127911   Click image for larger version
Name:	7.jpg
Views:	319
Size:	38.0 KB
ID:	127912   Click image for larger version
Name:	8.jpg
Views:	315
Size:	39.5 KB
ID:	127913  

Click image for larger version
Name:	9.jpg
Views:	304
Size:	53.9 KB
ID:	127914  


vblts.ru supports vBulletin®, 2022-2024