Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Change file name on upload

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Change file name on upload

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 7 months ago by amin007.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 7, 2010 at 5:52 am #1635
    jeffw
    Member

    Hi again…

    I was wondering if you could help me with the correct code to change the file name after upload for the profile image.

    I’m at emember_ajax.php and I see on line 23 is $upload_name, and it’s used later in that function several times. It is referencing the post values for image_id which is used in the eMember_misc_functions.php file. However, when i change the value for Image_id to let’s say, $username, it gives me an error that the username is undefined. So I think image_id only takes integers… is it just a matter of switching the data field to something other than image_id?

    August 7, 2010 at 6:04 am #23128
    jeffw
    Member

    Wow… Everytime I ask for help on here, I find it out for myself within 5 minutes. This is of course after 3 straight hours of trying to figure it out. Wow. :(

    August 7, 2010 at 8:00 am #23129
    amin007
    Participant

    LOL… :)

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