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

Reply
 
Thread Tools
Module CMPS: VBay Details »»
Module CMPS: VBay
Version: 1.03, by goblues goblues is offline
Developer Last Online: Apr 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 10-13-2007 Last Update: 01-13-2008 Installs: 60
Re-useable Code Additional Files  
No support by the author.

I haven't seen one around so I thought I would release it here.
This is a quick down and dirty module.

Adds a Module which shows the last 5 Auctions
See screenshot for details

Dependencies:
VbA CMPS
Vbay


How to install

Admincp => vBa CMPS => Download / Upload Module
Click [Browse]
Browse for the file "auctions.module"
Submit

Tested on Vb 3.6.8
VbAdvanced CMPS v3.0 RC2

Please Click Installed if you use this. This is my first release here. Thanks!!!

Supporters / CoAuthors

Show Your Support

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

Comments
  #42  
Old 10-28-2007, 01:23 PM
RedPoint RedPoint is offline
 
Join Date: Oct 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

i dont have a VbA CMPS and i dont need this for my forum.
How can install your module too?!

i have VBay installed and run alright.

sorry for my english, i speak just german and romanian language
Reply With Quote
  #43  
Old 10-28-2007, 03:10 PM
goblues goblues is offline
 
Join Date: Aug 2004
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am currently working on this, however, it may take me awhile. I am only available a few minutes at a time today. Sorry for the delay.
Reply With Quote
  #44  
Old 10-30-2007, 08:31 AM
buurman's Avatar
buurman buurman is offline
 
Join Date: Apr 2002
Location: Amsterdam
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting this error when trying to install the module.
I had vbay CMPS module installed before, and uninstalled it, because had some problems with it.

Try to install it again, but get this error, anyone any idea?
"XML Error: Empty document at Line 1"
Reply With Quote
  #45  
Old 10-30-2007, 10:44 AM
goblues goblues is offline
 
Join Date: Aug 2004
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you trying to upload this as a product or a module?
Reply With Quote
  #46  
Old 10-31-2007, 07:32 PM
RedPoint RedPoint is offline
 
Join Date: Oct 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, i have trying to upload as product also as module, nothing run.
XML Error: Empty document at Line 1
...like buurman

What can i do?!
Reply With Quote
  #47  
Old 10-31-2007, 11:57 PM
acorndomains.co acorndomains.co is offline
 
Join Date: Mar 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made a few mods to it:

http://www.acorndomains.co.uk/portal.php?page=auctions

Add the module to a standard template page and put it in the centre.

To make it show only live auctions (the published mod shows closed auctions too); edit your vba_vbay.php in the modules directory;

Code:
$showvbay = $db->query("
SELECT id, name, price, completetime, bids, completed, type, buyitnowprice 

FROM " . TABLE_PREFIX . "vbay_items WHERE completed = 0
ORDER BY completetime ASC LIMIT 100");
I changed the item to completetime, so now it lists the auctions by ending soonest, not name. I changed it to show 100 listings, ascending.

Now to make it look nicer:

Code:
<tr bgcolor=#6983B2 style=font-size:11px; color: white; width=100%>
<th align=left><b>Domain Name</b></th>
<th align=center><b>Current / Minimum Bid</b></th>
<th align=center><b>Auction Ends</b></th>
<th align=center><b>Number Of Bids</b></th>
<th align=center><b>Buy It Now Price</b></th>
<th align=center><b>Auction Type</b></th>

</tr>

<tr>$showvbaybit
</tr>

<tr width=100%><td><hr>
<i><a href=$vboptions[bburl]/vbay.php?>View All Auctions</a><i/>
	</td>
</tr>
I added some column titles and split the items into a list:

Code:
<tr>
<td class="alt1">
<a href=$vboptions[bburl]/vbay.php?do=item&viewitem=$showvbays[id]><b>$showvbays[name]</b></a></td>
<td align=center>?$showvbays[price]</td>
<td class="alt1" align=center>$vbay_completetime</td>
<td align=center>$showvbays[bids]</td>
<td class="alt1" align=center>?$showvbays[buyitnowprice]</td>
<td align=center>$showvbays[type]</td>
</tr>
and alternated the column colours.
Reply With Quote
  #48  
Old 11-01-2007, 09:07 PM
goblues goblues is offline
 
Join Date: Aug 2004
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buurman View Post
Getting this error when trying to install the module.
I had vbay CMPS module installed before, and uninstalled it, because had some problems with it.

Try to install it again, but get this error, anyone any idea?
"XML Error: Empty document at Line 1"
You had THIS module installed first?

Quote:
Originally Posted by RedPoint View Post
Hi, i have trying to upload as product also as module, nothing run.
XML Error: Empty document at Line 1
...like buurman

What can i do?!
You need VBAdvanced installed. I seen that you posted earlier that you did not have this.
Reply With Quote
  #49  
Old 11-02-2007, 01:30 AM
acorndomains.co acorndomains.co is offline
 
Join Date: Mar 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My page is now sortable by any column :-)

Check it out:
http://www.acorndomains.co.uk/portal.php?page=auctions

Has anyone used this module with version 4 yet?
Reply With Quote
  #50  
Old 11-02-2007, 11:29 AM
buurman's Avatar
buurman buurman is offline
 
Join Date: Apr 2002
Location: Amsterdam
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goblues View Post
You had THIS module installed first?
Had it installed, but with the module enabled, my homepage didnt work.
Wanted to do testing after a new installation, maybe it didnt work in combination with soms other module.
But when I try to install it again, I get that error mentioned earlyer...
Reply With Quote
  #51  
Old 11-07-2007, 11:56 PM
towermatt towermatt is offline
 
Join Date: Apr 2007
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goblues View Post
This module doesn't differentiate between open and closed auctions. If you wish to show only current and active auctions find in your forumroot/modules/vba_vbay.php file:
Find;

Code:
SELECT id, name, price, completetime, bids
FROM " . TABLE_PREFIX . "vbay_items
ORDER BY id DESC LIMIT 5
");
and replace with:

Code:
SELECT id, name, price, completetime, bids, completed
FROM " . TABLE_PREFIX . "vbay_items WHERE completed = 0
ORDER BY id DESC LIMIT 5
");
This worked like a charm. Slick as you please
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 07:15 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.04439 seconds
  • Memory Usage 2,317KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete