Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Help with register_view.php
- This topic has 5 replies, 3 voices, and was last updated 13 years, 9 months ago by seanj.
-
AuthorPosts
-
February 5, 2011 at 4:03 pm #2650seanjMember
I opened the “register_view.php” file from the “view” directory of the affiliate plugin to make additional fields required
I replaced <input type=”text” name=”paypal_email” size=”20″ value=”<?php echo $_POST; ?>”>
with
<input type=”text” name=”paypal_email” size=”20″ value=”<?php echo $_POST; ?>” class=”required”>
I also replaced <?php echo AFF_PAYPAL_EMAIL; ?>:
with
<?php echo AFF_PAYPAL_EMAIL; ?>: *
I updated the file, however when viewing my Affiliate sign up page http://professional-resume-writing-service.org/wp-content/plugins/wp-affiliate-platform/affiliates/register.php
the Paypal field is still not required nor does it show “*”
I then checked via ftp and the files were updated.
I logged back into the plugin editor and noticed that the heading read Editing wp-affiliate-platform/views/register_view.php (inactive)
The plugin is active because it has deactivate listed under appearance/plugins
Just to make sure I deactivated and then activated the plugin and it still shows as inactive in parenthesis next to the header in the plugin editor
any suggestions?
Thank you
February 5, 2011 at 10:44 pm #28767seanjMemberI have been through every plugin file and the filezilla ftp files, I even tried to use firebug, however I am still unable to add required fields to register.php. I am starting to think maybe there is something wrong with my version of the Affiliate plugin. Another member was able to make the simple changes and i followed the same steps and was unable to. Please help me!
February 5, 2011 at 10:56 pm #28768IvyMemberHi, what version of the plugin are you using?
February 5, 2011 at 11:00 pm #28769seanjMemberHello Ivy, Version v4.4.3
February 6, 2011 at 3:42 am #28770amin007ParticipantIf you are using the standalone version of the affiliate area (which you seem to be using) you need to modify the “register.php” file from the “affiliates” directory and do the same modification to this file.
February 6, 2011 at 1:32 pm #28771seanjMemberI figured it out, it had nothing to do with the Affiliate Plugin it was filezilla. After making the required changes to register.php filezilla was changing the linebreaks in notepad.
In filezilla I went to edit .> settings > transfers > file types and changed to binary
this allowed me to add required fields plus the * and save register.php correctly
-
AuthorPosts
- You must be logged in to reply to this topic.