vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - VBay! Transform your vbulletin into an auctionhouse! (https://vborg.vbsupport.ru/showthread.php?t=132544)

blueberry 04-02-2007 11:02 AM

wow this is great.. i have to try it sometime soon...

Blaine0002 04-02-2007 03:40 PM

If im not responding to your support queries, just know that i am finishing up work on another mod and will b releasing an upgrade to this soon.

auctionguy 04-03-2007 08:37 PM

I have put the VBay in my new site at yobux.com and I am going to tell eveyone about this!!! Totally Excellent Mod!! Thanks Blaine!!

This is a new site for me in which I put the ibPro Arcade in as well! I just need a point system to work with the arcade and I believe that I am ready for a launch give or take a few font changes and whatever else!!! Getting close to being like the old days!!

honestdave 04-04-2007 04:08 PM

i would love to work with somebody who could make it so people could buy and sell with a fixed price. if we could make it so that people clicked buy and then were taken directly to paypal so they could pay right away.

here is what we have so far
http://www.honestforum.com/test/110060-diesel-zafs.html

auctionguy 04-04-2007 09:59 PM

What do you mean Honestdave?? Buy now for the end of your Vbay Auction?, or a shopping cart for your items to be paid for through Pay Pal?? I could help out with the Pay Pal shopping cart!

globalstrata 04-06-2007 08:16 PM

1. How do you control the categories order?

2. Is there any CMPS modules? Is there any way that I can add the Categories to a CMPS module? I know that that is within $vbayleft.

3. Is there any way to control how many items show in a page?

4. How can I post rules?


I installed the system at: Origanime.com - Anime, Manage and Video Games and although I have not really tested it, it looks pretty good. :cool:

Thanks,

Gladys

Doc31 04-08-2007 07:52 AM

Quote:

Originally Posted by Lionel (Post 1214357)
I get a javascript error on do=post (object does not support this property or method) I think it's caused by the editor.

Yeah I have the same problem here ...

is there anyway to make the wysiwyg editor's window a little bigger because mine is about a quater the size of a standard thread post editor size.

Any help on these would be great thanks in advance :D

EDIT: I found how to make the wysiwg editor bigger. but still have this javascript error.

Also i wanted to know if there was a way you could fetch the users data so it can display (kind of like a welcome block) above the Categories box .... i have coded the box and tables but need to play around to get each users avatar and username to show up in this box.

As shown in the attatched image

Anyone got any pointers??? Thanks:)

milsirhc 04-09-2007 05:14 AM

Can we integrate in the forum such as when the user click on a particular forum, it will be vbay itself?

honestdave 04-10-2007 06:03 PM

auction guy, just sent you a pm.

rinkrat 04-10-2007 11:33 PM

Can I use this to let my users sell things and to make a cut off each sale. that would be like a true ebay, let the users sell while the admin rakes a little in on each sale.

Blaine0002 04-11-2007 03:22 PM

eventually this will be added. i am currently workin on a paid project, then after my next thing to do is upgrade my vbulletin and get all my mods working.

cerulean 04-11-2007 03:42 PM

Are you upgrading this vBay to a paid Mod?

Blaine0002 04-11-2007 03:43 PM

not at the moment, no. i plan on getting basic features down released and working before i start charging people for upgrades.

cerulean 04-11-2007 03:51 PM

Great program, cant wait to get the images working.

Liquid1ce 04-17-2007 10:31 PM

any news on new version

auctionguy 04-18-2007 10:52 PM

I love the auction but for some reason, when the auction ends, it re-starts and goes one more time!! Is there a setting that I missed or something??

auctionguy 04-21-2007 04:47 AM

Is anyone in this thread??

Liquid1ce 04-22-2007 07:14 PM

look like a no - waiting for paid version $$$$ waiting

thepub 04-22-2007 07:58 PM

I'm looking forward to the update release of this.

auctionguy 04-22-2007 09:02 PM

Anyone heard from Blaine as to when that might be??

OFFSHORE DAN 04-23-2007 10:12 PM

This does not work! No way to edit stuff after you add something.

Smiry Kin's 04-23-2007 10:26 PM

seems to be too plain, maybe intergate it with the itrader system or something??

does look really plain, tons of white space that could be used for something!

ghforum 04-23-2007 11:50 PM

Me and my friends could use thnis thx alot.

ghforum 04-23-2007 11:52 PM

Is this like Itrader?

thepub 04-24-2007 12:01 AM

Quote:

Originally Posted by ghforum (Post 1234358)
Is this like Itrader?

whats Itrader?

kinkamono 04-27-2007 08:28 PM

Installed. I tested the product out with a few other people and its great in theory. Im looking forward to seeing this more rigorously developed. At the moment there are some features that arent working properly, which are to be expected with a beta release, so no complaint there. The basic features work very well with one major exception: when the auction ends, either it restarts and runs again (as reported by someone else, I havent seen this personally), or as in my experience, the auction goes into negative time and never closes.

