The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VBay! Transform your vbulletin into an auctionhouse! Details »» | |||||||||||||||||||||||||||
VBay! Transform your vbulletin into an auctionhouse!
Developer Last Online: Jul 2018
VBay.
This will add an auction section to your bulletin! If you want to donate to me click the link over there ----------------------> I am open to suggestions, bugs, comments, insults, and anything else you might say to me at the time :P To do list: *use forums/categories/subforums for your auctionhouse. high bidder userid -> username *" in description cuts the description at that point add buyer name fix pm formatting add more currencies intergrate with trader ratings add paypal api bidder usergroups *hot auctions on main < - Available with addon (wont be packaged in vbay) admin editing auctions *set up for use with forum commenting. *fix amount of days an auction can be posted (more than 2 char) ability to prune old auctions make sure buy it now is using buy it now price, not bid. allow admin ability to specify bid/buyitnow/both overrides. * = Completed. Features: Full BBCode support. Specification of everything, Money Auction length ECT. Image uploader for auctions. Closed auction section. 3 auction types, bid, buy it now, or both. To install Upload files, and import product as usual Make a new usergroup and call it the sellers usergroup, do what you want with this group (allow people to request addition maybe?) Go to vbulletin options and into vbay, set the usergroup id of the sellers group you just made. To upgrade re upload all files import new product REVERT YOUR TEMPLATES Show Your Support
|
Comments |
#1522
|
|||
|
|||
you canT edit the product once published..
|
#1523
|
|||
|
|||
installed on 3.8.4 pl 1...and it's work...but...need some new feature...hope that u can modif it again...
like what realdx say...it cannot be edited if the product is published... |
#1524
|
|||
|
|||
Installed, and running it in admin-only mode now.
I just seem to have trouble with my thumbnails. Only a red X shown. In the database, the thumbdata field is empty. I tried taking a peek at the vbaytn.php page, but saw nothing out of the ordinary in there. Also tried rerunning the vbaytn page with the simple_reset option for the specific item, but no luck with that either. Any pointers? I tried turning on logging to file in order to hopefully get more info, but nothing there, either Thanks in advance. Edit: Some nice extra features I'd love: - Easily adjust the address fields. Took me quite some time to manually edit out everything to suit my needs. - Ability to adjust an auction as long as no bids were made yet. - Subcategories - Ability to add displayorder to categories - Starting price should be possible to bid while no bids made yet (I suspect I can handle this myself) - Move thumbnails and images to the filesystem, or better support for galleries Other than that, works fine for now, with the exception of the thumbnails not shoiwng up. Edit2: Tried with a different picture, and that worked fine. Maybe it's only due to my first image being .bmp? Will have to test a bit more later. Edit3: When the bmp image was converted to JPG, the thumbnail showed up. I ended up removing bmp from the allowed image types. I also managed to hack the mod a little so it is now possible to actually bid the startprice rather than the startprice + inc only (if you want to do this yourself, edit vbay.php and look for: Code:
$lowest_bid = $item['price'] + $item['inc']; Code:
if($item[bids] == 0) { $lowest_bid = $item['price']; } else { $lowest_bid = $item['price'] + $item['inc']; } Code:
if ($item['price'] + $item['inc'] > $vbulletin->GPC['bid']) { eval(standard_error(fetch_error('vbay_bid_higher'))); } if ($item['bids'] > 0) { Code:
if ($item['bids'] > 0) { if ($item['price'] + $item['inc'] > $vbulletin->GPC['bid']) { eval(standard_error(fetch_error('vbay_bid_higher'))); } Should you be trying this and my solution turns out not to be complete, please let me know and I will see if I can find the rest. I also am trying to see if I can finish up the BuyOut option, which does not work as intended atm (i.e. if I create an auction with a startbid of 1, a reserve of 10, a buyout of 100 and an increment of 1, it's possible to straight away after creation hit buyout. The closing price then will be 2 (or 1 after the change above), rather than 100, and you'll see a message stating the reserve was not met). |
#1525
|
||||
|
||||
thanks for the tips people can use.
as for suggestions - Easily adjust the address fields. Took me quite some time to manually edit out everything to suit my needs. Its a little bit hard to code, but ill take a look into it. - Ability to adjust an auction as long as no bids were made yet. Already coded into next version - Subcategories Already coded into next version (forum system is used) - Ability to add displayorder to categories Since forum system is used, this is easily achievable. - Starting price should be possible to bid while no bids made yet (I suspect I can handle this myself) you handled it, ill put it in the next version. - Move thumbnails and images to the filesystem, or better support for galleries Attachment system used. already coded into next version ive said before, and im sorry that i seem like a broken record, but the next version is coming. Its almost finished, its practically a complete rewrite, so that on top of school (which is my main priority) its moving fairly slowly. Just like to let you guys know! |
#1526
|
|||
|
|||
Awesone news. If you're looking to handle the BuyOut options, I think I came up with a way that does part of the work.
in vbay_info_View, find: Code:
<a href="vbay.php?do=buy&id={$item[id]}">$vbphrase[vbay_auction_buy_it_now_bang]</a> Code:
<a href="vbay.php?do=buy&id={$item[id]}&buyout=true">$vbphrase[vbay_auction_buy_it_now_bang]</a> Code:
<form action="vbay.php?$session[sessionurl]do=dobuy" method='post' enctype='multipart/form-data'> <input type="hidden" name="id" value="{$vbulletin->GPC['id']}"> Code:
<form action="vbay.php?$session[sessionurl]do=dobuy" method='post' enctype='multipart/form-data'> <input type="hidden" name="id" value="{$vbulletin->GPC['id']}"> <input type="hidden" name="buyout" value="{$vbulletin->GPC['buyout']}"> Code:
$vbulletin->input->clean_array_gpc('p', array('id' => TYPE_INT)); Code:
$vbulletin->input->clean_array_gpc('p', array('id' => TYPE_INT, 'buyout' => TYPE_BOOL)); $buyout = $vbulletin->GPC['buyout']; Code:
} else { $db->query("update " . TABLE_PREFIX . "vbay_items SET highbidder = " . $vbulletin->userinfo['userid'] . ", bids = bids+'1', completetime = '0' WHERE id=" . $vbulletin->GPC['id'] . ""); $vbulletin->url = "vbay.php?do=item&viewitem=" . $vbulletin->GPC['id'] . $vbulletin->session->vars['sessionurl'] . ""; eval(print_standard_redirect('vbay_buy_success', true, true)); } Code:
if ($vbulletin->GPC['buyout']) { $db->query("update " . TABLE_PREFIX . "vbay_items SET highbidder = " . $vbulletin->userinfo['userid'] . ", price=buyitnowprice, bids = bids+'1', completetime = '0' WHERE id=" . $vbulletin->GPC['id'] . ""); $vbulletin->url = "vbay.php?do=item&viewitem=" . $vbulletin->GPC['id'] . $vbulletin->session->vars['sessionurl'] . ""; eval(print_standard_redirect('vbay_buy_success', true, true)); } else { $db->query("update " . TABLE_PREFIX . "vbay_items SET highbidder = " . $vbulletin->userinfo['userid'] . ", bids = bids+'1', completetime = '0' WHERE id=" . $vbulletin->GPC['id'] . ""); $vbulletin->url = "vbay.php?do=item&viewitem=" . $vbulletin->GPC['id'] . $vbulletin->session->vars['sessionurl'] . ""; eval(print_standard_redirect('vbay_buy_success', true, true)); } Left would be automatically closing an auction as soon as the regular bidding price equals the buyout price. |
#1527
|
||||
|
||||
if the auction type is only buyout and the auction has ended, buyout price should be used automatically.
fairly sure i tested it... but you know how that goes... vbulletin..pssssssh |
#1528
|
|||
|
|||
Ah. I mostly tested with "both".
|
#1529
|
||||
|
||||
Seeing as the new price range for vbulletin 4 is rediculously unrealistic... i will be releasing a final version for 3.8 then probably selling the rights and code to a coder who wants to continue to release it for newer versions of vbulletin.
Seeing as I dont run my own forum, there would be no reason to pay for it just to continue support on my addons. |
#1530
|
|||
|
|||
I delete my other post as it changed so much, so thought I do a new one
Features I would like to see
Is there any chance of, see any of these features in the final version ? Thanks for a great mod |
#1531
|
|||
|
|||
Quick revision to my edit in post 1523.
One of my users found that someone had been able to bid less than the starting price, and it's due to me having been sloppy. Quote:
But my fix was incomplete. When there were no bids, it would be possible to bid whatever one liked. EVEN if that price was below the start price. Luckily, the fix is also easy: If you made the fix mentioned above, find this in the code: Code:
if ($item['bids'] > 0) { if ($item['price'] + $item['inc'] > $vbulletin->GPC['bid']) { eval(standard_error(fetch_error('vbay_bid_higher'))); } $pmhigh_bidder = $vbulletin->db->query("select * from " . TABLE_PREFIX . "user where userid='{$item['highbidder']}'"); $pmbidder = $vbulletin->db->fetch_array($pmhigh_bidder); $title = "$vbphrase[vbay_pm_you_have_been_outbid] {$item['name']}"; $message = $vbphrase['vbay_pm_you_have_been_outbid_message']; send_pm($vbulletin->userinfo['username'], $vbulletin->userinfo['userid'], $pmbidder['username'], $title, $message); } Code:
// Ensure that bid is higher thandesired opening bid else { if ($item['price'] > $vbulletin->GPC['bid']) { eval(standard_error(fetch_error('vbay_bid_higher'))); } } Still a great mod, though. Anxiously awaiting the next version. I might throw in some loggin features when the next version is available, but I figured I'd wait before going down that road. By the way, will it be possible to somehow skip reimporting the languages and phrases? I reworded quite a bit, and would prefer keeping my edits |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|