New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

Redirect to gallery after upload?

  • Andy
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0

Redirect to gallery after upload? was created by Andy

Hi,

Is it possible to redirect the user to a gallery after a successful upload? Any way I could change the default_add.php file or a setting to allow this? And then change the message upon upload from "Saved" to something else?

Thanks
11 years 6 days ago #5533

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Redirect to gallery after upload?

Is it possible to redirect the user to a gallery after a successful upload ?

- Open {root}/components/com_allvideoshare/models/user.php

- Scroll down to "savevideo" function.

- Search for
$link = JRoute::_( 'index.php?option=com_allvideoshare&view=user' . $itemId, false );
- Replace it as
$link = JRoute::_( 'index.php?option=com_allvideoshare' . $itemId, false );
Change the message upon upload from "Saved" to something else?

- Open {root}/language/en-GB/en-GB.com_allvideoshare.ini

- Search for "SAVED" and edit the option with your own text.

That's it. Hope, your issues solved !!!
Last edit: 11 years 5 days ago by Administrator.
11 years 5 days ago #5537

Please Log in or Create an account to join the conversation.

  • Andy
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0

Replied by Andy on topic Re: Redirect to gallery after upload?

Thanks for your help!

One last thing I hope you can help with, is there a way to get the upload date to show on the admin side? I need to delete the videos after 28 days and would need to see the date of upload to do that. I could do it on cPanel but it doesn't show the YouTube videos.

Thanks again.
11 years 4 days ago #5552

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Redirect to gallery after upload?

Apologies. Our current version doesn't support this. But, I assure our next version will have this feature.
11 years 3 days ago #5555

Please Log in or Create an account to join the conversation.

Time to create page: 0.092 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies