The wordpress project i posed then cancelled

  • Posted:
  • Proposals: 1
  • Remote
  • #694668
  • Awarded
Lee G.
has already sent a proposal.
  • 0


Experience Level: Intermediate

I cancelled the project after accidentaly placing code in the clarification board, anyway if you still able to help please see below

Please do not make contact with anyone apart from me, in regards to this project, the deadline is within 1 working day due to my current freelancer pulling out due to a family issue.

Gigboo notes:

Admin user:
username: gigboo
password: mcgrath1

Task 1: Change event form to allow multiple discounts -

The event form is created through the Gravity Forms plugin. I've changed the form to use the List type for the discounts, and have created all the fields which now allows the user to add more than one discount. One of the fields, Discount Code Expiry , needs to have its type changed to checkbox. Two of the fields, start date & end date, need to be changed to have the datepicker class added. The Time fields need to be modified to only take 2 characters.

The discount code was originally set to a 4 digit code, the client wishes to be able to use 3 digit codes as well as having the ability to use 4 digit codes at a later stage.

I have created a test promoter, called 'test', so that the form can be tested in the front end of the site. The list type should be in the database attached, otherwise it will need to be recreated (for some reason it's not showing on my local version this morning, although I did spend quite a lot of time on this last week! Not sure which db I'm connected to)

In the functions.php file of the child theme I added:

add_filter("gform_column_input_2_146_4", "change_column4_content", 10, 6);
function change_column4_content($input, $input_info, $field, $text, $value, $form_id){
//build field name, must match List field syntax to be processed correctly
$input_field_name = 'input_' . $field["id"] . '[]';
$tabindex = GFCommon::get_tabindex();
$new_input = '';
return $new_input;

add_filter("gform_column_input_2_146_2", "change_column2_content", 10, 6);
function change_column2_content($input, $input_info, $field, $text, $value, $form_id){
//build field name, must match List field syntax to be processed correctly
$input_field_name = 'input_' . $field["id"] . '[]';
$tabindex = GFCommon::get_tabindex();
$new_input = 'Yes';
return $new_input;

which is the basis for the input type change, however this wasn't working at all – there's something there which needs to be changed to work with the form. The original information on how to do this is here:

Task 2:
Automated promoter 'likes' on purchase & retrospective promoter 'likes' for all previous purchases

The client wants all future purchases to automatically create a 'like' for the promoter, allowing the mailing list to grow as customers buy tickets to events.

I've added code to the following file to do this:

I've commented the code which I've added, taking the basis from the tanc-favourite-post.php file in the wp-content/plugins/tanc-favourite-post folder.

In the wp-content/plugins/tickets/themes/ folder I've also created an add_likes.php file which should process the full transaction table creating promoter likes retrospectively. However, at the moment the plugin (& site) does not recognise this page so I'm unable to run the code. I did try putting the page in the root, where the site did see the page, but this then did not give me access to the buddypress functions which are used to create the relevant links needed for the bp-activity table.

Please advise if you capable, within the timeframe, needs to go live on Saturday.


Alex Willis

New Proposal

Create an account now and send a proposal now to get this job.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.