Log in

View Full Version : End-User Options - Mark Thread as "Auction Closed"


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&amp;t={vb:raw threadid}">{vb:rawphrase add_a_poll_to_this_thread}&hellip;</a></li>
</vb:if>
Add after:


<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!: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.

venom2124
04-04-2011, 06:57 PM
Will post screen shots later.

venom2124
04-05-2011, 02:48 AM
Screenshots added.

Special Pages
04-05-2011, 03:32 AM
To tell you the truth, not bad mate!

Sforums
04-05-2011, 10:05 AM
Not bad at all. I was the one who originally requested this.
Thanks Joe.

venom2124
04-05-2011, 11:03 PM
Not bad at all. I was the one who originally requested this.
Thanks Joe.

No problem at all hope people use it and enjoy it for sure.

venom2124
04-10-2011, 02:57 AM
Tested of vB4.1.3

Worked perfectly

markhendo1986
04-13-2011, 11:18 AM
Hi there,

Just nosying around for some sort of auction function. So presumably you'd be asking your members to post their bids for an auction and then just mark it as closed afterwards?

venom2124
04-13-2011, 10:01 PM
Hi there,

Just nosying around for some sort of auction function. So presumably you'd be asking your members to post their bids for an auction and then just mark it as closed afterwards?

i believe that was the intention. Of course I'm not entirely sure since I was just asked to make the mod, but from what is developed here that would be the way you would have to work it.

K4GAP
08-24-2011, 12:01 PM
Trying to figure out what the purpose of this mod is? What am I missing?

twista46
11-06-2011, 03:12 PM
Any version for vb 3.8.7 ?? please

venom2124
11-06-2011, 05:47 PM
I could probably develop it for 3.8, but don't have the time to do it for free at this point.

Scyther
12-31-2011, 01:41 PM
Buddy!!
Major issue with the Mod!
I am using it on 4.1.8 and i wanted to uninstall it.

I get some weird error when i try that..The error is too big, hence i have attached a file for it.

Looking for some reasonable answer!

datoneer
07-23-2012, 08:28 PM
Yes same error here. Any solution for this???

datoneer
03-23-2013, 05:10 PM
I still cannot get rid of this!! Waiting for some answers