• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: File upload ID stamping tip

File upload ID stamping tip 13 years 10 months ago #13783

  • linku2nz
  • linku2nz's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
By total fluke, I managed to find a way of stamping the user's ID (if logged in) to the filename so you know who uploaded what:
//<code>
$my = & JFactory::getUser();
$myid = $my->id . "_";
return $myid;
//</code>

This goes into the "file prefix" tab. Of course, you could always use any of the other jUser objects ...

I'm simply amazed at how powerful RSFormsPro is.
The administrator has disabled public write access.

Re:File upload ID stamping tip 13 years 8 months ago #14312

  • w_h_h
  • w_h_h's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Hi ...

Very helpful post at a time when i wanted to stamp image with product serial number! ... thank you indeed!

William
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!