Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Need help adding and removing code for auction script
Old 10-18-2007, 01:00 PM Need help adding and removing code for auction script
bbrian017's Avatar
Super Talker

Posts: 110
Trades: 0
I would like to remove and add the following to an auction script I own and I was hoping somoen or a bunch of people could possibly help me do this. I feel this information isn't need for what I'm trying to do with the script.

Alright I was looking at the register page and here what I want taken out from this process.

Birthdate
Address
State/Province
ZIP Code
Telephone


Also when posting a new auction I would like the following also taken out,


Country
ZIP Code
Shipping conditions
Shipping terms
Suggest a category


Things I would like added to creating an auction

Forum name
Posts
Posts per day
User name
Custom forum title
Length of forum membership
Profile link
How many ads will be running at the same time (Max)
Positioning of sigsell right, left, top, bottom,
Duration of sigsell
Limitations or restrictions


What do you think is this possible? Please get back to me.


P.S. Even tho I'm trying to get it done for free you can pm me regarding this job if you feel it should be a paid job I only have 50 Canadian dollars sorry
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

bbrian017 is offline
Reply With Quote
View Public Profile Visit bbrian017's homepage!
 
 
Register now for full access!
Old 10-18-2007, 01:47 PM Re: Need help adding and removing code for auction script
247SiteAlert's Avatar
Average Talker

Posts: 28
Trades: 0
Sure it's possible.

What language are you using? PHP?

What database is on the backend? MySQL?

Those things are easy to do if you know the language.

What may be more difficult is when you remove those fields you have to find everywhere they are used and remm those lines out too. Some code is trying to write those into the DB so you'll want to stop that from happening.

You can add your fields but you also have to write the code that will insert them into your DB.

The job isn't hard to do but it is tedidous and will require complete testing.

Can you do the programming or will you have to hire someone?
__________________
Free Website Uptime Monitoring

Please login or register to view this content. Registration is FREE
247SiteAlert is offline
Reply With Quote
View Public Profile
 
Old 10-18-2007, 02:28 PM Re: Need help adding and removing code for auction script
bbrian017's Avatar
Super Talker

Posts: 110
Trades: 0
PHP and mysql

Alright that's a great place to start. I have only found one file with this information but it's the easiest to find. When I take the code lines out it still says you have to enter that information to proceed but the fields are no longer there as you mentions the database is still looking for that info, or at least something is. so I have to somehow stop the script from making sure that information is included.

I have a little knowledge when coding php as I have played with phpbb forums a lot and even created my one pre modded board. The only thing is I never written php and I really have no clue how to do this.

So lets look at the template_register_php

here's the code that I would like removed. I have removed this code with no page errors but like I said the database still wants the information

Code:
              <TD WIDTH="40%" VALIGN="top" ALIGN="right"><B>
                <?print $std_font.$MSG_252;?>
                </B> </TD>
              <TD WIDTH="60%"><INPUT TYPE=text NAME=TPL_birthdate SIZE=10 MAXLENGTH=10 VALUE="<? echo $TPL_birthdate; ?>">
                <?
            if($SETTINGS[datesformat] == "USA") {
               print $std_font.$MSG_382;
            } else {
               print $std_font.$MSG_383;
            }
            ?>
              </TD>
            </TR>
            <TR>
              <TD WIDTH="40%" VALIGN="top" ALIGN="right"><B>
                <?print $std_font.$MSG_009;?>
                </B> </TD>
              <TD WIDTH="60%"><INPUT TYPE=text NAME=TPL_address SIZE=40 MAXLENGTH=255 VALUE="<? echo $TPL_address; ?>">
              </TD>
            </TR>
            <TR>
              <TD WIDTH="40%" VALIGN="top" ALIGN="right"><B>
                <?print $std_font.$MSG_010;?>
                </B> </TD>
              <TD WIDTH="60%"><INPUT TYPE=text NAME=TPL_city SIZE=25 MAXLENGTH=25 VALUE="<? echo $TPL_city; ?>">
              </TD>
            </TR>
            <TR>
              <TD WIDTH="40%" VALIGN="top" ALIGN="right"><B>
                <?print $std_font.$MSG_011;?>
                </B> </TD>
              <TD WIDTH="60%"><INPUT TYPE=text NAME=TPL_prov SIZE=10 MAXLENGTH=10 VALUE="<? echo $TPL_prov; ?>">
              </TD>
            </TR>
            <TR>
              <TD WIDTH="40%" VALIGN="top" ALIGN="right"><B>
                <?print $std_font.$MSG_014;?>
                </B> </TD>
              <TD WIDTH="60%"><SELECT NAME=TPL_country>
                     <? echo $country; ?>
                </SELECT>
              </TD>
            </TR>
            <TR>
              <TD WIDTH="40%" VALIGN="top" ALIGN="right"><B>
                <?print $std_font.$MSG_012;?>
                </B> </TD>
              <TD WIDTH="60%"><INPUT TYPE=text NAME=TPL_zip SIZE=8 VALUE="<? echo $TPL_zip; ?>">
              </TD>
            </TR>
            <TR>
              <TD WIDTH="40%" VALIGN="top" ALIGN="right"><B>
                <?=$std_font.$MSG_013;?>
                </B> </TD>
              <TD WIDTH="60%"><INPUT TYPE=text NAME=TPL_phone SIZE=40 MAXLENGTH=40 VALUE="<? echo $TPL_phone; ?>">
              </TD>
            </TR>
And here is a general idea of what I would like gone from the template_sell_php


Code:
            <!------------------------------------ country -------------------------------->
            <TR>
              <TD WIDTH="40%"  VALIGN="top" ALIGN="right"><B>
                <?print $std_font.$MSG_023;?>
                </B> </TD>
              <TD WIDTH="60%"><? print $TPL_countries_list; ?> </TD>
            </TR>
            <!------------------------------------ zip code -------------------------------->
            <TR>
              <TD WIDTH="40%" VALIGN="top" ALIGN="right"><B>
                <?print $std_font.$MSG_024;?>
                </B> </TD>
              <TD WIDTH="60%"><INPUT TYPE=text SIZE=8 NAME=location_zip VALUE="<? print $location_zip; ?>">
              </TD>
            </TR>
            <!--------------------------------- shipping --------------------------------------->
            <TR>
              <TD WIDTH="40%" VALIGN="top" ALIGN="right"><B>
                <?print $std_font.$MSG_025;?>
                </B> </TD>
              <TD WIDTH="60%" valign="top"><INPUT TYPE=radio NAME=shipping VALUE="1" <? print $TPL_shipping1_value; ?>>
                <? print $std_font.$MSG_031; ?> <BR>
                <INPUT TYPE=radio NAME=shipping VALUE="2" <? print $TPL_shipping2_value; ?>>
                <? print $std_font.$MSG_032; ?> <BR>
                <INPUT TYPE=checkbox NAME=international VALUE="1" <? print $TPL_international_value; ?>>
              <? print $std_font.$MSG_033; ?></TD>
            </TR>
Now as you mentions there is other files that will be affected and here are some of the files I'm thinking,

template_sell_preview_php
template_registered_php
template_profile_php
template_item_php
template_sell_result_php

and maybe even more! I'm just assuming these files can be affected and I might be wrong but it would make sense if there were affected.

I can't add the files because there is too many characters for the post...
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

bbrian017 is offline
Reply With Quote
View Public Profile Visit bbrian017's homepage!
 
Reply     « Reply to Need help adding and removing code for auction script
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45941 seconds with 12 queries