The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl eAuction 1.6.1.x >> Start Up and more >> User Agreement Add-On - Question https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1083917796 Message started by harpo on 05/07/04 at 10:16:36 |
Title: User Agreement Add-On - Question Post by harpo on 05/07/04 at 10:16:36 Hello, maybe someone can answere this? I downloaded the eAuction1.61 and everything works Great !!! Nice clean script work!!! My question is I would like to have a user agreement when people click the new user registration. Is it posible to use "MacTheKnife" user agreement add on that worked on the old EA 1.51 auction script. If someone has an idea I would really appreciate it. Thanks again and keep up the good work !!!! Harpo ::) ------------------------------------------------------------------------ UPDATE: No problem I figured it out and I added the user agreement and it works fine. Works for me should work for someone else !!! What I did is below: :IN eConfig161.pl FIND THIS SUB SECTION: sub disp_navbar { :THEN FIND THIS LINE AND REMOVE IT: <a href="$ENV{'SCRIPT_NAME'}?action=reg&lang=$form{'lang'}"><b>$txt{'New Registration'}</b></a> </td> :REPLACE IT WITH THIS LINE: <a href="$ENV{'SCRIPT_NAME'}?action=usr&lang=$form{'lang'}"><b>$txt{'New Registration'}</b></a> </td> :NEXT: :IN eAuction.pl FIND THIS SECTION: Event-Section :THEN ADD THIS LINE TO THE EVENT LIST: 'usr' => \&user, :THEN: :NEXT FIND THIS SECTION: sub disp_item :FIND THIS LINE AND REMOVE IT: <b><a href="$ENV{'SCRIPT_NAME'}?action=reg&lang=$form{'lang'}"> :REPLACE WITH THIS LINE: <b><a href="$ENV{'SCRIPT_NAME'}?action=usr&lang=$form{'lang'}"> :NEXT FIND THIS SECTION: Sub: Add New Item :FIND THIS LINE AND REMOVE IT: <a href="$ENV{'SCRIPT_NAME'}?action=reg&lang=$form{'lang'}"> :REPLACE WITH THIS LINE: <a href="$ENV{'SCRIPT_NAME'}?action=usr&lang=$form{'lang'}"> :LAST ADD THIS SUB TO THE BOTTOM OF eAuction.pl SCRIPT: ########################################### # Sub: User Agreement # User must read the agreement and accept before actually being registered to your # auction. sub user { print "<FORM ACTION=$ENV{'SCRIPT_NAME'} METHOD=POST>"; print "<TABLE WIDTH=100% BORDER=1 BGCOLOR=$config{'colortablebody'}>"; print "<INPUT TYPE=HIDDEN NAME=action VALUE=usr>"; print "<TR><TD WIDTH=100%><CENTER><B>User Agreement between you and $config{'sitename'}</B></CENTER></TD></TR><TR><TD>"; print "<CENTER><B>THE FOLLOWING IS THE USER AGREEMENT AS PRESENTED BY $config{'sitename'}. YOU MUST AGREE TO THESE TERMS BEFORE YOU WILL BE ABLE TO POST ITEMS, OR BID ON THEM. IF YOU DO NOT ACCEPT THESE TERMS, PLEASE, DO NOT USE OUR SERVICES. ONCE YOU CLICK THE I ACCEPT BUTTON BELOW, YOU AGREE TO THESE SAID TERMS OF THE USER AGREEMENT BELOW.</CENTER></B><HR><P>"; print "<B>Article 1.</B> Eligibility of membership - This auction site is only available to people who are legally able to form binding contracts with you and the seller/buyer of an auction item. People who are of under age of 18 are not eligible for membership due to security precautions that can result as of those members. If you do not meet these requirements, you are not eligible to use these auction services.<P>"; print "<B>Article 2.</B> $config{'sitename'} is only providing auction services - We only provide services to people interested in selling and buying merchandise via Internet auction. We do not have control over the items that are posted in the auction site, and cannot guarantee the authenticity and quality of a said product. We are not responsible for the actions the sellers takes, before, during, and after the auction, typographical errors, misprints, loss of merchandise/money, damage or failure of equipment, due to your visit to this auction site. Use of this site is at your own risk, and content is presented 'As-Is'.<P>"; print "<B>Article 3.</B> Bidding and Selling - As a user, you may bid and/or sell merchandise over $config{'sitename'}. As a bidder, you know that placing a bid is a binding contract with you and the seller, and the bid cannot be retracted unless due to fault by the seller of typographical error, or other error, due to human error on the seller's part. Once you place a bid, and if you win, you will be obligated to buy the product at the said price you indicated as your bid. Placing a bid on this auction site, and winning, then not paying for the product is illegal in most states, and prosecution can result to you. As a seller, the item that you place up for bids must be real. Pre-sales are accepted. Once a bid has been placed for your item, you are being placed in a binding contract with the potential buyer of the product, if that bid shall be the highest bid. Once the auction is over, if over reserve price, you are obligated to sell to the potential buyer which is the highest bidder in your auction. If, reserve price was not met, you are not obligated in any way to sell this item at all. As a seller, you are not in any way to bid on your own items. If reported, your auction will be deleted.<P>"; print "<B>Article 4.</B> Posting Items - As a user, you are welcome to post items up for sale in the $config{'sitename'}. We do have restrictions on what items you may sell, and what you may not sell. You may not sell illegal merchandise, including pirated software and music, firearms, adult videos, or anything that is affiliated with pornography, etc. Items that are up to bids are subject to review by the staff of $config{'sitename'}, and my be removed without prior notice, if in violation with the User Agreement.<P>"; print "<B>Article 5.</B> Charges - Posting an item up for bid, bidding on an item, and registering are free on this server. Do not abuse this privilege.<P>"; print "<B>Article 6.</B> Privacy - We gather your information so that other people will have it on hand when they win your auction, or you win their auction. Personal information is not sold, rented, without your permission. Personal information sent to a user regarding a product bought or sold on the auction is not to be used for any other purpose, except for communication with the auction item.<P>"; print "<B>Article 7.</B> Warranty - $config{'sitename'} provide this web site in an 'as-is' condition, without a warranty or condition. $config{'sitename'} is not liable for any damages resulting in an auction, or your visit to the site.<P>"; print "<CENTER><FONT COLOR=red><B>By Pressing I Accept, You Agree to these terms listed above.</B></FONT></CENTER>"; print "</TD></TR></TABLE><P>"; print "<CENTER><INPUT TYPE=SUBMIT VALUE='I Accept'></CENTER></FORM>"; } |
Title: Re: User Agreement Add-On - Question Post by Forum Admin on 06/04/04 at 20:20:18 That's OK but I wold do the sub like this: Code:
|
Title: Re: User Agreement Add-On - Question Post by harpo on 06/04/04 at 21:41:27 :) Thanks Gotcha, Keep up the Good work !!! |
Title: Re: User Agreement Add-On - Question Post by morphius on 07/22/04 at 13:31:48 Hi i used the code that harpo explained for the agreement addon and i have installed it but when you click on accept it just goes back to the same page and back to the agreement page . please help what is going wrong and how do i correct it ? ;D |
Title: Re: User Agreement Add-On - Question Post by Forum Admin on 07/22/04 at 14:05:52 I haven't testet this code of harpo yet but I will install it and let you know ... |
Title: Re: User Agreement Add-On - Question Post by morphius on 07/22/04 at 14:20:45 thankyou i look forward to your reply please as soon as possible because the auction site is nearly ready , thankyou again in advance . ;D |
Title: Re: User Agreement Add-On - Question Post by harpo on 07/23/04 at 09:07:48 Hi Morphius, you might want to double check this section below, because it sounds like it's not finding the correct event in the event list. :IN eAuction.pl FIND THIS SECTION: Event-Section Make sure you add the line below to the event section list. 'usr' => \&user, Give that a shot, and see if that works. Harpo :) |
Title: Re: User Agreement Add-On - Question Post by morphius on 07/23/04 at 19:48:58 thankyou for the swift reply harpo but it still did not work even though i re-installed it several times to make sure i was not making any mistakes still i will keep trying - thankyou anyway - but if you can think of anything else please let me know . ;D |
Title: Re: User Agreement Add-On - Question Post by Forum Admin on 07/24/04 at 12:22:56 In sub user this line: <input TYPE="HIDDEN" NAME="action" VALUE="usr"> must be witten as: <input TYPE="HIDDEN" NAME="action" VALUE="reg"> That's all ... |
Title: Re: User Agreement Add-On - Question Post by tim200869 on 06/30/05 at 02:54:03 Well done with this alteration, I too noted the usr / reg misprint but I found it quite quickly. Well done. If all forum members were as helpful in giving up their time to develop this further, the world would be a better place. Thanks for the script |
The eAuction Support Forums » Powered by YaBB 2.2! YaBB © 2000-2007. All Rights Reserved. |