Results 1 to 2 of 2

Thread: How do I write an auction script?

  1. #1
    Join Date
    Aug 2009

    How do I write an auction script?

    I want to create an auction script for a website I am creating, but I don’t know what scripting language I would have to use and how to go about doing it. Does anybody know what I would have to do? Or are there any book(s) I could buy or site(s) that would teach me how to use a scripting language to accomplish what I am trying to do?

    I want the site to function like this:

    - Person enters his/her contact info and laptop info into my form questions. (ex: title of listing, laptop brand, operating system, etc), and also, how long he/she wants the auction to go and whether he/she wants to set a buy it now price, and if so, how much? Their will be about 14 laptop info questions

    - When info is submitted, it is held in a mysql database and an email is sent to me containing all the info for my approval to list the laptop on my auction site. In this email, I want to see the submitted info in the email and have 2 buttons. One that approves the listing and one that denies it.

    - When a listing is denied for whatever reason, I want an email to be automatically sent to the Lister’s email address that was submitted as one of the form questions, notifying the person that his/her listing was denied. Also, I want all that info submitted by that lister to be automatically erased from the mysql database.

    - If the listing is approved, the contact info and laptop info stays in a MySQL database – the submitted “title of listing” info, which is part of the laptop info should be added to the main auction listings page, where all the laptop listings are displayed (which I also need to know how to create), as the title of that listing, and the rest of the laptop info that was submitted should be listed on this laptop listing’s personal page that buyers are directed to when they click on it’s title on the main auction listings page.

    - On this laptop listing’s personal page, I want the “title of listing” to be on the top of the page. Below that, I want info like the “current highest offer”, if any. Also, how many offers were made, time left, date started, date it ends, make an offer (with a form bar to enter amount), buy it now for $XXXX” button and “ask seller a question” button. When a seller is asked a question, I want the question to be sent to the seller by email and in the email, I want there to be a text box where the seller could enter his answer and submit it. When it is submitted, I want the answer to be sent to the asker by email and also both the question and answer posted on the bottom of the listings personal page for everyone to see.

    - I want to create a registration page for buyers to sign up with. After this registration, I want to have a page where buyers have to e-sign to agree to pay my broker fees after the deal is closed, and I want this e-signature to make this fee agreement legally binding.

    - I need to make a sign in page where buyers sign in to their accounts in order to do things like make offers, buy laptops, etc.

    What happens when an offer is accepted or buyer agrees to buy it now price?

    - When an offer is made, an email is sent to the seller, telling them that they have an offer, what the offer is, and in the email, they have 3 buttons giving them the option to accept the offer, put it on hold and wait for other potential offers, or deny the offer.

    - When an offer is denied, the seller who accepted it is redirected to a page telling them that they have denied the offer and an email is sent to the buyer, telling him/her their offer has been denied.

    - When an offer is accepted, the seller who accepted it is redirected to a page telling them that they have accepted the offer. An email is sent to the buyer who made the offer, telling them that their offer has been accepted and giving them the contact info of the seller and also a “pay now’ link for them to pay the broker fee with once the deal is closed.

    I am new to this level of web devopment

  2. #2
    Join Date
    Aug 2009

    Unhappy Oops!

    Please disregard the part of my post where I said, "What happens when an offer is accepted or buyer agrees to buy it now price?". I copy and pasted this post and forgot to delete that part before I posted, and I have no idea how to edit or delete threads. My mistake

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.32857 seconds
  • Memory Usage 2,836KB
  • Queries Executed 13 (?)
More Information
Template Usage (32):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (2)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates