View Full Version : Add-On Releases - Module CMPS: VBay
goblues
10-13-2007, 10:00 PM
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 (http://www.vbadvanced.com)
Vbay (https://vborg.vbsupport.ru/showthread.php?t=132544)
How to install
Admincp => vBa CMPS => Download / Upload Module
Click
Browse for the file "auctions.module"
Submit ;)
Tested on Vb 3.6.8
VbAdvanced CMPS v3.0 RC2
[B]Please Click Installed if you use this. This is my first release here. Thanks!!!
Shazz
10-14-2007, 02:32 PM
Looks good!
Could you link us to a demo site?
goblues
10-14-2007, 02:33 PM
The only site that I have this running on is an adult site unfortunately.
towermatt
10-14-2007, 02:49 PM
I'll stick it on mine and then link it, this sounds great and a perfect module for my Collectors page.
towermatt
10-14-2007, 02:56 PM
Went on like a charm. Its on the upper left here
http://www.thedarktower.com/collectors/
I saw there was an image file in the .zip
should that go anywhere?
goblues
10-14-2007, 02:58 PM
Went on like a charm. Its on the upper left here
http://www.thedarktower.com/collectors/
I saw there was an image file in the .zip
should that go anywhere?
The image file in the zip is just a screenshot. You do not need to upload the anywhere. Glad it went flawless, please click installed, and thanks for the demo!!
towermatt
10-14-2007, 03:04 PM
I was so excited I forgot "install"
Thanks for this man, its great.
StreetTriple
10-14-2007, 08:06 PM
hi! i don't understand to how install this mod....
scusme for my imperfect english!
Please can you let me how i do to install corretly this mod?
Admincp => vBa CMPS => Download / Upload Module
1)what is vBa CMPS ???
2)how i can upload Module? i can upload only xml....
towermatt
10-14-2007, 08:10 PM
You would have to have downloaded a free hack to vbulletin called VBA CMPS
you can find it here http://www.vbadvanced.com
edit--and the update is terrific, thank you
goblues
10-14-2007, 08:23 PM
edit--and the update is terrific, thank you
You are welcome. If you think it needs any more info, let me know.
Phosphorus
10-15-2007, 08:23 AM
installed but the currently monney displayed on module is not the same as on Vbay pages
ninjamaster
10-15-2007, 10:16 AM
thanks i have a look at this later :)
goblues
10-15-2007, 10:34 AM
installed but the currently monney displayed on module is not the same as on Vbay pages
That would be because I hard coded the $ in the code. I will look at this after work to see if it can pull the sign from the database.
towermatt
10-15-2007, 02:53 PM
You are welcome. If you think it needs any more info, let me know.
Y'know, the thing is so hot I hate to say anything at all but...
If the seller put in an image, it would be great to see a thumbnail there but that would only be if you are looking for something for it.
I think its great now
goblues
10-15-2007, 09:42 PM
Y'know, the thing is so hot I hate to say anything at all but...
If the seller put in an image, it would be great to see a thumbnail there but that would only be if you are looking for something for it.
I think its great now
I have thought about this and it would be easy enough to do actually but it would almost have to be a "center" module only due to the size.
towermatt
10-15-2007, 09:44 PM
That's very true and where I happen to have it so it may not work for the other ways this thing is used.
goblues
10-16-2007, 12:25 AM
Maybe I will make a center module as well with more info. :D
TheBlackPoet
10-16-2007, 02:42 AM
very nice!!! thanks a lot
SuperTaz
10-16-2007, 03:18 AM
Installed. Thank you
goblues
10-16-2007, 11:03 PM
very nice!!! thanks a lot
Installed. Thank you
You're welcome! :D
Phosphorus
10-17-2007, 06:38 AM
ok .. for people they want to know how to change the current monney :
admin panel/stye & template :
search : adv_portal_vbay_bit
and change the $ with what u want on thisline :
Current Bid - $$showvbays[price]<br />
goblues
10-17-2007, 09:56 PM
ok .. for people they want to know how to change the current monney :
admin panel/stye & template :
search : adv_portal_vbay_bit
and change the $ with what u want on thisline :
Sorry Phosphorus for not looking into this, and yes that'll do it! ;)
Merrillizer
10-17-2007, 10:08 PM
Installed on the left side. Thanks!
forumrunt
10-22-2007, 02:48 PM
Thanks this seems very nice
mystic10
10-23-2007, 10:04 PM
was wondering can we make vbux module like that
goblues
10-23-2007, 10:29 PM
Got a link?
buurman
10-24-2007, 07:37 AM
Using Vbulletin 3.6.4 CMPS 3.0 RC2
When activating the VBAY module, most users get "page cannot be displayed" for the homepage...
Strangely enough, it does disply @work with IE6, but home with IE7 it doesnt.
When I deactivate the module it does work.
goblues
10-24-2007, 10:28 PM
Interesting. I cannot reproduce and with 43 downloads, I don't think anyone else is having any issues. It may be conflicting with another module you have installed? Try disabling all other 3rd party modules and keep this one activated and see if it works.:confused:
buurman
10-25-2007, 08:44 AM
After more testing, found out its also happening with IE6, its just strange it shows no problems @ work.
I will disable other modules, hope that works...
Ill let you know...
towermatt
10-25-2007, 02:13 PM
Should they fall off this list when the auction is closed? I have no active ones but they are all still showing in the module.
goblues
10-25-2007, 10:25 PM
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;
SELECT id, name, price, completetime, bids
FROM " . TABLE_PREFIX . "vbay_items
ORDER BY id DESC LIMIT 5
");
and replace with:
SELECT id, name, price, completetime, bids, completed
FROM " . TABLE_PREFIX . "vbay_items WHERE completed = 0
ORDER BY id DESC LIMIT 5
");
towermatt
10-25-2007, 11:12 PM
Thanks goblues--I'll give that a whirl
goblues
10-25-2007, 11:23 PM
No problem. Let me know if you have any issues.
emmanuel132
10-26-2007, 12:05 AM
a goblues can u make it so other people can sell to other then 1 user group? for the vbay?
goblues
10-26-2007, 12:34 AM
I am afraid I do not know what you are asking. Can you explain further?
emmanuel132
10-26-2007, 03:04 AM
um ok you know how it says Seller group like the group that can sell stuff? how do u make it so its all the groups not just 1 like so all the groups can sell stuff
emmanuel132
10-26-2007, 11:49 PM
any answer?
goblues
10-27-2007, 04:10 AM
Well, I haven't looked into this yet. Have you tried posting in the VBay forum for this request so that Blaine (The Vbay Coder) may be able to help you? I will look into this tomorrow but you should ask the coder first.
acorndomains.co
10-27-2007, 11:01 PM
Is there a way to show this without using VBA?
goblues
10-28-2007, 02:37 AM
Are you talking about a template edit of vbay to show the last 5 auctions? I think I know what you mean so let me check inot that.
RedPoint
10-28-2007, 01:23 PM
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
goblues
10-28-2007, 03:10 PM
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.
buurman
10-30-2007, 08:31 AM
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"
goblues
10-30-2007, 10:44 AM
Are you trying to upload this as a product or a module?
RedPoint
10-31-2007, 07:32 PM
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?!
acorndomains.co
10-31-2007, 11:57 PM
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;
$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:
<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:
<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.
goblues
11-01-2007, 09:07 PM
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?
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.
acorndomains.co
11-02-2007, 01:30 AM
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?
buurman
11-02-2007, 11:29 AM
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...
towermatt
11-07-2007, 11:56 PM
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;
SELECT id, name, price, completetime, bids
FROM " . TABLE_PREFIX . "vbay_items
ORDER BY id DESC LIMIT 5
");
and replace with:
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
S7rik3R
12-06-2007, 11:54 AM
This was a good idea ...
goblues
01-12-2008, 04:04 PM
There shouldn't be any more issues with cookies or headers.
jiffylb1
01-12-2008, 07:28 PM
I made a new left block in my portal and placed the code in there then previewed it..
the look of it was this?
goblues
01-12-2008, 07:53 PM
This module is for VbAdvanced CMPS only. I don't believe you are running this.
See the dependencies section in the first post.
buurman
01-14-2008, 08:31 AM
As a module, and if trying it again with the newest version, Januari 2008, its says:
The file you have uploaded is not a valid module file.
I have VB 3.6.4 CMPS 3
goblues
01-14-2008, 10:40 AM
Zip updated. For those who have it working good, no need to update.
buurman
01-14-2008, 12:09 PM
This one works!!!
Thx!!
pvalderh
01-16-2008, 06:58 PM
"The file you have uploaded is not a valid module file" ? :/
goblues
01-16-2008, 09:34 PM
I am about to give up on these modules. They work great for most but not for others. :( I will check on this in a couple of hours.
goblues
01-16-2008, 10:15 PM
I cannot reproduce. What are your versions?
pvalderh
01-18-2008, 06:45 AM
Hiya :)
vBulletin v3.6.8
vBa v3.0 RC2
vBay 1.1.9
synisterk
02-13-2008, 08:54 PM
Installed....Great mod.
clothahump
04-10-2008, 01:02 PM
Installed with no problem.
Would it be possible to have the top 10 current auctions shown on the Vbay home page, be nice for members to see something apart from a list.
goblues
04-11-2008, 12:23 AM
I actually started making this but I think, I may be wrong, someone else came up with it first. You may want to do a search and see if it exists.
clothahump
04-11-2008, 05:56 AM
I am unable to find anything apart from the module.
GSeybold
11-05-2008, 03:31 AM
Can anyone provide a link so I can see this live?
Thanks so much!
Gabby
appsfinder
02-04-2009, 06:04 PM
The file you have uploaded is not a valid module file.
can you help
appsfinder
02-13-2009, 05:42 AM
:) hi is there any way to show thumbnail of actions in your mod thanks
eg what code do i need?
DolphinEcho
10-16-2009, 01:11 PM
Thanks, just installed (vBulletin 3.8.4 & vBadvanced 3.2.1)
Is there a limit to the amount is displays if so how do I change it ?
AfterWorldForum
11-14-2009, 08:13 AM
:) hi is there any way to show thumbnail of actions in your mod thanks
eg what code do i need?
In vba_vBay.php, replace the existing query with the following:
$showvbay = $db->query("
SELECT items.id, items.name, items.price, items.completetime, items.bids, items.completed, images.id AS imageid
FROM " . TABLE_PREFIX . "vbay_items items LEFT JOIN " . TABLE_PREFIX . "vbay_images images
ON items.id = images.auctionid WHERE items.completed = 0
ORDER BY items.id DESC LIMIT 5
");
In the template adv_portal_vbay_bit, add the following:
<if condition="$showvbays[imageid]<>''">
<br />
<img src='vbaytn.php?id={$showvbays[imageid]}' alt='$showvbays[name]' title='$showvbays[name]' width='100' align="center" />
</if>
You can see the result in action here: http://www.entropiaplanets.com/forums/
Truth66
02-14-2011, 01:50 PM
Wow this seems really cool.
Does anyone know if this add on can be incorporated into VBulletin 4.1.1?
If so, a few questions,
1) How and where do I upload this? Is this a simple Plugin?
2) How Can I include this as an extra tab, in the main menu bar?
3) Can this be set up with a specific User Group?
Thanks Again.
Old-Git
03-11-2011, 08:03 AM
Please delete, posted in wrong thread
dizzynation
07-22-2011, 03:13 AM
The file you have uploaded is not a valid module file.
can you help
Same here
realdx
07-29-2012, 07:30 AM
Hello, I hope to receive help for my Module. Now, I can see ONLY "Start Bid Price" and not "Buy It Now Price". I tryed to change my adv_portal_vbay_bit but without succesful.
This is my code:
<div style="padding-top: 1px; padding-bottom: 1px" class="smallfont">?
<a href=$vboptions[bburl]/vbay.php?do=item&viewitem=$showvbays[id]><b>$showvbays[name]</b></a><br />
Prezzo di<br />
partenza asta - ?$showvbays[price]<br />
Prezzo<br />
Buy it now - ?$showvbays[buyitnowprice]<br />
Chiusura - $vbay_completetime<br />
Offerte - $showvbays[bids]<br /></div>
In this link you can see my module displayed, with NOTHING PRICE VIEWED on buy it now.
https://vborg.vbsupport.ru/external/2012/07/2.jpg
Please help me
Regards
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.