vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbPortal/vBulletin/phpauction Integration (https://vborg.vbsupport.ru/showthread.php?t=43246)

FASherman 09-05-2002 10:00 PM

vbPortal/vBulletin/phpauction Integration
 
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/showthrea...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...

PHP Code:

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.


All times are GMT. The time now is 08:09 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.01093 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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