XFileSharing Pro - How can we limit filename output in my_files & Files?

Powerfull XFileSharing version

Moderator: admin

Message
Author
Hendrickson
Posts: 90
Joined: Nov 18, 2009 9:15 pm

How can we limit filename output in my_files & Files?

#1 Postby Hendrickson » Dec 15, 2009 6:31 am

Hi I have another small issue where the names are too large in the my_files area, admin files and latest downloads, is there a way to limit the file name so that if over say 50 letters it will do this:

Original: user_uploaded_very_long_annoying_filename_q3r3ewf.rar
to: user_uploaded_very_long_ann...

Only need this for the display filename in the my_files and admin areas.

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#2 Postby PilgrimX182 » Dec 15, 2009 8:54 am

Thanks for this feature request. Implemented this in development version, will be in next version.

Hendrickson
Posts: 90
Joined: Nov 18, 2009 9:15 pm

#3 Postby Hendrickson » Dec 15, 2009 9:05 am

Thanks! Would you be able to post use the code maybe so we can add it now? Due to my new template with a witdh of 620px the larger file names is causing a few issues.


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests