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)

Blaine0002 10-18-2007 03:07 PM

By the way, ive been looking for a way to split payments via paypal and have found that it is currently not possible.

How do you guys suggest this work?

micheal332001 10-19-2007 12:54 PM

Hi blaine0002

You was looking for a way to find out the diffarence from 2 dates to show how many days left on your arction. well try this out

PHP Code:

function daysDiff($y1$m1$d1) {
$y2 date("Y");
$m2 date("m");
$d2 date("d");

if (
mktime(0,0,0,$m1,$d1,$y1) - mktime(0,0,0,date("m"),date("d"),date("Y"))<0) {
$diff "expiried";
} else {
$y $y1 $y2;
$m $m1 $m2;
$d $d1 $d2;
$daysInMonth date("t",$m1);
if (
$d<0) {$m--;$d=$d+$daysInMonth;}
if (
$m<0) {$y--;$m=$m+12;}

if (
$y>0$diff .= $y=="1 year " "$y years ";
if (
$m>0$diff .= $m==1"1 month and " "$m months and ";
if (
$d>0$diff .= $d=="1 day " "$d days ";
$diff .= " remaining";
}
return 
$diff;
}
print 
"<br>";
print 
daysDiff(2007,12,25); 

Or you could try this out

PHP Code:

$today1 strtotime ('now');
$today=date("d.m.Y",$today1);
$f_date1 mktime(0,0,0,12,24,2007);
$f_date=date("d.m.Y",$f_date1);
$difference intval(($f_date1 $today1)/86400+1);

//output

echo"Today is : $today<br>";
echo
"Your date : $f_date<br>";
echo
"Days To Go Before Christmas : $difference"

Hope this helps you out

Blaine0002 10-19-2007 06:08 PM

Hehe i found that out a LONG time ago
But thanks for helping :D


Good to see you again though, havent seen you in a long time.

Blaine0002 10-19-2007 06:16 PM

The next version will probably be a bugfix version.
The version after im thinking will include itrader integration and more features and MIGHT be commercial if i can get the correct resources together.

micheal332001 10-20-2007 01:05 PM

Quote:

Originally Posted by Blaine0002 (Post 1363852)
Hehe i found that out a LONG time ago
But thanks for helping :D


Good to see you again though, havent seen you in a long time.

Hi there

I have not been any where just very busy sorting out some new scripts.
but they are commercial scripts with all the bells and whistls on
have remade the league system making a new lottery system new jokes system and so on.

Adding alot of new things in to all the scripts i have made before.
Glad to see you again m8 and if you need help with any thing feel free to contact me.

acorndomains.co 10-20-2007 01:54 PM

Quote:

Originally Posted by acorndomains.co (Post 1362996)
Did anyone find ways to do the following:

Show a list of ending soon auctions
Show a list of recently added auctions
Remove the need to post your address
Allow more than 1 currency
Allow more than 1 payment method
Take a slice of the action by having a percentage of all sales sent to your PayPal account

It's on my site here:
www.acorndomains.co.uk/vbay.php

Many thanks

Any ideas?

dirtycrow 10-20-2007 11:01 PM

i tried to uninstall and reinstall vbay and i keep on getting this error

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ADD COLUMN `vbayaddress` text NOT NULL;

MySQL Error : Duplicate column name 'vbayaddress'
Error Number : 1060
Date : Saturday, October 20th 2007 @ 07:58:29 PM
Script : http://forums.mysite.com/admincp/plu...=productimport
Referrer : http://forums.mysite..com/admincp/pl...?do=productadd
IP Address : 72.224.77.159
Username : admin
Classname : vb_database
i keep on trying to drop the tables, but the error persists.

Blaine0002 10-20-2007 11:59 PM

you need to drop the tables, then go into the user table and drop the vbayaddress row

sorry about the problems ill see if i can fix them in the next update.

dirtycrow 10-21-2007 12:12 AM

Quote:

Originally Posted by Blaine0002 (Post 1364714)
you need to drop the tables, then go into the user table and drop the vbayaddress row

sorry about the problems ill see if i can fix them in the next update.

worked like a charm, but now i get
Quote:

Warning: Invalid argument supplied for foreach() in /vbay.php on line 205
at the top of the page.

Blaine0002 10-21-2007 02:00 AM

are you using php4 as well?


All times are GMT. The time now is 12:19 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.02456 seconds
  • Memory Usage 1,762KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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