Im really looking forward to seeing this in the future when some of the basic features are working better. Its great so far, but needs the current bugs fixed before more features should be developed.

Great work!

PS: If you know of how to fix the negative time / no close issue that would be awesome. I was hoping to use this for a very basic charity auction but cant now - or at least until the auction closure issue is resolved. Thanks!

Ftu-forum 04-29-2007 08:55 AM

Is there a record history of people who made the price?
It's really difficulty when some one mis-made the price, or intend to make hight price

Rowen 05-03-2007 04:48 AM

I am having the same issue of negative time / no closure.
Also a way to edit would be excellent.

laskos 05-05-2007 05:12 PM

is this mod stable now ?

mikeylikesitz 05-12-2007 09:47 PM

any update?

Rowen 05-24-2007 07:37 PM

Please update this component... It's too good of an idea to let go.

pictureboarduk 05-25-2007 03:28 PM

Negative time / closure issue here aswell ....

axi 05-25-2007 05:44 PM

awesome hack il install it when it is past beta developments

Mike Bucy 05-27-2007 04:33 AM

See www.vbclassified.com

You'll like this product. Good support and is prompt at answering questions.

Dermo-MIO 05-27-2007 02:55 PM

where does the "vbay" appear i have made the new usergroup uploaded all the files giving myself the new usergroup as my 2nd usergroup but dont seem to see a new forum nor do i see any new options in making a new thread, can any1 help ?

chrisbeau 05-27-2007 11:49 PM

Quote:

Originally Posted by Dermo-MIO (Post 1255565)
where does the "vbay" appear i have made the new usergroup uploaded all the files giving myself the new usergroup as my 2nd usergroup but dont seem to see a new forum nor do i see any new options in making a new thread, can any1 help ?

yourdomain.com/forum/vbay.php

dartho 05-28-2007 04:38 AM

I've been getting ready to move form 3.5.x to 3.6.7 and decided to start tweaking vbay from scratch - I've made a notes of the basic changes I needed to make to get vbay functioning well enough to use. As you can see, most of them are small changes - I have not included any aesthetic changes - but hopefully they will help!

This change the look of vbay a little, but I haven't dug into it much yet, and it doesn't really bother me. If anyone can spot any mistakes here - please let me/us know! Thanks

Create a New template called vbay_cat_closed_end
Code:

</table>

edit the vbay.php file and re-upload it to your server
find:
Code:

                                eval('$vbayleft .= "' . fetch_template('vbay_cat_closed_row') . '";');
                        }
                }

replace with:
Code:

                                eval('$vbayleft .= "' . fetch_template('vbay_cat_closed_row') . '";');
                        }
                }
                eval('$vbayleft .= "' . fetch_template('vbay_cat_closed_end') . '";');

That should fix up the display of closed auctions




Edit "vbay_shop_row" template
find:
Code:

<td class='alt2' align='center'>{$days}D {$hours}H {$minutes}M {$rest}S</td>
replace with:
Code:

<if condition="$difference > 1">
        <td class='alt2' align='center'>{$days}D {$hours}H {$minutes}M {$rest}S</td>
<else />
        <td class='alt2' align='center'>Auction Complete</td>
</if>

That should show auctions as closed immediately



Edit "vbay_view_info" template
find:
Code:

<if condition="$item[completed]==1"> 
This auction has been completed!
</if>
<if condition="$item[completed]!==1">
{$days}D {$hours}H {$minutes}M {$rest}S
</if>

replace with:
Code:

<if condition="$difference < 1">
This auction has been completed!
<else />
{$days}D {$hours}H {$minutes}M {$rest}S
</if>

That should show auctions as closed immediately



edit "vbay_view_desc" template
find:
Code:

<if condition="$item[completed]!==1">
replace with:
Code:

<if condition="$difference > 1">
That should show auctions as closed immediately



edit "vbay_cat_closed_row" template
find:
Code:

<tr>
                                                                                        <td class='alt2' align='center'><b><a href='?do?=cat&showcat={$thecats['catid']}'>{$thecats['catname']}</a></b></td>
                                                                                        </tr>

replace with:
Code:

<tr>
                                                                                        <td class='alt2' align='center'><b><a href='?do=closed&showcat={$thecats['catid']}'>{$thecats['catname']}</a></b></td>
                                                                                        </tr>

Fixes a typo

Although the template mods above make the close auctions a little redundant when viewing the auctions, it is still required to move the auctions to the "Closed Auctions" section and the cron job also notifies sellers buyers via PM - you could change this to only happen every 15 or 20 minutes rather than 10 if you wanted. I had to manually add it as for some reason it wasn't added automatically:

