PDA

View Full Version : vbPortal/vBulletin/phpauction Integration


FASherman
09-05-2002, 10:00 PM
Requirements: This is a combined integration. You MUST have vbPortal installed as well as vBulletin. If you do not have both- STOP and do not install.

This hack refers to the GPL version of phpauction. If you have any other version - STOP. You can get it at http://www.phpauction.org/

phpauction doesn't look a whole lot like vBulletin. You can see that for yourself at http://www.phpauction.org/gpldemo/. This demo should give you an idea of what I started with so you can compare it with the end results.

What this does is make phpauction look like the rest of your site. User styles are applied to phpauction.

What is does NOT do. It does not merge the user databases. Thats my next project.

I will include screenshort of the same page using different styles to explain further. See screen shots in subsequent posts.

If you want to see this hack in action live, visit http://www.fasherman.com/forums.

Log in as vbTestUser, passwd v8ullet1n. That way, you can change themes and then watch the auction software change appearance too.

Step 1: Backup your vBulletin database.

****Steps 2 and 3 apply only if you have your phpauction info in a separate database. If you installed the tables into your vBulletin database, skip to step 5.****

Step 2: Using phpMyAdmin, backup your phpauction database. Save it as a file.
Step 3: Use the file from step 2 to add your phpauction tables and data to your vBulletin database.
4. Edit includes/passwd.inc.php beneat your phpauction directory to change the database name to your vbulletin database.

(When you are comfortable all is working right, you can drop the original phpauction database. Thats your call as to when.)

Step 5: Replace header.php and footer.php in your phpauction directory with the files in the attached zip file. This version of phpauction is distributed under GPL, so we can include the entire file.

IF you installed the "phpauction info on forumhome hack (https://vborg.vbsupport.ru/showthread.php?s=&threadid=43182) you must change the database info for your vBulletin database. Same advice if you want to install this hack.

FASherman
09-06-2002, 09:23 PM
First screen shot with default style:

FASherman
09-06-2002, 09:24 PM
Screenshot with a different style applied:

FASherman
09-06-2002, 09:25 PM
With yet another style applied:

FASherman
09-06-2002, 09:26 PM
Final screenshot. You get the idea at this point. phpauction now not only looks like your site, but customized down to the individual user.

FASherman
09-06-2002, 09:28 PM
I will be working on merging the databases. The first problem to tackle is that vBulletin and phpauction use different encryption keys.

At any rate, the database merge will build on this hack. Enjoy.

FASherman
09-06-2002, 10:41 PM
Some information I should have added...

vBulletin will keep track of where users are in your phpauction. It only gets gooned up in one area, index.php of the auction. If you change that to default.php and configure your webserver to recognize that as an index page, then you will be able to hack online.php to show where users are and what they are doing in your auctions, whether it is selling an item, bidding or examining a item.

When I have more time, I'll try to add the online.php updates. I haven't even done this on my site yet but I can see the "unknown location" in the online list so I know it's possible.

Webmasta XT
09-06-2002, 11:11 PM
no use for me at all..

Ninth Dimension
09-06-2002, 11:19 PM
I've been thinking on setting up an auction on my site for a long time, but I really don't want to use vBP, but nice work anyway :)

FASherman
09-06-2002, 11:34 PM
DOH! :eek:

Silly me. I had to add a check for guests...


if (! $style[replacementsetid]) {
$style[replacementsetid] = 1;
}


The zip file has been updated. Anyone who stopped by as a guest and got a database error, please feel free to stop by again.

amity
09-07-2002, 12:17 AM
but i will wait until the database merge.

you should give yourself a pat on the back for this one!!

nice job!
blessings,
amity

dgessler
09-07-2002, 02:02 AM
Yerp great job and idea - 2 of the best scripts combined :D

[D]Vincent
09-07-2002, 07:35 AM
Because we can, no use for me at all ^^

FASherman
09-07-2002, 01:39 PM
Yeah, and RPG hacks are of no use to me, being older than 17. I haven't felt the need to post that in your threads now, have I?

244
09-08-2002, 08:12 PM
Hey FASherman,
Great hack, I use a 4 sale section in my forums this is much better :D

244

interrealm
09-15-2002, 08:03 PM
Great work so far.. I also might have to wait til the database merge can be done. I'm in the process of merging my vbPortal with my vBulletin, which isn't completed yet (doing alot of checks and balances first) and this is the last feature that I don't have that I want to put in place.

Can't wait to try it.. am going ot install it on my dev install to see how it works out until then.

zircon
12-17-2002, 09:14 PM
With this hack I assume users don't have to "relogin" to the auction right? Thinking about installing but don't know if I should wait for someone at phpportals to PORT the NUKE auction
module to vbPortal. http://nukeauction.phpauction.org/html/

SoBal
07-12-2003, 08:22 PM
FASherman - very nice job here m8.
I've configured PHPAuction PRO 2.01 and now I've stuck at integrating users database. No idea how to merge those two :( Are you bale to help?

Alan Ang
01-05-2004, 01:12 AM
Fasherman, does this work with vb2.3.x and vbp 2.3.0 cr2?

How can I merge the databases? I have vb2.3.x and vbp 2.3.0 cr2 but haven't installed phpauction, what do you propose to be the easiest way to install?

PixelFx
01-07-2004, 04:03 PM
kewl hack!! :P

any support for possible vbhome intergration rather than vbportal, or how hard would it be for me to port it over? very cool all the same. Now if you could just add support for the store hack, to use store points rather than real money that would kick as well :P

kissythecutie
06-06-2006, 04:51 AM
very nice hack very thoughtful