Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
vbPortal/vBulletin/phpauction Integration Details »»
vbPortal/vBulletin/phpauction Integration
Version: 1.00, by FASherman FASherman is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-05-2002 Last Update: Never Installs: 6
 
No support by the author.

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.

Show Your Support

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

Comments
  #2  
Old 09-06-2002, 09:23 PM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First screen shot with default style:
Reply With Quote
  #3  
Old 09-06-2002, 09:24 PM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot with a different style applied:
Reply With Quote
  #4  
Old 09-06-2002, 09:25 PM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With yet another style applied:
Reply With Quote
  #5  
Old 09-06-2002, 09:26 PM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Final screenshot. You get the idea at this point. phpauction now not only looks like your site, but customized down to the individual user.
Reply With Quote
  #6  
Old 09-06-2002, 09:28 PM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 09-06-2002, 10:41 PM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 09-06-2002, 11:11 PM
Webmasta XT's Avatar
Webmasta XT Webmasta XT is offline
 
Join Date: Mar 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no use for me at all..
Reply With Quote
  #9  
Old 09-06-2002, 11:19 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 09-06-2002, 11:34 PM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DOH!

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.
Reply With Quote
Reply

Thread Tools

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 11:21 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.04397 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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