Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mark Thread as "Auction Closed" Details »»
Mark Thread as "Auction Closed"
Version: 1.00, by venom2124 venom2124 is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: End-User Options - Version: 4.1.2 Rating:
Released: 04-03-2011 Last Update: Never Installs: 12
Uses Plugins Template Edits
Re-useable Code  
No support by the author.

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 Now

File Type: zip Auction V1.0.zip (7.7 KB, 58 views)

Screenshots

File Type: jpg 1.jpg (65.6 KB, 0 views)
File Type: jpg 2.jpg (68.0 KB, 0 views)
File Type: jpg 3.jpg (58.1 KB, 0 views)
File Type: jpg 4.jpg (53.2 KB, 0 views)
File Type: jpg 5.jpg (53.5 KB, 0 views)
File Type: jpg 6.jpg (71.6 KB, 0 views)
File Type: jpg 7.jpg (38.0 KB, 0 views)
File Type: jpg 8.jpg (39.5 KB, 0 views)
File Type: jpg 9.jpg (53.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-04-2011, 06:57 PM
venom2124 venom2124 is offline
 
Join Date: Feb 2009
Location: North Carolina
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will post screen shots later.
Reply With Quote
  #3  
Old 04-05-2011, 02:48 AM
venom2124 venom2124 is offline
 
Join Date: Feb 2009
Location: North Carolina
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshots added.
Reply With Quote
  #4  
Old 04-05-2011, 03:32 AM
Special Pages Special Pages is offline
 
Join Date: Nov 2010
Location: www.TheDiscussionCafe.com
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To tell you the truth, not bad mate!
Reply With Quote
  #5  
Old 04-05-2011, 10:05 AM
Sforums Sforums is offline
 
Join Date: Dec 2010
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not bad at all. I was the one who originally requested this.
Thanks Joe.
Reply With Quote
  #6  
Old 04-05-2011, 11:03 PM
venom2124 venom2124 is offline
 
Join Date: Feb 2009
Location: North Carolina
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sforums View Post
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.
Reply With Quote
  #7  
Old 04-10-2011, 02:57 AM
venom2124 venom2124 is offline
 
Join Date: Feb 2009
Location: North Carolina
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested of vB4.1.3

Worked perfectly
Reply With Quote
  #8  
Old 04-13-2011, 11:18 AM
markhendo1986 markhendo1986 is offline
 
Join Date: Jan 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #9  
Old 04-13-2011, 10:01 PM
venom2124 venom2124 is offline
 
Join Date: Feb 2009
Location: North Carolina
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by markhendo1986 View Post
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.
Reply With Quote
  #10  
Old 08-24-2011, 12:01 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trying to figure out what the purpose of this mod is? What am I missing?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14695 seconds
  • Memory Usage 2,339KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete