vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Easy Auction v1.1 (https://vborg.vbsupport.ru/showthread.php?t=92857)

enginethatcan't 07-26-2005 02:05 AM

I havn't installed -- but from what I have read....would be cool if there could be "auction feedback" for each user.

PixelFx 07-26-2005 02:11 AM

Quote:

Originally Posted by RichieBoy67
I wish I could say that it was an idea I had and take credit but it was purely accidental.....lol It does take some serious editing though to do it this way but it's pretty easy.....

Great Hack.. One of the best I think..

how hard would it be to make an addon so this uses the ucash/ushop addon, or points rather than real money?

icecube0045 07-26-2005 02:19 AM

Hmm, While I was reading the installation instructions I got very lost because it says make the chnages necessary in each php file but how do I know the changes that needs to be changed? I am somewhat of a newb to this.

icecube0045 07-26-2005 02:20 AM

Quote:

Originally Posted by enginethatcan't
I havn't installed -- but from what I have read....would be cool if there could be "auction feedback" for each user.

Well you can use the trader feedback hack and just have the members enter the url of the auction

yoyoyoyo 07-26-2005 03:12 AM

Quote:

Originally Posted by enginethatcan't
I havn't installed -- but from what I have read....would be cool if there could be "auction feedback" for each user.

You can add the feedback addon that is available at the addon database if you want, but I left it off due to the fact that I felt that 2 different feedback ratings on my site would be confusing. The mod is there and it looks easy to add in - give it a try :D I also left off "buy it now features," but you can add those, or use eAuction or another version of this script that is mentioned in the first post, which already has some of those features built in.

yoyoyoyo 07-26-2005 03:26 AM

Quote:

Originally Posted by icecube0045
Hmm, While I was reading the installation instructions I got very lost because it says make the chnages necessary in each php file but how do I know the changes that needs to be changed? I am somewhat of a newb to this.

There are only 2 files you need to edit: auction.pl, and admin.pl. The php file does not need to be edited. Open the files in a text editor and read the config area - it is well-documented.

Also use the info.cgi script that came with the file to determine things like the file path, as mentioned in previous posts.

After you get the script running you can add the categories you wnat, etc., but for now just try the base script with the default categories, and edit the settings below in the config area of the auction.pl script (the area at the top). These are the main settings you need to worry about in the config area- the rest have been deleted in the example below since they can be left at default to get your script up and running, so be sure to edit those as well. The settings below are only for EXAMPLE, and are not meant to be pasted in to your script, since they are already there!:
Code:

# The Base Directory. We need an
# absolute path for the base directory.
# Include the trailing slash. THIS SHOULD
# NOT BE WEB-ACCESSIBLE!
# **CHANGE THIS TO SUIT YOUR SERVER**

$config{'basepath'} = '/home/yoursite/public_html/cgi-bin/auction/';

# This is the password for deleting auction
# items.
# **CHANGE THIS FOR SECURITY REASONS**

$config{'adminpass'} = 'password';

# You need to assign either a mail program or
# a mail host so confirmation e-mails can
# be sent out.
# Leave one commented and one uncommented.
#
# YOU NEED EITHER A MAIL PROGRAM
# $config{'mailprog'} = '/usr/lib/sendmail -t';
#
# OR YOU NEED A MAIL HOST (SMTP)
# **CHANGE THIS TO SUIT YOUR SERVER**

$config{'mailhost'} = 'localhost';

# This line should be your e-mail address
# **CHANGE THIS TO SUIT YOUR SERVER**

$config{'admin_address'} = 'admin@yoursite.com';

# This line should point to the URL of
# your server. It will be used for sending
# "you have been outbid" e-mail. The script
# name and auction will be appended to the
# end automatically, so DO NOT use a trailing
# slash. If you do not want to send outbid
# e-mail, leave this blank.
# **CHANGE THIS TO SUIT YOUR SERVER**

$config{'scripturl'} = 'http://www.yoursite.com';

# URL TO THE "MAIL TO FRIEND" ICON

$config{'mfriendicon'} = '<IMG border=0 alt="envelope" height=9 width=13 src="http://yoursite.com/cgi-bin/auction/images/mail.gif">';

For the admin.pl script you can just simply enter the same settings you entered for the auction.pl script, or you can just cut and paste the entire config area from the auction.pl in to the admin.pl script, replacing the config area in that script (you don't want 2 config areas of any script!).

enginethatcan't 07-26-2005 03:31 AM

what's the average setup time?

yoyoyoyo 07-26-2005 03:39 AM

Quote:

Originally Posted by enginethatcan't
what's the average setup time?

It should only take a few minutes as long as you edit the config area of the auction.pl script, especially the areas noted in the post above.

After you do that you can test the functionality of the auction.pl script without even editing a vbulletin template by just going to the URL for your auction.pl file and checking it out before you go to the bother of editing your ACP index file, etc., to see if it is something you think would be useful, or will work on your server.

All you need to do to test the functionality of the script is edit the basepath url to match the full filepath on your server to that file, which is the top setting in the auction.pl config area.. the rest can be edited later after you get it running.

1 file edit and a CHMOD shouldn't take too long :D

yoyoyoyo 07-26-2005 05:37 AM

QUICK & EASY 1-2-3 INSTRUCTIONS FOR INSTALLING & TESTING:

1) upload the contents of the cgi-bin folder in the file to your cgi-bin directory on your server, creating a subdirectory named 'auction,' and CHMOD that new directory to 755 along with the subdirectories, contents etc..

2) Go to your web browser and type in:
Code:

http://yoursite.com/cgi-bin/auction/info.cgi
and you should see a screen that lists all of your server variables. Go to the line that says: "SCRIPT_FILENAME" and note what it says. Look at the "SCRIPT_FILENAME" setting display and it will look something like:
Code:

/home/yoursite/public_html/cgi-bin/auction/info.cgi
3) just cut off the info.cgi from the end of the "SCRIPT_FILENAME" path you discovered in the previous step and that is your needed filepath. Just paste that info in here:
Code:

$config{'basepath'} = '/home/yoursite/public_html/cgi-bin/auction/';
in your auction.pl script and reupload it to your site's cgi-bin directory, making sure that it is CHMOD'ed to 755.

If you follow those steps correctly you should see the auction.pl script display properly at:
Code:

http://yoursite.com/cgi-bin/auction/auction.pl
If you get errors then recheck your file path and edits and CHMOD settings. If you still get errors then it is most likely a server issue, as long as you make sure you followed the above steps.

Once you have the script running you should edit the other areas of the config area, such as site name, etc., but that is all you need to worry about to test the auction.pl script on your site.

MrNase 07-26-2005 01:37 PM

Something like this based on PHP and MySQL would be awsome :)


All times are GMT. The time now is 01:36 PM.

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.01044 seconds
  • Memory Usage 1,751KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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