In AdminCP, check the Scheduled Task Manager to see if the "closeauctions" cron job is there, if not manually add it - "Add New Scheduled Task"

varname:closeauctions
title: CLose vBay Auctions
Minute: 0, 10, 20, 30, 40, 50
Filename: ./includes/cron/closeauctions.php
Product: vbay

I've found I also need to make a few changes to the MySQL database to get the vbay to allow fractional dollar values. To do this I changed the price, inc and reserve fields in the vbay_items table from "int" to "decimal(11,2)"

the following SQL Query should do that for you:
Code:

ALTER TABLE `vbay_items` CHANGE `price` `price` DECIMAL( 11, 2 ) NOT NULL DEFAULT '0',
CHANGE `inc` `inc` DECIMAL( 11, 2 ) NOT NULL DEFAULT '1',
CHANGE `reserve` `reserve` DECIMAL( 11, 2 ) NOT NULL DEFAULT '0'


dartho 05-30-2007 02:35 AM

I've also modified the "vbay.php" to send a PM to a bidder if/when they get outbid if anyone is interested...

mikeylikesitz 06-02-2007 12:30 PM

i am interested

dartho 06-02-2007 12:59 PM

When a new bid is placed on an item, this modification to the vbay.php file will send a PM to the old highest bidder from the new highest bidder
in vbay.php search for:

search for:
Code:

  require_once('./includes/class_bbcode.php');
add the following immediatelt below
Code:

  require_once('./includes/functions_vbay.php');
Search for:
Code:

        if ($_REQUEST['do'] == 'bid') {
            $check = $db->query("select * from " . TABLE_PREFIX . "vbay_items where id='{$_REQUEST['dobid']}'");
              $item = $db->fetch_array($check);
                if ($item['owner'] == $vbulletin->userinfo['userid']){
                        eval(standard_error(fetch_error('vbay_auction_own')));
                }
                if ($item['completetime'] < time()) {
                        eval(standard_error(fetch_error('vbay_auction_ended')));
              } else {
                      if ($item['price'] + $item['inc'] > $_POST['bid']) {
                              eval(standard_error(fetch_error('vbay_bid_higher')));
                      }

and add the following immediately below:
Code:

// send a PM to old high bidder
if ($item['bids'] > 0) {
        $pmhigh_bidder = $vbulletin->db->query("select * from " . TABLE_PREFIX . "user where userid='{$item['highbidder']}'");
        $pmbidder = $vbulletin->db->fetch_array($pmhigh_bidder); 
        $title = "You have been outbid: {$item['name']}";
        $message = "Hello, I have just outbid you on this auction!  This is an automated system message.";
        send_pm($vbulletin->userinfo['username'],$vbulletin->userinfo['userid'],$pmbidder['username'],$title,$message);
        }


Another modification I've made is that if a bid is placed in the last 10 minutes of teh auction, teh auction end time is automatically extended to 10 minutes. I do this to stop sniping, and to also make it somewhat more like a 'real' auction as opposed to ebay.

To do this, edit vbay.php and find:
Code:

$db->query("update " . TABLE_PREFIX . "vbay_items set highbidder = " . $vbulletin->userinfo['userid'] . " where id='{$_REQUEST['dobid']}'");
and add the following ABOVE it:
Code:

// Increase end auction time by ten miniutes if bid in last 10 minutes - stops sniping!
                        $timeremaining = $item['completetime']-time();
                        if ($timeremaining < 600){
                                $endstamp = 600 + time();
                                $db->query("update " . TABLE_PREFIX . "vbay_items set completetime = '{$endstamp}' where id='{$_REQUEST['dobid']}'");



I've also added logging of bids to a simple text file - this is just in my forum root as I don't feel the need to hide it. To add it, edit vbay.php search for
Code:

$vbulletin->url = "vbay.php?do=item&viewitem=" . $_REQUEST['dobid'] . $vbulletin->session->vars['sessionurl'] ."";
and add the following immediately ABOVE it

Code:

$logentry = date('Ymd') . ' ' . strftime('%T') . ' Auction: ' . $_REQUEST['dobid'] . ', Amount: ' . $bid . ', User: ' . $vbulletin->userinfo['username'];
$vbaylog = fopen('./vbaylog.txt','a') or die("can't open vbaylog: $php_errormsg");
fwrite($vbaylog, $logentry . "\r\n");
fflush($vbaylog);
fclose($vbaylog) or die ($php_errormsg);

To view the log, just open vbalog.txt in your browser (http://yourforum.com/forums/vbaylog.txt) I guess you could create it in the admincp dir if you wanted to hide it - there are no doubt better ways to do most of the above, but it works for me.


All times are GMT. The time now is 11:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02452 seconds
  • Memory Usage 1,841KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (20)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete