eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 2 3 4
User Agreement Add-On - Question (Read 824 times)
harpo
eAuction Novice
*
Offline

I love Perl

Posts: 3

User Agreement Add-On - Question
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>";
}
Back to top
 
« Last Edit: 05/09/04 at 00:32:54 by harpo »  


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: User Agreement Add-On - Question
Reply #1 - 06/04/04 at 20:20:18
 
That's OK but I wold do the sub like this:
Code:
sub user {
print <<EO_HTML;
<div align="center">
<form ACTION="$our_env{'SCRIPT_NAME'}" METHOD="POST">
   <table WIDTH="700" BORDER="1" BGCOLOR="$config{'colortablebody'}">
  <input TYPE="HIDDEN" NAME="action" VALUE="reg">
  <tr>
 <td WIDTH="700"><center>
 <p><b>User Agreement between you and $config{'sitename'}</b></p>
 </center></td>
  </tr>
  <tr>
 <td><center>
 <p><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.</p>
 </center></b><hr>
 <p><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>
 <p><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>
 <p><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>
 <p><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>
 <p><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>
 <p><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>
 <p><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>
 <p></p>
 <center>
 <p><font COLOR="red"><b>By Pressing I Accept, You Agree to these 
 terms listed above.</b></font></p>
 </center></td>
  </tr>
   </table>
   <p></p>
   <center>
   <p><input TYPE="SUBMIT" VALUE="I Accept"></p>
   </center>
</form>
</div>
EO_HTML
} 

Back to top
 
« Last Edit: 07/24/04 at 12:18:01 by Dieter Werner »  

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
harpo
eAuction Novice
*
Offline

I love Perl

Posts: 3

Re: User Agreement Add-On - Question
Reply #2 - 06/04/04 at 21:41:27
 
Smiley Thanks Gotcha, Keep up the Good work !!!
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1 2 3 4


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only