send mail user mod v1.0

This is the auction mod for Snitz Forums version 3.4.07. The auctions are fully-integrated into the forum.

I've tried my best to make this mod as easy to install as possible, but if you run into any trouble, you can always ask at the Mod Implementation Forum

What's new in this version?

Add the auction to your forum in 3 easy steps:

1

Upload the new files

These go in your forum folder:

auction.asp auction_admin.asp auction_bidders.asp auction_bidItem.asp auction_category.asp auction_editItem.asp auction_feedback.asp auction_item.asp auction_language.asp auction_my_bid.asp auction_save.asp auction_sellItem.asp auction_selItemProcess.asp auction_sendfeedback.asp dbs_auction.asp inc_auction.asp

2

Update your database

After uploading your files to your forum folder. Log-in as admin and go to Admin Options. Click on Mod Setup. Select "Auction Mod Version 2.5" and Click the "Update!" button.

If the Mod Setup page does not load, go back to Admin Options and click on Alternative Mod Setup. Open dbs_auction.asp in notepad, and COPY and PASTE its contents into the textbox in the Alternative Mod setup page, and click submit. Your database should now be updated.

3

Edit your forum file

Create backup copies of these files so that you can restore them just in case something goes wrong:

inc_header.asp default.asp
You need a text editor with line numbers.

The line numbers here refer to the base Snitz 3.4.07 code (without mods). If you already have mods installed the line numbers could be different.
 

INC_HEADER.ASP - 2 changes

Line: 503
Response.Write """" & dWStatus("Perform a search by keyword, date, and/or name...") & " tabindex=""-1""><acronym title=""Perform a search by keyword, date, and/or name..."">Search</acronym></a>" & vbNewline & _ " |" & vbNewline & _ " <a href=""faq.asp""" & dWStatus("Answers to Frequently Asked Questions...") & " tabindex=""-1""><acronym title=""Answers to Frequently Asked Questions..."">FAQ</acronym></a>"

Below that, insert this:
Response.Write " |" & vbNewline & _ " <a href=""auction.asp""" & dWStatus("Auction Section...") & " tabindex=""-1""><acronym title=""Auction Section..."">Auction</acronym></a>"
(Option 1) Below that, insert this if you want to give the users the option to view their auctions items that they have entered or bid on:
if mlev > 0 then Response.Write " |" & vbNewline & _ " <a href=""auction_my_bid.asp""" & dWStatus("My Auction Section...") & " tabindex=""-1""><acronym title=""My Auction Section..."">My Auction</acronym></a>" end if
(Option 2) Or insert this if you want to give the users the option to view their auctions items that they have entered or bid on and would like the count of a users current auctions:
if mLev > 0 then strNow = DatetoStr(strForumTimeAdjust) strSql="SELECT COUNT(AUCTIONID) AS CNT FROM " & strTablePrefix & "AUCTIONITEMS WHERE ENDDATE>'" & strNow & "'" set rsCAD = my_Conn.Execute(strSql) if not rsCAD.EOF then intAuctionActive = rsCAD("CNT") rsCAD.Close else intAuctionActive = 0 end if set rsCAD = Nothing Response.Write " |" & vbNewline & _ " <a href=""auction_my_bid.asp""" & dWStatus("My Auction Section...") & " tabindex=""-1""><acronym title=""My Auction Section..."">My Auction</acronym></a> (" & intAuctionActive & ")" end if
 

DEFAULT.ASP - 1 change - optional

Line: 561
if strShowStatistics = "1" then WriteStatistics end if

Above that, insert this:
%> <!-- #include file="inc_auction.asp" --> <%
4

Use your Auction

After completing the install, you can use your auction.

Out bid: Users will be sent an e-mail when they are out bid by other users

Members Only: Only registered members will be able to create or bid on items. Visitors will see the first page and the category pages of the auction and will not be able to go further

Bidding: Only users that are not the Seller of the item are allowed to bid

Categories: When listing an item, the users need to select the Category that they want their item listed in as only the last 5 items are displayed in the main auction page and can be editied/deleted or added from the auction.asp page

Edit/Delete Items: Only registered members will be able to edit or delete their own items that have not had a bid placed on them (This is done in My Auction and the Categories), while Administators can edit or delete all items that have no bids on them

Feedback: Is only available from the Auction Item page and can not be added until after the Auction has ended